public static final class UploadServiceAccountKeyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder> implements UploadServiceAccountKeyRequestOrBuilder
The service account key upload request.Protobuf type
google.iam.admin.v1.UploadServiceAccountKeyRequest| Modifier and Type | Method and Description |
|---|---|
UploadServiceAccountKeyRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UploadServiceAccountKeyRequest |
build() |
UploadServiceAccountKeyRequest |
buildPartial() |
UploadServiceAccountKeyRequest.Builder |
clear() |
UploadServiceAccountKeyRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UploadServiceAccountKeyRequest.Builder |
clearName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
UploadServiceAccountKeyRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UploadServiceAccountKeyRequest.Builder |
clearPublicKeyData()
The public key to associate with the service account.
|
UploadServiceAccountKeyRequest.Builder |
clone() |
UploadServiceAccountKeyRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
com.google.protobuf.ByteString |
getPublicKeyData()
The public key to associate with the service account.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UploadServiceAccountKeyRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UploadServiceAccountKeyRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UploadServiceAccountKeyRequest.Builder |
mergeFrom(UploadServiceAccountKeyRequest other) |
UploadServiceAccountKeyRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UploadServiceAccountKeyRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UploadServiceAccountKeyRequest.Builder |
setName(String value)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
UploadServiceAccountKeyRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
UploadServiceAccountKeyRequest.Builder |
setPublicKeyData(com.google.protobuf.ByteString value)
The public key to associate with the service account.
|
UploadServiceAccountKeyRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UploadServiceAccountKeyRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.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<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UploadServiceAccountKeyRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UploadServiceAccountKeyRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UploadServiceAccountKeyRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.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<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.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<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.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<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.Builder mergeFrom(UploadServiceAccountKeyRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>public UploadServiceAccountKeyRequest.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<UploadServiceAccountKeyRequest.Builder>IOExceptionpublic String getName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.
string name = 1;getName in interface UploadServiceAccountKeyRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.
string name = 1;getNameBytes in interface UploadServiceAccountKeyRequestOrBuilderpublic UploadServiceAccountKeyRequest.Builder setName(String value)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.
string name = 1;value - The name to set.public UploadServiceAccountKeyRequest.Builder clearName()
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.
string name = 1;public UploadServiceAccountKeyRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the service account in the following format:
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
the account. The `ACCOUNT` value can be the `email` address or the
`unique_id` of the service account.
string name = 1;value - The bytes for name to set.public com.google.protobuf.ByteString getPublicKeyData()
The public key to associate with the service account. Must be an RSA public key that is wrapped in an X.509 v3 certificate. Include the first line, `-----BEGIN CERTIFICATE-----`, and the last line, `-----END CERTIFICATE-----`.
bytes public_key_data = 2;getPublicKeyData in interface UploadServiceAccountKeyRequestOrBuilderpublic UploadServiceAccountKeyRequest.Builder setPublicKeyData(com.google.protobuf.ByteString value)
The public key to associate with the service account. Must be an RSA public key that is wrapped in an X.509 v3 certificate. Include the first line, `-----BEGIN CERTIFICATE-----`, and the last line, `-----END CERTIFICATE-----`.
bytes public_key_data = 2;value - The publicKeyData to set.public UploadServiceAccountKeyRequest.Builder clearPublicKeyData()
The public key to associate with the service account. Must be an RSA public key that is wrapped in an X.509 v3 certificate. Include the first line, `-----BEGIN CERTIFICATE-----`, and the last line, `-----END CERTIFICATE-----`.
bytes public_key_data = 2;public final UploadServiceAccountKeyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>public final UploadServiceAccountKeyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UploadServiceAccountKeyRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.