Class ShieldedInstanceIdentityEntry.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ShieldedInstanceIdentityEntry build()
Returns
TypeDescription
ShieldedInstanceIdentityEntry

buildPartial()

public ShieldedInstanceIdentityEntry buildPartial()
Returns
TypeDescription
ShieldedInstanceIdentityEntry

clear()

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

This builder for chaining.

clearEkPub()

public ShieldedInstanceIdentityEntry.Builder clearEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ShieldedInstanceIdentityEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ShieldedInstanceIdentityEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ShieldedInstanceIdentityEntry getDefaultInstanceForType()
Returns
TypeDescription
ShieldedInstanceIdentityEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEkCert()

public String getEkCert()

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

optional string ek_cert = 450178589;

Returns
TypeDescription
String

The ekCert.

getEkCertBytes()

public ByteString getEkCertBytes()

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

optional string ek_cert = 450178589;

Returns
TypeDescription
ByteString

The bytes for ekCert.

getEkPub()

public String getEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
TypeDescription
String

The ekPub.

getEkPubBytes()

public ByteString getEkPubBytes()

A PEM-encoded public key.

optional string ek_pub = 308947940;

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

Whether the ekCert field is set.

hasEkPub()

public boolean hasEkPub()

A PEM-encoded public key.

optional string ek_pub = 308947940;

Returns
TypeDescription
boolean

Whether the ekPub field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ShieldedInstanceIdentityEntry other)

public ShieldedInstanceIdentityEntry.Builder mergeFrom(ShieldedInstanceIdentityEntry other)
Parameter
NameDescription
otherShieldedInstanceIdentityEntry
Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ShieldedInstanceIdentityEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The ekCert to set.

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

The bytes for ekCert to set.

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

The ekPub to set.

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

The bytes for ekPub to set.

Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ShieldedInstanceIdentityEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ShieldedInstanceIdentityEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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