Class BootDiskConfig (2.56.0)

public final class BootDiskConfig extends GeneratedMessageV3 implements BootDiskConfigOrBuilder

Boot disk configurations.

Protobuf type google.cloud.tpu.v2alpha1.BootDiskConfig

Static Fields

CUSTOMER_ENCRYPTION_KEY_FIELD_NUMBER

public static final int CUSTOMER_ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_CONFIDENTIAL_COMPUTE_FIELD_NUMBER

public static final int ENABLE_CONFIDENTIAL_COMPUTE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BootDiskConfig getDefaultInstance()
Returns
Type Description
BootDiskConfig

getDescriptor()

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

newBuilder()

public static BootDiskConfig.Builder newBuilder()
Returns
Type Description
BootDiskConfig.Builder

newBuilder(BootDiskConfig prototype)

public static BootDiskConfig.Builder newBuilder(BootDiskConfig prototype)
Parameter
Name Description
prototype BootDiskConfig
Returns
Type Description
BootDiskConfig.Builder

parseDelimitedFrom(InputStream input)

public static BootDiskConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BootDiskConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BootDiskConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BootDiskConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BootDiskConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BootDiskConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BootDiskConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BootDiskConfig> parser()
Returns
Type Description
Parser<BootDiskConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getParserForType()

public Parser<BootDiskConfig> getParserForType()
Returns
Type Description
Parser<BootDiskConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BootDiskConfig.Builder newBuilderForType()
Returns
Type Description
BootDiskConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BootDiskConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BootDiskConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BootDiskConfig.Builder toBuilder()
Returns
Type Description
BootDiskConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException