Class ListServiceAccountKeysResponse.Builder (3.42.0)

public static final class ListServiceAccountKeysResponse.Builder extends GeneratedMessageV3.Builder<ListServiceAccountKeysResponse.Builder> implements ListServiceAccountKeysResponseOrBuilder

The service account keys list response.

Protobuf type google.iam.admin.v1.ListServiceAccountKeysResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllKeys(Iterable<? extends ServiceAccountKey> values)

public ListServiceAccountKeysResponse.Builder addAllKeys(Iterable<? extends ServiceAccountKey> values)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
values Iterable<? extends com.google.iam.admin.v1.ServiceAccountKey>
Returns
Type Description
ListServiceAccountKeysResponse.Builder

addKeys(ServiceAccountKey value)

public ListServiceAccountKeysResponse.Builder addKeys(ServiceAccountKey value)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
value ServiceAccountKey
Returns
Type Description
ListServiceAccountKeysResponse.Builder

addKeys(ServiceAccountKey.Builder builderForValue)

public ListServiceAccountKeysResponse.Builder addKeys(ServiceAccountKey.Builder builderForValue)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
builderForValue ServiceAccountKey.Builder
Returns
Type Description
ListServiceAccountKeysResponse.Builder

addKeys(int index, ServiceAccountKey value)

public ListServiceAccountKeysResponse.Builder addKeys(int index, ServiceAccountKey value)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameters
Name Description
index int
value ServiceAccountKey
Returns
Type Description
ListServiceAccountKeysResponse.Builder

addKeys(int index, ServiceAccountKey.Builder builderForValue)

public ListServiceAccountKeysResponse.Builder addKeys(int index, ServiceAccountKey.Builder builderForValue)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameters
Name Description
index int
builderForValue ServiceAccountKey.Builder
Returns
Type Description
ListServiceAccountKeysResponse.Builder

addKeysBuilder()

public ServiceAccountKey.Builder addKeysBuilder()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
ServiceAccountKey.Builder

addKeysBuilder(int index)

public ServiceAccountKey.Builder addKeysBuilder(int index)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAccountKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

build()

public ListServiceAccountKeysResponse build()
Returns
Type Description
ListServiceAccountKeysResponse

buildPartial()

public ListServiceAccountKeysResponse buildPartial()
Returns
Type Description
ListServiceAccountKeysResponse

clear()

public ListServiceAccountKeysResponse.Builder clear()
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceAccountKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

clearKeys()

public ListServiceAccountKeysResponse.Builder clearKeys()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
ListServiceAccountKeysResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceAccountKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

clone()

public ListServiceAccountKeysResponse.Builder clone()
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListServiceAccountKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListServiceAccountKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeys(int index)

public ServiceAccountKey getKeys(int index)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAccountKey

getKeysBuilder(int index)

public ServiceAccountKey.Builder getKeysBuilder(int index)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAccountKey.Builder

getKeysBuilderList()

public List<ServiceAccountKey.Builder> getKeysBuilderList()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
List<Builder>

getKeysCount()

public int getKeysCount()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
int

getKeysList()

public List<ServiceAccountKey> getKeysList()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
List<ServiceAccountKey>

getKeysOrBuilder(int index)

public ServiceAccountKeyOrBuilder getKeysOrBuilder(int index)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAccountKeyOrBuilder

getKeysOrBuilderList()

public List<? extends ServiceAccountKeyOrBuilder> getKeysOrBuilderList()

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Returns
Type Description
List<? extends com.google.iam.admin.v1.ServiceAccountKeyOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListServiceAccountKeysResponse other)

public ListServiceAccountKeysResponse.Builder mergeFrom(ListServiceAccountKeysResponse other)
Parameter
Name Description
other ListServiceAccountKeysResponse
Returns
Type Description
ListServiceAccountKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceAccountKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListServiceAccountKeysResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

removeKeys(int index)

public ListServiceAccountKeysResponse.Builder removeKeys(int index)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ListServiceAccountKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

setKeys(int index, ServiceAccountKey value)

public ListServiceAccountKeysResponse.Builder setKeys(int index, ServiceAccountKey value)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameters
Name Description
index int
value ServiceAccountKey
Returns
Type Description
ListServiceAccountKeysResponse.Builder

setKeys(int index, ServiceAccountKey.Builder builderForValue)

public ListServiceAccountKeysResponse.Builder setKeys(int index, ServiceAccountKey.Builder builderForValue)

The public keys for the service account.

repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;

Parameters
Name Description
index int
builderForValue ServiceAccountKey.Builder
Returns
Type Description
ListServiceAccountKeysResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListServiceAccountKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListServiceAccountKeysResponse.Builder
Overrides