Class ListEventsRequest.Builder

public static final class ListEventsRequest.Builder extends GeneratedMessageV3.Builder<ListEventsRequest.Builder> implements ListEventsRequestOrBuilder

Specifies a set of error events to return.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ListEventsRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

build()

public ListEventsRequest build()
Returns
TypeDescription
ListEventsRequest

buildPartial()

public ListEventsRequest buildPartial()
Returns
TypeDescription
ListEventsRequest

clear()

public ListEventsRequest.Builder clear()
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

clearGroupId()

public ListEventsRequest.Builder clearGroupId()

Required. The group for which events shall be returned.

string group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

clearPageSize()

public ListEventsRequest.Builder clearPageSize()

Optional. The maximum number of results to return per response.

int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

clearPageToken()

public ListEventsRequest.Builder clearPageToken()

Optional. A next_page_token provided by a previous response.

string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

clearProjectName()

public ListEventsRequest.Builder clearProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

clearServiceFilter()

public ListEventsRequest.Builder clearServiceFilter()

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventsRequest.Builder

clearTimeRange()

public ListEventsRequest.Builder clearTimeRange()

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListEventsRequest.Builder

clone()

public ListEventsRequest.Builder clone()
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListEventsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGroupId()

public String getGroupId()

Required. The group for which events shall be returned.

string group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The groupId.

getGroupIdBytes()

public ByteString getGroupIdBytes()

Required. The group for which events shall be returned.

string group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for groupId.

getPageSize()

public int getPageSize()

Optional. The maximum number of results to return per response.

int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A next_page_token provided by a previous response.

string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A next_page_token provided by a previous response.

string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getProjectName()

public String getProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The projectName.

getProjectNameBytes()

public ByteString getProjectNameBytes()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for projectName.

getServiceFilter()

public ServiceContextFilter getServiceFilter()

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilter

The serviceFilter.

getServiceFilterBuilder()

public ServiceContextFilter.Builder getServiceFilterBuilder()

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilter.Builder

getServiceFilterOrBuilder()

public ServiceContextFilterOrBuilder getServiceFilterOrBuilder()

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilterOrBuilder

getTimeRange()

public QueryTimeRange getTimeRange()

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRange

The timeRange.

getTimeRangeBuilder()

public QueryTimeRange.Builder getTimeRangeBuilder()

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRange.Builder

getTimeRangeOrBuilder()

public QueryTimeRangeOrBuilder getTimeRangeOrBuilder()

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRangeOrBuilder

hasServiceFilter()

public boolean hasServiceFilter()

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the serviceFilter field is set.

hasTimeRange()

public boolean hasTimeRange()

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the timeRange field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEventsRequest other)

public ListEventsRequest.Builder mergeFrom(ListEventsRequest other)
Parameter
NameDescription
otherListEventsRequest
Returns
TypeDescription
ListEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListEventsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListEventsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

mergeServiceFilter(ServiceContextFilter value)

public ListEventsRequest.Builder mergeServiceFilter(ServiceContextFilter value)

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueServiceContextFilter
Returns
TypeDescription
ListEventsRequest.Builder

mergeTimeRange(QueryTimeRange value)

public ListEventsRequest.Builder mergeTimeRange(QueryTimeRange value)

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueQueryTimeRange
Returns
TypeDescription
ListEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

setGroupId(String value)

public ListEventsRequest.Builder setGroupId(String value)

Required. The group for which events shall be returned.

string group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The groupId to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setGroupIdBytes(ByteString value)

public ListEventsRequest.Builder setGroupIdBytes(ByteString value)

Required. The group for which events shall be returned.

string group_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for groupId to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListEventsRequest.Builder setPageSize(int value)

Optional. The maximum number of results to return per response.

int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEventsRequest.Builder setPageToken(String value)

Optional. A next_page_token provided by a previous response.

string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEventsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A next_page_token provided by a previous response.

string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setProjectName(String value)

public ListEventsRequest.Builder setProjectName(String value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The projectName to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setProjectNameBytes(ByteString value)

public ListEventsRequest.Builder setProjectNameBytes(ByteString value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID}, where {projectID} is the Google Cloud Platform project ID. Example: projects/my-project-123.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for projectName to set.

Returns
TypeDescription
ListEventsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEventsRequest.Builder
Overrides

setServiceFilter(ServiceContextFilter value)

public ListEventsRequest.Builder setServiceFilter(ServiceContextFilter value)

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueServiceContextFilter
Returns
TypeDescription
ListEventsRequest.Builder

setServiceFilter(ServiceContextFilter.Builder builderForValue)

public ListEventsRequest.Builder setServiceFilter(ServiceContextFilter.Builder builderForValue)

Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueServiceContextFilter.Builder
Returns
TypeDescription
ListEventsRequest.Builder

setTimeRange(QueryTimeRange value)

public ListEventsRequest.Builder setTimeRange(QueryTimeRange value)

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueQueryTimeRange
Returns
TypeDescription
ListEventsRequest.Builder

setTimeRange(QueryTimeRange.Builder builderForValue)

public ListEventsRequest.Builder setTimeRange(QueryTimeRange.Builder builderForValue)

Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueQueryTimeRange.Builder
Returns
TypeDescription
ListEventsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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