public static final class DescriptorProtos.MethodDescriptorProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder> implements DescriptorProtos.MethodDescriptorProtoOrBuilder
Describes a method of a service.Protobuf type
google.protobuf.MethodDescriptorProto
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownField
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.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.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public DescriptorProtos.MethodDescriptorProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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>
IOException
public boolean hasName()
optional string name = 1;
hasName
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public 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(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()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
hasInputType
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public String getInputType()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
getInputType
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public com.google.protobuf.ByteString getInputTypeBytes()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
getInputTypeBytes
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public DescriptorProtos.MethodDescriptorProto.Builder setInputType(String value)
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
public DescriptorProtos.MethodDescriptorProto.Builder clearInputType()
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
public DescriptorProtos.MethodDescriptorProto.Builder setInputTypeBytes(com.google.protobuf.ByteString value)
Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.
optional string input_type = 2;
public boolean hasOutputType()
optional string output_type = 3;
hasOutputType
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public 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(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
public final DescriptorProtos.MethodDescriptorProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
public final DescriptorProtos.MethodDescriptorProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.MethodDescriptorProto.Builder>
Copyright © 2013–2017 Bitcoin Solutions Ltd. All rights reserved.