Class ListChannelsResponse.Builder (0.57.0)

public static final class ListChannelsResponse.Builder extends GeneratedMessageV3.Builder<ListChannelsResponse.Builder> implements ListChannelsResponseOrBuilder

Response message for "LivestreamService.ListChannels".

Protobuf type google.cloud.video.livestream.v1.ListChannelsResponse

Static Methods

getDescriptor()

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

Methods

addAllChannels(Iterable<? extends Channel> values)

public ListChannelsResponse.Builder addAllChannels(Iterable<? extends Channel> values)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.livestream.v1.Channel>
Returns
Type Description
ListChannelsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

addChannels(Channel value)

public ListChannelsResponse.Builder addChannels(Channel value)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
value Channel
Returns
Type Description
ListChannelsResponse.Builder

addChannels(Channel.Builder builderForValue)

public ListChannelsResponse.Builder addChannels(Channel.Builder builderForValue)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
builderForValue Channel.Builder
Returns
Type Description
ListChannelsResponse.Builder

addChannels(int index, Channel value)

public ListChannelsResponse.Builder addChannels(int index, Channel value)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameters
Name Description
index int
value Channel
Returns
Type Description
ListChannelsResponse.Builder

addChannels(int index, Channel.Builder builderForValue)

public ListChannelsResponse.Builder addChannels(int index, Channel.Builder builderForValue)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameters
Name Description
index int
builderForValue Channel.Builder
Returns
Type Description
ListChannelsResponse.Builder

addChannelsBuilder()

public Channel.Builder addChannelsBuilder()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
Channel.Builder

addChannelsBuilder(int index)

public Channel.Builder addChannelsBuilder(int index)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
index int
Returns
Type Description
Channel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListChannelsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListChannelsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

build()

public ListChannelsResponse build()
Returns
Type Description
ListChannelsResponse

buildPartial()

public ListChannelsResponse buildPartial()
Returns
Type Description
ListChannelsResponse

clear()

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

clearChannels()

public ListChannelsResponse.Builder clearChannels()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
ListChannelsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListChannelsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListChannelsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

clone()

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

getChannels(int index)

public Channel getChannels(int index)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
index int
Returns
Type Description
Channel

getChannelsBuilder(int index)

public Channel.Builder getChannelsBuilder(int index)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
index int
Returns
Type Description
Channel.Builder

getChannelsBuilderList()

public List<Channel.Builder> getChannelsBuilderList()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
List<Builder>

getChannelsCount()

public int getChannelsCount()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
int

getChannelsList()

public List<Channel> getChannelsList()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
List<Channel>

getChannelsOrBuilder(int index)

public ChannelOrBuilder getChannelsOrBuilder(int index)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
index int
Returns
Type Description
ChannelOrBuilder

getChannelsOrBuilderList()

public List<? extends ChannelOrBuilder> getChannelsOrBuilderList()

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Returns
Type Description
List<? extends com.google.cloud.video.livestream.v1.ChannelOrBuilder>

getDefaultInstanceForType()

public ListChannelsResponse getDefaultInstanceForType()
Returns
Type Description
ListChannelsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

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(ListChannelsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChannels(int index)

public ListChannelsResponse.Builder removeChannels(int index)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameter
Name Description
index int
Returns
Type Description
ListChannelsResponse.Builder

setChannels(int index, Channel value)

public ListChannelsResponse.Builder setChannels(int index, Channel value)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameters
Name Description
index int
value Channel
Returns
Type Description
ListChannelsResponse.Builder

setChannels(int index, Channel.Builder builderForValue)

public ListChannelsResponse.Builder setChannels(int index, Channel.Builder builderForValue)

A list of channels.

repeated .google.cloud.video.livestream.v1.Channel channels = 1;

Parameters
Name Description
index int
builderForValue Channel.Builder
Returns
Type Description
ListChannelsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListChannelsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChannelsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListChannelsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

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
ListChannelsResponse.Builder

This builder for chaining.