Class BootDiskConfig.Builder (2.55.0)

public static final class BootDiskConfig.Builder extends GeneratedMessageV3.Builder<BootDiskConfig.Builder> implements BootDiskConfigOrBuilder

Boot disk configurations.

Protobuf type google.cloud.tpu.v2alpha1.BootDiskConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BootDiskConfig build()
Returns
Type Description
BootDiskConfig

buildPartial()

public BootDiskConfig buildPartial()
Returns
Type Description
BootDiskConfig

clear()

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

clearCustomerEncryptionKey()

public BootDiskConfig.Builder clearCustomerEncryptionKey()

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BootDiskConfig.Builder

clearEnableConfidentialCompute()

public BootDiskConfig.Builder clearEnableConfidentialCompute()

Optional. Whether the boot disk will be created with confidential compute mode.

bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BootDiskConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomerEncryptionKey()

public CustomerEncryptionKey getCustomerEncryptionKey()

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKey

The customerEncryptionKey.

getCustomerEncryptionKeyBuilder()

public CustomerEncryptionKey.Builder getCustomerEncryptionKeyBuilder()

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKey.Builder

getCustomerEncryptionKeyOrBuilder()

public CustomerEncryptionKeyOrBuilder getCustomerEncryptionKeyOrBuilder()

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKeyOrBuilder

getDefaultInstanceForType()

public BootDiskConfig getDefaultInstanceForType()
Returns
Type Description
BootDiskConfig

getDescriptorForType()

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

getEnableConfidentialCompute()

public boolean getEnableConfidentialCompute()

Optional. Whether the boot disk will be created with confidential compute mode.

bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableConfidentialCompute.

hasCustomerEncryptionKey()

public boolean hasCustomerEncryptionKey()

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customerEncryptionKey field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomerEncryptionKey(CustomerEncryptionKey value)

public BootDiskConfig.Builder mergeCustomerEncryptionKey(CustomerEncryptionKey value)

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomerEncryptionKey
Returns
Type Description
BootDiskConfig.Builder

mergeFrom(BootDiskConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomerEncryptionKey(CustomerEncryptionKey value)

public BootDiskConfig.Builder setCustomerEncryptionKey(CustomerEncryptionKey value)

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomerEncryptionKey
Returns
Type Description
BootDiskConfig.Builder

setCustomerEncryptionKey(CustomerEncryptionKey.Builder builderForValue)

public BootDiskConfig.Builder setCustomerEncryptionKey(CustomerEncryptionKey.Builder builderForValue)

Optional. Customer encryption key for boot disk.

.google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CustomerEncryptionKey.Builder
Returns
Type Description
BootDiskConfig.Builder

setEnableConfidentialCompute(boolean value)

public BootDiskConfig.Builder setEnableConfidentialCompute(boolean value)

Optional. Whether the boot disk will be created with confidential compute mode.

bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableConfidentialCompute to set.

Returns
Type Description
BootDiskConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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