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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListEventsResponse.Builder addErrorEvents(ErrorEvent value)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public ErrorEvent.Builder addErrorEventsBuilder()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns
public ErrorEvent.Builder addErrorEventsBuilder(int index)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
public ListEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListEventsResponse build()
Returns
public ListEventsResponse buildPartial()
Returns
public ListEventsResponse.Builder clear()
Returns
Overrides
public ListEventsResponse.Builder clearErrorEvents()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns
public ListEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListEventsResponse.Builder clearTimeRangeBegin()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
Returns
public ListEventsResponse.Builder clone()
Returns
Overrides
public ListEventsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ErrorEvent getErrorEvents(int index)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
public ErrorEvent.Builder getErrorEventsBuilder(int index)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
public List<ErrorEvent.Builder> getErrorEventsBuilderList()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns
public int getErrorEventsCount()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns
public List<ErrorEvent> getErrorEventsList()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns
public ErrorEventOrBuilder getErrorEventsOrBuilder(int index)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
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.
|
public Timestamp getTimeRangeBegin()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
Returns
public Timestamp.Builder getTimeRangeBeginBuilder()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
Returns
public TimestampOrBuilder getTimeRangeBeginOrBuilder()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
Returns
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListEventsResponse.Builder mergeFrom(ListEventsResponse other)
Parameter
Returns
public ListEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListEventsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public final ListEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListEventsResponse.Builder removeErrorEvents(int index)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Parameter
Returns
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
Returns
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
Returns
public ListEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
public ListEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
public final ListEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides