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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DescriptorProtos.MethodDescriptorProto build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.MethodDescriptorProto buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.MethodDescriptorProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
java.io.IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public java.lang.String getName()
optional string name = 1;
getName
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public 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.MethodDescriptorProtoOrBuilder
public 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.MethodDescriptorProtoOrBuilder
public 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.MethodDescriptorProtoOrBuilder
public 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.MethodDescriptorProtoOrBuilder
public java.lang.String getOutputType()
optional string output_type = 3;
getOutputType
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public com.google.protobuf.ByteString getOutputTypeBytes()
optional string output_type = 3;
getOutputTypeBytes
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public 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.MethodDescriptorProtoOrBuilder
public DescriptorProtos.MethodOptions getOptions()
optional .google.protobuf.MethodOptions options = 4;
getOptions
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public 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