Send feedback
Class GceShieldedIdentity.Builder (0.60.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class GceShieldedIdentity . Builder extends GeneratedMessageV3 . Builder<GceShieldedIdentity . Builder > implements GceShieldedIdentityOrBuilder
GceShieldedIdentity contains information about a Compute Engine instance.
Protobuf type google.cloud.confidentialcomputing.v1.GceShieldedIdentity
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAkCertChain(ByteString value)
public GceShieldedIdentity . Builder addAkCertChain ( ByteString value )
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];
Parameter
Name
Description
value
ByteString
The akCertChain to add.
addAllAkCertChain(Iterable<? extends ByteString> values)
public GceShieldedIdentity . Builder addAllAkCertChain ( Iterable <? extends 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];
Parameter
Name
Description
values
Iterable <? extends com.google.protobuf.ByteString >
The akCertChain to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GceShieldedIdentity . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GceShieldedIdentity build ()
buildPartial()
public GceShieldedIdentity buildPartial ()
clear()
public GceShieldedIdentity . Builder clear ()
Overrides
clearAkCert()
public GceShieldedIdentity . Builder 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];
clearAkCertChain()
public GceShieldedIdentity . Builder 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];
clearField(Descriptors.FieldDescriptor field)
public GceShieldedIdentity . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GceShieldedIdentity . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GceShieldedIdentity . Builder clone ()
Overrides
getAkCert()
public 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];
getAkCertChain(int index)
public 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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
ByteString
The akCertChain at the given index.
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];
Returns
Type
Description
int
The count of akCertChain.
getAkCertChainList()
public List<ByteString> 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];
Returns
Type
Description
List <ByteString >
A list containing the akCertChain.
getDefaultInstanceForType()
public GceShieldedIdentity getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GceShieldedIdentity other)
public GceShieldedIdentity . Builder mergeFrom ( GceShieldedIdentity other )
public GceShieldedIdentity . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GceShieldedIdentity . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GceShieldedIdentity . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAkCert(ByteString value)
public GceShieldedIdentity . Builder setAkCert ( ByteString value )
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];
Parameter
Name
Description
value
ByteString
The akCert to set.
setAkCertChain(int index, ByteString value)
public GceShieldedIdentity . Builder setAkCertChain ( int index , ByteString value )
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
Name
Description
index
int
The index to set the value at.
value
ByteString
The akCertChain to set.
setField(Descriptors.FieldDescriptor field, Object value)
public GceShieldedIdentity . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GceShieldedIdentity . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GceShieldedIdentity . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-17 UTC."],[],[],null,[]]