public static final class BootDiskConfig.Builder extends GeneratedMessage.Builder<BootDiskConfig.Builder> implements BootDiskConfigOrBuilderBoot disk configurations.
Protobuf type google.cloud.tpu.v2alpha1.BootDiskConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BootDiskConfig.BuilderImplements
BootDiskConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BootDiskConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BootDiskConfig.Builder |
|
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 |
booleanThe enableConfidentialCompute to set. |
| Returns | |
|---|---|
| Type | Description |
BootDiskConfig.Builder |
This builder for chaining. |