Class ShieldedInstanceConfig (2.21.0)

public final class ShieldedInstanceConfig extends GeneratedMessageV3 implements ShieldedInstanceConfigOrBuilder

A set of Shielded Instance options.

Protobuf type google.cloud.tpu.v2.ShieldedInstanceConfig

Static Fields

ENABLE_SECURE_BOOT_FIELD_NUMBER

public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceConfig getDefaultInstance()
Returns
TypeDescription
ShieldedInstanceConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ShieldedInstanceConfig prototype)

public static ShieldedInstanceConfig.Builder newBuilder(ShieldedInstanceConfig prototype)
Parameter
NameDescription
prototypeShieldedInstanceConfig
Returns
TypeDescription
ShieldedInstanceConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ShieldedInstanceConfig getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceConfig

getEnableSecureBoot()

public boolean getEnableSecureBoot()

Defines whether the instance has Secure Boot enabled.

bool enable_secure_boot = 1;

Returns
TypeDescription
boolean

The enableSecureBoot.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ShieldedInstanceConfig.Builder newBuilderForType()
Returns
TypeDescription
ShieldedInstanceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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