publicstaticfinalclass GcpCredentials.BuilderextendsGeneratedMessageV3.Builder<GcpCredentials.Builder>implementsGcpCredentialsOrBuilder
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.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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addAllIdTokens(Iterable<? extends ByteString> values)
publicGcpCredentials.BuilderaddAllIdTokens(Iterable<?extendsByteString>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)
publicGcpCredentials.BuilderaddIdTokens(ByteStringvalue)
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)
publicGcpCredentials.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicGcpCredentialsbuild()
buildPartial()
publicGcpCredentialsbuildPartial()
clear()
publicGcpCredentials.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicGcpCredentials.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearIdTokens()
publicGcpCredentials.BuilderclearIdTokens()
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)
publicGcpCredentials.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicGcpCredentials.Builderclone()
Overrides
getDefaultInstanceForType()
publicGcpCredentialsgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getIdTokens(int index)
publicByteStringgetIdTokens(intindex)
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()
publicintgetIdTokensCount()
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()
publicList<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;
| Returns |
| Type |
Description |
List<ByteString> |
A list containing the idTokens.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(GcpCredentials other)
publicGcpCredentials.BuildermergeFrom(GcpCredentialsother)
publicGcpCredentials.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicGcpCredentials.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalGcpCredentials.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicGcpCredentials.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setIdTokens(int index, ByteString value)
publicGcpCredentials.BuildersetIdTokens(intindex,ByteStringvalue)
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)
publicGcpCredentials.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalGcpCredentials.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides