Class ShieldedInstanceIdentity.Builder (1.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIdentity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ShieldedInstanceIdentity.Builder
Overrides

build()

public ShieldedInstanceIdentity build()
Returns
TypeDescription
ShieldedInstanceIdentity

buildPartial()

public ShieldedInstanceIdentity buildPartial()
Returns
TypeDescription
ShieldedInstanceIdentity

clear()

public ShieldedInstanceIdentity.Builder clear()
Returns
TypeDescription
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
TypeDescription
ShieldedInstanceIdentity.Builder

clearField(Descriptors.FieldDescriptor field)

public ShieldedInstanceIdentity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ShieldedInstanceIdentity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedInstanceIdentity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ShieldedInstanceIdentity.Builder

clone()

public ShieldedInstanceIdentity.Builder clone()
Returns
TypeDescription
ShieldedInstanceIdentity.Builder
Overrides

getDefaultInstanceForType()

public ShieldedInstanceIdentity getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceIdentity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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.

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueShieldedInstanceIdentityEntry
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

mergeFrom(ShieldedInstanceIdentity other)

public ShieldedInstanceIdentity.Builder mergeFrom(ShieldedInstanceIdentity other)
Parameter
NameDescription
otherShieldedInstanceIdentity
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShieldedInstanceIdentity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ShieldedInstanceIdentity.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ShieldedInstanceIdentity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueShieldedInstanceIdentityEntry
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIdentity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueShieldedInstanceIdentityEntry
Returns
TypeDescription
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
NameDescription
builderForValueShieldedInstanceIdentityEntry.Builder
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ShieldedInstanceIdentity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The kind to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueShieldedInstanceIdentityEntry
Returns
TypeDescription
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
NameDescription
builderForValueShieldedInstanceIdentityEntry.Builder
Returns
TypeDescription
ShieldedInstanceIdentity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ShieldedInstanceIdentity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ShieldedInstanceIdentity.Builder
Overrides