Class ShieldedInstanceIdentity.Builder (1.56.0)

public static final class ShieldedInstanceIdentity.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceIdentity.Builder> implements ShieldedInstanceIdentityOrBuilder

A Shielded Instance Identity.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIdentity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

build()

public ShieldedInstanceIdentity build()
Returns
Type Description
ShieldedInstanceIdentity

buildPartial()

public ShieldedInstanceIdentity buildPartial()
Returns
Type Description
ShieldedInstanceIdentity

clear()

public ShieldedInstanceIdentity.Builder clear()
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

clearEncryptionKey()

public ShieldedInstanceIdentity.Builder clearEncryptionKey()

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
ShieldedInstanceIdentity.Builder

clearField(Descriptors.FieldDescriptor field)

public ShieldedInstanceIdentity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

clearKind()

public ShieldedInstanceIdentity.Builder clearKind()

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

optional string kind = 3292052;

Returns
Type Description
ShieldedInstanceIdentity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedInstanceIdentity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

clearSigningKey()

public ShieldedInstanceIdentity.Builder clearSigningKey()

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
ShieldedInstanceIdentity.Builder

clone()

public ShieldedInstanceIdentity.Builder clone()
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIdentity getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceIdentity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEncryptionKeyBuilder()

public ShieldedInstanceIdentityEntry.Builder getEncryptionKeyBuilder()

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.Builder

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.

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.

getSigningKeyBuilder()

public ShieldedInstanceIdentityEntry.Builder getSigningKeyBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEncryptionKey(ShieldedInstanceIdentityEntry value)

public ShieldedInstanceIdentity.Builder mergeEncryptionKey(ShieldedInstanceIdentityEntry value)

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;

Parameter
Name Description
value ShieldedInstanceIdentityEntry
Returns
Type Description
ShieldedInstanceIdentity.Builder

mergeFrom(ShieldedInstanceIdentity other)

public ShieldedInstanceIdentity.Builder mergeFrom(ShieldedInstanceIdentity other)
Parameter
Name Description
other ShieldedInstanceIdentity
Returns
Type Description
ShieldedInstanceIdentity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShieldedInstanceIdentity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShieldedInstanceIdentity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

mergeSigningKey(ShieldedInstanceIdentityEntry value)

public ShieldedInstanceIdentity.Builder mergeSigningKey(ShieldedInstanceIdentityEntry value)

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;

Parameter
Name Description
value ShieldedInstanceIdentityEntry
Returns
Type Description
ShieldedInstanceIdentity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIdentity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

setEncryptionKey(ShieldedInstanceIdentityEntry value)

public ShieldedInstanceIdentity.Builder setEncryptionKey(ShieldedInstanceIdentityEntry value)

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;

Parameter
Name Description
value ShieldedInstanceIdentityEntry
Returns
Type Description
ShieldedInstanceIdentity.Builder

setEncryptionKey(ShieldedInstanceIdentityEntry.Builder builderForValue)

public ShieldedInstanceIdentity.Builder setEncryptionKey(ShieldedInstanceIdentityEntry.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ShieldedInstanceIdentityEntry.Builder
Returns
Type Description
ShieldedInstanceIdentity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIdentity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

setKind(String value)

public ShieldedInstanceIdentity.Builder setKind(String value)

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

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
ShieldedInstanceIdentity.Builder

This builder for chaining.

setKindBytes(ByteString value)

public ShieldedInstanceIdentity.Builder setKindBytes(ByteString value)

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

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
ShieldedInstanceIdentity.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ShieldedInstanceIdentity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides

setSigningKey(ShieldedInstanceIdentityEntry value)

public ShieldedInstanceIdentity.Builder setSigningKey(ShieldedInstanceIdentityEntry value)

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;

Parameter
Name Description
value ShieldedInstanceIdentityEntry
Returns
Type Description
ShieldedInstanceIdentity.Builder

setSigningKey(ShieldedInstanceIdentityEntry.Builder builderForValue)

public ShieldedInstanceIdentity.Builder setSigningKey(ShieldedInstanceIdentityEntry.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ShieldedInstanceIdentityEntry.Builder
Returns
Type Description
ShieldedInstanceIdentity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIdentity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ShieldedInstanceIdentity.Builder
Overrides