Class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder (1.109.0)

public static final class CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder extends GeneratedMessage.Builder<CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder> implements CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDiskOrBuilder

Attached disk configuration.

Protobuf type google.cloud.compute.v1.CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder

Static Methods

getDescriptor()

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

Methods

build()

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk build()
Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk

buildPartial()

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk buildPartial()
Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk

clear()

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

clearType()

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder clearType()

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder

This builder for chaining.

getDefaultInstanceForType()

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk getDefaultInstanceForType()
Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk

getDescriptorForType()

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

getType()

public String getType()

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
ByteString

The bytes for type.

hasType()

public boolean hasType()

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setType(String value)

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder setType(String value)

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder setTypeBytes(ByteString value)

Specifies the type of the disk. Check the Type enum for the list of possible values.

optional string type = 3575610;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk.Builder

This builder for chaining.