public final class ServerReflectionResponse extends GeneratedMessageV3 implements ServerReflectionResponseOrBuilder
The message sent by the server to answer ServerReflectionInfo method.Protobuf type
grpc.reflection.v1alpha.ServerReflectionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ServerReflectionResponse.Builder
The message sent by the server to answer ServerReflectionInfo method.
|
static class |
ServerReflectionResponse.MessageResponseCase |
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_RESPONSE_FIELD_NUMBER |
static int |
ERROR_RESPONSE_FIELD_NUMBER |
static int |
FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER |
static int |
LIST_SERVICES_RESPONSE_FIELD_NUMBER |
static int |
ORIGINAL_REQUEST_FIELD_NUMBER |
static int |
VALID_HOST_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 VALID_HOST_FIELD_NUMBER
public static final int ORIGINAL_REQUEST_FIELD_NUMBER
public static final int FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER
public static final int ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER
public static final int LIST_SERVICES_RESPONSE_FIELD_NUMBER
public static final int ERROR_RESPONSE_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 ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
getMessageResponseCase in interface ServerReflectionResponseOrBuilderpublic String getValidHost()
string valid_host = 1;getValidHost in interface ServerReflectionResponseOrBuilderpublic ByteString getValidHostBytes()
string valid_host = 1;getValidHostBytes in interface ServerReflectionResponseOrBuilderpublic boolean hasOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;hasOriginalRequest in interface ServerReflectionResponseOrBuilderpublic ServerReflectionRequest getOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;getOriginalRequest in interface ServerReflectionResponseOrBuilderpublic ServerReflectionRequestOrBuilder getOriginalRequestOrBuilder()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;getOriginalRequestOrBuilder in interface ServerReflectionResponseOrBuilderpublic boolean hasFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;hasFileDescriptorResponse in interface ServerReflectionResponseOrBuilderpublic FileDescriptorResponse getFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;getFileDescriptorResponse in interface ServerReflectionResponseOrBuilderpublic FileDescriptorResponseOrBuilder getFileDescriptorResponseOrBuilder()
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies. As the repeated label is not allowed in oneof fields, we use a FileDescriptorResponse message to encapsulate the repeated fields. The reflection service is allowed to avoid sending FileDescriptorProtos that were previously sent in response to earlier requests in the stream.
.grpc.reflection.v1alpha.FileDescriptorResponse file_descriptor_response = 4;getFileDescriptorResponseOrBuilder in interface ServerReflectionResponseOrBuilderpublic boolean hasAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;hasAllExtensionNumbersResponse in interface ServerReflectionResponseOrBuilderpublic ExtensionNumberResponse getAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;getAllExtensionNumbersResponse in interface ServerReflectionResponseOrBuilderpublic ExtensionNumberResponseOrBuilder getAllExtensionNumbersResponseOrBuilder()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;getAllExtensionNumbersResponseOrBuilder in interface ServerReflectionResponseOrBuilderpublic boolean hasListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;hasListServicesResponse in interface ServerReflectionResponseOrBuilderpublic ListServiceResponse getListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;getListServicesResponse in interface ServerReflectionResponseOrBuilderpublic ListServiceResponseOrBuilder getListServicesResponseOrBuilder()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;getListServicesResponseOrBuilder in interface ServerReflectionResponseOrBuilderpublic boolean hasErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;hasErrorResponse in interface ServerReflectionResponseOrBuilderpublic ErrorResponse getErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;getErrorResponse in interface ServerReflectionResponseOrBuilderpublic ErrorResponseOrBuilder getErrorResponseOrBuilder()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;getErrorResponseOrBuilder in interface ServerReflectionResponseOrBuilderpublic 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 ServerReflectionResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerReflectionResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ServerReflectionResponse.Builder newBuilder()
public static ServerReflectionResponse.Builder newBuilder(ServerReflectionResponse prototype)
public ServerReflectionResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ServerReflectionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ServerReflectionResponse getDefaultInstance()
public static Parser<ServerReflectionResponse> parser()
public Parser<ServerReflectionResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ServerReflectionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder