Class GetRegionDiskTypeRequest.Builder (1.93.0)

public static final class GetRegionDiskTypeRequest.Builder extends GeneratedMessage.Builder<GetRegionDiskTypeRequest.Builder> implements GetRegionDiskTypeRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionDiskTypeRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRegionDiskTypeRequest build()
Returns
Type Description
GetRegionDiskTypeRequest

buildPartial()

public GetRegionDiskTypeRequest buildPartial()
Returns
Type Description
GetRegionDiskTypeRequest

clear()

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

clearDiskType()

public GetRegionDiskTypeRequest.Builder clearDiskType()

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

clearProject()

public GetRegionDiskTypeRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionDiskTypeRequest.Builder clearRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRegionDiskTypeRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionDiskTypeRequest

getDescriptorForType()

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

getDiskType()

public String getDiskType()

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The diskType.

getDiskTypeBytes()

public ByteString getDiskTypeBytes()

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for diskType.

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.

getRegion()

public String getRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionDiskTypeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDiskType(String value)

public GetRegionDiskTypeRequest.Builder setDiskType(String value)

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The diskType to set.

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setDiskTypeBytes(ByteString value)

public GetRegionDiskTypeRequest.Builder setDiskTypeBytes(ByteString value)

Name of the disk type to return.

string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for diskType to set.

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionDiskTypeRequest.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
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionDiskTypeRequest.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
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionDiskTypeRequest.Builder setRegion(String value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionDiskTypeRequest.Builder setRegionBytes(ByteString value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetRegionDiskTypeRequest.Builder

This builder for chaining.