congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MapField.copy
Code IndexAdd Tabnine to your IDE (free)

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

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

Refine searchRefine arrow

  • MapField.isMutable
  • 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.protobufMapFieldcopy

Javadoc

Returns a deep copy of this MapField.

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.
  • isMutable
    Returns whether this field can be modified.
  • clear
  • 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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 14 Best Plugins for Eclipse
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