public final class ServerReflectionResponse extends com.google.protobuf.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 |
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_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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ExtensionNumberResponse |
getAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
|
ExtensionNumberResponseOrBuilder |
getAllExtensionNumbersResponseOrBuilder()
This message is used to answer all_extension_numbers_of_type requst.
|
static ServerReflectionResponse |
getDefaultInstance() |
ServerReflectionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ErrorResponse |
getErrorResponse()
This message is used when an error occurs.
|
ErrorResponseOrBuilder |
getErrorResponseOrBuilder()
This message is used when an error occurs.
|
FileDescriptorResponse |
getFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol,
file_containing_extension requests with transitive dependencies.
|
FileDescriptorResponseOrBuilder |
getFileDescriptorResponseOrBuilder()
This message is used to answer file_by_filename, file_containing_symbol,
file_containing_extension requests with transitive dependencies.
|
ListServiceResponse |
getListServicesResponse()
This message is used to answer list_services request.
|
ListServiceResponseOrBuilder |
getListServicesResponseOrBuilder()
This message is used to answer list_services request.
|
ServerReflectionResponse.MessageResponseCase |
getMessageResponseCase() |
ServerReflectionRequest |
getOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2; |
ServerReflectionRequestOrBuilder |
getOriginalRequestOrBuilder()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2; |
com.google.protobuf.Parser<ServerReflectionResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValidHost()
string valid_host = 1; |
com.google.protobuf.ByteString |
getValidHostBytes()
string valid_host = 1; |
boolean |
hasAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
|
boolean |
hasErrorResponse()
This message is used when an error occurs.
|
boolean |
hasFileDescriptorResponse()
This message is used to answer file_by_filename, file_containing_symbol,
file_containing_extension requests with transitive dependencies.
|
int |
hashCode() |
boolean |
hasListServicesResponse()
This message is used to answer list_services request.
|
boolean |
hasOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServerReflectionResponse.Builder |
newBuilder() |
static ServerReflectionResponse.Builder |
newBuilder(ServerReflectionResponse prototype) |
ServerReflectionResponse.Builder |
newBuilderForType() |
protected ServerReflectionResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServerReflectionResponse |
parseDelimitedFrom(InputStream input) |
static ServerReflectionResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionResponse |
parseFrom(byte[] data) |
static ServerReflectionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionResponse |
parseFrom(ByteBuffer data) |
static ServerReflectionResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ServerReflectionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServerReflectionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServerReflectionResponse |
parseFrom(InputStream input) |
static ServerReflectionResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServerReflectionResponse> |
parser() |
ServerReflectionResponse.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 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(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 ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
getMessageResponseCase in interface ServerReflectionResponseOrBuilderpublic String getValidHost()
string valid_host = 1;getValidHost in interface ServerReflectionResponseOrBuilderpublic com.google.protobuf.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 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 ServerReflectionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServerReflectionResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServerReflectionResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServerReflectionResponse.Builder newBuilder()
public static ServerReflectionResponse.Builder newBuilder(ServerReflectionResponse prototype)
public ServerReflectionResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServerReflectionResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServerReflectionResponse getDefaultInstance()
public static com.google.protobuf.Parser<ServerReflectionResponse> parser()
public com.google.protobuf.Parser<ServerReflectionResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServerReflectionResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder