Send feedback
Class ListServiceAccountKeysResponse.Builder (1.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.0 keyboard_arrow_down
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
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
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
Returns
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
Returns
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
Returns
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
Returns
addKeysBuilder()
public ServiceAccountKey . Builder addKeysBuilder ()
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountKeysResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListServiceAccountKeysResponse build ()
Returns
buildPartial()
public ListServiceAccountKeysResponse buildPartial ()
Returns
clear()
public ListServiceAccountKeysResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListServiceAccountKeysResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearKeys()
public ListServiceAccountKeysResponse . Builder clearKeys ()
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListServiceAccountKeysResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ListServiceAccountKeysResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListServiceAccountKeysResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Returns
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
Returns
getKeysBuilderList()
public List<ServiceAccountKey . Builder > getKeysBuilderList ()
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Returns
getKeysCount()
public int getKeysCount ()
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Returns
getKeysList()
public List<ServiceAccountKey> getKeysList ()
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Returns
getKeysOrBuilder(int index)
public ServiceAccountKeyOrBuilder getKeysOrBuilder ( int index )
The public keys for the service account.
repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListServiceAccountKeysResponse other)
public ListServiceAccountKeysResponse . Builder mergeFrom ( ListServiceAccountKeysResponse other )
Parameter
Returns
public ListServiceAccountKeysResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListServiceAccountKeysResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountKeysResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListServiceAccountKeysResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListServiceAccountKeysResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListServiceAccountKeysResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]