Class GceShieldedIdentity.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GceShieldedIdentity.Builder>
com.google.cloud.confidentialcomputing.v1.GceShieldedIdentity.Builder
- All Implemented Interfaces:
GceShieldedIdentityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GceShieldedIdentity
public static final class GceShieldedIdentity.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GceShieldedIdentity.Builder>
implements GceShieldedIdentityOrBuilder
GceShieldedIdentity contains information about a Compute Engine instance.Protobuf type
google.cloud.confidentialcomputing.v1.GceShieldedIdentity-
Method Summary
Modifier and TypeMethodDescriptionaddAkCertChain(com.google.protobuf.ByteString value) Optional.addAllAkCertChain(Iterable<? extends com.google.protobuf.ByteString> values) Optional.build()clear()Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.ByteStringgetAkCertChain(int index) Optional.intOptional.List<com.google.protobuf.ByteString>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GceShieldedIdentity other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAkCert(com.google.protobuf.ByteString value) Optional.setAkCertChain(int index, com.google.protobuf.ByteString value) Optional.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<GceShieldedIdentity.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<GceShieldedIdentity.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<GceShieldedIdentity.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GceShieldedIdentity.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GceShieldedIdentity.Builder>
-
mergeFrom
public GceShieldedIdentity.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<GceShieldedIdentity.Builder>- Throws:
IOException
-
getAkCert
public com.google.protobuf.ByteString getAkCert()Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAkCertin interfaceGceShieldedIdentityOrBuilder- Returns:
- The akCert.
-
setAkCert
Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The akCert to set.- Returns:
- This builder for chaining.
-
clearAkCert
Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAkCertChainList
Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAkCertChainListin interfaceGceShieldedIdentityOrBuilder- Returns:
- A list containing the akCertChain.
-
getAkCertChainCount
public int getAkCertChainCount()Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAkCertChainCountin interfaceGceShieldedIdentityOrBuilder- Returns:
- The count of akCertChain.
-
getAkCertChain
public com.google.protobuf.ByteString getAkCertChain(int index) Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAkCertChainin interfaceGceShieldedIdentityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The akCertChain at the given index.
-
setAkCertChain
Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The akCertChain to set.- Returns:
- This builder for chaining.
-
addAkCertChain
Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The akCertChain to add.- Returns:
- This builder for chaining.
-
addAllAkCertChain
public GceShieldedIdentity.Builder addAllAkCertChain(Iterable<? extends com.google.protobuf.ByteString> values) Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The akCertChain to add.- Returns:
- This builder for chaining.
-
clearAkCertChain
Optional. List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
repeated bytes ak_cert_chain = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-