Class ListAccountConnectorsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAccountConnectorsResponse.Builder>
com.google.cloud.developerconnect.v1.ListAccountConnectorsResponse.Builder
All Implemented Interfaces:
ListAccountConnectorsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListAccountConnectorsResponse

public static final class ListAccountConnectorsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAccountConnectorsResponse.Builder> implements ListAccountConnectorsResponseOrBuilder
 Message for response to listing AccountConnectors
 
Protobuf type google.cloud.developerconnect.v1.ListAccountConnectorsResponse
  • 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<ListAccountConnectorsResponse.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<ListAccountConnectorsResponse.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<ListAccountConnectorsResponse.Builder>
    • getDefaultInstanceForType

      public ListAccountConnectorsResponse 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 ListAccountConnectorsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListAccountConnectorsResponse.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<ListAccountConnectorsResponse.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<ListAccountConnectorsResponse.Builder>
    • mergeFrom

      public ListAccountConnectorsResponse.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<ListAccountConnectorsResponse.Builder>
      Throws:
      IOException
    • getAccountConnectorsList

      public List<AccountConnector> getAccountConnectorsList()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
      Specified by:
      getAccountConnectorsList in interface ListAccountConnectorsResponseOrBuilder
    • getAccountConnectorsCount

      public int getAccountConnectorsCount()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
      Specified by:
      getAccountConnectorsCount in interface ListAccountConnectorsResponseOrBuilder
    • getAccountConnectors

      public AccountConnector getAccountConnectors(int index)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
      Specified by:
      getAccountConnectors in interface ListAccountConnectorsResponseOrBuilder
    • setAccountConnectors

      public ListAccountConnectorsResponse.Builder setAccountConnectors(int index, AccountConnector value)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • setAccountConnectors

      public ListAccountConnectorsResponse.Builder setAccountConnectors(int index, AccountConnector.Builder builderForValue)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAccountConnectors

      public ListAccountConnectorsResponse.Builder addAccountConnectors(AccountConnector value)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAccountConnectors

      public ListAccountConnectorsResponse.Builder addAccountConnectors(int index, AccountConnector value)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAccountConnectors

      public ListAccountConnectorsResponse.Builder addAccountConnectors(AccountConnector.Builder builderForValue)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAccountConnectors

      public ListAccountConnectorsResponse.Builder addAccountConnectors(int index, AccountConnector.Builder builderForValue)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAllAccountConnectors

      public ListAccountConnectorsResponse.Builder addAllAccountConnectors(Iterable<? extends AccountConnector> values)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • clearAccountConnectors

      public ListAccountConnectorsResponse.Builder clearAccountConnectors()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • removeAccountConnectors

      public ListAccountConnectorsResponse.Builder removeAccountConnectors(int index)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • getAccountConnectorsBuilder

      public AccountConnector.Builder getAccountConnectorsBuilder(int index)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • getAccountConnectorsOrBuilder

      public AccountConnectorOrBuilder getAccountConnectorsOrBuilder(int index)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
      Specified by:
      getAccountConnectorsOrBuilder in interface ListAccountConnectorsResponseOrBuilder
    • getAccountConnectorsOrBuilderList

      public List<? extends AccountConnectorOrBuilder> getAccountConnectorsOrBuilderList()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
      Specified by:
      getAccountConnectorsOrBuilderList in interface ListAccountConnectorsResponseOrBuilder
    • addAccountConnectorsBuilder

      public AccountConnector.Builder addAccountConnectorsBuilder()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • addAccountConnectorsBuilder

      public AccountConnector.Builder addAccountConnectorsBuilder(int index)
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • getAccountConnectorsBuilderList

      public List<AccountConnector.Builder> getAccountConnectorsBuilderList()
       The list of AccountConnectors
       
      repeated .google.cloud.developerconnect.v1.AccountConnector account_connectors = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListAccountConnectorsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListAccountConnectorsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListAccountConnectorsResponse.Builder setNextPageToken(String value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListAccountConnectorsResponse.Builder clearNextPageToken()
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListAccountConnectorsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying a page of results the server should return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListAccountConnectorsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListAccountConnectorsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListAccountConnectorsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListAccountConnectorsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListAccountConnectorsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListAccountConnectorsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListAccountConnectorsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListAccountConnectorsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListAccountConnectorsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.