Class AzureDiskTemplate.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureDiskTemplate build()
Returns
TypeDescription
AzureDiskTemplate

buildPartial()

public AzureDiskTemplate buildPartial()
Returns
TypeDescription
AzureDiskTemplate

clear()

public AzureDiskTemplate.Builder clear()
Returns
TypeDescription
AzureDiskTemplate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureDiskTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AzureDiskTemplate.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AzureDiskTemplate getDefaultInstanceForType()
Returns
TypeDescription
AzureDiskTemplate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The sizeGib.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureDiskTemplate other)

public AzureDiskTemplate.Builder mergeFrom(AzureDiskTemplate other)
Parameter
NameDescription
otherAzureDiskTemplate
Returns
TypeDescription
AzureDiskTemplate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureDiskTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureDiskTemplate.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AzureDiskTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The sizeGib to set.

Returns
TypeDescription
AzureDiskTemplate.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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