public static final class ListEventsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder> implements ListEventsRequestOrBuilder
Specifies a set of error events to return.Protobuf type
google.devtools.clouderrorreporting.v1beta1.ListEventsRequest| Modifier and Type | Method and Description |
|---|---|
ListEventsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListEventsRequest |
build() |
ListEventsRequest |
buildPartial() |
ListEventsRequest.Builder |
clear() |
ListEventsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListEventsRequest.Builder |
clearGroupId()
[Required] The group for which events shall be returned.
|
ListEventsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListEventsRequest.Builder |
clearPageSize()
[Optional] The maximum number of results to return per response.
|
ListEventsRequest.Builder |
clearPageToken()
[Optional] A `next_page_token` provided by a previous response.
|
ListEventsRequest.Builder |
clearProjectName()
[Required] The resource name of the Google Cloud Platform project.
|
ListEventsRequest.Builder |
clearServiceFilter()
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ListEventsRequest.Builder |
clearTimeRange()
[Optional] List only data for the given time range.
|
ListEventsRequest.Builder |
clone() |
ListEventsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getGroupId()
[Required] The group for which events shall be returned.
|
com.google.protobuf.ByteString |
getGroupIdBytes()
[Required] The group for which events shall be returned.
|
int |
getPageSize()
[Optional] The maximum number of results to return per response.
|
java.lang.String |
getPageToken()
[Optional] A `next_page_token` provided by a previous response.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
[Optional] A `next_page_token` provided by a previous response.
|
java.lang.String |
getProjectName()
[Required] The resource name of the Google Cloud Platform project.
|
ProjectName |
getProjectNameAsProjectName() |
com.google.protobuf.ByteString |
getProjectNameBytes()
[Required] The resource name of the Google Cloud Platform project.
|
ServiceContextFilter |
getServiceFilter()
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ServiceContextFilter.Builder |
getServiceFilterBuilder()
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ServiceContextFilterOrBuilder |
getServiceFilterOrBuilder()
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
QueryTimeRange |
getTimeRange()
[Optional] List only data for the given time range.
|
QueryTimeRange.Builder |
getTimeRangeBuilder()
[Optional] List only data for the given time range.
|
QueryTimeRangeOrBuilder |
getTimeRangeOrBuilder()
[Optional] List only data for the given time range.
|
boolean |
hasServiceFilter()
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
boolean |
hasTimeRange()
[Optional] List only data for the given time range.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListEventsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListEventsRequest.Builder |
mergeFrom(ListEventsRequest other) |
ListEventsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListEventsRequest.Builder |
mergeServiceFilter(ServiceContextFilter value)
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ListEventsRequest.Builder |
mergeTimeRange(QueryTimeRange value)
[Optional] List only data for the given time range.
|
ListEventsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListEventsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListEventsRequest.Builder |
setGroupId(java.lang.String value)
[Required] The group for which events shall be returned.
|
ListEventsRequest.Builder |
setGroupIdBytes(com.google.protobuf.ByteString value)
[Required] The group for which events shall be returned.
|
ListEventsRequest.Builder |
setPageSize(int value)
[Optional] The maximum number of results to return per response.
|
ListEventsRequest.Builder |
setPageToken(java.lang.String value)
[Optional] A `next_page_token` provided by a previous response.
|
ListEventsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
[Optional] A `next_page_token` provided by a previous response.
|
ListEventsRequest.Builder |
setProjectName(java.lang.String value)
[Required] The resource name of the Google Cloud Platform project.
|
ListEventsRequest.Builder |
setProjectNameBytes(com.google.protobuf.ByteString value)
[Required] The resource name of the Google Cloud Platform project.
|
ListEventsRequest.Builder |
setProjectNameWithProjectName(ProjectName value) |
ListEventsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListEventsRequest.Builder |
setServiceFilter(ServiceContextFilter.Builder builderForValue)
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ListEventsRequest.Builder |
setServiceFilter(ServiceContextFilter value)
[Optional] List only ErrorGroups which belong to a service context that
matches the filter.
|
ListEventsRequest.Builder |
setTimeRange(QueryTimeRange.Builder builderForValue)
[Optional] List only data for the given time range.
|
ListEventsRequest.Builder |
setTimeRange(QueryTimeRange value)
[Optional] List only data for the given time range.
|
ListEventsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListEventsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListEventsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListEventsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder mergeFrom(ListEventsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public ListEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListEventsRequest.Builder>java.io.IOExceptionpublic java.lang.String getProjectName()
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;getProjectName in interface ListEventsRequestOrBuilderpublic com.google.protobuf.ByteString getProjectNameBytes()
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;getProjectNameBytes in interface ListEventsRequestOrBuilderpublic ListEventsRequest.Builder setProjectName(java.lang.String value)
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;public ListEventsRequest.Builder clearProjectName()
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;public ListEventsRequest.Builder setProjectNameBytes(com.google.protobuf.ByteString value)
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;public java.lang.String getGroupId()
[Required] The group for which events shall be returned.
string group_id = 2;getGroupId in interface ListEventsRequestOrBuilderpublic com.google.protobuf.ByteString getGroupIdBytes()
[Required] The group for which events shall be returned.
string group_id = 2;getGroupIdBytes in interface ListEventsRequestOrBuilderpublic ListEventsRequest.Builder setGroupId(java.lang.String value)
[Required] The group for which events shall be returned.
string group_id = 2;public ListEventsRequest.Builder clearGroupId()
[Required] The group for which events shall be returned.
string group_id = 2;public ListEventsRequest.Builder setGroupIdBytes(com.google.protobuf.ByteString value)
[Required] The group for which events shall be returned.
string group_id = 2;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;hasServiceFilter in interface ListEventsRequestOrBuilderpublic 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;getServiceFilter in interface ListEventsRequestOrBuilderpublic 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;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;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;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;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;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;getServiceFilterOrBuilder in interface ListEventsRequestOrBuilderpublic 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;hasTimeRange in interface ListEventsRequestOrBuilderpublic 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;getTimeRange in interface ListEventsRequestOrBuilderpublic 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;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;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;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;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;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;getTimeRangeOrBuilder in interface ListEventsRequestOrBuilderpublic int getPageSize()
[Optional] The maximum number of results to return per response.
int32 page_size = 6;getPageSize in interface ListEventsRequestOrBuilderpublic ListEventsRequest.Builder setPageSize(int value)
[Optional] The maximum number of results to return per response.
int32 page_size = 6;public ListEventsRequest.Builder clearPageSize()
[Optional] The maximum number of results to return per response.
int32 page_size = 6;public java.lang.String getPageToken()
[Optional] A `next_page_token` provided by a previous response.
string page_token = 7;getPageToken in interface ListEventsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
[Optional] A `next_page_token` provided by a previous response.
string page_token = 7;getPageTokenBytes in interface ListEventsRequestOrBuilderpublic ListEventsRequest.Builder setPageToken(java.lang.String value)
[Optional] A `next_page_token` provided by a previous response.
string page_token = 7;public ListEventsRequest.Builder clearPageToken()
[Optional] A `next_page_token` provided by a previous response.
string page_token = 7;public ListEventsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
[Optional] A `next_page_token` provided by a previous response.
string page_token = 7;public final ListEventsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public final ListEventsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventsRequest.Builder>public final ListEventsRequest.Builder setProjectNameWithProjectName(ProjectName value)
public final ProjectName getProjectNameAsProjectName()