Class ShieldedInstanceIdentity (1.15.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
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

SIGNING_KEY_FIELD_NUMBER

public static final int SIGNING_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ShieldedInstanceIdentity getDefaultInstance()
Returns
TypeDescription
ShieldedInstanceIdentity

getDescriptor()

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

newBuilder()

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

newBuilder(ShieldedInstanceIdentity prototype)

public static ShieldedInstanceIdentity.Builder newBuilder(ShieldedInstanceIdentity prototype)
Parameter
NameDescription
prototypeShieldedInstanceIdentity
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ShieldedInstanceIdentity getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ShieldedInstanceIdentityEntryOrBuilder

getKind()

public String getKind()

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

optional string kind = 3292052;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for kind.

getParserForType()

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

getSerializedSize()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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