Class BootDiskConfig (2.33.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
TypeDescription
int

ENABLE_CONFIDENTIAL_COMPUTE_FIELD_NUMBER

public static final int ENABLE_CONFIDENTIAL_COMPUTE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BootDiskConfig getDefaultInstance()
Returns
TypeDescription
BootDiskConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BootDiskConfig.Builder newBuilder()
Returns
TypeDescription
BootDiskConfig.Builder

newBuilder(BootDiskConfig prototype)

public static BootDiskConfig.Builder newBuilder(BootDiskConfig prototype)
Parameter
NameDescription
prototypeBootDiskConfig
Returns
TypeDescription
BootDiskConfig.Builder

parseDelimitedFrom(InputStream input)

public static BootDiskConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BootDiskConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BootDiskConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BootDiskConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BootDiskConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BootDiskConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BootDiskConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BootDiskConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BootDiskConfig> parser()
Returns
TypeDescription
Parser<BootDiskConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CustomerEncryptionKeyOrBuilder

getDefaultInstanceForType()

public BootDiskConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enableConfidentialCompute.

getParserForType()

public Parser<BootDiskConfig> getParserForType()
Returns
TypeDescription
Parser<BootDiskConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the customerEncryptionKey field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BootDiskConfig.Builder newBuilderForType()
Returns
TypeDescription
BootDiskConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BootDiskConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BootDiskConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BootDiskConfig.Builder toBuilder()
Returns
TypeDescription
BootDiskConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException