Class ListEventsResponse.Builder (0.204.0-beta)

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

Contains a set of requested error events.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ListEventsResponse

Static Methods

getDescriptor()

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

Methods

addAllErrorEvents(Iterable<? extends ErrorEvent> values)

public ListEventsResponse.Builder addAllErrorEvents(Iterable<? extends ErrorEvent> values)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
values Iterable<? extends com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent>
Returns
Type Description
ListEventsResponse.Builder

addErrorEvents(ErrorEvent value)

public ListEventsResponse.Builder addErrorEvents(ErrorEvent value)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
value ErrorEvent
Returns
Type Description
ListEventsResponse.Builder

addErrorEvents(ErrorEvent.Builder builderForValue)

public ListEventsResponse.Builder addErrorEvents(ErrorEvent.Builder builderForValue)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

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

addErrorEvents(int index, ErrorEvent value)

public ListEventsResponse.Builder addErrorEvents(int index, ErrorEvent value)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

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

addErrorEvents(int index, ErrorEvent.Builder builderForValue)

public ListEventsResponse.Builder addErrorEvents(int index, ErrorEvent.Builder builderForValue)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

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

addErrorEventsBuilder()

public ErrorEvent.Builder addErrorEventsBuilder()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
ErrorEvent.Builder

addErrorEventsBuilder(int index)

public ErrorEvent.Builder addErrorEventsBuilder(int index)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorEvent.Builder

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

clearErrorEvents()

public ListEventsResponse.Builder clearErrorEvents()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
ListEventsResponse.Builder

clearNextPageToken()

public ListEventsResponse.Builder clearNextPageToken()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
Type Description
ListEventsResponse.Builder

This builder for chaining.

clearTimeRangeBegin()

public ListEventsResponse.Builder clearTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
Type Description
ListEventsResponse.Builder

getDefaultInstanceForType()

public ListEventsResponse getDefaultInstanceForType()
Returns
Type Description
ListEventsResponse

getDescriptorForType()

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

getErrorEvents(int index)

public ErrorEvent getErrorEvents(int index)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorEvent

getErrorEventsBuilder(int index)

public ErrorEvent.Builder getErrorEventsBuilder(int index)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorEvent.Builder

getErrorEventsBuilderList()

public List<ErrorEvent.Builder> getErrorEventsBuilderList()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
List<Builder>

getErrorEventsCount()

public int getErrorEventsCount()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
int

getErrorEventsList()

public List<ErrorEvent> getErrorEventsList()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
List<ErrorEvent>

getErrorEventsOrBuilder(int index)

public ErrorEventOrBuilder getErrorEventsOrBuilder(int index)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorEventOrBuilder

getErrorEventsOrBuilderList()

public List<? extends ErrorEventOrBuilder> getErrorEventsOrBuilderList()

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Returns
Type Description
List<? extends com.google.devtools.clouderrorreporting.v1beta1.ErrorEventOrBuilder>

getNextPageToken()

public String getNextPageToken()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTimeRangeBegin()

public Timestamp getTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
Type Description
Timestamp

The timeRangeBegin.

getTimeRangeBeginBuilder()

public Timestamp.Builder getTimeRangeBeginBuilder()

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
Type Description
Builder

getTimeRangeBeginOrBuilder()

public TimestampOrBuilder getTimeRangeBeginOrBuilder()

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
Type Description
TimestampOrBuilder

hasTimeRangeBegin()

public boolean hasTimeRangeBegin()

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Returns
Type Description
boolean

Whether the timeRangeBegin field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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

mergeTimeRangeBegin(Timestamp value)

public ListEventsResponse.Builder mergeTimeRangeBegin(Timestamp value)

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListEventsResponse.Builder

removeErrorEvents(int index)

public ListEventsResponse.Builder removeErrorEvents(int index)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEventsResponse.Builder

setErrorEvents(int index, ErrorEvent value)

public ListEventsResponse.Builder setErrorEvents(int index, ErrorEvent value)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

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

setErrorEvents(int index, ErrorEvent.Builder builderForValue)

public ListEventsResponse.Builder setErrorEvents(int index, ErrorEvent.Builder builderForValue)

The error events which match the given request.

repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;

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

setNextPageToken(String value)

public ListEventsResponse.Builder setNextPageToken(String value)

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

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)

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

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.

setTimeRangeBegin(Timestamp value)

public ListEventsResponse.Builder setTimeRangeBegin(Timestamp value)

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListEventsResponse.Builder

setTimeRangeBegin(Timestamp.Builder builderForValue)

public ListEventsResponse.Builder setTimeRangeBegin(Timestamp.Builder builderForValue)

The timestamp specifies the start time to which the request was restricted.

.google.protobuf.Timestamp time_range_begin = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListEventsResponse.Builder