Class ListChannelConnectionsResponse.Builder (1.30.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.eventarc.v1.ChannelConnection>
Returns
TypeDescription
ListChannelConnectionsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueChannelConnection
Returns
TypeDescription
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
NameDescription
builderForValueChannelConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueChannelConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelConnection.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ChannelConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListChannelConnectionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListChannelConnectionsResponse.Builder
Overrides

addUnreachable(String value)

public ListChannelConnectionsResponse.Builder addUnreachable(String value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListChannelConnectionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListChannelConnectionsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListChannelConnectionsResponse.Builder

This builder for chaining.

build()

public ListChannelConnectionsResponse build()
Returns
TypeDescription
ListChannelConnectionsResponse

buildPartial()

public ListChannelConnectionsResponse buildPartial()
Returns
TypeDescription
ListChannelConnectionsResponse

clear()

public ListChannelConnectionsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListChannelConnectionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListChannelConnectionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListChannelConnectionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListChannelConnectionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListChannelConnectionsResponse.Builder
Overrides

clearUnreachable()

public ListChannelConnectionsResponse.Builder clearUnreachable()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ListChannelConnectionsResponse.Builder

This builder for chaining.

clone()

public ListChannelConnectionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.eventarc.v1.ChannelConnectionOrBuilder>

getDefaultInstanceForType()

public ListChannelConnectionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChannelConnectionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable resources, if any.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources, if any.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListChannelConnectionsResponse other)

public ListChannelConnectionsResponse.Builder mergeFrom(ListChannelConnectionsResponse other)
Parameter
NameDescription
otherListChannelConnectionsResponse
Returns
TypeDescription
ListChannelConnectionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListChannelConnectionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChannelConnectionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListChannelConnectionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListChannelConnectionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelConnectionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueChannelConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueChannelConnection.Builder
Returns
TypeDescription
ListChannelConnectionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListChannelConnectionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListChannelConnectionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListChannelConnectionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListChannelConnectionsResponse.Builder

This builder for chaining.