public final class ExtensionRequest extends com.google.protobuf.GeneratedMessageV3 implements ExtensionRequestOrBuilder
The type name and extension number sent by the client when requesting file_containing_extension.Protobuf type
grpc.reflection.v1alpha.ExtensionRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExtensionRequest.Builder
The type name and extension number sent by the client when requesting
file_containing_extension.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CONTAINING_TYPE_FIELD_NUMBER |
static int |
EXTENSION_NUMBER_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getContainingType()
Fully-qualified type name.
|
com.google.protobuf.ByteString |
getContainingTypeBytes()
Fully-qualified type name.
|
static ExtensionRequest |
getDefaultInstance() |
ExtensionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExtensionNumber()
int32 extension_number = 2; |
com.google.protobuf.Parser<ExtensionRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
isInitialized() |
static ExtensionRequest.Builder |
newBuilder() |
static ExtensionRequest.Builder |
newBuilder(ExtensionRequest prototype) |
ExtensionRequest.Builder |
newBuilderForType() |
static ExtensionRequest |
parseDelimitedFrom(InputStream input) |
static ExtensionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtensionRequest |
parseFrom(byte[] data) |
static ExtensionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtensionRequest |
parseFrom(ByteBuffer data) |
static ExtensionRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtensionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ExtensionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtensionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExtensionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtensionRequest |
parseFrom(InputStream input) |
static ExtensionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExtensionRequest> |
parser() |
ExtensionRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONTAINING_TYPE_FIELD_NUMBER
public static final int EXTENSION_NUMBER_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public String getContainingType()
Fully-qualified type name. The format should be <package>.<type>
string containing_type = 1;getContainingType 在接口中 ExtensionRequestOrBuilderpublic com.google.protobuf.ByteString getContainingTypeBytes()
Fully-qualified type name. The format should be <package>.<type>
string containing_type = 1;getContainingTypeBytes 在接口中 ExtensionRequestOrBuilderpublic int getExtensionNumber()
int32 extension_number = 2;getExtensionNumber 在接口中 ExtensionRequestOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static ExtensionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtensionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExtensionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtensionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExtensionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtensionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExtensionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExtensionRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ExtensionRequest.Builder newBuilder()
public static ExtensionRequest.Builder newBuilder(ExtensionRequest prototype)
public ExtensionRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static ExtensionRequest getDefaultInstance()
public static com.google.protobuf.Parser<ExtensionRequest> parser()
public com.google.protobuf.Parser<ExtensionRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ExtensionRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.