Class ExtensionRequest.Builder

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

public static final class ExtensionRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ExtensionRequest,ExtensionRequest.Builder> implements ExtensionRequestOrBuilder
 The type name and extension number sent by the client when requesting
 file_containing_extension.
 

Protobuf type grpc.reflection.v1alpha.ExtensionRequest

  • Method Details

    • getContainingType

      public String getContainingType()
       Fully-qualified type name. The format should be <package>.<type>
       
      string containing_type = 1 [json_name = "containingType"];
      Specified by:
      getContainingType in interface ExtensionRequestOrBuilder
      Returns:
      The containingType.
    • getContainingTypeBytes

      public com.google.protobuf.ByteString getContainingTypeBytes()
       Fully-qualified type name. The format should be <package>.<type>
       
      string containing_type = 1 [json_name = "containingType"];
      Specified by:
      getContainingTypeBytes in interface ExtensionRequestOrBuilder
      Returns:
      The bytes for containingType.
    • setContainingType

      public ExtensionRequest.Builder setContainingType(String value)
       Fully-qualified type name. The format should be <package>.<type>
       
      string containing_type = 1 [json_name = "containingType"];
      Parameters:
      value - The containingType to set.
      Returns:
      This builder for chaining.
    • clearContainingType

      public ExtensionRequest.Builder clearContainingType()
       Fully-qualified type name. The format should be <package>.<type>
       
      string containing_type = 1 [json_name = "containingType"];
      Returns:
      This builder for chaining.
    • setContainingTypeBytes

      public ExtensionRequest.Builder setContainingTypeBytes(com.google.protobuf.ByteString value)
       Fully-qualified type name. The format should be <package>.<type>
       
      string containing_type = 1 [json_name = "containingType"];
      Parameters:
      value - The bytes for containingType to set.
      Returns:
      This builder for chaining.
    • getExtensionNumber

      public int getExtensionNumber()
      int32 extension_number = 2 [json_name = "extensionNumber"];
      Specified by:
      getExtensionNumber in interface ExtensionRequestOrBuilder
      Returns:
      The extensionNumber.
    • setExtensionNumber

      public ExtensionRequest.Builder setExtensionNumber(int value)
      int32 extension_number = 2 [json_name = "extensionNumber"];
      Parameters:
      value - The extensionNumber to set.
      Returns:
      This builder for chaining.
    • clearExtensionNumber

      public ExtensionRequest.Builder clearExtensionNumber()
      int32 extension_number = 2 [json_name = "extensionNumber"];
      Returns:
      This builder for chaining.