Class ListChannelConnectionsResponse.Builder

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

public static final class ListChannelConnectionsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListChannelConnectionsResponse.Builder> implements ListChannelConnectionsResponseOrBuilder
 The response message for the `ListChannelConnections` method.
 
Protobuf type google.cloud.eventarc.v1.ListChannelConnectionsResponse
  • 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<ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListChannelConnectionsResponse.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<ListChannelConnectionsResponse.Builder>
      Throws:
      IOException
    • getChannelConnectionsList

      public List<ChannelConnection> getChannelConnectionsList()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
      Specified by:
      getChannelConnectionsList in interface ListChannelConnectionsResponseOrBuilder
    • getChannelConnectionsCount

      public int getChannelConnectionsCount()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
      Specified by:
      getChannelConnectionsCount in interface ListChannelConnectionsResponseOrBuilder
    • getChannelConnections

      public ChannelConnection getChannelConnections(int index)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
      Specified by:
      getChannelConnections in interface ListChannelConnectionsResponseOrBuilder
    • setChannelConnections

      public ListChannelConnectionsResponse.Builder setChannelConnections(int index, ChannelConnection value)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • setChannelConnections

      public ListChannelConnectionsResponse.Builder setChannelConnections(int index, ChannelConnection.Builder builderForValue)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addChannelConnections

      public ListChannelConnectionsResponse.Builder addChannelConnections(ChannelConnection value)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addChannelConnections

      public ListChannelConnectionsResponse.Builder addChannelConnections(int index, ChannelConnection value)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addChannelConnections

      public ListChannelConnectionsResponse.Builder addChannelConnections(ChannelConnection.Builder builderForValue)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addChannelConnections

      public ListChannelConnectionsResponse.Builder addChannelConnections(int index, ChannelConnection.Builder builderForValue)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addAllChannelConnections

      public ListChannelConnectionsResponse.Builder addAllChannelConnections(Iterable<? extends ChannelConnection> values)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • clearChannelConnections

      public ListChannelConnectionsResponse.Builder clearChannelConnections()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • removeChannelConnections

      public ListChannelConnectionsResponse.Builder removeChannelConnections(int index)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • getChannelConnectionsBuilder

      public ChannelConnection.Builder getChannelConnectionsBuilder(int index)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • getChannelConnectionsOrBuilder

      public ChannelConnectionOrBuilder getChannelConnectionsOrBuilder(int index)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
      Specified by:
      getChannelConnectionsOrBuilder in interface ListChannelConnectionsResponseOrBuilder
    • getChannelConnectionsOrBuilderList

      public List<? extends ChannelConnectionOrBuilder> getChannelConnectionsOrBuilderList()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
      Specified by:
      getChannelConnectionsOrBuilderList in interface ListChannelConnectionsResponseOrBuilder
    • addChannelConnectionsBuilder

      public ChannelConnection.Builder addChannelConnectionsBuilder()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • addChannelConnectionsBuilder

      public ChannelConnection.Builder addChannelConnectionsBuilder(int index)
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • getChannelConnectionsBuilderList

      public List<ChannelConnection.Builder> getChannelConnectionsBuilderList()
       The requested channel connections, up to the number specified in
       `page_size`.
       
      repeated .google.cloud.eventarc.v1.ChannelConnection channel_connections = 1;
    • getNextPageToken

      public String getNextPageToken()
       A page token that can be sent to `ListChannelConnections` to request the
       next page.
       If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListChannelConnectionsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A page token that can be sent to `ListChannelConnections` to request the
       next page.
       If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListChannelConnectionsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListChannelConnectionsResponse.Builder setNextPageToken(String value)
       A page token that can be sent to `ListChannelConnections` to request the
       next page.
       If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListChannelConnectionsResponse.Builder clearNextPageToken()
       A page token that can be sent to `ListChannelConnections` to request the
       next page.
       If this is empty, then there are no more pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListChannelConnectionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A page token that can be sent to `ListChannelConnections` to request the
       next page.
       If this is empty, then there are no more pages.
       
      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()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListChannelConnectionsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListChannelConnectionsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListChannelConnectionsResponseOrBuilder
      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)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListChannelConnectionsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListChannelConnectionsResponse.Builder setUnreachable(int index, String value)
       Unreachable resources, if any.
       
      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 ListChannelConnectionsResponse.Builder addUnreachable(String value)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListChannelConnectionsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListChannelConnectionsResponse.Builder clearUnreachable()
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListChannelConnectionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unreachable resources, if any.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.