Class ListEventsResponse.Builder (0.128.0-beta)

public static final class ListEventsResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent>
Returns
TypeDescription
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
NameDescription
valueErrorEvent
Returns
TypeDescription
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
NameDescription
builderForValueErrorEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueErrorEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorEvent.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorEvent.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

build()

public ListEventsResponse build()
Returns
TypeDescription
ListEventsResponse

buildPartial()

public ListEventsResponse buildPartial()
Returns
TypeDescription
ListEventsResponse

clear()

public ListEventsResponse.Builder clear()
Returns
TypeDescription
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
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()

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

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

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

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getErrorEventsCount()

public int getErrorEventsCount()

The error events which match the given request.

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

Returns
TypeDescription
int

getErrorEventsList()

public List<ErrorEvent> getErrorEventsList()

The error events which match the given request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeRangeBegin field is set.

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

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
NameDescription
valueTimestamp
Returns
TypeDescription
ListEventsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueErrorEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorEvent.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)

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
NameDescription
valueString

The nextPageToken to set.

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

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListEventsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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