public static final class ListServiceAccountKeysRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder> implements ListServiceAccountKeysRequestOrBuilder
The service account keys list request.Protobuf type
google.iam.admin.v1.ListServiceAccountKeysRequest| Modifier and Type | Method and Description |
|---|---|
ListServiceAccountKeysRequest.Builder |
addAllKeyTypes(Iterable<? extends ListServiceAccountKeysRequest.KeyType> values)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
addAllKeyTypesValue(Iterable<Integer> values)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
addKeyTypes(ListServiceAccountKeysRequest.KeyType value)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
addKeyTypesValue(int value)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServiceAccountKeysRequest |
build() |
ListServiceAccountKeysRequest |
buildPartial() |
ListServiceAccountKeysRequest.Builder |
clear() |
ListServiceAccountKeysRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListServiceAccountKeysRequest.Builder |
clearKeyTypes()
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
clearName()
Required.
|
ListServiceAccountKeysRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListServiceAccountKeysRequest.Builder |
clone() |
ListServiceAccountKeysRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ListServiceAccountKeysRequest.KeyType |
getKeyTypes(int index)
Filters the types of keys the user wants to include in the list
response.
|
int |
getKeyTypesCount()
Filters the types of keys the user wants to include in the list
response.
|
List<ListServiceAccountKeysRequest.KeyType> |
getKeyTypesList()
Filters the types of keys the user wants to include in the list
response.
|
int |
getKeyTypesValue(int index)
Filters the types of keys the user wants to include in the list
response.
|
List<Integer> |
getKeyTypesValueList()
Filters the types of keys the user wants to include in the list
response.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListServiceAccountKeysRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListServiceAccountKeysRequest.Builder |
mergeFrom(ListServiceAccountKeysRequest other) |
ListServiceAccountKeysRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListServiceAccountKeysRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListServiceAccountKeysRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListServiceAccountKeysRequest.Builder |
setKeyTypes(int index,
ListServiceAccountKeysRequest.KeyType value)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
setKeyTypesValue(int index,
int value)
Filters the types of keys the user wants to include in the list
response.
|
ListServiceAccountKeysRequest.Builder |
setName(String value)
Required.
|
ListServiceAccountKeysRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ListServiceAccountKeysRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListServiceAccountKeysRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListServiceAccountKeysRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListServiceAccountKeysRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.Builder mergeFrom(ListServiceAccountKeysRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>public ListServiceAccountKeysRequest.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<ListServiceAccountKeysRequest.Builder>IOExceptionpublic String getName()
Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ListServiceAccountKeysRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ListServiceAccountKeysRequestOrBuilderpublic ListServiceAccountKeysRequest.Builder setName(String value)
Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ListServiceAccountKeysRequest.Builder clearName()
Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListServiceAccountKeysRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public List<ListServiceAccountKeysRequest.KeyType> getKeyTypesList()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
getKeyTypesList in interface ListServiceAccountKeysRequestOrBuilderpublic int getKeyTypesCount()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
getKeyTypesCount in interface ListServiceAccountKeysRequestOrBuilderpublic ListServiceAccountKeysRequest.KeyType getKeyTypes(int index)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
getKeyTypes in interface ListServiceAccountKeysRequestOrBuilderindex - The index of the element to return.public ListServiceAccountKeysRequest.Builder setKeyTypes(int index, ListServiceAccountKeysRequest.KeyType value)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
index - The index to set the value at.value - The keyTypes to set.public ListServiceAccountKeysRequest.Builder addKeyTypes(ListServiceAccountKeysRequest.KeyType value)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
value - The keyTypes to add.public ListServiceAccountKeysRequest.Builder addAllKeyTypes(Iterable<? extends ListServiceAccountKeysRequest.KeyType> values)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
values - The keyTypes to add.public ListServiceAccountKeysRequest.Builder clearKeyTypes()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
public List<Integer> getKeyTypesValueList()
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
getKeyTypesValueList in interface ListServiceAccountKeysRequestOrBuilderpublic int getKeyTypesValue(int index)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
getKeyTypesValue in interface ListServiceAccountKeysRequestOrBuilderindex - The index of the value to return.public ListServiceAccountKeysRequest.Builder setKeyTypesValue(int index, int value)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
index - The index to set the value at.value - The enum numeric value on the wire for keyTypes to set.public ListServiceAccountKeysRequest.Builder addKeyTypesValue(int value)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
value - The enum numeric value on the wire for keyTypes to add.public ListServiceAccountKeysRequest.Builder addAllKeyTypesValue(Iterable<Integer> values)
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.
repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;
values - The enum numeric values on the wire for keyTypes to add.public final ListServiceAccountKeysRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>public final ListServiceAccountKeysRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.