Class GetVolumeRequest.Builder (0.9.0)

public static final class GetVolumeRequest.Builder extends GeneratedMessageV3.Builder<GetVolumeRequest.Builder> implements GetVolumeRequestOrBuilder

Message for getting a Volume

Protobuf type google.cloud.netapp.v1.GetVolumeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetVolumeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

build()

public GetVolumeRequest build()
Returns
TypeDescription
GetVolumeRequest

buildPartial()

public GetVolumeRequest buildPartial()
Returns
TypeDescription
GetVolumeRequest

clear()

public GetVolumeRequest.Builder clear()
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetVolumeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

clearName()

public GetVolumeRequest.Builder clearName()

Required. Name of the volume

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetVolumeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetVolumeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

clone()

public GetVolumeRequest.Builder clone()
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

getDefaultInstanceForType()

public GetVolumeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetVolumeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the volume

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the volume

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetVolumeRequest other)

public GetVolumeRequest.Builder mergeFrom(GetVolumeRequest other)
Parameter
NameDescription
otherGetVolumeRequest
Returns
TypeDescription
GetVolumeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetVolumeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetVolumeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetVolumeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetVolumeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

setName(String value)

public GetVolumeRequest.Builder setName(String value)

Required. Name of the volume

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetVolumeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetVolumeRequest.Builder setNameBytes(ByteString value)

Required. Name of the volume

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetVolumeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetVolumeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetVolumeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetVolumeRequest.Builder
Overrides