- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public static final class ListServiceAccountKeysRequest.Builder extends GeneratedMessageV3.Builder<ListServiceAccountKeysRequest.Builder> implements ListServiceAccountKeysRequestOrBuilder
The service account keys list request.
Protobuf type google.iam.admin.v1.ListServiceAccountKeysRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListServiceAccountKeysRequest.BuilderImplements
ListServiceAccountKeysRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllKeyTypes(Iterable<? extends ListServiceAccountKeysRequest.KeyType> values)
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;
Name | Description |
values | Iterable<? extends com.google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType> The keyTypes to add. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
addAllKeyTypesValue(Iterable<Integer> values)
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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for keyTypes to add. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
addKeyTypes(ListServiceAccountKeysRequest.KeyType value)
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;
Name | Description |
value | ListServiceAccountKeysRequest.KeyType The keyTypes to add. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
addKeyTypesValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for keyTypes to add. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountKeysRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListServiceAccountKeysRequest.Builder |
build()
public ListServiceAccountKeysRequest build()
Type | Description |
ListServiceAccountKeysRequest |
buildPartial()
public ListServiceAccountKeysRequest buildPartial()
Type | Description |
ListServiceAccountKeysRequest |
clear()
public ListServiceAccountKeysRequest.Builder clear()
Type | Description |
ListServiceAccountKeysRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListServiceAccountKeysRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListServiceAccountKeysRequest.Builder |
clearKeyTypes()
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;
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
clearName()
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) = { ... }
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServiceAccountKeysRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListServiceAccountKeysRequest.Builder |
clone()
public ListServiceAccountKeysRequest.Builder clone()
Type | Description |
ListServiceAccountKeysRequest.Builder |
getDefaultInstanceForType()
public ListServiceAccountKeysRequest getDefaultInstanceForType()
Type | Description |
ListServiceAccountKeysRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKeyTypes(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
ListServiceAccountKeysRequest.KeyType | The keyTypes at the given index. |
getKeyTypesCount()
public 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;
Type | Description |
int | The count of keyTypes. |
getKeyTypesList()
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;
Type | Description |
List<KeyType> | A list containing the keyTypes. |
getKeyTypesValue(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of keyTypes at the given index. |
getKeyTypesValueList()
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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for keyTypes. |
getName()
public 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) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListServiceAccountKeysRequest other)
public ListServiceAccountKeysRequest.Builder mergeFrom(ListServiceAccountKeysRequest other)
Name | Description |
other | ListServiceAccountKeysRequest |
Type | Description |
ListServiceAccountKeysRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListServiceAccountKeysRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListServiceAccountKeysRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListServiceAccountKeysRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListServiceAccountKeysRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountKeysRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListServiceAccountKeysRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountKeysRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListServiceAccountKeysRequest.Builder |
setKeyTypes(int index, ListServiceAccountKeysRequest.KeyType value)
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;
Name | Description |
index | int The index to set the value at. |
value | ListServiceAccountKeysRequest.KeyType The keyTypes to set. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
setKeyTypesValue(int index, int value)
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;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for keyTypes to set. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
setName(String value)
public 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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ListServiceAccountKeysRequest.Builder setNameBytes(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) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ListServiceAccountKeysRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServiceAccountKeysRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListServiceAccountKeysRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountKeysRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListServiceAccountKeysRequest.Builder |