congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
MapField.isMutable
Code IndexAdd Tabnine to your IDE (free)

How to use
isMutable
method
in
com.google.protobuf.MapField

Best Java code snippets using com.google.protobuf.MapField.isMutable (Showing top 20 results out of 909)

Refine searchRefine arrow

  • MapField.copy
  • MapField.newMapField
origin: Graylog2/graylog2-server

private com.google.protobuf.MapField<java.lang.Integer, com.google.protobuf.ByteString>
internalGetMutableOptionTemplate() {
 onChanged();;
 if (optionTemplate_ == null) {
  optionTemplate_ = com.google.protobuf.MapField.newMapField(
    OptionTemplateDefaultEntryHolder.defaultEntry);
 }
 if (!optionTemplate_.isMutable()) {
  optionTemplate_ = optionTemplate_.copy();
 }
 return optionTemplate_;
}
origin: Graylog2/graylog2-server

private com.google.protobuf.MapField<java.lang.Integer, com.google.protobuf.ByteString>
internalGetMutableTemplates() {
 onChanged();;
 if (templates_ == null) {
  templates_ = com.google.protobuf.MapField.newMapField(
    TemplatesDefaultEntryHolder.defaultEntry);
 }
 if (!templates_.isMutable()) {
  templates_ = templates_.copy();
 }
 return templates_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableUsedBytesOnTiers() {
 onChanged();;
 if (usedBytesOnTiers_ == null) {
  usedBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!usedBytesOnTiers_.isMutable()) {
  usedBytesOnTiers_ = usedBytesOnTiers_.copy();
 }
 return usedBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableUsedBytesOnTiers() {
 onChanged();;
 if (usedBytesOnTiers_ == null) {
  usedBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!usedBytesOnTiers_.isMutable()) {
  usedBytesOnTiers_ = usedBytesOnTiers_.copy();
 }
 return usedBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableUsedBytesOnTiers() {
 onChanged();;
 if (usedBytesOnTiers_ == null) {
  usedBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!usedBytesOnTiers_.isMutable()) {
  usedBytesOnTiers_ = usedBytesOnTiers_.copy();
 }
 return usedBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableProperties() {
 onChanged();;
 if (properties_ == null) {
  properties_ = com.google.protobuf.MapField.newMapField(
    PropertiesDefaultEntryHolder.defaultEntry);
 }
 if (!properties_.isMutable()) {
  properties_ = properties_.copy();
 }
 return properties_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableProperties() {
 onChanged();;
 if (properties_ == null) {
  properties_ = com.google.protobuf.MapField.newMapField(
    PropertiesDefaultEntryHolder.defaultEntry);
 }
 if (!properties_.isMutable()) {
  properties_ = properties_.copy();
 }
 return properties_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.InconsistentProperties>
internalGetMutableWarns() {
 onChanged();;
 if (warns_ == null) {
  warns_ = com.google.protobuf.MapField.newMapField(
    WarnsDefaultEntryHolder.defaultEntry);
 }
 if (!warns_.isMutable()) {
  warns_ = warns_.copy();
 }
 return warns_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableUsedBytesOnTiers() {
 onChanged();;
 if (usedBytesOnTiers_ == null) {
  usedBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    UsedBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!usedBytesOnTiers_.isMutable()) {
  usedBytesOnTiers_ = usedBytesOnTiers_.copy();
 }
 return usedBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableCapacityBytesOnTiers() {
 onChanged();;
 if (capacityBytesOnTiers_ == null) {
  capacityBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    CapacityBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!capacityBytesOnTiers_.isMutable()) {
  capacityBytesOnTiers_ = capacityBytesOnTiers_.copy();
 }
 return capacityBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.MountPointInfo>
internalGetMutableMountPoints() {
 onChanged();;
 if (mountPoints_ == null) {
  mountPoints_ = com.google.protobuf.MapField.newMapField(
    MountPointsDefaultEntryHolder.defaultEntry);
 }
 if (!mountPoints_.isMutable()) {
  mountPoints_ = mountPoints_.copy();
 }
 return mountPoints_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableCapacityBytesOnTiers() {
 onChanged();;
 if (capacityBytesOnTiers_ == null) {
  capacityBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    CapacityBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!capacityBytesOnTiers_.isMutable()) {
  capacityBytesOnTiers_ = capacityBytesOnTiers_.copy();
 }
 return capacityBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableTags() {
 onChanged();;
 if (tags_ == null) {
  tags_ = com.google.protobuf.MapField.newMapField(
    TagsDefaultEntryHolder.defaultEntry);
 }
 if (!tags_.isMutable()) {
  tags_ = tags_.copy();
 }
 return tags_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableCapacityBytesOnTiers() {
 onChanged();;
 if (capacityBytesOnTiers_ == null) {
  capacityBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    CapacityBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!capacityBytesOnTiers_.isMutable()) {
  capacityBytesOnTiers_ = capacityBytesOnTiers_.copy();
 }
 return capacityBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.MetricValue>
internalGetMutableMetrics() {
 onChanged();;
 if (metrics_ == null) {
  metrics_ = com.google.protobuf.MapField.newMapField(
    MetricsDefaultEntryHolder.defaultEntry);
 }
 if (!metrics_.isMutable()) {
  metrics_ = metrics_.copy();
 }
 return metrics_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.InconsistentProperties>
internalGetMutableErrors() {
 onChanged();;
 if (errors_ == null) {
  errors_ = com.google.protobuf.MapField.newMapField(
    ErrorsDefaultEntryHolder.defaultEntry);
 }
 if (!errors_.isMutable()) {
  errors_ = errors_.copy();
 }
 return errors_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, java.lang.Long>
internalGetMutableTotalBytesOnTiers() {
 onChanged();;
 if (totalBytesOnTiers_ == null) {
  totalBytesOnTiers_ = com.google.protobuf.MapField.newMapField(
    TotalBytesOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!totalBytesOnTiers_.isMutable()) {
  totalBytesOnTiers_ = totalBytesOnTiers_.copy();
 }
 return totalBytesOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.TierList>
internalGetMutableAddedBlocksOnTiers() {
 onChanged();;
 if (addedBlocksOnTiers_ == null) {
  addedBlocksOnTiers_ = com.google.protobuf.MapField.newMapField(
    AddedBlocksOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!addedBlocksOnTiers_.isMutable()) {
  addedBlocksOnTiers_ = addedBlocksOnTiers_.copy();
 }
 return addedBlocksOnTiers_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.InconsistentPropertyValues>
internalGetMutableValues() {
 onChanged();;
 if (values_ == null) {
  values_ = com.google.protobuf.MapField.newMapField(
    ValuesDefaultEntryHolder.defaultEntry);
 }
 if (!values_.isMutable()) {
  values_ = values_.copy();
 }
 return values_;
}
origin: Alluxio/alluxio

private com.google.protobuf.MapField<java.lang.String, alluxio.grpc.TierList>
internalGetMutableCurrentBlocksOnTiers() {
 onChanged();;
 if (currentBlocksOnTiers_ == null) {
  currentBlocksOnTiers_ = com.google.protobuf.MapField.newMapField(
    CurrentBlocksOnTiersDefaultEntryHolder.defaultEntry);
 }
 if (!currentBlocksOnTiers_.isMutable()) {
  currentBlocksOnTiers_ = currentBlocksOnTiers_.copy();
 }
 return currentBlocksOnTiers_;
}
com.google.protobufMapFieldisMutable

Javadoc

Returns whether this field can be modified.

Popular methods of MapField

  • getMap
    Returns the content of this MapField as a read-only Map.
  • getMutableMap
    Gets a mutable Map view of this MapField.
  • clear
  • copy
    Returns a deep copy of this MapField.
  • emptyMapField
    Returns an immutable empty MapField.
  • makeImmutable
    Makes this list immutable. All subsequent modifications will throw an UnsupportedOperationException.
  • mergeFrom
  • newMapField
    Creates a new mutable empty MapField.
  • equals
  • hashCode
  • <init>
  • convertKeyAndValueToMessage
  • <init>,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMapToList,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance,
  • getMutableList

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JComboBox (javax.swing)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now