Class ShieldedInstanceIdentity (1.58.0)

public final class ShieldedInstanceIdentity extends GeneratedMessageV3 implements ShieldedInstanceIdentityOrBuilder

A Shielded Instance Identity.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentity

Static Fields

ENCRYPTION_KEY_FIELD_NUMBER

public static final int ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

SIGNING_KEY_FIELD_NUMBER

public static final int SIGNING_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceIdentity getDefaultInstance()
Returns
Type Description
ShieldedInstanceIdentity

getDescriptor()

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

newBuilder()

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

newBuilder(ShieldedInstanceIdentity prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIdentity getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceIdentity

getEncryptionKey()

public ShieldedInstanceIdentityEntry getEncryptionKey()

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;

Returns
Type Description
ShieldedInstanceIdentityEntry

The encryptionKey.

getEncryptionKeyOrBuilder()

public ShieldedInstanceIdentityEntryOrBuilder getEncryptionKeyOrBuilder()

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;

Returns
Type Description
ShieldedInstanceIdentityEntryOrBuilder

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSigningKey()

public ShieldedInstanceIdentityEntry getSigningKey()

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;

Returns
Type Description
ShieldedInstanceIdentityEntry

The signingKey.

getSigningKeyOrBuilder()

public ShieldedInstanceIdentityEntryOrBuilder getSigningKeyOrBuilder()

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;

Returns
Type Description
ShieldedInstanceIdentityEntryOrBuilder

hasEncryptionKey()

public boolean hasEncryptionKey()

An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry encryption_key = 488268707;

Returns
Type Description
boolean

Whether the encryptionKey field is set.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasSigningKey()

public boolean hasSigningKey()

An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.

optional .google.cloud.compute.v1.ShieldedInstanceIdentityEntry signing_key = 320948261;

Returns
Type Description
boolean

Whether the signingKey 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 ShieldedInstanceIdentity.Builder newBuilderForType()
Returns
Type Description
ShieldedInstanceIdentity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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