- 0.199.0-beta (latest)
- 0.197.0-beta
- 0.196.0-beta
- 0.195.0-beta
- 0.194.0-beta
- 0.193.0-beta
- 0.191.0-beta
- 0.189.0-beta
- 0.188.0-beta
- 0.185.0-beta
- 0.184.0-beta
- 0.183.0-beta
- 0.181.0-beta
- 0.180.0-beta
- 0.179.0-beta
- 0.178.0-beta
- 0.177.0-beta
- 0.176.0-beta
- 0.175.0-beta
- 0.174.0-beta
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class ListEventsRequest.Builder extends GeneratedMessageV3.Builder<ListEventsRequest.Builder> implements ListEventsRequestOrBuilderSpecifies a set of error events to return.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ListEventsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListEventsRequest.BuilderImplements
ListEventsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
build()
public ListEventsRequest build()| Returns | |
|---|---|
| Type | Description |
ListEventsRequest |
|
buildPartial()
public ListEventsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListEventsRequest |
|
clear()
public ListEventsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ListEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
clearGroupId()
public ListEventsRequest.Builder clearGroupId() Required. The group for which events shall be returned.
The group_id is a unique identifier for a particular error group. The
identifier is derived from key parts of the error-log content and is
treated as Service Data. For information about how Service Data
is handled, see Google Cloud Privacy
Notice.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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} or projects/{projectID}/locations/{location},
where {projectID} is the Google Cloud Platform project
ID and {location} is
a Cloud region.
Examples: projects/my-project-123,
projects/my-project-123/locations/global.
For a list of supported locations, see Supported
Regions. global is
the default when unspecified.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
clone()
public ListEventsRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
getDefaultInstanceForType()
public ListEventsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListEventsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroupId()
public String getGroupId() Required. The group for which events shall be returned.
The group_id is a unique identifier for a particular error group. The
identifier is derived from key parts of the error-log content and is
treated as Service Data. For information about how Service Data
is handled, see Google Cloud Privacy
Notice.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The groupId. |
getGroupIdBytes()
public ByteString getGroupIdBytes() Required. The group for which events shall be returned.
The group_id is a unique identifier for a particular error group. The
identifier is derived from key parts of the error-log content and is
treated as Service Data. For information about how Service Data
is handled, see Google Cloud Privacy
Notice.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getProjectName()
public String getProjectName() Required. The resource name of the Google Cloud Platform project. Written
as projects/{projectID} or projects/{projectID}/locations/{location},
where {projectID} is the Google Cloud Platform project
ID and {location} is
a Cloud region.
Examples: projects/my-project-123,
projects/my-project-123/locations/global.
For a list of supported locations, see Supported
Regions. global is
the default when unspecified.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The projectName. |
getProjectNameBytes()
public ByteString getProjectNameBytes() Required. The resource name of the Google Cloud Platform project. Written
as projects/{projectID} or projects/{projectID}/locations/{location},
where {projectID} is the Google Cloud Platform project
ID and {location} is
a Cloud region.
Examples: projects/my-project-123,
projects/my-project-123/locations/global.
For a list of supported locations, see Supported
Regions. global is
the default when unspecified.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the timeRange field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListEventsRequest other)
public ListEventsRequest.Builder mergeFrom(ListEventsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListEventsRequest |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListEventsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
ServiceContextFilter |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
QueryTimeRange |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
setGroupId(String value)
public ListEventsRequest.Builder setGroupId(String value) Required. The group for which events shall be returned.
The group_id is a unique identifier for a particular error group. The
identifier is derived from key parts of the error-log content and is
treated as Service Data. For information about how Service Data
is handled, see Google Cloud Privacy
Notice.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe groupId to set. |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
This builder for chaining. |
setGroupIdBytes(ByteString value)
public ListEventsRequest.Builder setGroupIdBytes(ByteString value) Required. The group for which events shall be returned.
The group_id is a unique identifier for a particular error group. The
identifier is derived from key parts of the error-log content and is
treated as Service Data. For information about how Service Data
is handled, see Google Cloud Privacy
Notice.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for groupId to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
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} or projects/{projectID}/locations/{location},
where {projectID} is the Google Cloud Platform project
ID and {location} is
a Cloud region.
Examples: projects/my-project-123,
projects/my-project-123/locations/global.
For a list of supported locations, see Supported
Regions. global is
the default when unspecified.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectName to set. |
| Returns | |
|---|---|
| Type | Description |
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} or projects/{projectID}/locations/{location},
where {projectID} is the Google Cloud Platform project
ID and {location} is
a Cloud region.
Examples: projects/my-project-123,
projects/my-project-123/locations/global.
For a list of supported locations, see Supported
Regions. global is
the default when unspecified.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectName to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
ServiceContextFilter |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
ServiceContextFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
QueryTimeRange |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
QueryTimeRange.Builder |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListEventsRequest.Builder |
|