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| 限定符和类型 | 类和说明 |
|---|---|
static class |
ServerReflectionResponse.Builder
The message sent by the server to answer ServerReflectionInfo method.
|
static class |
ServerReflectionResponse.MessageResponseCase |
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_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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
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; |
boolean |
isInitialized() |
static ServerReflectionResponse.Builder |
newBuilder() |
static ServerReflectionResponse.Builder |
newBuilder(ServerReflectionResponse prototype) |
ServerReflectionResponse.Builder |
newBuilderForType() |
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) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
public String getValidHost()
string valid_host = 1;getValidHost 在接口中 ServerReflectionResponseOrBuilderpublic com.google.protobuf.ByteString getValidHostBytes()
string valid_host = 1;getValidHostBytes 在接口中 ServerReflectionResponseOrBuilderpublic boolean hasOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;hasOriginalRequest 在接口中 ServerReflectionResponseOrBuilderpublic ServerReflectionRequest getOriginalRequest()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;getOriginalRequest 在接口中 ServerReflectionResponseOrBuilderpublic ServerReflectionRequestOrBuilder getOriginalRequestOrBuilder()
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2;public 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 在接口中 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 在接口中 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;public boolean hasAllExtensionNumbersResponse()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;hasAllExtensionNumbersResponse 在接口中 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 在接口中 ServerReflectionResponseOrBuilderpublic ExtensionNumberResponseOrBuilder getAllExtensionNumbersResponseOrBuilder()
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5;public boolean hasListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;hasListServicesResponse 在接口中 ServerReflectionResponseOrBuilderpublic ListServiceResponse getListServicesResponse()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;getListServicesResponse 在接口中 ServerReflectionResponseOrBuilderpublic ListServiceResponseOrBuilder getListServicesResponseOrBuilder()
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;public boolean hasErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;hasErrorResponse 在接口中 ServerReflectionResponseOrBuilderpublic ErrorResponse getErrorResponse()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;getErrorResponse 在接口中 ServerReflectionResponseOrBuilderpublic ErrorResponseOrBuilder getErrorResponseOrBuilder()
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7;public 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 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ServerReflectionResponse.Builder newBuilder()
public static ServerReflectionResponse.Builder newBuilder(ServerReflectionResponse prototype)
public ServerReflectionResponse.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static ServerReflectionResponse getDefaultInstance()
public static com.google.protobuf.Parser<ServerReflectionResponse> parser()
public com.google.protobuf.Parser<ServerReflectionResponse> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ServerReflectionResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.