public static final class DescriptorProtos.MethodDescriptorProto extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.MethodDescriptorProtoOrBuilder
Describes a method of a service.Protobuf type
google.protobuf.MethodDescriptorProto
Modifier and Type | Class and Description |
---|---|
static class |
DescriptorProtos.MethodDescriptorProto.Builder
Describes a method of a service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_STREAMING_FIELD_NUMBER |
static int |
INPUT_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static int |
OUTPUT_TYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> |
PARSER
Deprecated.
|
static int |
SERVER_STREAMING_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
getClientStreaming()
Identifies if client streams multiple client messages
|
static DescriptorProtos.MethodDescriptorProto |
getDefaultInstance() |
DescriptorProtos.MethodDescriptorProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInputType()
Input and output type names.
|
com.google.protobuf.ByteString |
getInputTypeBytes()
Input and output type names.
|
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.MethodOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.MethodOptions options = 4; |
String |
getOutputType()
optional string output_type = 3; |
com.google.protobuf.ByteString |
getOutputTypeBytes()
optional string output_type = 3; |
com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getServerStreaming()
Identifies if server streams multiple server messages
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientStreaming()
Identifies if client streams multiple client messages
|
int |
hashCode() |
boolean |
hasInputType()
Input and output type names.
|
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.MethodOptions options = 4; |
boolean |
hasOutputType()
optional string output_type = 3; |
boolean |
hasServerStreaming()
Identifies if server streams multiple server messages
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DescriptorProtos.MethodDescriptorProto.Builder |
newBuilder() |
static DescriptorProtos.MethodDescriptorProto.Builder |
newBuilder(DescriptorProtos.MethodDescriptorProto prototype) |
DescriptorProtos.MethodDescriptorProto.Builder |
newBuilderForType() |
protected DescriptorProtos.MethodDescriptorProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DescriptorProtos.MethodDescriptorProto |
parseDelimitedFrom(InputStream input) |
static DescriptorProtos.MethodDescriptorProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(byte[] data) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(ByteBuffer data) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(com.google.protobuf.ByteString data) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(InputStream input) |
static DescriptorProtos.MethodDescriptorProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> |
parser() |
DescriptorProtos.MethodDescriptorProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NAME_FIELD_NUMBER
public static final int INPUT_TYPE_FIELD_NUMBER
public static final int OUTPUT_TYPE_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static final int CLIENT_STREAMING_FIELD_NUMBER
public static final int SERVER_STREAMING_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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.MethodOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.MethodOptions options = 4;
getOptionsOrBuilder
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public boolean hasClientStreaming()
Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];
hasClientStreaming
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public boolean getClientStreaming()
Identifies if client streams multiple client messages
optional bool client_streaming = 5 [default = false];
getClientStreaming
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public boolean hasServerStreaming()
Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];
hasServerStreaming
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public boolean getServerStreaming()
Identifies if server streams multiple server messages
optional bool server_streaming = 6 [default = false];
getServerStreaming
in interface DescriptorProtos.MethodDescriptorProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static DescriptorProtos.MethodDescriptorProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.MethodDescriptorProto parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MethodDescriptorProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.MethodDescriptorProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.MethodDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.MethodDescriptorProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DescriptorProtos.MethodDescriptorProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DescriptorProtos.MethodDescriptorProto.Builder newBuilder()
public static DescriptorProtos.MethodDescriptorProto.Builder newBuilder(DescriptorProtos.MethodDescriptorProto prototype)
public DescriptorProtos.MethodDescriptorProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DescriptorProtos.MethodDescriptorProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static DescriptorProtos.MethodDescriptorProto getDefaultInstance()
public static com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> parser()
public com.google.protobuf.Parser<DescriptorProtos.MethodDescriptorProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DescriptorProtos.MethodDescriptorProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2022. All rights reserved.