Class ServerReflectionResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ServerReflectionResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ServerReflectionResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ServerReflectionResponse.Builder>
      • mergeFrom

        public ServerReflectionResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServerReflectionResponse.Builder>
        Throws:
        IOException
      • setValidHostBytes

        public ServerReflectionResponse.Builder setValidHostBytes​(com.google.protobuf.ByteString value)
        string valid_host = 1;
        Parameters:
        value - The bytes for validHost to set.
        Returns:
        This builder for chaining.
      • hasOriginalRequest

        public boolean hasOriginalRequest()
        .grpc.reflection.v1.ServerReflectionRequest original_request = 2;
        Specified by:
        hasOriginalRequest in interface ServerReflectionResponseOrBuilder
        Returns:
        Whether the originalRequest field is set.
      • getOriginalRequestBuilder

        public ServerReflectionRequest.Builder getOriginalRequestBuilder()
        .grpc.reflection.v1.ServerReflectionRequest original_request = 2;
      • 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.v1.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.v1.FileDescriptorResponse file_descriptor_response = 4;
        Specified by:
        getFileDescriptorResponse in interface ServerReflectionResponseOrBuilder
        Returns:
        The fileDescriptorResponse.
      • setFileDescriptorResponse

        public ServerReflectionResponse.Builder setFileDescriptorResponse​(FileDescriptorResponse value)
         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.v1.FileDescriptorResponse file_descriptor_response = 4;
      • setFileDescriptorResponse

        public ServerReflectionResponse.Builder setFileDescriptorResponse​(FileDescriptorResponse.Builder builderForValue)
         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.v1.FileDescriptorResponse file_descriptor_response = 4;
      • mergeFileDescriptorResponse

        public ServerReflectionResponse.Builder mergeFileDescriptorResponse​(FileDescriptorResponse value)
         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.v1.FileDescriptorResponse file_descriptor_response = 4;
      • clearFileDescriptorResponse

        public ServerReflectionResponse.Builder clearFileDescriptorResponse()
         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.v1.FileDescriptorResponse file_descriptor_response = 4;
      • getFileDescriptorResponseBuilder

        public FileDescriptorResponse.Builder getFileDescriptorResponseBuilder()
         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.v1.FileDescriptorResponse file_descriptor_response = 4;
      • 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.v1.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 requests.
         
        .grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
        Specified by:
        hasAllExtensionNumbersResponse in interface ServerReflectionResponseOrBuilder
        Returns:
        Whether the allExtensionNumbersResponse field is set.
      • setAllExtensionNumbersResponse

        public ServerReflectionResponse.Builder setAllExtensionNumbersResponse​(ExtensionNumberResponse value)
         This message is used to answer all_extension_numbers_of_type requests.
         
        .grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
      • mergeAllExtensionNumbersResponse

        public ServerReflectionResponse.Builder mergeAllExtensionNumbersResponse​(ExtensionNumberResponse value)
         This message is used to answer all_extension_numbers_of_type requests.
         
        .grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
      • clearAllExtensionNumbersResponse

        public ServerReflectionResponse.Builder clearAllExtensionNumbersResponse()
         This message is used to answer all_extension_numbers_of_type requests.
         
        .grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
      • getAllExtensionNumbersResponseBuilder

        public ExtensionNumberResponse.Builder getAllExtensionNumbersResponseBuilder()
         This message is used to answer all_extension_numbers_of_type requests.
         
        .grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
      • hasListServicesResponse

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

        public ServerReflectionResponse.Builder clearListServicesResponse()
         This message is used to answer list_services requests.
         
        .grpc.reflection.v1.ListServiceResponse list_services_response = 6;
      • getListServicesResponseBuilder

        public ListServiceResponse.Builder getListServicesResponseBuilder()
         This message is used to answer list_services requests.
         
        .grpc.reflection.v1.ListServiceResponse list_services_response = 6;
      • hasErrorResponse

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

        public ServerReflectionResponse.Builder clearErrorResponse()
         This message is used when an error occurs.
         
        .grpc.reflection.v1.ErrorResponse error_response = 7;
      • getErrorResponseBuilder

        public ErrorResponse.Builder getErrorResponseBuilder()
         This message is used when an error occurs.
         
        .grpc.reflection.v1.ErrorResponse error_response = 7;