public static final class SignJwtRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder> implements SignJwtRequestOrBuilder
google.iam.credentials.v1.SignJwtRequest| Modifier and Type | Method and Description |
|---|---|
SignJwtRequest.Builder |
addAllDelegates(Iterable<String> values)
The sequence of service accounts in a delegation chain.
|
SignJwtRequest.Builder |
addDelegates(String value)
The sequence of service accounts in a delegation chain.
|
SignJwtRequest.Builder |
addDelegatesBytes(com.google.protobuf.ByteString value)
The sequence of service accounts in a delegation chain.
|
SignJwtRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SignJwtRequest |
build() |
SignJwtRequest |
buildPartial() |
SignJwtRequest.Builder |
clear() |
SignJwtRequest.Builder |
clearDelegates()
The sequence of service accounts in a delegation chain.
|
SignJwtRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SignJwtRequest.Builder |
clearName()
Required.
|
SignJwtRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SignJwtRequest.Builder |
clearPayload()
Required.
|
SignJwtRequest.Builder |
clone() |
SignJwtRequest |
getDefaultInstanceForType() |
String |
getDelegates(int index)
The sequence of service accounts in a delegation chain.
|
com.google.protobuf.ByteString |
getDelegatesBytes(int index)
The sequence of service accounts in a delegation chain.
|
int |
getDelegatesCount()
The sequence of service accounts in a delegation chain.
|
com.google.protobuf.ProtocolStringList |
getDelegatesList()
The sequence of service accounts in a delegation chain.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getPayload()
Required.
|
com.google.protobuf.ByteString |
getPayloadBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SignJwtRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SignJwtRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SignJwtRequest.Builder |
mergeFrom(SignJwtRequest other) |
SignJwtRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SignJwtRequest.Builder |
setDelegates(int index,
String value)
The sequence of service accounts in a delegation chain.
|
SignJwtRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SignJwtRequest.Builder |
setName(String value)
Required.
|
SignJwtRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
SignJwtRequest.Builder |
setPayload(String value)
Required.
|
SignJwtRequest.Builder |
setPayloadBytes(com.google.protobuf.ByteString value)
Required.
|
SignJwtRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SignJwtRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SignJwtRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SignJwtRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SignJwtRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder mergeFrom(SignJwtRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public SignJwtRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignJwtRequest.Builder>IOExceptionpublic 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) = { ... }
getName in interface SignJwtRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getNameBytes in interface SignJwtRequestOrBuilderpublic 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) = { ... }
value - The name to set.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) = { ... }
public SignJwtRequest.Builder setNameBytes(com.google.protobuf.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) = { ... }
value - The bytes for name to set.public com.google.protobuf.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;getDelegatesList in interface SignJwtRequestOrBuilderpublic 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;getDelegatesCount in interface SignJwtRequestOrBuilderpublic 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;getDelegates in interface SignJwtRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getDelegatesBytes in interface SignJwtRequestOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The delegates to set.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;value - The delegates to add.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;values - The delegates to add.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;public SignJwtRequest.Builder addDelegatesBytes(com.google.protobuf.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;value - The bytes of the delegates to add.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];getPayload in interface SignJwtRequestOrBuilderpublic com.google.protobuf.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];getPayloadBytes in interface SignJwtRequestOrBuilderpublic 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];value - The payload to set.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];public SignJwtRequest.Builder setPayloadBytes(com.google.protobuf.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];value - The bytes for payload to set.public final SignJwtRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>public final SignJwtRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SignJwtRequest.Builder>Copyright © 2021 Google LLC. All rights reserved.