Class Reflection.ServerReflectionRequest.Builder

    • Method Detail

      • 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.Builder<Reflection.ServerReflectionRequest.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.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
      • getDefaultInstanceForType

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

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

        public Reflection.ServerReflectionRequest 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.GeneratedMessageV3.Builder<Reflection.ServerReflectionRequest.Builder>
      • setHostBytes

        public Reflection.ServerReflectionRequest.Builder setHostBytes​(com.google.protobuf.ByteString value)
        string host = 1;
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • setFileByFilename

        public Reflection.ServerReflectionRequest.Builder setFileByFilename​(String value)
         Find a proto file by the file name.
         
        string file_by_filename = 3;
        Parameters:
        value - The fileByFilename to set.
        Returns:
        This builder for chaining.
      • setFileByFilenameBytes

        public Reflection.ServerReflectionRequest.Builder setFileByFilenameBytes​(com.google.protobuf.ByteString value)
         Find a proto file by the file name.
         
        string file_by_filename = 3;
        Parameters:
        value - The bytes for fileByFilename to set.
        Returns:
        This builder for chaining.
      • hasFileContainingSymbol

        public boolean hasFileContainingSymbol()
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Specified by:
        hasFileContainingSymbol in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        Whether the fileContainingSymbol field is set.
      • getFileContainingSymbol

        public String getFileContainingSymbol()
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Specified by:
        getFileContainingSymbol in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        The fileContainingSymbol.
      • getFileContainingSymbolBytes

        public com.google.protobuf.ByteString getFileContainingSymbolBytes()
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Specified by:
        getFileContainingSymbolBytes in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        The bytes for fileContainingSymbol.
      • setFileContainingSymbol

        public Reflection.ServerReflectionRequest.Builder setFileContainingSymbol​(String value)
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Parameters:
        value - The fileContainingSymbol to set.
        Returns:
        This builder for chaining.
      • clearFileContainingSymbol

        public Reflection.ServerReflectionRequest.Builder clearFileContainingSymbol()
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Returns:
        This builder for chaining.
      • setFileContainingSymbolBytes

        public Reflection.ServerReflectionRequest.Builder setFileContainingSymbolBytes​(com.google.protobuf.ByteString value)
         Find the proto file that declares the given fully-qualified symbol name.
         This field should be a fully-qualified symbol name
         (e.g. <package>.<service>[.<method>] or <package>.<type>).
         
        string file_containing_symbol = 4;
        Parameters:
        value - The bytes for fileContainingSymbol to set.
        Returns:
        This builder for chaining.
      • hasFileContainingExtension

        public boolean hasFileContainingExtension()
         Find the proto file which defines an extension extending the given
         message type with the given field number.
         
        .grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;
        Specified by:
        hasFileContainingExtension in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        Whether the fileContainingExtension field is set.
      • clearFileContainingExtension

        public Reflection.ServerReflectionRequest.Builder clearFileContainingExtension()
         Find the proto file which defines an extension extending the given
         message type with the given field number.
         
        .grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;
      • getFileContainingExtensionBuilder

        public Reflection.ExtensionRequest.Builder getFileContainingExtensionBuilder()
         Find the proto file which defines an extension extending the given
         message type with the given field number.
         
        .grpc.reflection.v1alpha.ExtensionRequest file_containing_extension = 5;
      • hasAllExtensionNumbersOfType

        public boolean hasAllExtensionNumbersOfType()
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Specified by:
        hasAllExtensionNumbersOfType in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        Whether the allExtensionNumbersOfType field is set.
      • getAllExtensionNumbersOfType

        public String getAllExtensionNumbersOfType()
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Specified by:
        getAllExtensionNumbersOfType in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        The allExtensionNumbersOfType.
      • getAllExtensionNumbersOfTypeBytes

        public com.google.protobuf.ByteString getAllExtensionNumbersOfTypeBytes()
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Specified by:
        getAllExtensionNumbersOfTypeBytes in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        The bytes for allExtensionNumbersOfType.
      • setAllExtensionNumbersOfType

        public Reflection.ServerReflectionRequest.Builder setAllExtensionNumbersOfType​(String value)
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Parameters:
        value - The allExtensionNumbersOfType to set.
        Returns:
        This builder for chaining.
      • clearAllExtensionNumbersOfType

        public Reflection.ServerReflectionRequest.Builder clearAllExtensionNumbersOfType()
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Returns:
        This builder for chaining.
      • setAllExtensionNumbersOfTypeBytes

        public Reflection.ServerReflectionRequest.Builder setAllExtensionNumbersOfTypeBytes​(com.google.protobuf.ByteString value)
         Finds the tag numbers used by all known extensions of the given message
         type, and appends them to ExtensionNumberResponse in an undefined order.
         Its corresponding method is best-effort: it's not guaranteed that the
         reflection service will implement this method, and it's not guaranteed
         that this method will provide all extensions. Returns
         StatusCode::UNIMPLEMENTED if it's not implemented.
         This field should be a fully-qualified type name. The format is
         <package>.<type>
         
        string all_extension_numbers_of_type = 6;
        Parameters:
        value - The bytes for allExtensionNumbersOfType to set.
        Returns:
        This builder for chaining.
      • hasListServices

        public boolean hasListServices()
         List the full names of registered services. The content will not be
         checked.
         
        string list_services = 7;
        Specified by:
        hasListServices in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        Whether the listServices field is set.
      • getListServicesBytes

        public com.google.protobuf.ByteString getListServicesBytes()
         List the full names of registered services. The content will not be
         checked.
         
        string list_services = 7;
        Specified by:
        getListServicesBytes in interface Reflection.ServerReflectionRequestOrBuilder
        Returns:
        The bytes for listServices.
      • setListServices

        public Reflection.ServerReflectionRequest.Builder setListServices​(String value)
         List the full names of registered services. The content will not be
         checked.
         
        string list_services = 7;
        Parameters:
        value - The listServices to set.
        Returns:
        This builder for chaining.
      • clearListServices

        public Reflection.ServerReflectionRequest.Builder clearListServices()
         List the full names of registered services. The content will not be
         checked.
         
        string list_services = 7;
        Returns:
        This builder for chaining.
      • setListServicesBytes

        public Reflection.ServerReflectionRequest.Builder setListServicesBytes​(com.google.protobuf.ByteString value)
         List the full names of registered services. The content will not be
         checked.
         
        string list_services = 7;
        Parameters:
        value - The bytes for listServices to set.
        Returns:
        This builder for chaining.