public final class ServerReflectionRequest extends com.google.protobuf.GeneratedMessageV3 implements ServerReflectionRequestOrBuilder
The message sent by the client when calling ServerReflectionInfo method.Protobuf type
grpc.reflection.v1alpha.ServerReflectionRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
ServerReflectionRequest.Builder
The message sent by the client when calling ServerReflectionInfo method.
|
static class |
ServerReflectionRequest.MessageRequestCase |
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 |
ALL_EXTENSION_NUMBERS_OF_TYPE_FIELD_NUMBER |
static int |
FILE_BY_FILENAME_FIELD_NUMBER |
static int |
FILE_CONTAINING_EXTENSION_FIELD_NUMBER |
static int |
FILE_CONTAINING_SYMBOL_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
LIST_SERVICES_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
com.google.protobuf.ByteString |
getAllExtensionNumbersOfTypeBytes()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
static ServerReflectionRequest |
getDefaultInstance() |
ServerReflectionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFileByFilename()
Find a proto file by the file name.
|
com.google.protobuf.ByteString |
getFileByFilenameBytes()
Find a proto file by the file name.
|
ExtensionRequest |
getFileContainingExtension()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
ExtensionRequestOrBuilder |
getFileContainingExtensionOrBuilder()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
String |
getFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name.
|
com.google.protobuf.ByteString |
getFileContainingSymbolBytes()
Find the proto file that declares the given fully-qualified symbol name.
|
String |
getHost()
string host = 1; |
com.google.protobuf.ByteString |
getHostBytes()
string host = 1; |
String |
getListServices()
List the full names of registered services.
|
com.google.protobuf.ByteString |
getListServicesBytes()
List the full names of registered services.
|
ServerReflectionRequest.MessageRequestCase |
getMessageRequestCase() |
com.google.protobuf.Parser<ServerReflectionRequest> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and
appends them to ExtensionNumberResponse in an undefined order.
|
boolean |
hasFileByFilename()
Find a proto file by the file name.
|
boolean |
hasFileContainingExtension()
Find the proto file which defines an extension extending the given
message type with the given field number.
|
boolean |
hasFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name.
|
int |
hashCode() |
boolean |
hasListServices()
List the full names of registered services.
|
boolean |
isInitialized() |
static ServerReflectionRequest.Builder |
newBuilder() |
static ServerReflectionRequest.Builder |
newBuilder(ServerReflectionRequest prototype) |
ServerReflectionRequest.Builder |
newBuilderForType() |
static ServerReflectionRequest |
parseDelimitedFrom(InputStream input) |
static ServerReflectionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionRequest |
parseFrom(byte[] data) |
static ServerReflectionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionRequest |
parseFrom(ByteBuffer data) |
static ServerReflectionRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ServerReflectionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServerReflectionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionRequest |
parseFrom(InputStream input) |
static ServerReflectionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServerReflectionRequest> |
parser() |
ServerReflectionRequest.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 HOST_FIELD_NUMBER
public static final int FILE_BY_FILENAME_FIELD_NUMBER
public static final int FILE_CONTAINING_SYMBOL_FIELD_NUMBER
public static final int FILE_CONTAINING_EXTENSION_FIELD_NUMBER
public static final int ALL_EXTENSION_NUMBERS_OF_TYPE_FIELD_NUMBER
public static final int LIST_SERVICES_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
public String getHost()
string host = 1;getHost 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
string host = 1;getHostBytes 在接口中 ServerReflectionRequestOrBuilderpublic boolean hasFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;hasFileByFilename 在接口中 ServerReflectionRequestOrBuilderpublic String getFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilename 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getFileByFilenameBytes()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilenameBytes 在接口中 ServerReflectionRequestOrBuilderpublic boolean hasFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4;hasFileContainingSymbol 在接口中 ServerReflectionRequestOrBuilderpublic String getFileContainingSymbol()
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4;getFileContainingSymbol 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getFileContainingSymbolBytes()
Find the proto file that declares the given fully-qualified symbol name. This field should be a fully-qualified symbol name (e.g. <package>.<service>[.<method>] or <package>.<type>).
string file_containing_symbol = 4;getFileContainingSymbolBytes 在接口中 ServerReflectionRequestOrBuilderpublic boolean hasFileContainingExtension()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;hasFileContainingExtension 在接口中 ServerReflectionRequestOrBuilderpublic ExtensionRequest getFileContainingExtension()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;getFileContainingExtension 在接口中 ServerReflectionRequestOrBuilderpublic ExtensionRequestOrBuilder getFileContainingExtensionOrBuilder()
Find the proto file which defines an extension extending the given message type with the given field number.
.grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;public boolean hasAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6;hasAllExtensionNumbersOfType 在接口中 ServerReflectionRequestOrBuilderpublic String getAllExtensionNumbersOfType()
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6;getAllExtensionNumbersOfType 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getAllExtensionNumbersOfTypeBytes()
Finds the tag numbers used by all known extensions of extendee_type, and appends them to ExtensionNumberResponse in an undefined order. Its corresponding method is best-effort: it's not guaranteed that the reflection service will implement this method, and it's not guaranteed that this method will provide all extensions. Returns StatusCode::UNIMPLEMENTED if it's not implemented. This field should be a fully-qualified type name. The format is <package>.<type>
string all_extension_numbers_of_type = 6;getAllExtensionNumbersOfTypeBytes 在接口中 ServerReflectionRequestOrBuilderpublic boolean hasListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;hasListServices 在接口中 ServerReflectionRequestOrBuilderpublic String getListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServices 在接口中 ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getListServicesBytes()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServicesBytes 在接口中 ServerReflectionRequestOrBuilderpublic 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 ServerReflectionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerReflectionRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ServerReflectionRequest.Builder newBuilder()
public static ServerReflectionRequest.Builder newBuilder(ServerReflectionRequest prototype)
public ServerReflectionRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static ServerReflectionRequest getDefaultInstance()
public static com.google.protobuf.Parser<ServerReflectionRequest> parser()
public com.google.protobuf.Parser<ServerReflectionRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.