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()
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>
|
public ListEventsResponse.Builder addErrorEvents(ErrorEvent value)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
public ListEventsResponse.Builder addErrorEvents(ErrorEvent.Builder builderForValue)
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
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;
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;
public ErrorEvent.Builder addErrorEventsBuilder()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
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
|
public ListEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListEventsResponse build()
public ListEventsResponse buildPartial()
public ListEventsResponse.Builder clear()
Overrides
public ListEventsResponse.Builder clearErrorEvents()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
public ListEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListEventsResponse.Builder clearTimeRangeBegin()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
public ListEventsResponse.Builder clone()
Overrides
public ListEventsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
public List<ErrorEvent.Builder> getErrorEventsBuilderList()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
public int getErrorEventsCount()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
Returns |
---|
Type | Description |
int | |
public List<ErrorEvent> getErrorEventsList()
The error events which match the given request.
repeated .google.devtools.clouderrorreporting.v1beta1.ErrorEvent error_events = 1;
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
|
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 |
---|
Type | Description |
Timestamp | The timeRangeBegin.
|
public Timestamp.Builder getTimeRangeBeginBuilder()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
public TimestampOrBuilder getTimeRangeBeginOrBuilder()
The timestamp specifies the start time to which the request was restricted.
.google.protobuf.Timestamp time_range_begin = 4;
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()
Overrides
public final boolean isInitialized()
Overrides
public ListEventsResponse.Builder mergeFrom(ListEventsResponse other)
public ListEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListEventsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public final ListEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
public ListEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
public final ListEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides