Class ListChannelConnectionsResponse.Builder (1.55.0)

public static final class ListChannelConnectionsResponse.Builder extends GeneratedMessageV3.Builder<ListChannelConnectionsResponse.Builder> implements ListChannelConnectionsResponseOrBuilder

The response message for the ListChannelConnections method.

Protobuf type google.cloud.eventarc.v1.ListChannelConnectionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllChannelConnections(Iterable<? extends ChannelConnection> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.eventarc.v1.ChannelConnection>
Returns
Type Description
ListChannelConnectionsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListChannelConnectionsResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

addChannelConnections(ChannelConnection value)

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;

Parameter
Name Description
value ChannelConnection
Returns
Type Description
ListChannelConnectionsResponse.Builder

addChannelConnections(ChannelConnection.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ChannelConnection.Builder
Returns
Type Description
ListChannelConnectionsResponse.Builder

addChannelConnections(int index, ChannelConnection value)

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;

Parameters
Name Description
index int
value ChannelConnection
Returns
Type Description
ListChannelConnectionsResponse.Builder

addChannelConnections(int index, ChannelConnection.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ChannelConnection.Builder
Returns
Type Description
ListChannelConnectionsResponse.Builder

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;

Returns
Type Description
ChannelConnection.Builder

addChannelConnectionsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ChannelConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChannelConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

addUnreachable(String value)

public ListChannelConnectionsResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListChannelConnectionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

build()

public ListChannelConnectionsResponse build()
Returns
Type Description
ListChannelConnectionsResponse

buildPartial()

public ListChannelConnectionsResponse buildPartial()
Returns
Type Description
ListChannelConnectionsResponse

clear()

public ListChannelConnectionsResponse.Builder clear()
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

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;

Returns
Type Description
ListChannelConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListChannelConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

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
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChannelConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

clearUnreachable()

public ListChannelConnectionsResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

clone()

public ListChannelConnectionsResponse.Builder clone()
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

getChannelConnections(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ChannelConnection

getChannelConnectionsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ChannelConnection.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<ChannelConnection>

getChannelConnectionsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ChannelConnectionOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.eventarc.v1.ChannelConnectionOrBuilder>

getDefaultInstanceForType()

public ListChannelConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ListChannelConnectionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListChannelConnectionsResponse other)

public ListChannelConnectionsResponse.Builder mergeFrom(ListChannelConnectionsResponse other)
Parameter
Name Description
other ListChannelConnectionsResponse
Returns
Type Description
ListChannelConnectionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChannelConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListChannelConnectionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

removeChannelConnections(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ListChannelConnectionsResponse.Builder

setChannelConnections(int index, ChannelConnection value)

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;

Parameters
Name Description
index int
value ChannelConnection
Returns
Type Description
ListChannelConnectionsResponse.Builder

setChannelConnections(int index, ChannelConnection.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ChannelConnection.Builder
Returns
Type Description
ListChannelConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListChannelConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

setNextPageToken(String value)

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;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChannelConnectionsResponse.Builder setNextPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListChannelConnectionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListChannelConnectionsResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListChannelConnectionsResponse.Builder setUnreachable(int index, String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListChannelConnectionsResponse.Builder

This builder for chaining.