Class GetStoragePoolRequest.Builder (1.93.0)

public static final class GetStoragePoolRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.

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.

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.