Class KeyOperationAttestation.CertificateChains (2.48.0)

public static final class KeyOperationAttestation.CertificateChains extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > KeyOperationAttestation.CertificateChains

Static Fields

CAVIUM_CERTS_FIELD_NUMBER

public static final int CAVIUM_CERTS_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_CARD_CERTS_FIELD_NUMBER

public static final int GOOGLE_CARD_CERTS_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_PARTITION_CERTS_FIELD_NUMBER

public static final int GOOGLE_PARTITION_CERTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KeyOperationAttestation.CertificateChains getDefaultInstance()
Returns
Type Description
KeyOperationAttestation.CertificateChains

getDescriptor()

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

newBuilder()

public static KeyOperationAttestation.CertificateChains.Builder newBuilder()
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

newBuilder(KeyOperationAttestation.CertificateChains prototype)

public static KeyOperationAttestation.CertificateChains.Builder newBuilder(KeyOperationAttestation.CertificateChains prototype)
Parameter
Name Description
prototype KeyOperationAttestation.CertificateChains
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

parseDelimitedFrom(InputStream input)

public static KeyOperationAttestation.CertificateChains parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static KeyOperationAttestation.CertificateChains parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KeyOperationAttestation.CertificateChains parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static KeyOperationAttestation.CertificateChains parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KeyOperationAttestation.CertificateChains
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<KeyOperationAttestation.CertificateChains> parser()
Returns
Type Description
Parser<CertificateChains>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<KeyOperationAttestation.CertificateChains> getParserForType()
Returns
Type Description
Parser<CertificateChains>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public KeyOperationAttestation.CertificateChains.Builder newBuilderForType()
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KeyOperationAttestation.CertificateChains.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public KeyOperationAttestation.CertificateChains.Builder toBuilder()
Returns
Type Description
KeyOperationAttestation.CertificateChains.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException