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| Modifier and Type | Class and Description |
|---|---|
static class |
ServerReflectionRequest.Builder
The message sent by the client when calling ServerReflectionInfo method.
|
static class |
ServerReflectionRequest.MessageRequestCase |
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 |
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 |
| Modifier and Type | Method and Description |
|---|---|
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() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerReflectionRequest.Builder |
newBuilder() |
static ServerReflectionRequest.Builder |
newBuilder(ServerReflectionRequest prototype) |
ServerReflectionRequest.Builder |
newBuilderForType() |
protected ServerReflectionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
getMessageRequestCase in interface ServerReflectionRequestOrBuilderpublic String getHost()
string host = 1;getHost in interface ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getHostBytes()
string host = 1;getHostBytes in interface ServerReflectionRequestOrBuilderpublic boolean hasFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;hasFileByFilename in interface ServerReflectionRequestOrBuilderpublic String getFileByFilename()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilename in interface ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getFileByFilenameBytes()
Find a proto file by the file name.
string file_by_filename = 3;getFileByFilenameBytes in interface 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 in interface 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 in interface 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 in interface 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 in interface 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 in interface 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;getFileContainingExtensionOrBuilder in interface ServerReflectionRequestOrBuilderpublic 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 in interface 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 in interface 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 in interface ServerReflectionRequestOrBuilderpublic boolean hasListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;hasListServices in interface ServerReflectionRequestOrBuilderpublic String getListServices()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServices in interface ServerReflectionRequestOrBuilderpublic com.google.protobuf.ByteString getListServicesBytes()
List the full names of registered services. The content will not be checked.
string list_services = 7;getListServicesBytes in interface ServerReflectionRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class 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 in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerReflectionRequest.Builder newBuilder()
public static ServerReflectionRequest.Builder newBuilder(ServerReflectionRequest prototype)
public ServerReflectionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServerReflectionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServerReflectionRequest getDefaultInstance()
public static com.google.protobuf.Parser<ServerReflectionRequest> parser()
public com.google.protobuf.Parser<ServerReflectionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder