Class ServerReflectionResponse

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerReflectionResponseOrBuilder, java.io.Serializable

    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
    See Also:
    Serialized Form
    • Field Detail

      • VALID_HOST_FIELD_NUMBER

        public static final int VALID_HOST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORIGINAL_REQUEST_FIELD_NUMBER

        public static final int ORIGINAL_REQUEST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER

        public static final int FILE_DESCRIPTOR_RESPONSE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER

        public static final int ALL_EXTENSION_NUMBERS_RESPONSE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LIST_SERVICES_RESPONSE_FIELD_NUMBER

        public static final int LIST_SERVICES_RESPONSE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ERROR_RESPONSE_FIELD_NUMBER

        public static final int ERROR_RESPONSE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasOriginalRequest

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

        public 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;
        Specified by:
        getFileDescriptorResponseOrBuilder in interface ServerReflectionResponseOrBuilder
      • 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;
        Specified by:
        hasAllExtensionNumbersResponse in interface ServerReflectionResponseOrBuilder
        Returns:
        Whether the allExtensionNumbersResponse field is set.
      • hasListServicesResponse

        public boolean hasListServicesResponse()
         This message is used to answer list_services request.
         
        .grpc.reflection.v1alpha.ListServiceResponse list_services_response = 6;
        Specified by:
        hasListServicesResponse in interface ServerReflectionResponseOrBuilder
        Returns:
        Whether the listServicesResponse field is set.
      • hasErrorResponse

        public boolean hasErrorResponse()
         This message is used when an error occurs.
         
        .grpc.reflection.v1alpha.ErrorResponse error_response = 7;
        Specified by:
        hasErrorResponse in interface ServerReflectionResponseOrBuilder
        Returns:
        Whether the errorResponse field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ServerReflectionResponse parseFrom​(java.nio.ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerReflectionResponse parseFrom​(java.nio.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​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static ServerReflectionResponse parseDelimitedFrom​(java.io.InputStream input)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

        public static ServerReflectionResponse parseFrom​(com.google.protobuf.CodedInputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ServerReflectionResponse parseFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public ServerReflectionResponse.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ServerReflectionResponse.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ServerReflectionResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ServerReflectionResponse> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ServerReflectionResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder