Class GetStoragePoolRequest.Builder (1.64.0)

public static final class GetStoragePoolRequest.Builder extends GeneratedMessageV3.Builder<GetStoragePoolRequest.Builder> implements GetStoragePoolRequestOrBuilder

A request message for StoragePools.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetStoragePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetStoragePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

build()

public GetStoragePoolRequest build()
Returns
Type Description
GetStoragePoolRequest

buildPartial()

public GetStoragePoolRequest buildPartial()
Returns
Type Description
GetStoragePoolRequest

clear()

public GetStoragePoolRequest.Builder clear()
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetStoragePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetStoragePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

clearProject()

public GetStoragePoolRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

clearStoragePool()

public GetStoragePoolRequest.Builder clearStoragePool()

Name of the storage pool to return.

string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

clearZone()

public GetStoragePoolRequest.Builder clearZone()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

clone()

public GetStoragePoolRequest.Builder clone()
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public GetStoragePoolRequest getDefaultInstanceForType()
Returns
Type Description
GetStoragePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getStoragePool()

public String getStoragePool()

Name of the storage pool to return.

string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The storagePool.

getStoragePoolBytes()

public ByteString getStoragePoolBytes()

Name of the storage pool to return.

string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for storagePool.

getZone()

public String getZone()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetStoragePoolRequest other)

public GetStoragePoolRequest.Builder mergeFrom(GetStoragePoolRequest other)
Parameter
Name Description
other GetStoragePoolRequest
Returns
Type Description
GetStoragePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetStoragePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetStoragePoolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetStoragePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetStoragePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

setProject(String value)

public GetStoragePoolRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetStoragePoolRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

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

public GetStoragePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

setStoragePool(String value)

public GetStoragePoolRequest.Builder setStoragePool(String value)

Name of the storage pool to return.

string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The storagePool to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

setStoragePoolBytes(ByteString value)

public GetStoragePoolRequest.Builder setStoragePoolBytes(ByteString value)

Name of the storage pool to return.

string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for storagePool to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetStoragePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetStoragePoolRequest.Builder
Overrides

setZone(String value)

public GetStoragePoolRequest.Builder setZone(String value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetStoragePoolRequest.Builder setZoneBytes(ByteString value)

The name of the zone for this request.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
GetStoragePoolRequest.Builder

This builder for chaining.