public static final class DescriptorProtos.MethodDescriptorProto.Builder extends com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder> implements DescriptorProtos.MethodDescriptorProtoOrBuilder
google.protobuf.MethodDescriptorProto
 Describes a method of a service.
| Modifier and Type | Method and Description | 
|---|---|
| DescriptorProtos.MethodDescriptorProto | build() | 
| DescriptorProtos.MethodDescriptorProto | buildPartial() | 
| DescriptorProtos.MethodDescriptorProto.Builder | clear() | 
| DescriptorProtos.MethodDescriptorProto.Builder | clearInputType()optional string input_type = 2; | 
| DescriptorProtos.MethodDescriptorProto.Builder | clearName()optional string name = 1; | 
| DescriptorProtos.MethodDescriptorProto.Builder | clearOptions()optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodDescriptorProto.Builder | clearOutputType()optional string output_type = 3; | 
| DescriptorProtos.MethodDescriptorProto.Builder | clone() | 
| DescriptorProtos.MethodDescriptorProto | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| java.lang.String | getInputType()optional string input_type = 2; | 
| com.google.protobuf.ByteString | getInputTypeBytes()optional string input_type = 2; | 
| java.lang.String | getName()optional string name = 1; | 
| com.google.protobuf.ByteString | getNameBytes()optional string name = 1; | 
| DescriptorProtos.MethodOptions | getOptions()optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodOptions.Builder | getOptionsBuilder()optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodOptionsOrBuilder | getOptionsOrBuilder()optional .google.protobuf.MethodOptions options = 4; | 
| java.lang.String | getOutputType()optional string output_type = 3; | 
| com.google.protobuf.ByteString | getOutputTypeBytes()optional string output_type = 3; | 
| boolean | hasInputType()optional string input_type = 2; | 
| boolean | hasName()optional string name = 1; | 
| boolean | hasOptions()optional .google.protobuf.MethodOptions options = 4; | 
| boolean | hasOutputType()optional string output_type = 3; | 
| protected com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| DescriptorProtos.MethodDescriptorProto.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| DescriptorProtos.MethodDescriptorProto.Builder | mergeFrom(DescriptorProtos.MethodDescriptorProto other) | 
| DescriptorProtos.MethodDescriptorProto.Builder | mergeFrom(com.google.protobuf.Message other) | 
| DescriptorProtos.MethodDescriptorProto.Builder | mergeOptions(DescriptorProtos.MethodOptions value)optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setInputType(java.lang.String value)optional string input_type = 2; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setInputTypeBytes(com.google.protobuf.ByteString value)optional string input_type = 2; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setName(java.lang.String value)optional string name = 1; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setNameBytes(com.google.protobuf.ByteString value)optional string name = 1; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setOptions(DescriptorProtos.MethodOptions.Builder builderForValue)optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setOptions(DescriptorProtos.MethodOptions value)optional .google.protobuf.MethodOptions options = 4; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setOutputType(java.lang.String value)optional string output_type = 3; | 
| DescriptorProtos.MethodDescriptorProto.Builder | setOutputTypeBytes(com.google.protobuf.ByteString value)optional string output_type = 3; | 
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public DescriptorProtos.MethodDescriptorProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public DescriptorProtos.MethodDescriptorProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DescriptorProtos.MethodDescriptorProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.MethodDescriptorProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.MethodDescriptorProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public DescriptorProtos.MethodDescriptorProto.Builder mergeFrom(DescriptorProtos.MethodDescriptorProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>public DescriptorProtos.MethodDescriptorProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>java.io.IOExceptionpublic boolean hasName()
optional string name = 1;hasName in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic java.lang.String getName()
optional string name = 1;getName in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;public DescriptorProtos.MethodDescriptorProto.Builder clearName()
optional string name = 1;public DescriptorProtos.MethodDescriptorProto.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;public boolean hasInputType()
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
hasInputType in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic java.lang.String getInputType()
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
getInputType in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getInputTypeBytes()
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
getInputTypeBytes in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProto.Builder setInputType(java.lang.String value)
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
public DescriptorProtos.MethodDescriptorProto.Builder clearInputType()
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
public DescriptorProtos.MethodDescriptorProto.Builder setInputTypeBytes(com.google.protobuf.ByteString value)
optional string input_type = 2;
 Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
public boolean hasOutputType()
optional string output_type = 3;hasOutputType in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic java.lang.String getOutputType()
optional string output_type = 3;getOutputType in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic com.google.protobuf.ByteString getOutputTypeBytes()
optional string output_type = 3;getOutputTypeBytes in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProto.Builder setOutputType(java.lang.String value)
optional string output_type = 3;public DescriptorProtos.MethodDescriptorProto.Builder clearOutputType()
optional string output_type = 3;public DescriptorProtos.MethodDescriptorProto.Builder setOutputTypeBytes(com.google.protobuf.ByteString value)
optional string output_type = 3;public boolean hasOptions()
optional .google.protobuf.MethodOptions options = 4;hasOptions in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic DescriptorProtos.MethodOptions getOptions()
optional .google.protobuf.MethodOptions options = 4;getOptions in interface DescriptorProtos.MethodDescriptorProtoOrBuilderpublic DescriptorProtos.MethodDescriptorProto.Builder setOptions(DescriptorProtos.MethodOptions value)
optional .google.protobuf.MethodOptions options = 4;public DescriptorProtos.MethodDescriptorProto.Builder setOptions(DescriptorProtos.MethodOptions.Builder builderForValue)
optional .google.protobuf.MethodOptions options = 4;public DescriptorProtos.MethodDescriptorProto.Builder mergeOptions(DescriptorProtos.MethodOptions value)
optional .google.protobuf.MethodOptions options = 4;public DescriptorProtos.MethodDescriptorProto.Builder clearOptions()
optional .google.protobuf.MethodOptions options = 4;public DescriptorProtos.MethodOptions.Builder getOptionsBuilder()
optional .google.protobuf.MethodOptions options = 4;public DescriptorProtos.MethodOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MethodOptions options = 4;getOptionsOrBuilder in interface DescriptorProtos.MethodDescriptorProtoOrBuilder