Interface GcpCredentialsOrBuilder (0.6.0)

publicinterface GcpCredentialsOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getServiceAccountIdTokens(int index)

publicabstractStringgetServiceAccountIdTokens(intindex)

Same as id_tokens, but as a string.

repeated string service_account_id_tokens = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The serviceAccountIdTokens at the given index.

getServiceAccountIdTokensBytes(int index)

publicabstractByteStringgetServiceAccountIdTokensBytes(intindex)

Same as id_tokens, but as a string.

repeated string service_account_id_tokens = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the serviceAccountIdTokens at the given index.

getServiceAccountIdTokensCount()

publicabstractintgetServiceAccountIdTokensCount()

Same as id_tokens, but as a string.

repeated string service_account_id_tokens = 2;

Returns
Type Description
int

The count of serviceAccountIdTokens.

getServiceAccountIdTokensList()

publicabstractList<String>getServiceAccountIdTokensList()

Same as id_tokens, but as a string.

repeated string service_account_id_tokens = 2;

Returns
Type Description
List<String>

A list containing the serviceAccountIdTokens.

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年10月30日 UTC.