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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionFully-qualified type name.int32 extension_number = 2 [json_name = "extensionNumber"];
Fully-qualified type name.com.google.protobuf.ByteString
Fully-qualified type name.int
int32 extension_number = 2 [json_name = "extensionNumber"];
setContainingType
(String value) Fully-qualified type name.setContainingTypeBytes
(com.google.protobuf.ByteString value) Fully-qualified type name.setExtensionNumber
(int value) int32 extension_number = 2 [json_name = "extensionNumber"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getContainingType
Fully-qualified type name. The format should be <package>.<type>
string containing_type = 1 [json_name = "containingType"];
- Specified by:
getContainingType
in interfaceExtensionRequestOrBuilder
- 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 interfaceExtensionRequestOrBuilder
- Returns:
- The bytes for containingType.
-
setContainingType
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
Fully-qualified type name. The format should be <package>.<type>
string containing_type = 1 [json_name = "containingType"];
- Returns:
- This builder for chaining.
-
setContainingTypeBytes
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 interfaceExtensionRequestOrBuilder
- Returns:
- The extensionNumber.
-
setExtensionNumber
int32 extension_number = 2 [json_name = "extensionNumber"];
- Parameters:
value
- The extensionNumber to set.- Returns:
- This builder for chaining.
-
clearExtensionNumber
int32 extension_number = 2 [json_name = "extensionNumber"];
- Returns:
- This builder for chaining.
-