Send feedback
Class GcpCredentials.Builder (0.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.25.0 keyboard_arrow_down
public static final class GcpCredentials . Builder extends GeneratedMessageV3 . Builder<GcpCredentials . Builder> implements GcpCredentialsOrBuilder
Credentials issued by GCP which are linked to the platform attestation. These
will be verified server-side as part of attestaion verification.
Protobuf type google.cloud.confidentialcomputing.v1alpha1.GcpCredentials
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
addAllIdTokens(Iterable<? extends ByteString> values)
public GcpCredentials . Builder addAllIdTokens ( Iterable <? extends ByteString > values )
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
Parameter Name Description values
Iterable <? extends com.google.protobuf.ByteString >
The idTokens to add.
addIdTokens(ByteString value)
public GcpCredentials . Builder addIdTokens ( ByteString value )
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
Parameter Name Description value
ByteString
The idTokens to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcpCredentials . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GcpCredentials build ()
buildPartial()
public GcpCredentials buildPartial ()
clear()
public GcpCredentials . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcpCredentials . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearIdTokens()
public GcpCredentials . Builder clearIdTokens ()
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public GcpCredentials . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public GcpCredentials . Builder clone ()
Overrides
getDefaultInstanceForType()
public GcpCredentials getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getIdTokens(int index)
public ByteString getIdTokens ( int index )
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description ByteString
The idTokens at the given index.
getIdTokensCount()
public int getIdTokensCount ()
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
Returns Type Description int
The count of idTokens.
getIdTokensList()
public List<ByteString> getIdTokensList ()
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GcpCredentials other)
public GcpCredentials . Builder mergeFrom ( GcpCredentials other )
public GcpCredentials . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GcpCredentials . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcpCredentials . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcpCredentials . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setIdTokens(int index, ByteString value)
public GcpCredentials . Builder setIdTokens ( int index , ByteString value )
A list of service account OpenID Connect ID tokens identifying which
service account identities should be included in the claims_token. These
can be generated by calling serviceAccounts.generateIdToken
. The
Challenge.name must be used as the audience
parameter, and the
includeEmail
parameter must be true
.
repeated bytes id_tokens = 1;
Parameters Name Description index
int
The index to set the value at.
value
ByteString
The idTokens to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcpCredentials . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GcpCredentials . 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 2024-10-03 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-03 UTC."}
[[["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 2024-10-03 UTC."]]