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

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

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

origin: Graylog2/graylog2-server

public Builder clear() {
 super.clear();
 internalGetMutableTemplates().clear();
 internalGetMutableOptionTemplate().clear();
 packets_ = java.util.Collections.emptyList();
 bitField0_ = (bitField0_ & ~0x00000004);
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 internalGetMutableMountPoints().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 internalGetMutableMetrics().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 if (metricsBuilder_ == null) {
  metrics_ = java.util.Collections.emptyList();
  bitField0_ = (bitField0_ & ~0x00000001);
 } else {
  metricsBuilder_.clear();
 }
 internalGetMutableCapacityBytesOnTiers().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 name_ = "";
 bitField0_ = (bitField0_ & ~0x00000001);
 internalGetMutableValues().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 internalGetMutableErrors().clear();
 internalGetMutableWarns().clear();
 status_ = 1;
 bitField0_ = (bitField0_ & ~0x00000004);
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 instance_ = "";
 bitField0_ = (bitField0_ & ~0x00000001);
 hostname_ = "";
 bitField0_ = (bitField0_ & ~0x00000002);
 instanceId_ = "";
 bitField0_ = (bitField0_ & ~0x00000004);
 name_ = "";
 bitField0_ = (bitField0_ & ~0x00000008);
 value_ = 0D;
 bitField0_ = (bitField0_ & ~0x00000010);
 internalGetMutableTags().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 capacityBytes_ = 0L;
 bitField0_ = (bitField0_ & ~0x00000001);
 internalGetMutableCapacityBytesOnTiers().clear();
 freeBytes_ = 0L;
 bitField0_ = (bitField0_ & ~0x00000004);
 liveWorkerNum_ = 0;
 bitField0_ = (bitField0_ & ~0x00000008);
 lostWorkerNum_ = 0;
 bitField0_ = (bitField0_ & ~0x00000010);
 usedBytes_ = 0L;
 bitField0_ = (bitField0_ & ~0x00000020);
 internalGetMutableUsedBytesOnTiers().clear();
 return this;
}
origin: apache/geode

@java.lang.Override
public Builder clear() {
 super.clear();
 internalGetMutableCredentials().clear();
 valueFormat_ = "";
 return this;
}
origin: apache/pulsar

public Builder clear() {
 super.clear();
 className_ = "";
 configs_ = "";
 typeClassName_ = "";
 subscriptionType_ = 0;
 internalGetMutableTopicsToSerDeClassName().clear();
 internalGetMutableInputSpecs().clear();
 timeoutMs_ = 0L;
 topicsPattern_ = "";
 builtin_ = "";
 subscriptionName_ = "";
 cleanupSubscription_ = false;
 return this;
}
origin: com.google.protobuf/protobuf-java

@java.lang.Override
public Builder clear() {
 super.clear();
 internalGetMutableFields().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 ufsUri_ = "";
 bitField0_ = (bitField0_ & ~0x00000001);
 ufsType_ = "";
 bitField0_ = (bitField0_ & ~0x00000002);
 ufsCapacityBytes_ = -1L;
 bitField0_ = (bitField0_ & ~0x00000004);
 ufsUsedBytes_ = -1L;
 bitField0_ = (bitField0_ & ~0x00000008);
 readOnly_ = false;
 bitField0_ = (bitField0_ & ~0x00000010);
 internalGetMutableProperties().clear();
 shared_ = false;
 bitField0_ = (bitField0_ & ~0x00000040);
 return this;
}
origin: googleapis/google-cloud-java

@java.lang.Override
public Builder clear() {
 super.clear();
 internalGetMutableLabels().clear();
 contextCase_ = 0;
 context_ = null;
 return this;
}
origin: googleapis/google-cloud-java

@java.lang.Override
public Builder clear() {
 super.clear();
 internalGetMutableHdfsMetrics().clear();
 internalGetMutableYarnMetrics().clear();
 return this;
}
origin: googleapis/google-cloud-java

@java.lang.Override
public Builder clear() {
 super.clear();
 imageVersion_ = "";
 internalGetMutableProperties().clear();
 return this;
}
origin: googleapis/google-cloud-java

@java.lang.Override
public Builder clear() {
 super.clear();
 internalGetMutableDriverLogLevels().clear();
 return this;
}
origin: googleapis/google-cloud-java

@java.lang.Override
public Builder clear() {
 super.clear();
 zone_ = "";
 internalGetMutableClusterLabels().clear();
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 workerId_ = 0L;
 bitField0_ = (bitField0_ & ~0x00000001);
 storageTiers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
 bitField0_ = (bitField0_ & ~0x00000002);
 internalGetMutableTotalBytesOnTiers().clear();
 internalGetMutableUsedBytesOnTiers().clear();
 internalGetMutableCurrentBlocksOnTiers().clear();
 if (optionsBuilder_ == null) {
  options_ = null;
 } else {
  optionsBuilder_.clear();
 }
 bitField0_ = (bitField0_ & ~0x00000020);
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 workerId_ = 0L;
 bitField0_ = (bitField0_ & ~0x00000001);
 internalGetMutableUsedBytesOnTiers().clear();
 removedBlockIds_ = java.util.Collections.emptyList();
 bitField0_ = (bitField0_ & ~0x00000004);
 internalGetMutableAddedBlocksOnTiers().clear();
 if (optionsBuilder_ == null) {
  options_ = null;
 } else {
  optionsBuilder_.clear();
 }
 bitField0_ = (bitField0_ & ~0x00000010);
 return this;
}
origin: Alluxio/alluxio

public Builder clear() {
 super.clear();
 readOnly_ = false;
 bitField0_ = (bitField0_ & ~0x00000001);
 internalGetMutableProperties().clear();
 shared_ = false;
 bitField0_ = (bitField0_ & ~0x00000004);
 if (commonOptionsBuilder_ == null) {
  commonOptions_ = null;
 } else {
  commonOptionsBuilder_.clear();
 }
 bitField0_ = (bitField0_ & ~0x00000008);
 return this;
}
com.google.protobufMapFieldclear

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.
  • 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

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JComboBox (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 21 Best IntelliJ Plugins
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