Class ListServiceAccountsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder>
com.google.iam.admin.v1.ListServiceAccountsResponse.Builder
All Implemented Interfaces:
ListServiceAccountsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListServiceAccountsResponse

public static final class ListServiceAccountsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder> implements ListServiceAccountsResponseOrBuilder
 The service account list response.
 
Protobuf type google.iam.admin.v1.ListServiceAccountsResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder>
    • getDefaultInstanceForType

      public ListServiceAccountsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListServiceAccountsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListServiceAccountsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServiceAccountsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListServiceAccountsResponse.Builder>
    • mergeFrom

      public ListServiceAccountsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListServiceAccountsResponse.Builder>
      Throws:
      IOException
    • getAccountsList

      public List<ServiceAccount> getAccountsList()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
      Specified by:
      getAccountsList in interface ListServiceAccountsResponseOrBuilder
    • getAccountsCount

      public int getAccountsCount()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
      Specified by:
      getAccountsCount in interface ListServiceAccountsResponseOrBuilder
    • getAccounts

      public ServiceAccount getAccounts(int index)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
      Specified by:
      getAccounts in interface ListServiceAccountsResponseOrBuilder
    • setAccounts

      public ListServiceAccountsResponse.Builder setAccounts(int index, ServiceAccount value)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • setAccounts

      public ListServiceAccountsResponse.Builder setAccounts(int index, ServiceAccount.Builder builderForValue)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAccounts

       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAccounts

      public ListServiceAccountsResponse.Builder addAccounts(int index, ServiceAccount value)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAccounts

      public ListServiceAccountsResponse.Builder addAccounts(ServiceAccount.Builder builderForValue)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAccounts

      public ListServiceAccountsResponse.Builder addAccounts(int index, ServiceAccount.Builder builderForValue)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAllAccounts

      public ListServiceAccountsResponse.Builder addAllAccounts(Iterable<? extends ServiceAccount> values)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • clearAccounts

      public ListServiceAccountsResponse.Builder clearAccounts()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • removeAccounts

      public ListServiceAccountsResponse.Builder removeAccounts(int index)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • getAccountsBuilder

      public ServiceAccount.Builder getAccountsBuilder(int index)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • getAccountsOrBuilder

      public ServiceAccountOrBuilder getAccountsOrBuilder(int index)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
      Specified by:
      getAccountsOrBuilder in interface ListServiceAccountsResponseOrBuilder
    • getAccountsOrBuilderList

      public List<? extends ServiceAccountOrBuilder> getAccountsOrBuilderList()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
      Specified by:
      getAccountsOrBuilderList in interface ListServiceAccountsResponseOrBuilder
    • addAccountsBuilder

      public ServiceAccount.Builder addAccountsBuilder()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • addAccountsBuilder

      public ServiceAccount.Builder addAccountsBuilder(int index)
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • getAccountsBuilderList

      public List<ServiceAccount.Builder> getAccountsBuilderList()
       The list of matching service accounts.
       
      repeated .google.iam.admin.v1.ServiceAccount accounts = 1;
    • getNextPageToken

      public String getNextPageToken()
       To retrieve the next page of results, set
       [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
       to this value.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListServiceAccountsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       To retrieve the next page of results, set
       [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
       to this value.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListServiceAccountsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListServiceAccountsResponse.Builder setNextPageToken(String value)
       To retrieve the next page of results, set
       [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
       to this value.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListServiceAccountsResponse.Builder clearNextPageToken()
       To retrieve the next page of results, set
       [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
       to this value.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListServiceAccountsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       To retrieve the next page of results, set
       [ListServiceAccountsRequest.page_token][google.iam.admin.v1.ListServiceAccountsRequest.page_token]
       to this value.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.