Class KeyOperationAttestation.CertificateChains.Builder (2.56.0)

public static final class KeyOperationAttestation.CertificateChains.Builder extends GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder> implements KeyOperationAttestation.CertificateChainsOrBuilder

Certificate chains needed to verify the attestation. Certificates in chains are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#section-7.4.2.

Protobuf type google.cloud.kms.v1.KeyOperationAttestation.CertificateChains

Static Methods

getDescriptor()

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

Methods

addAllCaviumCerts(Iterable<String> values)

public KeyOperationAttestation.CertificateChains.Builder addAllCaviumCerts(Iterable<String> values)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameter
Name Description
values Iterable<String>

The caviumCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addAllGoogleCardCerts(Iterable<String> values)

public KeyOperationAttestation.CertificateChains.Builder addAllGoogleCardCerts(Iterable<String> values)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameter
Name Description
values Iterable<String>

The googleCardCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addAllGooglePartitionCerts(Iterable<String> values)

public KeyOperationAttestation.CertificateChains.Builder addAllGooglePartitionCerts(Iterable<String> values)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameter
Name Description
values Iterable<String>

The googlePartitionCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addCaviumCerts(String value)

public KeyOperationAttestation.CertificateChains.Builder addCaviumCerts(String value)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameter
Name Description
value String

The caviumCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addCaviumCertsBytes(ByteString value)

public KeyOperationAttestation.CertificateChains.Builder addCaviumCertsBytes(ByteString value)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameter
Name Description
value ByteString

The bytes of the caviumCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addGoogleCardCerts(String value)

public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCerts(String value)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameter
Name Description
value String

The googleCardCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addGoogleCardCertsBytes(ByteString value)

public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCertsBytes(ByteString value)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameter
Name Description
value ByteString

The bytes of the googleCardCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addGooglePartitionCerts(String value)

public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCerts(String value)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameter
Name Description
value String

The googlePartitionCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addGooglePartitionCertsBytes(ByteString value)

public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCertsBytes(ByteString value)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameter
Name Description
value ByteString

The bytes of the googlePartitionCerts to add.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KeyOperationAttestation.CertificateChains build()
Returns
Type Description
KeyOperationAttestation.CertificateChains

buildPartial()

public KeyOperationAttestation.CertificateChains buildPartial()
Returns
Type Description
KeyOperationAttestation.CertificateChains

clear()

public KeyOperationAttestation.CertificateChains.Builder clear()
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder
Overrides

clearCaviumCerts()

public KeyOperationAttestation.CertificateChains.Builder clearCaviumCerts()

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleCardCerts()

public KeyOperationAttestation.CertificateChains.Builder clearGoogleCardCerts()

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

clearGooglePartitionCerts()

public KeyOperationAttestation.CertificateChains.Builder clearGooglePartitionCerts()

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public KeyOperationAttestation.CertificateChains.Builder clone()
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder
Overrides

getCaviumCerts(int index)

public String getCaviumCerts(int index)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The caviumCerts at the given index.

getCaviumCertsBytes(int index)

public ByteString getCaviumCertsBytes(int index)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the caviumCerts at the given index.

getCaviumCertsCount()

public int getCaviumCertsCount()

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Returns
Type Description
int

The count of caviumCerts.

getCaviumCertsList()

public ProtocolStringList getCaviumCertsList()

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Returns
Type Description
ProtocolStringList

A list containing the caviumCerts.

getDefaultInstanceForType()

public KeyOperationAttestation.CertificateChains getDefaultInstanceForType()
Returns
Type Description
KeyOperationAttestation.CertificateChains

getDescriptorForType()

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

getGoogleCardCerts(int index)

public String getGoogleCardCerts(int index)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The googleCardCerts at the given index.

getGoogleCardCertsBytes(int index)

public ByteString getGoogleCardCertsBytes(int index)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the googleCardCerts at the given index.

getGoogleCardCertsCount()

public int getGoogleCardCertsCount()

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Returns
Type Description
int

The count of googleCardCerts.

getGoogleCardCertsList()

public ProtocolStringList getGoogleCardCertsList()

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Returns
Type Description
ProtocolStringList

A list containing the googleCardCerts.

getGooglePartitionCerts(int index)

public String getGooglePartitionCerts(int index)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The googlePartitionCerts at the given index.

getGooglePartitionCertsBytes(int index)

public ByteString getGooglePartitionCertsBytes(int index)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the googlePartitionCerts at the given index.

getGooglePartitionCertsCount()

public int getGooglePartitionCertsCount()

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Returns
Type Description
int

The count of googlePartitionCerts.

getGooglePartitionCertsList()

public ProtocolStringList getGooglePartitionCertsList()

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Returns
Type Description
ProtocolStringList

A list containing the googlePartitionCerts.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KeyOperationAttestation.CertificateChains other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCaviumCerts(int index, String value)

public KeyOperationAttestation.CertificateChains.Builder setCaviumCerts(int index, String value)

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The caviumCerts to set.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleCardCerts(int index, String value)

public KeyOperationAttestation.CertificateChains.Builder setGoogleCardCerts(int index, String value)

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The googleCardCerts to set.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

setGooglePartitionCerts(int index, String value)

public KeyOperationAttestation.CertificateChains.Builder setGooglePartitionCerts(int index, String value)

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The googlePartitionCerts to set.

Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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