com.google.protobuf
Class DescriptorProtos.MethodOptions.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<BuilderType>
              extended by com.google.protobuf.GeneratedMessage.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
                  extended by com.google.protobuf.DescriptorProtos.MethodOptions.Builder
All Implemented Interfaces:
DescriptorProtos.MethodOptionsOrBuilder, GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.MethodOptions>, Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable
Enclosing class:
DescriptorProtos.MethodOptions

public static final class DescriptorProtos.MethodOptions.Builder
extends GeneratedMessage.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
implements DescriptorProtos.MethodOptionsOrBuilder

Protobuf type google.protobuf.MethodOptions


Method Summary
 DescriptorProtos.MethodOptions.Builder addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder addUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(int index)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions build()
          Constructs the message based on the state of the Builder.
 DescriptorProtos.MethodOptions buildPartial()
          Like MessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.
 DescriptorProtos.MethodOptions.Builder clear()
          Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.
 DescriptorProtos.MethodOptions.Builder clearUninterpretedOption()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder clone()
          Clones the Builder.
 DescriptorProtos.MethodOptions getDefaultInstanceForType()
          Get an instance of the type with no fields set.
static Descriptors.Descriptor getDescriptor()
           
 Descriptors.Descriptor getDescriptorForType()
          Get the message's type's descriptor.
 DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(int index)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 List<DescriptorProtos.UninterpretedOption.Builder> getUninterpretedOptionBuilderList()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 int getUninterpretedOptionCount()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 boolean isInitialized()
          Returns true if all required fields in the message and all embedded messages are set, false otherwise.
 DescriptorProtos.MethodOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
          Like MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.
 DescriptorProtos.MethodOptions.Builder mergeFrom(DescriptorProtos.MethodOptions other)
           
 DescriptorProtos.MethodOptions.Builder mergeFrom(Message other)
          Merge other into the message being built.
 DescriptorProtos.MethodOptions.Builder removeUninterpretedOption(int index)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption.Builder builderForValue)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 DescriptorProtos.MethodOptions.Builder setUninterpretedOption(int index, DescriptorProtos.UninterpretedOption value)
          repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addRepeatedField, clearExtension, clearField, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, setExtension, setExtension, setField, setRepeatedField
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getFieldBuilder, getUnknownFields, mergeUnknownFields, newBuilderForField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final Descriptors.Descriptor getDescriptor()

clear

public DescriptorProtos.MethodOptions.Builder clear()
Description copied from class: GeneratedMessage.Builder
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.

Specified by:
clear in interface Message.Builder
Specified by:
clear in interface MessageLite.Builder
Overrides:
clear in class GeneratedMessage.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>

clone

public DescriptorProtos.MethodOptions.Builder clone()
Description copied from interface: MessageLite.Builder
Clones the Builder.

Specified by:
clone in interface Message.Builder
Specified by:
clone in interface MessageLite.Builder
Overrides:
clone in class GeneratedMessage.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>
See Also:
Object.clone()

getDescriptorForType

public Descriptors.Descriptor getDescriptorForType()
Description copied from interface: Message.Builder
Get the message's type's descriptor. See MessageOrBuilder.getDescriptorForType().

Specified by:
getDescriptorForType in interface Message.Builder
Specified by:
getDescriptorForType in interface MessageOrBuilder
Overrides:
getDescriptorForType in class GeneratedMessage.Builder<DescriptorProtos.MethodOptions.Builder>

getDefaultInstanceForType

public DescriptorProtos.MethodOptions getDefaultInstanceForType()
Description copied from interface: MessageLiteOrBuilder
Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from the getDefaultInstance() method of generated message classes in that this method is an abstract method of the MessageLite interface whereas getDefaultInstance() is a static method of a specific class. They return the same thing.

Specified by:
getDefaultInstanceForType in interface MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface MessageOrBuilder

build

public DescriptorProtos.MethodOptions build()
Description copied from interface: MessageLite.Builder
Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.

Specified by:
build in interface Message.Builder
Specified by:
build in interface MessageLite.Builder

buildPartial

public DescriptorProtos.MethodOptions buildPartial()
Description copied from interface: MessageLite.Builder
Like MessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.

