Class AzureDiskTemplate.Builder (0.45.0)

public static final class AzureDiskTemplate.Builder extends GeneratedMessageV3.Builder<AzureDiskTemplate.Builder> implements AzureDiskTemplateOrBuilder

Configuration for Azure Disks.

Protobuf type google.cloud.gkemulticloud.v1.AzureDiskTemplate

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureDiskTemplate build()
Returns
Type Description
AzureDiskTemplate

buildPartial()

public AzureDiskTemplate buildPartial()
Returns
Type Description
AzureDiskTemplate

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSizeGib()

public AzureDiskTemplate.Builder clearSizeGib()

Optional. The size of the disk, in GiBs.

When unspecified, a default value is provided. See the specific reference in the parent resource.

int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AzureDiskTemplate.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AzureDiskTemplate getDefaultInstanceForType()
Returns
Type Description
AzureDiskTemplate

getDescriptorForType()

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

getSizeGib()

public int getSizeGib()

Optional. The size of the disk, in GiBs.

When unspecified, a default value is provided. See the specific reference in the parent resource.

int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The sizeGib.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureDiskTemplate other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSizeGib(int value)

public AzureDiskTemplate.Builder setSizeGib(int value)

Optional. The size of the disk, in GiBs.

When unspecified, a default value is provided. See the specific reference in the parent resource.

int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The sizeGib to set.

Returns
Type Description
AzureDiskTemplate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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