Codota Logo
Message$Builder.clearOneof
Code IndexAdd Codota to your IDE (free)

How to use
clearOneof
method
in
com.google.protobuf.Message$Builder

Best Java code snippets using com.google.protobuf.Message$Builder.clearOneof (Showing top 3 results out of 315)

  • Common ways to obtain Message$Builder
private void myMethod () {
Message$Builder m =
  • Codota IconMessage defaultInstance;defaultInstance.newBuilderForType()
  • Codota IconMessage message;message.toBuilder()
  • Codota IconAbstractMessage.Builder abstractMessageBuilder;UnknownFieldSet.Builder unknownFieldSetBuilder;abstractMessageBuilder.setUnknownFields(unknownFieldSetBuilder.build())
  • Smart code suggestions by Codota
}
origin: com.google.protobuf/protobuf-java

@Override
public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) {
 builder.clearOneof(oneof);
 return this;
}
origin: yeriomin/play-store-api

@Override
public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) {
 builder.clearOneof(oneof);
 return this;
}
origin: WeAreFairphone/FP2-Launcher

@Override
public MergeTarget clearOneof(Descriptors.OneofDescriptor oneof) {
 builder.clearOneof(oneof);
 return this;
}
com.google.protobufMessage$BuilderclearOneof

Javadoc

Clears the oneof. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the oneof.

Popular methods of Message$Builder

  • build
  • mergeFrom
  • setField
    Sets a field to the given value. The value must be of the correct type for this field, i.e. the same
  • getDescriptorForType
    Get the message's type's descriptor. See Message#getDescriptorForType().
  • newBuilderForField
    Create a Builder for messages of the appropriate type for the given field. Messages built with this
  • addRepeatedField
    Like setRepeatedField, but appends the value as a new element.
  • clearField
    Clears the field. This is exactly equivalent to calling the generated "clear" accessor method corres
  • getDefaultInstanceForType
  • buildPartial
  • getRepeatedFieldCount
  • hasField
  • setRepeatedField
    Sets an element of a repeated field to the given value. The value must be of the correct type for th
  • hasField,
  • setRepeatedField,
  • getField,
  • getOneofFieldDescriptor,
  • getFieldBuilder,
  • getRepeatedField,
  • getRepeatedFieldBuilder,
  • hasOneof,
  • mergeDelimitedFrom

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • findViewById (Activity)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • 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