Class ListClipsResponse.Builder (0.50.0)

public static final class ListClipsResponse.Builder extends GeneratedMessageV3.Builder<ListClipsResponse.Builder> implements ListClipsResponseOrBuilder

Response message for "LivestreamService.ListClips".

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

Static Methods

getDescriptor()

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

Methods

addAllClips(Iterable<? extends Clip> values)

public ListClipsResponse.Builder addAllClips(Iterable<? extends Clip> values)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

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

addAllUnreachable(Iterable<String> values)

public ListClipsResponse.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
ListClipsResponse.Builder

This builder for chaining.

addClips(Clip value)

public ListClipsResponse.Builder addClips(Clip value)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
value Clip
Returns
Type Description
ListClipsResponse.Builder

addClips(Clip.Builder builderForValue)

public ListClipsResponse.Builder addClips(Clip.Builder builderForValue)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
builderForValue Clip.Builder
Returns
Type Description
ListClipsResponse.Builder

addClips(int index, Clip value)

public ListClipsResponse.Builder addClips(int index, Clip value)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameters
Name Description
index int
value Clip
Returns
Type Description
ListClipsResponse.Builder

addClips(int index, Clip.Builder builderForValue)

public ListClipsResponse.Builder addClips(int index, Clip.Builder builderForValue)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameters
Name Description
index int
builderForValue Clip.Builder
Returns
Type Description
ListClipsResponse.Builder

addClipsBuilder()

public Clip.Builder addClipsBuilder()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Returns
Type Description
Clip.Builder

addClipsBuilder(int index)

public Clip.Builder addClipsBuilder(int index)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
index int
Returns
Type Description
Clip.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListClipsResponse.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
ListClipsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListClipsResponse.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
ListClipsResponse.Builder

This builder for chaining.

build()

public ListClipsResponse build()
Returns
Type Description
ListClipsResponse

buildPartial()

public ListClipsResponse buildPartial()
Returns
Type Description
ListClipsResponse

clear()

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

clearClips()

public ListClipsResponse.Builder clearClips()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Returns
Type Description
ListClipsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListClipsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListClipsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListClipsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListClipsResponse.Builder

This builder for chaining.

clone()

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

getClips(int index)

public Clip getClips(int index)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
index int
Returns
Type Description
Clip

getClipsBuilder(int index)

public Clip.Builder getClipsBuilder(int index)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
index int
Returns
Type Description
Clip.Builder

getClipsBuilderList()

public List<Clip.Builder> getClipsBuilderList()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Returns
Type Description
List<Builder>

getClipsCount()

public int getClipsCount()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Returns
Type Description
int

getClipsList()

public List<Clip> getClipsList()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Returns
Type Description
List<Clip>

getClipsOrBuilder(int index)

public ClipOrBuilder getClipsOrBuilder(int index)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
index int
Returns
Type Description
ClipOrBuilder

getClipsOrBuilderList()

public List<? extends ClipOrBuilder> getClipsOrBuilderList()

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

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

getDefaultInstanceForType()

public ListClipsResponse getDefaultInstanceForType()
Returns
Type Description
ListClipsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeClips(int index)

public ListClipsResponse.Builder removeClips(int index)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameter
Name Description
index int
Returns
Type Description
ListClipsResponse.Builder

setClips(int index, Clip value)

public ListClipsResponse.Builder setClips(int index, Clip value)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameters
Name Description
index int
value Clip
Returns
Type Description
ListClipsResponse.Builder

setClips(int index, Clip.Builder builderForValue)

public ListClipsResponse.Builder setClips(int index, Clip.Builder builderForValue)

The list of Clip

repeated .google.cloud.video.livestream.v1.Clip clips = 1;

Parameters
Name Description
index int
builderForValue Clip.Builder
Returns
Type Description
ListClipsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListClipsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListClipsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListClipsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListClipsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListClipsResponse.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
ListClipsResponse.Builder

This builder for chaining.