public static final class ServiceAccountKey.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder> implements ServiceAccountKeyOrBuilder
Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed keys are automatically rotated by Google, and are used for signing for a maximum of two weeks. The rotation process is probabilistic, and usage of the new key will gradually ramp up and down over the key's lifetime. If you cache the public key set for a service account, we recommend that you update the cache every 15 minutes. User-managed keys can be added and removed at any time, so it is important to update the cache frequently. For Google-managed keys, Google will publish a key at least 6 hours before it is first used for signing and will keep publishing it for at least 6 hours after it was last used for signing. Public keys for all service accounts are also published at the OAuth2 Service Account API.Protobuf type
google.iam.admin.v1.ServiceAccountKey| Modifier and Type | Method and Description |
|---|---|
ServiceAccountKey.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccountKey |
build() |
ServiceAccountKey |
buildPartial() |
ServiceAccountKey.Builder |
clear() |
ServiceAccountKey.Builder |
clearDisabled()
The key status.
|
ServiceAccountKey.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceAccountKey.Builder |
clearKeyAlgorithm()
Specifies the algorithm (and possibly key size) for the key.
|
ServiceAccountKey.Builder |
clearKeyOrigin()
The key origin.
|
ServiceAccountKey.Builder |
clearKeyType()
The key type.
|
ServiceAccountKey.Builder |
clearName()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
ServiceAccountKey.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceAccountKey.Builder |
clearPrivateKeyData()
The private key data.
|
ServiceAccountKey.Builder |
clearPrivateKeyType()
The output format for the private key.
|
ServiceAccountKey.Builder |
clearPublicKeyData()
The public key data.
|
ServiceAccountKey.Builder |
clearValidAfterTime()
The key can be used after this timestamp.
|
ServiceAccountKey.Builder |
clearValidBeforeTime()
The key can be used before this timestamp.
|
ServiceAccountKey.Builder |
clone() |
ServiceAccountKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisabled()
The key status.
|
ServiceAccountKeyAlgorithm |
getKeyAlgorithm()
Specifies the algorithm (and possibly key size) for the key.
|
int |
getKeyAlgorithmValue()
Specifies the algorithm (and possibly key size) for the key.
|
ServiceAccountKeyOrigin |
getKeyOrigin()
The key origin.
|
int |
getKeyOriginValue()
The key origin.
|
ListServiceAccountKeysRequest.KeyType |
getKeyType()
The key type.
|
int |
getKeyTypeValue()
The key type.
|
String |
getName()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
com.google.protobuf.ByteString |
getPrivateKeyData()
The private key data.
|
ServiceAccountPrivateKeyType |
getPrivateKeyType()
The output format for the private key.
|
int |
getPrivateKeyTypeValue()
The output format for the private key.
|
com.google.protobuf.ByteString |
getPublicKeyData()
The public key data.
|
com.google.protobuf.Timestamp |
getValidAfterTime()
The key can be used after this timestamp.
|
com.google.protobuf.Timestamp.Builder |
getValidAfterTimeBuilder()
The key can be used after this timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getValidAfterTimeOrBuilder()
The key can be used after this timestamp.
|
com.google.protobuf.Timestamp |
getValidBeforeTime()
The key can be used before this timestamp.
|
com.google.protobuf.Timestamp.Builder |
getValidBeforeTimeBuilder()
The key can be used before this timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getValidBeforeTimeOrBuilder()
The key can be used before this timestamp.
|
boolean |
hasValidAfterTime()
The key can be used after this timestamp.
|
boolean |
hasValidBeforeTime()
The key can be used before this timestamp.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceAccountKey.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceAccountKey.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceAccountKey.Builder |
mergeFrom(ServiceAccountKey other) |
ServiceAccountKey.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceAccountKey.Builder |
mergeValidAfterTime(com.google.protobuf.Timestamp value)
The key can be used after this timestamp.
|
ServiceAccountKey.Builder |
mergeValidBeforeTime(com.google.protobuf.Timestamp value)
The key can be used before this timestamp.
|
ServiceAccountKey.Builder |
setDisabled(boolean value)
The key status.
|
ServiceAccountKey.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccountKey.Builder |
setKeyAlgorithm(ServiceAccountKeyAlgorithm value)
Specifies the algorithm (and possibly key size) for the key.
|
ServiceAccountKey.Builder |
setKeyAlgorithmValue(int value)
Specifies the algorithm (and possibly key size) for the key.
|
ServiceAccountKey.Builder |
setKeyOrigin(ServiceAccountKeyOrigin value)
The key origin.
|
ServiceAccountKey.Builder |
setKeyOriginValue(int value)
The key origin.
|
ServiceAccountKey.Builder |
setKeyType(ListServiceAccountKeysRequest.KeyType value)
The key type.
|
ServiceAccountKey.Builder |
setKeyTypeValue(int value)
The key type.
|
ServiceAccountKey.Builder |
setName(String value)
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
ServiceAccountKey.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
ServiceAccountKey.Builder |
setPrivateKeyData(com.google.protobuf.ByteString value)
The private key data.
|
ServiceAccountKey.Builder |
setPrivateKeyType(ServiceAccountPrivateKeyType value)
The output format for the private key.
|
ServiceAccountKey.Builder |
setPrivateKeyTypeValue(int value)
The output format for the private key.
|
ServiceAccountKey.Builder |
setPublicKeyData(com.google.protobuf.ByteString value)
The public key data.
|
ServiceAccountKey.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceAccountKey.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceAccountKey.Builder |
setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue)
The key can be used after this timestamp.
|
ServiceAccountKey.Builder |
setValidAfterTime(com.google.protobuf.Timestamp value)
The key can be used after this timestamp.
|
ServiceAccountKey.Builder |
setValidBeforeTime(com.google.protobuf.Timestamp.Builder builderForValue)
The key can be used before this timestamp.
|
ServiceAccountKey.Builder |
setValidBeforeTime(com.google.protobuf.Timestamp value)
The key can be used before this timestamp.
|
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<ServiceAccountKey.Builder>public ServiceAccountKey.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.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<ServiceAccountKey.Builder>public ServiceAccountKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceAccountKey build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccountKey buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccountKey.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>public ServiceAccountKey.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<ServiceAccountKey.Builder>public ServiceAccountKey.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>public ServiceAccountKey.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>public ServiceAccountKey.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<ServiceAccountKey.Builder>public ServiceAccountKey.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<ServiceAccountKey.Builder>public ServiceAccountKey.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccountKey.Builder>public ServiceAccountKey.Builder mergeFrom(ServiceAccountKey other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>public ServiceAccountKey.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<ServiceAccountKey.Builder>IOExceptionpublic String getName()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
string name = 1;getName in interface ServiceAccountKeyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
string name = 1;getNameBytes in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setName(String value)
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
string name = 1;value - The name to set.public ServiceAccountKey.Builder clearName()
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
string name = 1;public ServiceAccountKey.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the service account key in the following format
`projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
string name = 1;value - The bytes for name to set.public int getPrivateKeyTypeValue()
The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;getPrivateKeyTypeValue in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setPrivateKeyTypeValue(int value)
The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;value - The enum numeric value on the wire for privateKeyType to set.public ServiceAccountPrivateKeyType getPrivateKeyType()
The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;getPrivateKeyType in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setPrivateKeyType(ServiceAccountPrivateKeyType value)
The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;value - The privateKeyType to set.public ServiceAccountKey.Builder clearPrivateKeyType()
The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.
.google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;public int getKeyAlgorithmValue()
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;getKeyAlgorithmValue in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyAlgorithmValue(int value)
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;value - The enum numeric value on the wire for keyAlgorithm to set.public ServiceAccountKeyAlgorithm getKeyAlgorithm()
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;getKeyAlgorithm in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyAlgorithm(ServiceAccountKeyAlgorithm value)
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;value - The keyAlgorithm to set.public ServiceAccountKey.Builder clearKeyAlgorithm()
Specifies the algorithm (and possibly key size) for the key.
.google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 8;public com.google.protobuf.ByteString getPrivateKeyData()
The private key data. Only provided in `CreateServiceAccountKey` responses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud auth activate-service-account</a>.
bytes private_key_data = 3;getPrivateKeyData in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setPrivateKeyData(com.google.protobuf.ByteString value)
The private key data. Only provided in `CreateServiceAccountKey` responses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud auth activate-service-account</a>.
bytes private_key_data = 3;value - The privateKeyData to set.public ServiceAccountKey.Builder clearPrivateKeyData()
The private key data. Only provided in `CreateServiceAccountKey` responses. Make sure to keep the private key data secure because it allows for the assertion of the service account identity. When base64 decoded, the private key data can be used to authenticate with Google API client libraries and with <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud auth activate-service-account</a>.
bytes private_key_data = 3;public com.google.protobuf.ByteString getPublicKeyData()
The public key data. Only provided in `GetServiceAccountKey` responses.
bytes public_key_data = 7;getPublicKeyData in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setPublicKeyData(com.google.protobuf.ByteString value)
The public key data. Only provided in `GetServiceAccountKey` responses.
bytes public_key_data = 7;value - The publicKeyData to set.public ServiceAccountKey.Builder clearPublicKeyData()
The public key data. Only provided in `GetServiceAccountKey` responses.
bytes public_key_data = 7;public boolean hasValidAfterTime()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;hasValidAfterTime in interface ServiceAccountKeyOrBuilderpublic com.google.protobuf.Timestamp getValidAfterTime()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;getValidAfterTime in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setValidAfterTime(com.google.protobuf.Timestamp value)
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;public ServiceAccountKey.Builder setValidAfterTime(com.google.protobuf.Timestamp.Builder builderForValue)
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;public ServiceAccountKey.Builder mergeValidAfterTime(com.google.protobuf.Timestamp value)
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;public ServiceAccountKey.Builder clearValidAfterTime()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;public com.google.protobuf.Timestamp.Builder getValidAfterTimeBuilder()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;public com.google.protobuf.TimestampOrBuilder getValidAfterTimeOrBuilder()
The key can be used after this timestamp.
.google.protobuf.Timestamp valid_after_time = 4;getValidAfterTimeOrBuilder in interface ServiceAccountKeyOrBuilderpublic boolean hasValidBeforeTime()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;hasValidBeforeTime in interface ServiceAccountKeyOrBuilderpublic com.google.protobuf.Timestamp getValidBeforeTime()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;getValidBeforeTime in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setValidBeforeTime(com.google.protobuf.Timestamp value)
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;public ServiceAccountKey.Builder setValidBeforeTime(com.google.protobuf.Timestamp.Builder builderForValue)
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;public ServiceAccountKey.Builder mergeValidBeforeTime(com.google.protobuf.Timestamp value)
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;public ServiceAccountKey.Builder clearValidBeforeTime()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;public com.google.protobuf.Timestamp.Builder getValidBeforeTimeBuilder()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;public com.google.protobuf.TimestampOrBuilder getValidBeforeTimeOrBuilder()
The key can be used before this timestamp. For system-managed key pairs, this timestamp is the end time for the private key signing operation. The public key could still be used for verification for a few hours after this time.
.google.protobuf.Timestamp valid_before_time = 5;getValidBeforeTimeOrBuilder in interface ServiceAccountKeyOrBuilderpublic int getKeyOriginValue()
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;getKeyOriginValue in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyOriginValue(int value)
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;value - The enum numeric value on the wire for keyOrigin to set.public ServiceAccountKeyOrigin getKeyOrigin()
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;getKeyOrigin in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyOrigin(ServiceAccountKeyOrigin value)
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;value - The keyOrigin to set.public ServiceAccountKey.Builder clearKeyOrigin()
The key origin.
.google.iam.admin.v1.ServiceAccountKeyOrigin key_origin = 9;public int getKeyTypeValue()
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;getKeyTypeValue in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyTypeValue(int value)
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;value - The enum numeric value on the wire for keyType to set.public ListServiceAccountKeysRequest.KeyType getKeyType()
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;getKeyType in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setKeyType(ListServiceAccountKeysRequest.KeyType value)
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;value - The keyType to set.public ServiceAccountKey.Builder clearKeyType()
The key type.
.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_type = 10;public boolean getDisabled()
The key status.
bool disabled = 11;getDisabled in interface ServiceAccountKeyOrBuilderpublic ServiceAccountKey.Builder setDisabled(boolean value)
The key status.
bool disabled = 11;value - The disabled to set.public ServiceAccountKey.Builder clearDisabled()
The key status.
bool disabled = 11;public final ServiceAccountKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>public final ServiceAccountKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountKey.Builder>Copyright © 2025 Google LLC. All rights reserved.