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
Nested ClassesModifier and TypeClassDescriptionstatic final classThe message sent by the server to answer ServerReflectionInfo method.static enumNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) This message is used to answer all_extension_numbers_of_type requst.static ServerReflectionResponseThis 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.ByteStringstring valid_host = 1 [json_name = "validHost"];booleanThis message is used to answer all_extension_numbers_of_type requst.booleanThis message is used when an error occurs.booleanThis message is used to answer file_by_filename, file_containing_symbol, file_containing_extension requests with transitive dependencies.booleanThis message is used to answer list_services request.boolean.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];newBuilder(ServerReflectionResponse prototype) static ServerReflectionResponseparseDelimitedFrom(InputStream input) static ServerReflectionResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerReflectionResponseparseFrom(byte[] data) static ServerReflectionResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data) static ServerReflectionResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input) static ServerReflectionResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerReflectionResponseparseFrom(InputStream input) static ServerReflectionResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServerReflectionResponseparseFrom(ByteBuffer data) static ServerReflectionResponseparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getMessageResponseCasein interfaceServerReflectionResponseOrBuilder
-
getValidHost
string valid_host = 1 [json_name = "validHost"];- Specified by:
getValidHostin interfaceServerReflectionResponseOrBuilder- Returns:
- The validHost.
-
getValidHostBytes
public com.google.protobuf.ByteString getValidHostBytes()string valid_host = 1 [json_name = "validHost"];- Specified by:
getValidHostBytesin interfaceServerReflectionResponseOrBuilder- Returns:
- The bytes for validHost.
-
hasOriginalRequest
public boolean hasOriginalRequest().grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];- Specified by:
hasOriginalRequestin interfaceServerReflectionResponseOrBuilder- Returns:
- Whether the originalRequest field is set.
-
getOriginalRequest
.grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];- Specified by:
getOriginalRequestin 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:
hasFileDescriptorResponsein 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:
getFileDescriptorResponsein 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:
hasAllExtensionNumbersResponsein 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:
getAllExtensionNumbersResponsein 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:
hasListServicesResponsein 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:
getListServicesResponsein 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:
hasErrorResponsein 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:
getErrorResponsein 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<ServerReflectionResponse,ServerReflectionResponse.Builder>
-
getDefaultInstance
-
parser
-