Class ListDvrSessionsResponse.Builder (0.66.0)

public static final class ListDvrSessionsResponse.Builder extends GeneratedMessageV3.Builder<ListDvrSessionsResponse.Builder> implements ListDvrSessionsResponseOrBuilder

Response message for "LivestreamService.ListDvrSessions".

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

Static Methods

getDescriptor()

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

Methods

addAllDvrSessions(Iterable<? extends DvrSession> values)

public ListDvrSessionsResponse.Builder addAllDvrSessions(Iterable<? extends DvrSession> values)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addDvrSessions(DvrSession value)

public ListDvrSessionsResponse.Builder addDvrSessions(DvrSession value)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
value DvrSession
Returns
Type Description
ListDvrSessionsResponse.Builder

addDvrSessions(DvrSession.Builder builderForValue)

public ListDvrSessionsResponse.Builder addDvrSessions(DvrSession.Builder builderForValue)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
builderForValue DvrSession.Builder
Returns
Type Description
ListDvrSessionsResponse.Builder

addDvrSessions(int index, DvrSession value)

public ListDvrSessionsResponse.Builder addDvrSessions(int index, DvrSession value)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameters
Name Description
index int
value DvrSession
Returns
Type Description
ListDvrSessionsResponse.Builder

addDvrSessions(int index, DvrSession.Builder builderForValue)

public ListDvrSessionsResponse.Builder addDvrSessions(int index, DvrSession.Builder builderForValue)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameters
Name Description
index int
builderForValue DvrSession.Builder
Returns
Type Description
ListDvrSessionsResponse.Builder

addDvrSessionsBuilder()

public DvrSession.Builder addDvrSessionsBuilder()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Returns
Type Description
DvrSession.Builder

addDvrSessionsBuilder(int index)

public DvrSession.Builder addDvrSessionsBuilder(int index)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
index int
Returns
Type Description
DvrSession.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListDvrSessionsResponse build()
Returns
Type Description
ListDvrSessionsResponse

buildPartial()

public ListDvrSessionsResponse buildPartial()
Returns
Type Description
ListDvrSessionsResponse

clear()

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

clearDvrSessions()

public ListDvrSessionsResponse.Builder clearDvrSessions()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Returns
Type Description
ListDvrSessionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDvrSessionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListDvrSessionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListDvrSessionsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListDvrSessionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListDvrSessionsResponse getDefaultInstanceForType()
Returns
Type Description
ListDvrSessionsResponse

getDescriptorForType()

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

getDvrSessions(int index)

public DvrSession getDvrSessions(int index)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
index int
Returns
Type Description
DvrSession

getDvrSessionsBuilder(int index)

public DvrSession.Builder getDvrSessionsBuilder(int index)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
index int
Returns
Type Description
DvrSession.Builder

getDvrSessionsBuilderList()

public List<DvrSession.Builder> getDvrSessionsBuilderList()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Returns
Type Description
List<Builder>

getDvrSessionsCount()

public int getDvrSessionsCount()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Returns
Type Description
int

getDvrSessionsList()

public List<DvrSession> getDvrSessionsList()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Returns
Type Description
List<DvrSession>

getDvrSessionsOrBuilder(int index)

public DvrSessionOrBuilder getDvrSessionsOrBuilder(int index)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
index int
Returns
Type Description
DvrSessionOrBuilder

getDvrSessionsOrBuilderList()

public List<? extends DvrSessionOrBuilder> getDvrSessionsOrBuilderList()

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDvrSessions(int index)

public ListDvrSessionsResponse.Builder removeDvrSessions(int index)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDvrSessionsResponse.Builder

setDvrSessions(int index, DvrSession value)

public ListDvrSessionsResponse.Builder setDvrSessions(int index, DvrSession value)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameters
Name Description
index int
value DvrSession
Returns
Type Description
ListDvrSessionsResponse.Builder

setDvrSessions(int index, DvrSession.Builder builderForValue)

public ListDvrSessionsResponse.Builder setDvrSessions(int index, DvrSession.Builder builderForValue)

The list of DVR sessions

repeated .google.cloud.video.livestream.v1.DvrSession dvr_sessions = 1;

Parameters
Name Description
index int
builderForValue DvrSession.Builder
Returns
Type Description
ListDvrSessionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.