Class ListEventsResponse.Builder (0.14.0)

public static final class ListEventsResponse.Builder extends GeneratedMessageV3.Builder<ListEventsResponse.Builder> implements ListEventsResponseOrBuilder

Response message for "LivestreamService.ListEvents".

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEvents(Iterable<? extends Event> values)

public ListEventsResponse.Builder addAllEvents(Iterable<? extends Event> values)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.video.livestream.v1.Event>
Returns
TypeDescription
ListEventsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

addEvents(Event value)

public ListEventsResponse.Builder addEvents(Event value)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
valueEvent
Returns
TypeDescription
ListEventsResponse.Builder

addEvents(Event.Builder builderForValue)

public ListEventsResponse.Builder addEvents(Event.Builder builderForValue)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
ListEventsResponse.Builder

addEvents(int index, Event value)

public ListEventsResponse.Builder addEvents(int index, Event value)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameters
NameDescription
indexint
valueEvent
Returns
TypeDescription
ListEventsResponse.Builder

addEvents(int index, Event.Builder builderForValue)

public ListEventsResponse.Builder addEvents(int index, Event.Builder builderForValue)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameters
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
ListEventsResponse.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListEventsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListEventsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

build()

public ListEventsResponse build()
Returns
TypeDescription
ListEventsResponse

buildPartial()

public ListEventsResponse buildPartial()
Returns
TypeDescription
ListEventsResponse

clear()

public ListEventsResponse.Builder clear()
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

clearEvents()

public ListEventsResponse.Builder clearEvents()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
ListEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

clearNextPageToken()

public ListEventsResponse.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
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListEventsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

clone()

public ListEventsResponse.Builder clone()
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEvents(int index)

public Event getEvents(int index)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
List<Builder>

getEventsCount()

public int getEventsCount()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
int

getEventsList()

public List<Event> getEventsList()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Returns
TypeDescription
List<? extends com.google.cloud.video.livestream.v1.EventOrBuilder>

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

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

public ListEventsResponse.Builder mergeFrom(ListEventsResponse other)
Parameter
NameDescription
otherListEventsResponse
Returns
TypeDescription
ListEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

removeEvents(int index)

public ListEventsResponse.Builder removeEvents(int index)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListEventsResponse.Builder

setEvents(int index, Event value)

public ListEventsResponse.Builder setEvents(int index, Event value)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameters
NameDescription
indexint
valueEvent
Returns
TypeDescription
ListEventsResponse.Builder

setEvents(int index, Event.Builder builderForValue)

public ListEventsResponse.Builder setEvents(int index, Event.Builder builderForValue)

A list of events.

repeated .google.cloud.video.livestream.v1.Event events = 1;

Parameters
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
ListEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEventsResponse.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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEventsResponse.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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.

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

public ListEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEventsResponse.Builder
Overrides

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListEventsResponse.Builder

This builder for chaining.