Specified by:
buildPartial in interface Message.Builder
Specified by:
buildPartial in interface MessageLite.Builder

mergeFrom

public DescriptorProtos.MethodOptions.Builder mergeFrom(Message other)
Description copied from interface: Message.Builder
Merge other into the message being built. other must have the exact same type as this (i.e. getDescriptorForType() == other.getDescriptorForType()). Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set in other, then other's value overwrites the value in this message.
* For singular message fields, if the field is set in other, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements in other are concatenated with the elements in this message. This is equivalent to the Message::MergeFrom method in C++.

Specified by:
mergeFrom in interface Message.Builder
Overrides:
mergeFrom in class AbstractMessage.Builder<DescriptorProtos.MethodOptions.Builder>

mergeFrom

public DescriptorProtos.MethodOptions.Builder mergeFrom(DescriptorProtos.MethodOptions other)

isInitialized

public final boolean isInitialized()
Description copied from interface: MessageLiteOrBuilder
Returns true if all required fields in the message and all embedded messages are set, false otherwise.

See also: MessageOrBuilder.getInitializationErrorString()

Specified by:
isInitialized in interface MessageLiteOrBuilder
Overrides:
isInitialized in class GeneratedMessage.ExtendableBuilder<DescriptorProtos.MethodOptions,DescriptorProtos.MethodOptions.Builder>

mergeFrom

public DescriptorProtos.MethodOptions.Builder mergeFrom(CodedInputStream input,
                                                        ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
Description copied from interface: MessageLite.Builder
Like MessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered in extensionRegistry. Extensions not in the registry will be treated as unknown fields.

Specified by:
mergeFrom in interface Message.Builder
Specified by:
mergeFrom in interface MessageLite.Builder
Overrides:
mergeFrom in class AbstractMessage.Builder<DescriptorProtos.MethodOptions.Builder>
Throws:
IOException

getUninterpretedOptionList

public List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 

Specified by:
getUninterpretedOptionList in interface DescriptorProtos.MethodOptionsOrBuilder

getUninterpretedOptionCount

public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 

Specified by:
getUninterpretedOptionCount in interface DescriptorProtos.MethodOptionsOrBuilder

getUninterpretedOption

public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 

Specified by:
getUninterpretedOption in interface DescriptorProtos.MethodOptionsOrBuilder

setUninterpretedOption

public DescriptorProtos.MethodOptions.Builder setUninterpretedOption(int index,
                                                                     DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


setUninterpretedOption

public DescriptorProtos.MethodOptions.Builder setUninterpretedOption(int index,
                                                                     DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addUninterpretedOption

public DescriptorProtos.MethodOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addUninterpretedOption

public DescriptorProtos.MethodOptions.Builder addUninterpretedOption(int index,
                                                                     DescriptorProtos.UninterpretedOption value)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addUninterpretedOption

public DescriptorProtos.MethodOptions.Builder addUninterpretedOption(DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addUninterpretedOption

public DescriptorProtos.MethodOptions.Builder addUninterpretedOption(int index,
                                                                     DescriptorProtos.UninterpretedOption.Builder builderForValue)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addAllUninterpretedOption

public DescriptorProtos.MethodOptions.Builder addAllUninterpretedOption(Iterable<? extends DescriptorProtos.UninterpretedOption> values)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


clearUninterpretedOption

public DescriptorProtos.MethodOptions.Builder clearUninterpretedOption()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


removeUninterpretedOption

public DescriptorProtos.MethodOptions.Builder removeUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


getUninterpretedOptionBuilder

public DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


getUninterpretedOptionOrBuilder

public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 

Specified by:
getUninterpretedOptionOrBuilder in interface DescriptorProtos.MethodOptionsOrBuilder

getUninterpretedOptionOrBuilderList

public List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 

Specified by:
getUninterpretedOptionOrBuilderList in interface DescriptorProtos.MethodOptionsOrBuilder

addUninterpretedOptionBuilder

public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


addUninterpretedOptionBuilder

public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.
 


getUninterpretedOptionBuilderList

public List<DescriptorProtos.UninterpretedOption.Builder> getUninterpretedOptionBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
 The parser stores options it doesn't recognize here. See above.