public static final class BootDiskConfig.Builder extends GeneratedMessageV3.Builder<BootDiskConfig.Builder> implements BootDiskConfigOrBuilder
Boot disk configurations.
Protobuf type google.cloud.tpu.v2alpha1.BootDiskConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BootDiskConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BootDiskConfig build()
buildPartial()
public BootDiskConfig buildPartial()
clear()
public BootDiskConfig.Builder clear()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public BootDiskConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BootDiskConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BootDiskConfig.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public BootDiskConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(BootDiskConfig other)
public BootDiskConfig.Builder mergeFrom(BootDiskConfig other)
public BootDiskConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BootDiskConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BootDiskConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BootDiskConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BootDiskConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BootDiskConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides