Codota Logo
MapField.getMutableList
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using com.google.protobuf.MapField.getMutableList (Showing top 9 results out of 315)

  • Common ways to obtain MapField
private void myMethod () {
MapField m =
  • Codota IconMapEntry defaultEntry;MapField.newMapField(defaultEntry)
  • Codota IconMapEntry defaultEntry;MapField.emptyMapField(defaultEntry)
  • Smart code suggestions by Codota
}
origin: com.google.protobuf/protobuf-java

@Override
public void clear(Builder builder) {
 getMutableMapField(builder).getMutableList().clear();
}
origin: com.google.protobuf/protobuf-java

@Override
public void setRepeated(Builder builder, int index, Object value) {
 getMutableMapField(builder).getMutableList().set(index, (Message) value);
}
origin: com.google.protobuf/protobuf-java

@Override
public void addRepeated(Builder builder, Object value) {
 getMutableMapField(builder).getMutableList().add((Message) value);
}
origin: com.google.protobuf/protobuf-java

@Override
public void clear(Builder builder) {
 getMutableMapField(builder).getMutableList().clear();
}
origin: com.google.protobuf/protobuf-java

@Override
public void addRepeated(Builder builder, Object value) {
 getMutableMapField(builder).getMutableList().add(coerceType((Message) value));
}
origin: com.google.protobuf/protobuf-java

@Override
public void setRepeated(Builder builder, int index, Object value) {
 getMutableMapField(builder).getMutableList().set(index, coerceType((Message) value));
}
origin: yeriomin/play-store-api

@Override
public void clear(Builder builder) {
 getMutableMapField(builder).getMutableList().clear();
}
origin: yeriomin/play-store-api

@Override
public void setRepeated(Builder builder, int index, Object value) {
 getMutableMapField(builder).getMutableList().set(index, (Message) value);
}
origin: yeriomin/play-store-api

@Override
public void addRepeated(Builder builder, Object value) {
 getMutableMapField(builder).getMutableList().add((Message) value);
}
com.google.protobufMapFieldgetMutableList

Javadoc

Gets a mutable List view 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
  • 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>
  • hashCode,
  • <init>,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMapToList,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now