Send feedback
Class ListEventsRequest
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.122.23-beta keyboard_arrow_down
public final class ListEventsRequest extends GeneratedMessageV3 implements ListEventsRequestOrBuilder
Specifies a set of error events to return.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ListEventsRequest
Static Fields
public static final int GROUP_ID_FIELD_NUMBER
Field Value
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
public static final int PROJECT_NAME_FIELD_NUMBER
Field Value
public static final int SERVICE_FILTER_FIELD_NUMBER
Field Value
public static final int TIME_RANGE_FIELD_NUMBER
Field Value
Static Methods
public static ListEventsRequest getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static ListEventsRequest . Builder newBuilder ()
Returns
public static ListEventsRequest . Builder newBuilder ( ListEventsRequest prototype )
Parameter
Returns
public static ListEventsRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListEventsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListEventsRequest parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static ListEventsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListEventsRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static ListEventsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListEventsRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ListEventsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListEventsRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ListEventsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ListEventsRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static ListEventsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<ListEventsRequest> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public ListEventsRequest getDefaultInstanceForType ()
Returns
public String getGroupId ()
Required. The group for which events shall be returned.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description String The groupId.
public ByteString getGroupIdBytes ()
Required. The group for which events shall be returned.
string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
public Parser<ListEventsRequest> getParserForType ()
Returns
Overrides
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
Type Description String The projectName.
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
Type Description ByteString The bytes for projectName.
public int getSerializedSize ()
Returns
Overrides
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
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
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
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
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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.
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.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ListEventsRequest . Builder newBuilderForType ()
Returns
protected ListEventsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public ListEventsRequest . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-19 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."]]