Class KeyOperationAttestation.CertificateChains.Builder (2.4.4)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The caviumCerts to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The googleCardCerts to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The googlePartitionCerts to add.

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

The caviumCerts to add.

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

The bytes of the caviumCerts to add.

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

The googleCardCerts to add.

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

The bytes of the googleCardCerts to add.

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

The googlePartitionCerts to add.

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

The bytes of the googlePartitionCerts to add.

Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KeyOperationAttestation.CertificateChains build()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains

buildPartial()

public KeyOperationAttestation.CertificateChains buildPartial()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains

clear()

public KeyOperationAttestation.CertificateChains.Builder clear()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder
Overrides

clearCaviumCerts()

public KeyOperationAttestation.CertificateChains.Builder clearCaviumCerts()

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public KeyOperationAttestation.CertificateChains.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of caviumCerts.

getCaviumCertsList()

public ProtocolStringList getCaviumCertsList()

Cavium certificate chain corresponding to the attestation.

repeated string cavium_certs = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the caviumCerts.

getDefaultInstanceForType()

public KeyOperationAttestation.CertificateChains getDefaultInstanceForType()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

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

The count of googleCardCerts.

getGoogleCardCertsList()

public ProtocolStringList getGoogleCardCertsList()

Google card certificate chain corresponding to the attestation.

repeated string google_card_certs = 2;

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

The index of the element to return.

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

The index of the value to return.

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

The count of googlePartitionCerts.

getGooglePartitionCertsList()

public ProtocolStringList getGooglePartitionCertsList()

Google partition certificate chain corresponding to the attestation.

repeated string google_partition_certs = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the googlePartitionCerts.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KeyOperationAttestation.CertificateChains other)

public KeyOperationAttestation.CertificateChains.Builder mergeFrom(KeyOperationAttestation.CertificateChains other)
Parameter
NameDescription
otherKeyOperationAttestation.CertificateChains
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The caviumCerts to set.

Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The googleCardCerts to set.

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

The index to set the value at.

valueString

The googlePartitionCerts to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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