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

  • 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

      public ServerReflectionResponse.MessageResponseCase getMessageResponseCase()
      Specified by:
      getMessageResponseCase in interface ServerReflectionResponseOrBuilder
    • getValidHost

      public String getValidHost()
      string valid_host = 1 [json_name = "validHost"];
      Specified by:
      getValidHost in interface ServerReflectionResponseOrBuilder
      Returns:
      The validHost.
    • getValidHostBytes

      public com.google.protobuf.ByteString getValidHostBytes()
      string valid_host = 1 [json_name = "validHost"];
      Specified by:
      getValidHostBytes in interface ServerReflectionResponseOrBuilder
      Returns:
      The bytes for validHost.
    • hasOriginalRequest

      public boolean hasOriginalRequest()
      .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
      Specified by:
      hasOriginalRequest in interface ServerReflectionResponseOrBuilder
      Returns:
      Whether the originalRequest field is set.
    • getOriginalRequest

      public ServerReflectionRequest getOriginalRequest()
      .grpc.reflection.v1alpha.ServerReflectionRequest original_request = 2 [json_name = "originalRequest"];
      Specified by:
      getOriginalRequest in interface ServerReflectionResponseOrBuilder
      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 interface ServerReflectionResponseOrBuilder
      Returns:
      Whether the fileDescriptorResponse field is set.
    • getFileDescriptorResponse

      public 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 [json_name = "fileDescriptorResponse"];
      Specified by:
      getFileDescriptorResponse in interface ServerReflectionResponseOrBuilder
      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 interface ServerReflectionResponseOrBuilder
      Returns:
      Whether the allExtensionNumbersResponse field is set.
    • getAllExtensionNumbersResponse

      public ExtensionNumberResponse 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 interface ServerReflectionResponseOrBuilder
      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 interface ServerReflectionResponseOrBuilder
      Returns:
      Whether the listServicesResponse field is set.
    • getListServicesResponse

      public ListServiceResponse 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 interface ServerReflectionResponseOrBuilder
      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 interface ServerReflectionResponseOrBuilder
      Returns:
      Whether the errorResponse field is set.
    • getErrorResponse

      public ErrorResponse getErrorResponse()
       This message is used when an error occurs.
       
      .grpc.reflection.v1alpha.ErrorResponse error_response = 7 [json_name = "errorResponse"];
      Specified by:
      getErrorResponse in interface ServerReflectionResponseOrBuilder
      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

      public static ServerReflectionResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServerReflectionResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServerReflectionResponse parseDelimitedFrom(InputStream input) throws IOException
      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

      public static ServerReflectionResponse.Builder newBuilder()
    • newBuilder

      public static ServerReflectionResponse.Builder newBuilder(ServerReflectionResponse prototype)
    • dynamicMethod

      protected Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<ServerReflectionResponse,ServerReflectionResponse.Builder>
    • getDefaultInstance

      public static ServerReflectionResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServerReflectionResponse> parser()