Class ListEventsResponse.Builder (0.1.0)

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

Message for response to listing Events.

Protobuf type google.cloud.visionai.v1.ListEventsResponse

Static Methods

getDescriptor()

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

Methods

addAllEvents(Iterable<? extends Event> values)

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

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.Event>
Returns
Type Description
ListEventsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addEvents(Event value)

public ListEventsResponse.Builder addEvents(Event value)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
value Event
Returns
Type Description
ListEventsResponse.Builder

addEvents(Event.Builder builderForValue)

public ListEventsResponse.Builder addEvents(Event.Builder builderForValue)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
builderForValue Event.Builder
Returns
Type Description
ListEventsResponse.Builder

addEvents(int index, Event value)

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

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameters
Name Description
index int
value Event
Returns
Type Description
ListEventsResponse.Builder

addEvents(int index, Event.Builder builderForValue)

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

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
ListEventsResponse.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListEventsResponse.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
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListEventsResponse.Builder

This builder for chaining.

build()

public ListEventsResponse build()
Returns
Type Description
ListEventsResponse

buildPartial()

public ListEventsResponse buildPartial()
Returns
Type Description
ListEventsResponse

clear()

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

clearEvents()

public ListEventsResponse.Builder clearEvents()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
ListEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEventsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListEventsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListEventsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListEventsResponse getDefaultInstanceForType()
Returns
Type Description
ListEventsResponse

getDescriptorForType()

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

getEvents(int index)

public Event getEvents(int index)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
index int
Returns
Type Description
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
List<Builder>

getEventsCount()

public int getEventsCount()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
int

getEventsList()

public List<Event> getEventsList()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
index int
Returns
Type Description
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.EventOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEvents(int index)

public ListEventsResponse.Builder removeEvents(int index)

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEventsResponse.Builder

setEvents(int index, Event value)

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

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameters
Name Description
index int
value Event
Returns
Type Description
ListEventsResponse.Builder

setEvents(int index, Event.Builder builderForValue)

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

The list of Event.

repeated .google.cloud.visionai.v1.Event events = 1;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
ListEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEventsResponse.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
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListEventsResponse.Builder

This builder for chaining.