Class TpmAttestation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TpmAttestation.Builder>
-
- com.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Builder
-
- All Implemented Interfaces:
TpmAttestationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TpmAttestation
public static final class TpmAttestation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TpmAttestation.Builder> implements TpmAttestationOrBuilder
TPM2 data containing everything necessary to validate any platform state measured into the TPM.
Protobuf typegoogle.cloud.confidentialcomputing.v1alpha1.TpmAttestation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TpmAttestation.Builder
addAllCertChain(Iterable<? extends com.google.protobuf.ByteString> values)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.TpmAttestation.Builder
addAllQuotes(Iterable<? extends TpmAttestation.Quote> values)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
addCertChain(com.google.protobuf.ByteString value)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.TpmAttestation.Builder
addQuotes(int index, TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
addQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
addQuotes(TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
addQuotes(TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Quote.Builder
addQuotesBuilder()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Quote.Builder
addQuotesBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TpmAttestation
build()
TpmAttestation
buildPartial()
TpmAttestation.Builder
clear()
TpmAttestation.Builder
clearAkCert()
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.TpmAttestation.Builder
clearCanonicalEventLog()
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log.TpmAttestation.Builder
clearCertChain()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.TpmAttestation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TpmAttestation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TpmAttestation.Builder
clearQuotes()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
clearTcgEventLog()
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system.TpmAttestation.Builder
clone()
com.google.protobuf.ByteString
getAkCert()
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.com.google.protobuf.ByteString
getCanonicalEventLog()
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log.com.google.protobuf.ByteString
getCertChain(int index)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.int
getCertChainCount()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.List<com.google.protobuf.ByteString>
getCertChainList()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.TpmAttestation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
TpmAttestation.Quote
getQuotes(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Quote.Builder
getQuotesBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.List<TpmAttestation.Quote.Builder>
getQuotesBuilderList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.int
getQuotesCount()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.List<TpmAttestation.Quote>
getQuotesList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.QuoteOrBuilder
getQuotesOrBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.List<? extends TpmAttestation.QuoteOrBuilder>
getQuotesOrBuilderList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.com.google.protobuf.ByteString
getTcgEventLog()
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TpmAttestation.Builder
mergeFrom(TpmAttestation other)
TpmAttestation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TpmAttestation.Builder
mergeFrom(com.google.protobuf.Message other)
TpmAttestation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TpmAttestation.Builder
removeQuotes(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
setAkCert(com.google.protobuf.ByteString value)
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.TpmAttestation.Builder
setCanonicalEventLog(com.google.protobuf.ByteString value)
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log.TpmAttestation.Builder
setCertChain(int index, com.google.protobuf.ByteString value)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.TpmAttestation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TpmAttestation.Builder
setQuotes(int index, TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
setQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.TpmAttestation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TpmAttestation.Builder
setTcgEventLog(com.google.protobuf.ByteString value)
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system.TpmAttestation.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<TpmAttestation.Builder>
-
clear
public TpmAttestation.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<TpmAttestation.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<TpmAttestation.Builder>
-
getDefaultInstanceForType
public TpmAttestation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TpmAttestation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TpmAttestation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TpmAttestation.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<TpmAttestation.Builder>
-
setField
public TpmAttestation.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<TpmAttestation.Builder>
-
clearField
public TpmAttestation.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<TpmAttestation.Builder>
-
clearOneof
public TpmAttestation.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<TpmAttestation.Builder>
-
setRepeatedField
public TpmAttestation.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<TpmAttestation.Builder>
-
addRepeatedField
public TpmAttestation.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<TpmAttestation.Builder>
-
mergeFrom
public TpmAttestation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TpmAttestation.Builder>
-
mergeFrom
public TpmAttestation.Builder mergeFrom(TpmAttestation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TpmAttestation.Builder>
-
mergeFrom
public TpmAttestation.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<TpmAttestation.Builder>
- Throws:
IOException
-
getQuotesList
public List<TpmAttestation.Quote> getQuotesList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
- Specified by:
getQuotesList
in interfaceTpmAttestationOrBuilder
-
getQuotesCount
public int getQuotesCount()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
- Specified by:
getQuotesCount
in interfaceTpmAttestationOrBuilder
-
getQuotes
public TpmAttestation.Quote getQuotes(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
- Specified by:
getQuotes
in interfaceTpmAttestationOrBuilder
-
setQuotes
public TpmAttestation.Builder setQuotes(int index, TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
setQuotes
public TpmAttestation.Builder setQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addQuotes
public TpmAttestation.Builder addQuotes(TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addQuotes
public TpmAttestation.Builder addQuotes(int index, TpmAttestation.Quote value)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addQuotes
public TpmAttestation.Builder addQuotes(TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addQuotes
public TpmAttestation.Builder addQuotes(int index, TpmAttestation.Quote.Builder builderForValue)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addAllQuotes
public TpmAttestation.Builder addAllQuotes(Iterable<? extends TpmAttestation.Quote> values)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
clearQuotes
public TpmAttestation.Builder clearQuotes()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
removeQuotes
public TpmAttestation.Builder removeQuotes(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
getQuotesBuilder
public TpmAttestation.Quote.Builder getQuotesBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
getQuotesOrBuilder
public TpmAttestation.QuoteOrBuilder getQuotesOrBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
- Specified by:
getQuotesOrBuilder
in interfaceTpmAttestationOrBuilder
-
getQuotesOrBuilderList
public List<? extends TpmAttestation.QuoteOrBuilder> getQuotesOrBuilderList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
- Specified by:
getQuotesOrBuilderList
in interfaceTpmAttestationOrBuilder
-
addQuotesBuilder
public TpmAttestation.Quote.Builder addQuotesBuilder()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
addQuotesBuilder
public TpmAttestation.Quote.Builder addQuotesBuilder(int index)
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
getQuotesBuilderList
public List<TpmAttestation.Quote.Builder> getQuotesBuilderList()
TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
repeated .google.cloud.confidentialcomputing.v1alpha1.TpmAttestation.Quote quotes = 1;
-
getTcgEventLog
public com.google.protobuf.ByteString getTcgEventLog()
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the "TCG PC Client Platform Firmware Profile Specification".
bytes tcg_event_log = 2;
- Specified by:
getTcgEventLog
in interfaceTpmAttestationOrBuilder
- Returns:
- The tcgEventLog.
-
setTcgEventLog
public TpmAttestation.Builder setTcgEventLog(com.google.protobuf.ByteString value)
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the "TCG PC Client Platform Firmware Profile Specification".
bytes tcg_event_log = 2;
- Parameters:
value
- The tcgEventLog to set.- Returns:
- This builder for chaining.
-
clearTcgEventLog
public TpmAttestation.Builder clearTcgEventLog()
The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the "TCG PC Client Platform Firmware Profile Specification".
bytes tcg_event_log = 2;
- Returns:
- This builder for chaining.
-
getCanonicalEventLog
public com.google.protobuf.ByteString getCanonicalEventLog()
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the "Canonical Event Log Format" TCG Specification.
bytes canonical_event_log = 3;
- Specified by:
getCanonicalEventLog
in interfaceTpmAttestationOrBuilder
- Returns:
- The canonicalEventLog.
-
setCanonicalEventLog
public TpmAttestation.Builder setCanonicalEventLog(com.google.protobuf.ByteString value)
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the "Canonical Event Log Format" TCG Specification.
bytes canonical_event_log = 3;
- Parameters:
value
- The canonicalEventLog to set.- Returns:
- This builder for chaining.
-
clearCanonicalEventLog
public TpmAttestation.Builder clearCanonicalEventLog()
An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the "Canonical Event Log Format" TCG Specification.
bytes canonical_event_log = 3;
- Returns:
- This builder for chaining.
-
getAkCert
public com.google.protobuf.ByteString getAkCert()
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.
bytes ak_cert = 4;
- Specified by:
getAkCert
in interfaceTpmAttestationOrBuilder
- Returns:
- The akCert.
-
setAkCert
public TpmAttestation.Builder setAkCert(com.google.protobuf.ByteString value)
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.
bytes ak_cert = 4;
- Parameters:
value
- The akCert to set.- Returns:
- This builder for chaining.
-
clearAkCert
public TpmAttestation.Builder clearAkCert()
DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.
bytes ak_cert = 4;
- Returns:
- This builder for chaining.
-
getCertChainList
public List<com.google.protobuf.ByteString> getCertChainList()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Specified by:
getCertChainList
in interfaceTpmAttestationOrBuilder
- Returns:
- A list containing the certChain.
-
getCertChainCount
public int getCertChainCount()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Specified by:
getCertChainCount
in interfaceTpmAttestationOrBuilder
- Returns:
- The count of certChain.
-
getCertChain
public com.google.protobuf.ByteString getCertChain(int index)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Specified by:
getCertChain
in interfaceTpmAttestationOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The certChain at the given index.
-
setCertChain
public TpmAttestation.Builder setCertChain(int index, com.google.protobuf.ByteString value)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Parameters:
index
- The index to set the value at.value
- The certChain to set.- Returns:
- This builder for chaining.
-
addCertChain
public TpmAttestation.Builder addCertChain(com.google.protobuf.ByteString value)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Parameters:
value
- The certChain to add.- Returns:
- This builder for chaining.
-
addAllCertChain
public TpmAttestation.Builder addAllCertChain(Iterable<? extends com.google.protobuf.ByteString> values)
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Parameters:
values
- The certChain to add.- Returns:
- This builder for chaining.
-
clearCertChain
public TpmAttestation.Builder clearCertChain()
List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes cert_chain = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TpmAttestation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TpmAttestation.Builder>
-
mergeUnknownFields
public final TpmAttestation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TpmAttestation.Builder>
-
-