public static final class GroupFindingsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder> implements GroupFindingsRequestOrBuilder
Request message for grouping by findings.Protobuf type
google.cloud.securitycenter.v1.GroupFindingsRequest| Modifier and Type | Method and Description |
|---|---|
GroupFindingsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GroupFindingsRequest |
build() |
GroupFindingsRequest |
buildPartial() |
GroupFindingsRequest.Builder |
clear() |
GroupFindingsRequest.Builder |
clearCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
GroupFindingsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GroupFindingsRequest.Builder |
clearFilter()
Expression that defines the filter to apply across findings.
|
GroupFindingsRequest.Builder |
clearGroupBy()
Expression that defines what assets fields to use for grouping (including
`state_change`).
|
GroupFindingsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GroupFindingsRequest.Builder |
clearPageSize()
The maximum number of results to return in a single response.
|
GroupFindingsRequest.Builder |
clearPageToken()
The value returned by the last `GroupFindingsResponse`; indicates
that this is a continuation of a prior `GroupFindings` call, and
that the system should return the next page of data.
|
GroupFindingsRequest.Builder |
clearParent()
Name of the source to groupBy.
|
GroupFindingsRequest.Builder |
clearReadTime()
Time used as a reference point when filtering findings.
|
GroupFindingsRequest.Builder |
clone() |
com.google.protobuf.Duration |
getCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
com.google.protobuf.Duration.Builder |
getCompareDurationBuilder()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
com.google.protobuf.DurationOrBuilder |
getCompareDurationOrBuilder()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
GroupFindingsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Expression that defines the filter to apply across findings.
|
com.google.protobuf.ByteString |
getFilterBytes()
Expression that defines the filter to apply across findings.
|
String |
getGroupBy()
Expression that defines what assets fields to use for grouping (including
`state_change`).
|
com.google.protobuf.ByteString |
getGroupByBytes()
Expression that defines what assets fields to use for grouping (including
`state_change`).
|
int |
getPageSize()
The maximum number of results to return in a single response.
|
String |
getPageToken()
The value returned by the last `GroupFindingsResponse`; indicates
that this is a continuation of a prior `GroupFindings` call, and
that the system should return the next page of data.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The value returned by the last `GroupFindingsResponse`; indicates
that this is a continuation of a prior `GroupFindings` call, and
that the system should return the next page of data.
|
String |
getParent()
Name of the source to groupBy.
|
com.google.protobuf.ByteString |
getParentBytes()
Name of the source to groupBy.
|
com.google.protobuf.Timestamp |
getReadTime()
Time used as a reference point when filtering findings.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Time used as a reference point when filtering findings.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Time used as a reference point when filtering findings.
|
boolean |
hasCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
boolean |
hasReadTime()
Time used as a reference point when filtering findings.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroupFindingsRequest.Builder |
mergeCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
GroupFindingsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroupFindingsRequest.Builder |
mergeFrom(GroupFindingsRequest other) |
GroupFindingsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroupFindingsRequest.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering findings.
|
GroupFindingsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GroupFindingsRequest.Builder |
setCompareDuration(com.google.protobuf.Duration.Builder builderForValue)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
GroupFindingsRequest.Builder |
setCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time.
|
GroupFindingsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GroupFindingsRequest.Builder |
setFilter(String value)
Expression that defines the filter to apply across findings.
|
GroupFindingsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Expression that defines the filter to apply across findings.
|
GroupFindingsRequest.Builder |
setGroupBy(String value)
Expression that defines what assets fields to use for grouping (including
`state_change`).
|
GroupFindingsRequest.Builder |
setGroupByBytes(com.google.protobuf.ByteString value)
Expression that defines what assets fields to use for grouping (including
`state_change`).
|
GroupFindingsRequest.Builder |
setPageSize(int value)
The maximum number of results to return in a single response.
|
GroupFindingsRequest.Builder |
setPageToken(String value)
The value returned by the last `GroupFindingsResponse`; indicates
that this is a continuation of a prior `GroupFindings` call, and
that the system should return the next page of data.
|
GroupFindingsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `GroupFindingsResponse`; indicates
that this is a continuation of a prior `GroupFindings` call, and
that the system should return the next page of data.
|
GroupFindingsRequest.Builder |
setParent(String value)
Name of the source to groupBy.
|
GroupFindingsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Name of the source to groupBy.
|
GroupFindingsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time used as a reference point when filtering findings.
|
GroupFindingsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering findings.
|
GroupFindingsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GroupFindingsRequest.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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, 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<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.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<GroupFindingsRequest.Builder>public GroupFindingsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroupFindingsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroupFindingsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroupFindingsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder mergeFrom(GroupFindingsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public GroupFindingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroupFindingsRequest.Builder>IOExceptionpublic String getParent()
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
string parent = 1;getParent in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
string parent = 1;getParentBytes in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setParent(String value)
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
string parent = 1;public GroupFindingsRequest.Builder clearParent()
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
string parent = 1;public GroupFindingsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/123/sources/-
string parent = 1;public String getFilter()
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form `<field> <operator> <value>` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
string filter = 2;getFilter in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form `<field> <operator> <value>` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
string filter = 2;getFilterBytes in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setFilter(String value)
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form `<field> <operator> <value>` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
string filter = 2;public GroupFindingsRequest.Builder clearFilter()
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form `<field> <operator> <value>` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
string filter = 2;public GroupFindingsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form `<field> <operator> <value>` and may have a `-` character in front of them to indicate negation. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. The following field and operator combinations are supported: name | `=` parent | '=', ':' resource_name | '=', ':' state | '=', ':' category | '=', ':' external_uri | '=', ':' event_time | `>`, `<`, `>=`, `<=` security_marks | '=', ':' source_properties | '=', ':', `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid filter string.
string filter = 2;public String getGroupBy()
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
string group_by = 3;getGroupBy in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.ByteString getGroupByBytes()
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
string group_by = 3;getGroupByBytes in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setGroupBy(String value)
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
string group_by = 3;public GroupFindingsRequest.Builder clearGroupBy()
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
string group_by = 3;public GroupFindingsRequest.Builder setGroupByBytes(com.google.protobuf.ByteString value)
Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: "parent,resource_name". The following fields are supported: * resource_name * category * state * parent The following fields are supported when compare_duration is set: * state_change
string group_by = 3;public boolean hasReadTime()
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;hasReadTime in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;getReadTime in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;public GroupFindingsRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;public GroupFindingsRequest.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;public GroupFindingsRequest.Builder clearReadTime()
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.
.google.protobuf.Timestamp read_time = 4;getReadTimeOrBuilder in interface GroupFindingsRequestOrBuilderpublic boolean hasCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;hasCompareDuration in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.Duration getCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;getCompareDuration in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;public GroupFindingsRequest.Builder setCompareDuration(com.google.protobuf.Duration.Builder builderForValue)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;public GroupFindingsRequest.Builder mergeCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;public GroupFindingsRequest.Builder clearCompareDuration()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;public com.google.protobuf.Duration.Builder getCompareDurationBuilder()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder()
When compare_duration is set, the GroupResult's "state_change" attribute is
updated to indicate whether the finding had its state changed, the
finding's state remained unchanged, or if the finding was added during the
compare_duration period of time that precedes the read_time. This is the
time between (read_time - compare_duration) and read_time.
The state_change value is derived based on the presence and state of the
finding at the two points in time. Intermediate state changes between the
two times don't affect the result. For example, the results aren't affected
if the finding is made inactive and then active again.
Possible "state_change" values when compare_duration is specified:
* "CHANGED": indicates that the finding was present at the start of
compare_duration, but changed its state at read_time.
* "UNCHANGED": indicates that the finding was present at the start of
compare_duration and did not change state at read_time.
* "ADDED": indicates that the finding was not present at the start
of compare_duration, but was present at read_time.
If compare_duration is not specified, then the only possible state_change
is "UNUSED", which will be the state_change set for all findings present
at read_time.
If this field is set then `state_change` must be a specified field in
`group_by`.
.google.protobuf.Duration compare_duration = 5;getCompareDurationOrBuilder in interface GroupFindingsRequestOrBuilderpublic String getPageToken()
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
string page_token = 7;getPageToken in interface GroupFindingsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
string page_token = 7;getPageTokenBytes in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setPageToken(String value)
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
string page_token = 7;public GroupFindingsRequest.Builder clearPageToken()
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
string page_token = 7;public GroupFindingsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.
string page_token = 7;public int getPageSize()
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
int32 page_size = 8;getPageSize in interface GroupFindingsRequestOrBuilderpublic GroupFindingsRequest.Builder setPageSize(int value)
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
int32 page_size = 8;public GroupFindingsRequest.Builder clearPageSize()
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
int32 page_size = 8;public final GroupFindingsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>public final GroupFindingsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupFindingsRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.