Class GetRegionDiskTypeRequest.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionDiskTypeRequest build()
Returns
TypeDescription
GetRegionDiskTypeRequest

buildPartial()

public GetRegionDiskTypeRequest buildPartial()
Returns
TypeDescription
GetRegionDiskTypeRequest

clear()

public GetRegionDiskTypeRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetRegionDiskTypeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionDiskTypeRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetRegionDiskTypeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionDiskTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionDiskTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiskType()

public String getDiskType()

Name of the disk type to return.

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

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public ByteString getDiskTypeBytes()

Name of the disk type to return.

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

Returns
TypeDescription
ByteString

The bytes for diskType.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The name of the region for this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionDiskTypeRequest other)

public GetRegionDiskTypeRequest.Builder mergeFrom(GetRegionDiskTypeRequest other)
Parameter
NameDescription
otherGetRegionDiskTypeRequest
Returns
TypeDescription
GetRegionDiskTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetRegionDiskTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The diskType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for diskType to set.

Returns
TypeDescription
GetRegionDiskTypeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetRegionDiskTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRegionDiskTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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