- 2.52.0 (latest)
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.0
- 2.0.15
public static final class SignJwtRequest.Builder extends GeneratedMessageV3.Builder<SignJwtRequest.Builder> implements SignJwtRequestOrBuilder
Protobuf type google.iam.credentials.v1.SignJwtRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SignJwtRequest.BuilderImplements
SignJwtRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDelegates(Iterable<String> values)
public SignJwtRequest.Builder addAllDelegates(Iterable<String> values)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
values | Iterable<String> The delegates to add. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
addDelegates(String value)
public SignJwtRequest.Builder addDelegates(String value)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
value | String The delegates to add. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
addDelegatesBytes(ByteString value)
public SignJwtRequest.Builder addDelegatesBytes(ByteString value)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
value | ByteString The bytes of the delegates to add. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SignJwtRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SignJwtRequest.Builder |
build()
public SignJwtRequest build()
Type | Description |
SignJwtRequest |
buildPartial()
public SignJwtRequest buildPartial()
Type | Description |
SignJwtRequest |
clear()
public SignJwtRequest.Builder clear()
Type | Description |
SignJwtRequest.Builder |
clearDelegates()
public SignJwtRequest.Builder clearDelegates()
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SignJwtRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SignJwtRequest.Builder |
clearName()
public SignJwtRequest.Builder clearName()
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SignJwtRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SignJwtRequest.Builder |
clearPayload()
public SignJwtRequest.Builder clearPayload()
Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
string payload = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
clone()
public SignJwtRequest.Builder clone()
Type | Description |
SignJwtRequest.Builder |
getDefaultInstanceForType()
public SignJwtRequest getDefaultInstanceForType()
Type | Description |
SignJwtRequest |
getDelegates(int index)
public String getDelegates(int index)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The delegates at the given index. |
getDelegatesBytes(int index)
public ByteString getDelegatesBytes(int index)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the delegates at the given index. |
getDelegatesCount()
public int getDelegatesCount()
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Type | Description |
int | The count of delegates. |
getDelegatesList()
public ProtocolStringList getDelegatesList()
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Type | Description |
ProtocolStringList | A list containing the delegates. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getPayload()
public String getPayload()
Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
string payload = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The payload. |
getPayloadBytes()
public ByteString getPayloadBytes()
Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
string payload = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for payload. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SignJwtRequest other)
public SignJwtRequest.Builder mergeFrom(SignJwtRequest other)
Name | Description |
other | SignJwtRequest |
Type | Description |
SignJwtRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SignJwtRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SignJwtRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SignJwtRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SignJwtRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SignJwtRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SignJwtRequest.Builder |
setDelegates(int index, String value)
public SignJwtRequest.Builder setDelegates(int index, String value)
The sequence of service accounts in a delegation chain. Each service
account must be granted the roles/iam.serviceAccountTokenCreator
role
on its next service account in the chain. The last service account in the
chain must be granted the roles/iam.serviceAccountTokenCreator
role
on the service account that is specified in the name
field of the
request.
The delegates must have the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
repeated string delegates = 3;
Name | Description |
index | int The index to set the value at. |
value | String The delegates to set. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SignJwtRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SignJwtRequest.Builder |
setName(String value)
public SignJwtRequest.Builder setName(String value)
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public SignJwtRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the service account for which the credentials
are requested, in the following format:
projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}
. The -
wildcard
character is required; replacing it with a project ID is invalid.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
setPayload(String value)
public SignJwtRequest.Builder setPayload(String value)
Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
string payload = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The payload to set. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
setPayloadBytes(ByteString value)
public SignJwtRequest.Builder setPayloadBytes(ByteString value)
Required. The JWT payload to sign: a JSON object that contains a JWT Claims Set.
string payload = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for payload to set. |
Type | Description |
SignJwtRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SignJwtRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SignJwtRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SignJwtRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SignJwtRequest.Builder |