Class ListServiceAccountKeysResponse.Builder (3.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.iam.admin.v1.ServiceAccountKey>
Returns
TypeDescription
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
NameDescription
valueServiceAccountKey
Returns
TypeDescription
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
NameDescription
builderForValueServiceAccountKey.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceAccountKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceAccountKey.Builder
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder

addKeysBuilder()

public ServiceAccountKey.Builder addKeysBuilder()

The public keys for the service account.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceAccountKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

build()

public ListServiceAccountKeysResponse build()
Returns
TypeDescription
ListServiceAccountKeysResponse

buildPartial()

public ListServiceAccountKeysResponse buildPartial()
Returns
TypeDescription
ListServiceAccountKeysResponse

clear()

public ListServiceAccountKeysResponse.Builder clear()
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListServiceAccountKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

clearKeys()

public ListServiceAccountKeysResponse.Builder clearKeys()

The public keys for the service account.

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

Returns
TypeDescription
ListServiceAccountKeysResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServiceAccountKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

clone()

public ListServiceAccountKeysResponse.Builder clone()
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListServiceAccountKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServiceAccountKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceAccountKey.Builder

getKeysBuilderList()

public List<ServiceAccountKey.Builder> getKeysBuilderList()

The public keys for the service account.

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

Returns
TypeDescription
List<Builder>

getKeysCount()

public int getKeysCount()

The public keys for the service account.

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

Returns
TypeDescription
int

getKeysList()

public List<ServiceAccountKey> getKeysList()

The public keys for the service account.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceAccountKeyOrBuilder

getKeysOrBuilderList()

public List<? extends ServiceAccountKeyOrBuilder> getKeysOrBuilderList()

The public keys for the service account.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServiceAccountKeysResponse other)

public ListServiceAccountKeysResponse.Builder mergeFrom(ListServiceAccountKeysResponse other)
Parameter
NameDescription
otherListServiceAccountKeysResponse
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListServiceAccountKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListServiceAccountKeysResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServiceAccountKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueServiceAccountKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceAccountKey.Builder
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder

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

public ListServiceAccountKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServiceAccountKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServiceAccountKeysResponse.Builder
Overrides