public static final class GroupAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder> implements GroupAssetsRequestOrBuilder
Request message for grouping by assets.Protobuf type
google.cloud.securitycenter.v1beta1.GroupAssetsRequest| Modifier and Type | Method and Description |
|---|---|
GroupAssetsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GroupAssetsRequest |
build() |
GroupAssetsRequest |
buildPartial() |
GroupAssetsRequest.Builder |
clear() |
GroupAssetsRequest.Builder |
clearCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
GroupAssetsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GroupAssetsRequest.Builder |
clearFilter()
Expression that defines the filter to apply across assets.
|
GroupAssetsRequest.Builder |
clearGroupBy()
Expression that defines what assets fields to use for grouping.
|
GroupAssetsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GroupAssetsRequest.Builder |
clearPageSize()
The maximum number of results to return in a single response.
|
GroupAssetsRequest.Builder |
clearPageToken()
The value returned by the last `GroupAssetsResponse`; indicates
that this is a continuation of a prior `GroupAssets` call, and that the
system should return the next page of data.
|
GroupAssetsRequest.Builder |
clearParent()
Name of the organization to groupBy.
|
GroupAssetsRequest.Builder |
clearReadTime()
Time used as a reference point when filtering assets.
|
GroupAssetsRequest.Builder |
clone() |
com.google.protobuf.Duration |
getCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
com.google.protobuf.Duration.Builder |
getCompareDurationBuilder()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
com.google.protobuf.DurationOrBuilder |
getCompareDurationOrBuilder()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
GroupAssetsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
Expression that defines the filter to apply across assets.
|
com.google.protobuf.ByteString |
getFilterBytes()
Expression that defines the filter to apply across assets.
|
String |
getGroupBy()
Expression that defines what assets fields to use for grouping.
|
com.google.protobuf.ByteString |
getGroupByBytes()
Expression that defines what assets fields to use for grouping.
|
int |
getPageSize()
The maximum number of results to return in a single response.
|
String |
getPageToken()
The value returned by the last `GroupAssetsResponse`; indicates
that this is a continuation of a prior `GroupAssets` call, and that the
system should return the next page of data.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The value returned by the last `GroupAssetsResponse`; indicates
that this is a continuation of a prior `GroupAssets` call, and that the
system should return the next page of data.
|
String |
getParent()
Name of the organization to groupBy.
|
com.google.protobuf.ByteString |
getParentBytes()
Name of the organization to groupBy.
|
com.google.protobuf.Timestamp |
getReadTime()
Time used as a reference point when filtering assets.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Time used as a reference point when filtering assets.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Time used as a reference point when filtering assets.
|
boolean |
hasCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
boolean |
hasReadTime()
Time used as a reference point when filtering assets.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroupAssetsRequest.Builder |
mergeCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
GroupAssetsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroupAssetsRequest.Builder |
mergeFrom(GroupAssetsRequest other) |
GroupAssetsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroupAssetsRequest.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering assets.
|
GroupAssetsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GroupAssetsRequest.Builder |
setCompareDuration(com.google.protobuf.Duration.Builder builderForValue)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
GroupAssetsRequest.Builder |
setCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present during
the compare_duration period of time that precedes the read_time.
|
GroupAssetsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GroupAssetsRequest.Builder |
setFilter(String value)
Expression that defines the filter to apply across assets.
|
GroupAssetsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
Expression that defines the filter to apply across assets.
|
GroupAssetsRequest.Builder |
setGroupBy(String value)
Expression that defines what assets fields to use for grouping.
|
GroupAssetsRequest.Builder |
setGroupByBytes(com.google.protobuf.ByteString value)
Expression that defines what assets fields to use for grouping.
|
GroupAssetsRequest.Builder |
setPageSize(int value)
The maximum number of results to return in a single response.
|
GroupAssetsRequest.Builder |
setPageToken(String value)
The value returned by the last `GroupAssetsResponse`; indicates
that this is a continuation of a prior `GroupAssets` call, and that the
system should return the next page of data.
|
GroupAssetsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `GroupAssetsResponse`; indicates
that this is a continuation of a prior `GroupAssets` call, and that the
system should return the next page of data.
|
GroupAssetsRequest.Builder |
setParent(String value)
Name of the organization to groupBy.
|
GroupAssetsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Name of the organization to groupBy.
|
GroupAssetsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time used as a reference point when filtering assets.
|
GroupAssetsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering assets.
|
GroupAssetsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GroupAssetsRequest.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<GroupAssetsRequest.Builder>public GroupAssetsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.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<GroupAssetsRequest.Builder>public GroupAssetsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroupAssetsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroupAssetsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroupAssetsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>public GroupAssetsRequest.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<GroupAssetsRequest.Builder>public GroupAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>public GroupAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>public GroupAssetsRequest.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<GroupAssetsRequest.Builder>public GroupAssetsRequest.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<GroupAssetsRequest.Builder>public GroupAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroupAssetsRequest.Builder>public GroupAssetsRequest.Builder mergeFrom(GroupAssetsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>public GroupAssetsRequest.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<GroupAssetsRequest.Builder>IOExceptionpublic String getParent()
Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1;getParent in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1;getParentBytes in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setParent(String value)
Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1;public GroupAssetsRequest.Builder clearParent()
Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1;public GroupAssetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1;public String getFilter()
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not 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. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_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. For example, `resource_properties.size = 100` is a valid filter string.
string filter = 2;getFilter in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not 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. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_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. For example, `resource_properties.size = 100` is a valid filter string.
string filter = 2;getFilterBytes in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setFilter(String value)
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not 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. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_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. For example, `resource_properties.size = 100` is a valid filter string.
string filter = 2;public GroupAssetsRequest.Builder clearFilter()
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not 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. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_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. For example, `resource_properties.size = 100` is a valid filter string.
string filter = 2;public GroupAssetsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are not 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. The fields map to those defined in the Asset resource. Examples include: * name * security_center_properties.resource_name * resource_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. For example, `resource_properties.size = 100` is a valid filter string.
string filter = 2;public String getGroupBy()
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
string group_by = 3;getGroupBy in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getGroupByBytes()
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
string group_by = 3;getGroupByBytes in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setGroupBy(String value)
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
string group_by = 3;public GroupAssetsRequest.Builder clearGroupBy()
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
string group_by = 3;public GroupAssetsRequest.Builder setGroupByBytes(com.google.protobuf.ByteString value)
Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: "security_center_properties.resource_project,security_center_properties.project". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_type * security_center_properties.resource_parent The following fields are supported when compare_duration is set: * security_center_properties.resource_type
string group_by = 3;public boolean hasCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;hasCompareDuration in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.Duration getCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;getCompareDuration in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;public GroupAssetsRequest.Builder setCompareDuration(com.google.protobuf.Duration.Builder builderForValue)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;public GroupAssetsRequest.Builder mergeCompareDuration(com.google.protobuf.Duration value)
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;public GroupAssetsRequest.Builder clearCompareDuration()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;public com.google.protobuf.Duration.Builder getCompareDurationBuilder()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;public com.google.protobuf.DurationOrBuilder getCompareDurationOrBuilder()
When compare_duration is set, the Asset's "state" property is updated to
indicate whether the asset was added, removed, or remained present 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 value is derived based on the presence of the asset 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 asset is
removed and re-created again.
Possible "state" values when compare_duration is specified:
* "ADDED": indicates that the asset was not present before
compare_duration, but present at reference_time.
* "REMOVED": indicates that the asset was present at the start of
compare_duration, but not present at reference_time.
* "ACTIVE": indicates that the asset was present at both the
start and the end of the time period defined by
compare_duration and reference_time.
This field is ignored if `state` is not a field in `group_by`.
.google.protobuf.Duration compare_duration = 4;getCompareDurationOrBuilder in interface GroupAssetsRequestOrBuilderpublic boolean hasReadTime()
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;hasReadTime in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;getReadTime in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;public GroupAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;public GroupAssetsRequest.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;public GroupAssetsRequest.Builder clearReadTime()
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Time used as a reference point when filtering assets. The filter is limited to assets 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 = 5;getReadTimeOrBuilder in interface GroupAssetsRequestOrBuilderpublic String getPageToken()
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.
string page_token = 7;getPageToken in interface GroupAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.
string page_token = 7;getPageTokenBytes in interface GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.Builder setPageToken(String value)
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.
string page_token = 7;public GroupAssetsRequest.Builder clearPageToken()
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.
string page_token = 7;public GroupAssetsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` 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 GroupAssetsRequestOrBuilderpublic GroupAssetsRequest.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 GroupAssetsRequest.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 GroupAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>public final GroupAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.