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

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

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

Refine searchRefine arrow

  • MapField.copy
  • MapField.isMutable
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>
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, 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, 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.protobufMapFieldnewMapField

Javadoc

Creates a new mutable empty 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
  • 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
  • equals
  • hashCode
  • <init>
  • convertKeyAndValueToMessage
  • <init>,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMapToList,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance,
  • getMutableList

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • startActivity (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Kernel (java.awt.image)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • PhpStorm for WordPress
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