Package com.google.cloud.kms.v1
Class KeyOperationAttestation.CertificateChains.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
- com.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains.Builder
-
- All Implemented Interfaces:
KeyOperationAttestation.CertificateChainsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- KeyOperationAttestation.CertificateChains
public static final class KeyOperationAttestation.CertificateChains.Builder extends com.google.protobuf.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 typegoogle.cloud.kms.v1.KeyOperationAttestation.CertificateChains
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyOperationAttestation.CertificateChains.Builder
addAllCaviumCerts(Iterable<String> values)
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addAllGoogleCardCerts(Iterable<String> values)
Google card certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addAllGooglePartitionCerts(Iterable<String> values)
Google partition certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addCaviumCerts(String value)
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addCaviumCertsBytes(com.google.protobuf.ByteString value)
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addGoogleCardCerts(String value)
Google card certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addGoogleCardCertsBytes(com.google.protobuf.ByteString value)
Google card certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addGooglePartitionCerts(String value)
Google partition certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addGooglePartitionCertsBytes(com.google.protobuf.ByteString value)
Google partition certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyOperationAttestation.CertificateChains
build()
KeyOperationAttestation.CertificateChains
buildPartial()
KeyOperationAttestation.CertificateChains.Builder
clear()
KeyOperationAttestation.CertificateChains.Builder
clearCaviumCerts()
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
KeyOperationAttestation.CertificateChains.Builder
clearGoogleCardCerts()
Google card certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
clearGooglePartitionCerts()
Google partition certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
KeyOperationAttestation.CertificateChains.Builder
clone()
String
getCaviumCerts(int index)
Cavium certificate chain corresponding to the attestation.com.google.protobuf.ByteString
getCaviumCertsBytes(int index)
Cavium certificate chain corresponding to the attestation.int
getCaviumCertsCount()
Cavium certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringList
getCaviumCertsList()
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getGoogleCardCerts(int index)
Google card certificate chain corresponding to the attestation.com.google.protobuf.ByteString
getGoogleCardCertsBytes(int index)
Google card certificate chain corresponding to the attestation.int
getGoogleCardCertsCount()
Google card certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringList
getGoogleCardCertsList()
Google card certificate chain corresponding to the attestation.String
getGooglePartitionCerts(int index)
Google partition certificate chain corresponding to the attestation.com.google.protobuf.ByteString
getGooglePartitionCertsBytes(int index)
Google partition certificate chain corresponding to the attestation.int
getGooglePartitionCertsCount()
Google partition certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringList
getGooglePartitionCertsList()
Google partition certificate chain corresponding to the attestation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
KeyOperationAttestation.CertificateChains.Builder
mergeFrom(KeyOperationAttestation.CertificateChains other)
KeyOperationAttestation.CertificateChains.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KeyOperationAttestation.CertificateChains.Builder
mergeFrom(com.google.protobuf.Message other)
KeyOperationAttestation.CertificateChains.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KeyOperationAttestation.CertificateChains.Builder
setCaviumCerts(int index, String value)
Cavium certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KeyOperationAttestation.CertificateChains.Builder
setGoogleCardCerts(int index, String value)
Google card certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
setGooglePartitionCerts(int index, String value)
Google partition certificate chain corresponding to the attestation.KeyOperationAttestation.CertificateChains.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
KeyOperationAttestation.CertificateChains.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
clear
public KeyOperationAttestation.CertificateChains.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
getDefaultInstanceForType
public KeyOperationAttestation.CertificateChains getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KeyOperationAttestation.CertificateChains build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KeyOperationAttestation.CertificateChains buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KeyOperationAttestation.CertificateChains.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
setField
public KeyOperationAttestation.CertificateChains.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
clearField
public KeyOperationAttestation.CertificateChains.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
clearOneof
public KeyOperationAttestation.CertificateChains.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
setRepeatedField
public KeyOperationAttestation.CertificateChains.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
addRepeatedField
public KeyOperationAttestation.CertificateChains.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(KeyOperationAttestation.CertificateChains other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
- Throws:
IOException
-
getCaviumCertsList
public com.google.protobuf.ProtocolStringList getCaviumCertsList()
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Specified by:
getCaviumCertsList
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- A list containing the caviumCerts.
-
getCaviumCertsCount
public int getCaviumCertsCount()
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Specified by:
getCaviumCertsCount
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- The count of caviumCerts.
-
getCaviumCerts
public String getCaviumCerts(int index)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Specified by:
getCaviumCerts
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The caviumCerts at the given index.
-
getCaviumCertsBytes
public com.google.protobuf.ByteString getCaviumCertsBytes(int index)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Specified by:
getCaviumCertsBytes
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the caviumCerts at the given index.
-
setCaviumCerts
public KeyOperationAttestation.CertificateChains.Builder setCaviumCerts(int index, String value)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Parameters:
index
- The index to set the value at.value
- The caviumCerts to set.- Returns:
- This builder for chaining.
-
addCaviumCerts
public KeyOperationAttestation.CertificateChains.Builder addCaviumCerts(String value)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Parameters:
value
- The caviumCerts to add.- Returns:
- This builder for chaining.
-
addAllCaviumCerts
public KeyOperationAttestation.CertificateChains.Builder addAllCaviumCerts(Iterable<String> values)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Parameters:
values
- The caviumCerts to add.- Returns:
- This builder for chaining.
-
clearCaviumCerts
public KeyOperationAttestation.CertificateChains.Builder clearCaviumCerts()
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Returns:
- This builder for chaining.
-
addCaviumCertsBytes
public KeyOperationAttestation.CertificateChains.Builder addCaviumCertsBytes(com.google.protobuf.ByteString value)
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;
- Parameters:
value
- The bytes of the caviumCerts to add.- Returns:
- This builder for chaining.
-
getGoogleCardCertsList
public com.google.protobuf.ProtocolStringList getGoogleCardCertsList()
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Specified by:
getGoogleCardCertsList
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- A list containing the googleCardCerts.
-
getGoogleCardCertsCount
public int getGoogleCardCertsCount()
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Specified by:
getGoogleCardCertsCount
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- The count of googleCardCerts.
-
getGoogleCardCerts
public String getGoogleCardCerts(int index)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Specified by:
getGoogleCardCerts
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The googleCardCerts at the given index.
-
getGoogleCardCertsBytes
public com.google.protobuf.ByteString getGoogleCardCertsBytes(int index)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Specified by:
getGoogleCardCertsBytes
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the googleCardCerts at the given index.
-
setGoogleCardCerts
public KeyOperationAttestation.CertificateChains.Builder setGoogleCardCerts(int index, String value)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Parameters:
index
- The index to set the value at.value
- The googleCardCerts to set.- Returns:
- This builder for chaining.
-
addGoogleCardCerts
public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCerts(String value)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Parameters:
value
- The googleCardCerts to add.- Returns:
- This builder for chaining.
-
addAllGoogleCardCerts
public KeyOperationAttestation.CertificateChains.Builder addAllGoogleCardCerts(Iterable<String> values)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Parameters:
values
- The googleCardCerts to add.- Returns:
- This builder for chaining.
-
clearGoogleCardCerts
public KeyOperationAttestation.CertificateChains.Builder clearGoogleCardCerts()
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Returns:
- This builder for chaining.
-
addGoogleCardCertsBytes
public KeyOperationAttestation.CertificateChains.Builder addGoogleCardCertsBytes(com.google.protobuf.ByteString value)
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;
- Parameters:
value
- The bytes of the googleCardCerts to add.- Returns:
- This builder for chaining.
-
getGooglePartitionCertsList
public com.google.protobuf.ProtocolStringList getGooglePartitionCertsList()
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Specified by:
getGooglePartitionCertsList
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- A list containing the googlePartitionCerts.
-
getGooglePartitionCertsCount
public int getGooglePartitionCertsCount()
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Specified by:
getGooglePartitionCertsCount
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Returns:
- The count of googlePartitionCerts.
-
getGooglePartitionCerts
public String getGooglePartitionCerts(int index)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Specified by:
getGooglePartitionCerts
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The googlePartitionCerts at the given index.
-
getGooglePartitionCertsBytes
public com.google.protobuf.ByteString getGooglePartitionCertsBytes(int index)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Specified by:
getGooglePartitionCertsBytes
in interfaceKeyOperationAttestation.CertificateChainsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the googlePartitionCerts at the given index.
-
setGooglePartitionCerts
public KeyOperationAttestation.CertificateChains.Builder setGooglePartitionCerts(int index, String value)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Parameters:
index
- The index to set the value at.value
- The googlePartitionCerts to set.- Returns:
- This builder for chaining.
-
addGooglePartitionCerts
public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCerts(String value)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Parameters:
value
- The googlePartitionCerts to add.- Returns:
- This builder for chaining.
-
addAllGooglePartitionCerts
public KeyOperationAttestation.CertificateChains.Builder addAllGooglePartitionCerts(Iterable<String> values)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Parameters:
values
- The googlePartitionCerts to add.- Returns:
- 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:
- This builder for chaining.
-
addGooglePartitionCertsBytes
public KeyOperationAttestation.CertificateChains.Builder addGooglePartitionCertsBytes(com.google.protobuf.ByteString value)
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;
- Parameters:
value
- The bytes of the googlePartitionCerts to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KeyOperationAttestation.CertificateChains.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeUnknownFields
public final KeyOperationAttestation.CertificateChains.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
-