Class ServerReflectionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionRequest,ServerReflectionRequest.Builder>
com.viam.sdk.core.rpc.reflectionv1alpha.ServerReflectionRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, ServerReflectionRequestOrBuilder, Cloneable
Enclosing class:
ServerReflectionRequest

public static final class ServerReflectionRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ServerReflectionRequest,ServerReflectionRequest.Builder> implements ServerReflectionRequestOrBuilder
 The message sent by the client when calling ServerReflectionInfo method.
 

Protobuf type grpc.reflection.v1alpha.ServerReflectionRequest

  • Method Details

    • getMessageRequestCase

      public ServerReflectionRequest.MessageRequestCase getMessageRequestCase()
      Specified by:
      getMessageRequestCase in interface ServerReflectionRequestOrBuilder
    • clearMessageRequest

      public ServerReflectionRequest.Builder clearMessageRequest()
    • getHost

      public String getHost()
      string host = 1 [json_name = "host"];
      Specified by:
      getHost in interface ServerReflectionRequestOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      string host = 1 [json_name = "host"];
      Specified by:
      getHostBytes in interface ServerReflectionRequestOrBuilder
      Returns:
      The bytes for host.
    • setHost

      public ServerReflectionRequest.Builder setHost(String value)
      string host = 1 [json_name = "host"];
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

      public ServerReflectionRequest.Builder clearHost()
      string host = 1 [json_name = "host"];
      Returns:
      This builder for chaining.
    • setHostBytes

      public ServerReflectionRequest.Builder setHostBytes(com.google.protobuf.ByteString value)
      string host = 1 [json_name = "host"];
      Parameters:
      value - The bytes for host to set.
      Returns:
      This builder for chaining.
    • hasFileByFilename

      public boolean hasFileByFilename()
       Find a proto file by the file name.
       
      string file_by_filename = 3 [json_name = "fileByFilename"];
      Specified by:
      hasFileByFilename in interface ServerReflectionRequestOrBuilder
      Returns:
      Whether the fileByFilename field is set.
    • getFileByFilename

      public String getFileByFilename()
       Find a proto file by the file name.
       
      string file_by_filename = 3 [json_name = "fileByFilename"];
      Specified by:
      getFileByFilename in interface ServerReflectionRequestOrBuilder
      Returns:
      The fileByFilename.
    • getFileByFilenameBytes

      public com.google.protobuf.ByteString getFileByFilenameBytes()
       Find a proto file by the file name.
       
      string file_by_filename = 3 [json_name = "fileByFilename"];
      Specified by:
      getFileByFilenameBytes in interface ServerReflectionRequestOrBuilder
      Returns:
      The bytes for fileByFilename.
    • setFileByFilename

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

      public ServerReflectionRequest.Builder clearFileByFilename()
       Find a proto file by the file name.
       
      string file_by_filename = 3 [json_name = "fileByFilename"];
      Returns:
      This builder for chaining.
    • setFileByFilenameBytes

      public ServerReflectionRequest.Builder setFileByFilenameBytes(com.google.protobuf.ByteString value)
       Find a proto file by the file name.
       
      string file_by_filename = 3 [json_name = "fileByFilename"];
      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 [json_name = "fileContainingSymbol"];
      Specified by:
      hasFileContainingSymbol in interface 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 [json_name = "fileContainingSymbol"];
      Specified by:
      getFileContainingSymbol in interface 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 [json_name = "fileContainingSymbol"];
      Specified by:
      getFileContainingSymbolBytes in interface ServerReflectionRequestOrBuilder
      Returns:
      The bytes for fileContainingSymbol.
    • setFileContainingSymbol

      public 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 [json_name = "fileContainingSymbol"];
      Parameters:
      value - The fileContainingSymbol to set.
      Returns:
      This builder for chaining.
    • clearFileContainingSymbol

      public 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 [json_name = "fileContainingSymbol"];
      Returns:
      This builder for chaining.
    • setFileContainingSymbolBytes

      public 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 [json_name = "fileContainingSymbol"];
      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 [json_name = "fileContainingExtension"];
      Specified by:
      hasFileContainingExtension in interface ServerReflectionRequestOrBuilder
      Returns:
      Whether the fileContainingExtension field is set.
    • getFileContainingExtension

      public ExtensionRequest getFileContainingExtension()
       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 [json_name = "fileContainingExtension"];
      Specified by:
      getFileContainingExtension in interface ServerReflectionRequestOrBuilder
      Returns:
      The fileContainingExtension.
    • setFileContainingExtension

      public ServerReflectionRequest.Builder setFileContainingExtension(ExtensionRequest value)
       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 [json_name = "fileContainingExtension"];
    • setFileContainingExtension

      public ServerReflectionRequest.Builder setFileContainingExtension(ExtensionRequest.Builder builderForValue)
       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 [json_name = "fileContainingExtension"];
    • mergeFileContainingExtension

      public ServerReflectionRequest.Builder mergeFileContainingExtension(ExtensionRequest value)
       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 [json_name = "fileContainingExtension"];
    • clearFileContainingExtension

      public 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 [json_name = "fileContainingExtension"];
    • hasAllExtensionNumbersOfType

      public boolean hasAllExtensionNumbersOfType()
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      Specified by:
      hasAllExtensionNumbersOfType in interface ServerReflectionRequestOrBuilder
      Returns:
      Whether the allExtensionNumbersOfType field is set.
    • getAllExtensionNumbersOfType

      public String getAllExtensionNumbersOfType()
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      Specified by:
      getAllExtensionNumbersOfType in interface ServerReflectionRequestOrBuilder
      Returns:
      The allExtensionNumbersOfType.
    • getAllExtensionNumbersOfTypeBytes

      public com.google.protobuf.ByteString getAllExtensionNumbersOfTypeBytes()
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      Specified by:
      getAllExtensionNumbersOfTypeBytes in interface ServerReflectionRequestOrBuilder
      Returns:
      The bytes for allExtensionNumbersOfType.
    • setAllExtensionNumbersOfType

      public ServerReflectionRequest.Builder setAllExtensionNumbersOfType(String value)
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      Parameters:
      value - The allExtensionNumbersOfType to set.
      Returns:
      This builder for chaining.
    • clearAllExtensionNumbersOfType

      public ServerReflectionRequest.Builder clearAllExtensionNumbersOfType()
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      Returns:
      This builder for chaining.
    • setAllExtensionNumbersOfTypeBytes

      public ServerReflectionRequest.Builder setAllExtensionNumbersOfTypeBytes(com.google.protobuf.ByteString value)
       Finds the tag numbers used by all known extensions of extendee_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 [json_name = "allExtensionNumbersOfType"];
      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 [json_name = "listServices"];
      Specified by:
      hasListServices in interface ServerReflectionRequestOrBuilder
      Returns:
      Whether the listServices field is set.
    • getListServices

      public String getListServices()
       List the full names of registered services. The content will not be
       checked.
       
      string list_services = 7 [json_name = "listServices"];
      Specified by:
      getListServices in interface ServerReflectionRequestOrBuilder
      Returns:
      The listServices.
    • getListServicesBytes

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

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

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

      public 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 [json_name = "listServices"];
      Parameters:
      value - The bytes for listServices to set.
      Returns:
      This builder for chaining.