public final class ServerReflectionRequest extends 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, 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
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
getMessageRequestCase in interface ServerReflectionRequestOrBuilderpublic String getHost()
string host = 1;getHost in interface ServerReflectionRequestOrBuilderpublic 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 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 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 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 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 MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ServerReflectionRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ServerReflectionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerReflectionRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ServerReflectionRequest.Builder newBuilder()
public static ServerReflectionRequest.Builder newBuilder(ServerReflectionRequest prototype)
public ServerReflectionRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ServerReflectionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ServerReflectionRequest getDefaultInstance()
public static Parser<ServerReflectionRequest> parser()
public Parser<ServerReflectionRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ServerReflectionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder