Class ShieldedInstanceIdentityEntry.Builder (1.65.0)

public static final class ShieldedInstanceIdentityEntry.Builder extends GeneratedMessageV3.Builder<ShieldedInstanceIdentityEntry.Builder> implements ShieldedInstanceIdentityEntryOrBuilder

A Shielded Instance Identity Entry.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedInstanceIdentityEntry build()
Returns
Type Description
ShieldedInstanceIdentityEntry

buildPartial()

public ShieldedInstanceIdentityEntry buildPartial()
Returns
Type Description
ShieldedInstanceIdentityEntry

clear()

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

clearEkCert()

public ShieldedInstanceIdentityEntry.Builder clearEkCert()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

clearEkPub()

public ShieldedInstanceIdentityEntry.Builder clearEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ShieldedInstanceIdentityEntry getDefaultInstanceForType()
Returns
Type Description
ShieldedInstanceIdentityEntry

getDescriptorForType()

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

getEkCert()

public String getEkCert()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
String

The ekCert.

getEkCertBytes()

public ByteString getEkCertBytes()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
ByteString

The bytes for ekCert.

getEkPub()

public String getEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
String

The ekPub.

getEkPubBytes()

public ByteString getEkPubBytes()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
ByteString

The bytes for ekPub.

hasEkCert()

public boolean hasEkCert()

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Returns
Type Description
boolean

Whether the ekCert field is set.

hasEkPub()

public boolean hasEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
Type Description
boolean

Whether the ekPub field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShieldedInstanceIdentityEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEkCert(String value)

public ShieldedInstanceIdentityEntry.Builder setEkCert(String value)

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Parameter
Name Description
value String

The ekCert to set.

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

setEkCertBytes(ByteString value)

public ShieldedInstanceIdentityEntry.Builder setEkCertBytes(ByteString value)

A PEM-encoded X.509 certificate. This field can be empty.

optional string ek_cert = 450178589;

Parameter
Name Description
value ByteString

The bytes for ekCert to set.

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

setEkPub(String value)

public ShieldedInstanceIdentityEntry.Builder setEkPub(String value)

A PEM-encoded public key.

optional string ek_pub = 308947940;

Parameter
Name Description
value String

The ekPub to set.

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

setEkPubBytes(ByteString value)

public ShieldedInstanceIdentityEntry.Builder setEkPubBytes(ByteString value)

A PEM-encoded public key.

optional string ek_pub = 308947940;

Parameter
Name Description
value ByteString

The bytes for ekPub to set.

Returns
Type Description
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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