Class GetRegionDiskTypeRequest.Builder (1.53.0)

public static final class GetRegionDiskTypeRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetRegionDiskTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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