Class GroupAssetsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
- com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest.Builder
-
- All Implemented Interfaces:
GroupAssetsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroupAssetsRequest
public static final class GroupAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder> implements GroupAssetsRequestOrBuilder
Request message for grouping by assets.
Protobuf typegoogle.cloud.securitycenter.v1beta1.GroupAssetsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupAssetsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GroupAssetsRequestbuild()GroupAssetsRequestbuildPartial()GroupAssetsRequest.Builderclear()GroupAssetsRequest.BuilderclearCompareDuration()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.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GroupAssetsRequest.BuilderclearFilter()Expression that defines the filter to apply across assets.GroupAssetsRequest.BuilderclearGroupBy()Required.GroupAssetsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GroupAssetsRequest.BuilderclearPageSize()The maximum number of results to return in a single response.GroupAssetsRequest.BuilderclearPageToken()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.BuilderclearParent()Required.GroupAssetsRequest.BuilderclearReadTime()Time used as a reference point when filtering assets.GroupAssetsRequest.Builderclone()com.google.protobuf.DurationgetCompareDuration()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.BuildergetCompareDurationBuilder()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.DurationOrBuildergetCompareDurationOrBuilder()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.GroupAssetsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFilter()Expression that defines the filter to apply across assets.com.google.protobuf.ByteStringgetFilterBytes()Expression that defines the filter to apply across assets.StringgetGroupBy()Required.com.google.protobuf.ByteStringgetGroupByBytes()Required.intgetPageSize()The maximum number of results to return in a single response.StringgetPageToken()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.ByteStringgetPageTokenBytes()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.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.com.google.protobuf.TimestampgetReadTime()Time used as a reference point when filtering assets.com.google.protobuf.Timestamp.BuildergetReadTimeBuilder()Time used as a reference point when filtering assets.com.google.protobuf.TimestampOrBuildergetReadTimeOrBuilder()Time used as a reference point when filtering assets.booleanhasCompareDuration()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.booleanhasReadTime()Time used as a reference point when filtering assets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GroupAssetsRequest.BuildermergeCompareDuration(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.BuildermergeFrom(GroupAssetsRequest other)GroupAssetsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GroupAssetsRequest.BuildermergeFrom(com.google.protobuf.Message other)GroupAssetsRequest.BuildermergeReadTime(com.google.protobuf.Timestamp value)Time used as a reference point when filtering assets.GroupAssetsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GroupAssetsRequest.BuildersetCompareDuration(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.BuildersetCompareDuration(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GroupAssetsRequest.BuildersetFilter(String value)Expression that defines the filter to apply across assets.GroupAssetsRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)Expression that defines the filter to apply across assets.GroupAssetsRequest.BuildersetGroupBy(String value)Required.GroupAssetsRequest.BuildersetGroupByBytes(com.google.protobuf.ByteString value)Required.GroupAssetsRequest.BuildersetPageSize(int value)The maximum number of results to return in a single response.GroupAssetsRequest.BuildersetPageToken(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.BuildersetPageTokenBytes(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.BuildersetParent(String value)Required.GroupAssetsRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.GroupAssetsRequest.BuildersetReadTime(com.google.protobuf.Timestamp value)Time used as a reference point when filtering assets.GroupAssetsRequest.BuildersetReadTime(com.google.protobuf.Timestamp.Builder builderForValue)Time used as a reference point when filtering assets.GroupAssetsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GroupAssetsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
clear
public GroupAssetsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
getDefaultInstanceForType
public GroupAssetsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GroupAssetsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GroupAssetsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GroupAssetsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
setField
public GroupAssetsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
clearField
public GroupAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
clearOneof
public GroupAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
setRepeatedField
public GroupAssetsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
addRepeatedField
public GroupAssetsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
mergeFrom
public GroupAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroupAssetsRequest.Builder>
-
mergeFrom
public GroupAssetsRequest.Builder mergeFrom(GroupAssetsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
mergeFrom
public GroupAssetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroupAssetsRequest.Builder>- Throws:
IOException
-
getParent
public String getParent()
Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceGroupAssetsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceGroupAssetsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
public GroupAssetsRequest.Builder setParent(String value)
Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public GroupAssetsRequest.Builder clearParent()
Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
public GroupAssetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getFilter
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;- Specified by:
getFilterin interfaceGroupAssetsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public 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;- Specified by:
getFilterBytesin interfaceGroupAssetsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public 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;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
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;- Returns:
- This builder for chaining.
-
setFilterBytes
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;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getGroupBy
public String getGroupBy()
Required. 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 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGroupByin interfaceGroupAssetsRequestOrBuilder- Returns:
- The groupBy.
-
getGroupByBytes
public com.google.protobuf.ByteString getGroupByBytes()
Required. 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 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getGroupByBytesin interfaceGroupAssetsRequestOrBuilder- Returns:
- The bytes for groupBy.
-
setGroupBy
public GroupAssetsRequest.Builder setGroupBy(String value)
Required. 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 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The groupBy to set.- Returns:
- This builder for chaining.
-
clearGroupBy
public GroupAssetsRequest.Builder clearGroupBy()
Required. 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 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setGroupByBytes
public GroupAssetsRequest.Builder setGroupByBytes(com.google.protobuf.ByteString value)
Required. 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 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for groupBy to set.- Returns:
- This builder for chaining.
-
hasCompareDuration
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;- Specified by:
hasCompareDurationin interfaceGroupAssetsRequestOrBuilder- Returns:
- Whether the compareDuration field is set.
-
getCompareDuration
public 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;- Specified by:
getCompareDurationin interfaceGroupAssetsRequestOrBuilder- Returns:
- The compareDuration.
-
setCompareDuration
public 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;
-
setCompareDuration
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;
-
mergeCompareDuration
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;
-
clearCompareDuration
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;
-
getCompareDurationBuilder
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;
-
getCompareDurationOrBuilder
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;- Specified by:
getCompareDurationOrBuilderin interfaceGroupAssetsRequestOrBuilder
-
hasReadTime
public 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;- Specified by:
hasReadTimein interfaceGroupAssetsRequestOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public 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;- Specified by:
getReadTimein interfaceGroupAssetsRequestOrBuilder- Returns:
- The readTime.
-
setReadTime
public 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;
-
setReadTime
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;
-
mergeReadTime
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;
-
clearReadTime
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;
-
getReadTimeBuilder
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;
-
getReadTimeOrBuilder
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;- Specified by:
getReadTimeOrBuilderin interfaceGroupAssetsRequestOrBuilder
-
getPageToken
public 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;- Specified by:
getPageTokenin interfaceGroupAssetsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public 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;- Specified by:
getPageTokenBytesin interfaceGroupAssetsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public 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;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
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;- Returns:
- This builder for chaining.
-
setPageTokenBytes
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;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getPageSize
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;- Specified by:
getPageSizein interfaceGroupAssetsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public 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;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GroupAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
mergeUnknownFields
public final GroupAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GroupAssetsRequest.Builder>
-
-