Class ListChannelConnectionsResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public ListChannelConnectionsResponse 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListChannelConnectionsResponse.Builder>
      • 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;
      • 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;
      • 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;
      • 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.
      • 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.
      • 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.