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.GeneratedMessage.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.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllCaviumCerts(Iterable<String> values) Cavium certificate chain corresponding to the attestation.addAllGoogleCardCerts(Iterable<String> values) Google card certificate chain corresponding to the attestation.addAllGooglePartitionCerts(Iterable<String> values) Google partition certificate chain corresponding to the attestation.addCaviumCerts(String value) Cavium certificate chain corresponding to the attestation.addCaviumCertsBytes(com.google.protobuf.ByteString value) Cavium certificate chain corresponding to the attestation.addGoogleCardCerts(String value) Google card certificate chain corresponding to the attestation.addGoogleCardCertsBytes(com.google.protobuf.ByteString value) Google card certificate chain corresponding to the attestation.addGooglePartitionCerts(String value) Google partition certificate chain corresponding to the attestation.addGooglePartitionCertsBytes(com.google.protobuf.ByteString value) Google partition certificate chain corresponding to the attestation.build()clear()Cavium certificate chain corresponding to the attestation.Google card certificate chain corresponding to the attestation.Google partition certificate chain corresponding to the attestation.getCaviumCerts(int index) Cavium certificate chain corresponding to the attestation.com.google.protobuf.ByteStringgetCaviumCertsBytes(int index) Cavium certificate chain corresponding to the attestation.intCavium certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringListCavium certificate chain corresponding to the attestation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGoogleCardCerts(int index) Google card certificate chain corresponding to the attestation.com.google.protobuf.ByteStringgetGoogleCardCertsBytes(int index) Google card certificate chain corresponding to the attestation.intGoogle card certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringListGoogle card certificate chain corresponding to the attestation.getGooglePartitionCerts(int index) Google partition certificate chain corresponding to the attestation.com.google.protobuf.ByteStringgetGooglePartitionCertsBytes(int index) Google partition certificate chain corresponding to the attestation.intGoogle partition certificate chain corresponding to the attestation.com.google.protobuf.ProtocolStringListGoogle partition certificate chain corresponding to the attestation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCaviumCerts(int index, String value) Cavium certificate chain corresponding to the attestation.setGoogleCardCerts(int index, String value) Google card certificate chain corresponding to the attestation.setGooglePartitionCerts(int index, String value) Google partition certificate chain corresponding to the attestation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(KeyOperationAttestation.CertificateChains other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<KeyOperationAttestation.CertificateChains.Builder>
-
mergeFrom
public KeyOperationAttestation.CertificateChains.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getCaviumCertsListin 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:
getCaviumCertsCountin interfaceKeyOperationAttestation.CertificateChainsOrBuilder- Returns:
- The count of caviumCerts.
-
getCaviumCerts
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;- Specified by:
getCaviumCertsin 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:
getCaviumCertsBytesin interfaceKeyOperationAttestation.CertificateChainsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the caviumCerts at the given index.
-
setCaviumCerts
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
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;- Parameters:
value- The caviumCerts to add.- Returns:
- This builder for chaining.
-
addAllCaviumCerts
Cavium certificate chain corresponding to the attestation.
repeated string cavium_certs = 1;- Parameters:
values- The caviumCerts to add.- Returns:
- This builder for chaining.
-
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:
getGoogleCardCertsListin 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:
getGoogleCardCertsCountin interfaceKeyOperationAttestation.CertificateChainsOrBuilder- Returns:
- The count of googleCardCerts.
-
getGoogleCardCerts
Google card certificate chain corresponding to the attestation.
repeated string google_card_certs = 2;- Specified by:
getGoogleCardCertsin 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:
getGoogleCardCertsBytesin 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
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
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:
getGooglePartitionCertsListin 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:
getGooglePartitionCertsCountin interfaceKeyOperationAttestation.CertificateChainsOrBuilder- Returns:
- The count of googlePartitionCerts.
-
getGooglePartitionCerts
Google partition certificate chain corresponding to the attestation.
repeated string google_partition_certs = 3;- Specified by:
getGooglePartitionCertsin 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:
getGooglePartitionCertsBytesin 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
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
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.
-