Class KeyOperationAttestation.CertificateChains (2.5.3)

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

GOOGLE_CARD_CERTS_FIELD_NUMBER

public static final int GOOGLE_CARD_CERTS_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_PARTITION_CERTS_FIELD_NUMBER

public static final int GOOGLE_PARTITION_CERTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KeyOperationAttestation.CertificateChains getDefaultInstance()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static KeyOperationAttestation.CertificateChains.Builder newBuilder()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

newBuilder(KeyOperationAttestation.CertificateChains prototype)

public static KeyOperationAttestation.CertificateChains.Builder newBuilder(KeyOperationAttestation.CertificateChains prototype)
Parameter
NameDescription
prototypeKeyOperationAttestation.CertificateChains
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

parseDelimitedFrom(InputStream input)

public static KeyOperationAttestation.CertificateChains parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static KeyOperationAttestation.CertificateChains parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KeyOperationAttestation.CertificateChains parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static KeyOperationAttestation.CertificateChains parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KeyOperationAttestation.CertificateChains parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KeyOperationAttestation.CertificateChains
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public KeyOperationAttestation.CertificateChains.Builder newBuilderForType()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KeyOperationAttestation.CertificateChains.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public KeyOperationAttestation.CertificateChains.Builder toBuilder()
Returns
TypeDescription
KeyOperationAttestation.CertificateChains.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException