Class ServerReflectionResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<ServerReflectionResponse,ServerReflectionResponse.Builder>
com.viam.sdk.core.rpc.reflectionv1alpha.ServerReflectionResponse
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,ServerReflectionResponseOrBuilder
public final class ServerReflectionResponse
extends com.google.protobuf.GeneratedMessageLite<ServerReflectionResponse,ServerReflectionResponse.Builder>
implements ServerReflectionResponseOrBuilder
The message sent by the server to answer ServerReflectionInfo method.
Protobuf type grpc.reflection.v1alpha.ServerReflectionResponse
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The message sent by the server to answer ServerReflectionInfo method.static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) This message is used to answer all_extension_numbers_of_type requst.static ServerReflectionResponse
This message is used when an error occurs.This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.This message is used to answer list_services request..grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
string valid_host = 1 [json_name = "validHost"];
com.google.protobuf.ByteString
string valid_host = 1 [json_name = "validHost"];
boolean
This message is used to answer all_extension_numbers_of_type requst.boolean
This message is used when an error occurs.boolean
This message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.boolean
This message is used to answer list_services request.boolean
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
newBuilder
(ServerReflectionResponse prototype) 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
(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 ServerReflectionResponse
parseFrom
(ByteBuffer data) static ServerReflectionResponse
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServerReflectionResponse>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
VALID_HOST_FIELD_NUMBER
public static final int VALID_HOST_FIELD_NUMBER- See Also:
-
ORIGINAL_REQUEST_FIELD_NUMBER
public static final int ORIGINAL_REQUEST_FIELD_NUMBER- See Also:
-
FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER
public static final int FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER- See Also:
-
ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER
public static final int ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER- See Also:
-
LIST_SERVICES_RESPONSE_FIELD_NUMBER
public static final int LIST_SERVICES_RESPONSE_FIELD_NUMBER- See Also:
-
ERROR_RESPONSE_FIELD_NUMBER
public static final int ERROR_RESPONSE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getMessageResponseCase
- Specified by:
getMessageResponseCase
in interfaceServerReflectionResponseOrBuilder
-
getValidHost
string valid_host = 1 [json_name = "validHost"];
- Specified by:
getValidHost
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The validHost.
-
getValidHostBytes
public com.google.protobuf.ByteString getValidHostBytes()string valid_host = 1 [json_name = "validHost"];
- Specified by:
getValidHostBytes
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The bytes for validHost.
-
hasOriginalRequest
public boolean hasOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Specified by:
hasOriginalRequest
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
- Specified by:
getOriginalRequest
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The originalRequest.
-
hasFileDescriptorResponse
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 [json_name = "fileDescriptorResponse"];
- Specified by:
hasFileDescriptorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the fileDescriptorResponse field is set.
-
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 [json_name = "fileDescriptorResponse"];
- Specified by:
getFileDescriptorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The fileDescriptorResponse.
-
hasAllExtensionNumbersResponse
public boolean hasAllExtensionNumbersResponse()This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
- Specified by:
hasAllExtensionNumbersResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the allExtensionNumbersResponse field is set.
-
getAllExtensionNumbersResponse
This message is used to answer all_extension_numbers_of_type requst.
.grpc.reflection.v1alpha.ExtensionNumberResponse all_extension_numbers_response = 5 [json_name = "allExtensionNumbersResponse"];
- Specified by:
getAllExtensionNumbersResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The allExtensionNumbersResponse.
-
hasListServicesResponse
public boolean hasListServicesResponse()This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Specified by:
hasListServicesResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the listServicesResponse field is set.
-
getListServicesResponse
This message is used to answer list_services request.
.grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6 [json_name = "listServicesResponse"];
- Specified by:
getListServicesResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The listServicesResponse.
-
hasErrorResponse
public boolean hasErrorResponse()This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Specified by:
hasErrorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- Whether the errorResponse field is set.
-
getErrorResponse
This message is used when an error occurs.
.grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
- Specified by:
getErrorResponse
in interfaceServerReflectionResponseOrBuilder
- Returns:
- The errorResponse.
-
parseFrom
public static ServerReflectionResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServerReflectionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServerReflectionResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServerReflectionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<ServerReflectionResponse,
ServerReflectionResponse.Builder>
-
getDefaultInstance
-
parser
-