public static final class BatchGetAssetsHistoryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder> implements BatchGetAssetsHistoryRequestOrBuilder
Batch get assets history request.Protobuf type
google.cloud.asset.v1p2beta1.BatchGetAssetsHistoryRequestgetAllFields, 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<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.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<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchGetAssetsHistoryRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchGetAssetsHistoryRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchGetAssetsHistoryRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.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<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.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<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.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<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.Builder mergeFrom(BatchGetAssetsHistoryRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>public BatchGetAssetsHistoryRequest.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<BatchGetAssetsHistoryRequest.Builder>IOExceptionpublic String getParent()
Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1;getParent in interface BatchGetAssetsHistoryRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1;getParentBytes in interface BatchGetAssetsHistoryRequestOrBuilderpublic BatchGetAssetsHistoryRequest.Builder setParent(String value)
Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1;value - The parent to set.public BatchGetAssetsHistoryRequest.Builder clearParent()
Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1;public BatchGetAssetsHistoryRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1;value - The bytes for parent to set.public com.google.protobuf.ProtocolStringList getAssetNamesList()
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesList in interface BatchGetAssetsHistoryRequestOrBuilderpublic int getAssetNamesCount()
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesCount in interface BatchGetAssetsHistoryRequestOrBuilderpublic String getAssetNames(int index)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNames in interface BatchGetAssetsHistoryRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAssetNamesBytes(int index)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;getAssetNamesBytes in interface BatchGetAssetsHistoryRequestOrBuilderindex - The index of the value to return.public BatchGetAssetsHistoryRequest.Builder setAssetNames(int index, String value)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;index - The index to set the value at.value - The assetNames to set.public BatchGetAssetsHistoryRequest.Builder addAssetNames(String value)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;value - The assetNames to add.public BatchGetAssetsHistoryRequest.Builder addAllAssetNames(Iterable<String> values)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;values - The assetNames to add.public BatchGetAssetsHistoryRequest.Builder clearAssetNames()
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;public BatchGetAssetsHistoryRequest.Builder addAssetNamesBytes(com.google.protobuf.ByteString value)
A list of the full names of the assets. For example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) and [Resource Name Format](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/resource-name-format) for more info. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.
repeated string asset_names = 2;value - The bytes of the assetNames to add.public int getContentTypeValue()
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;getContentTypeValue in interface BatchGetAssetsHistoryRequestOrBuilderpublic BatchGetAssetsHistoryRequest.Builder setContentTypeValue(int value)
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;value - The enum numeric value on the wire for contentType to set.public ContentType getContentType()
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;getContentType in interface BatchGetAssetsHistoryRequestOrBuilderpublic BatchGetAssetsHistoryRequest.Builder setContentType(ContentType value)
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;value - The contentType to set.public BatchGetAssetsHistoryRequest.Builder clearContentType()
Required. The content type.
.google.cloud.asset.v1p2beta1.ContentType content_type = 3;public boolean hasReadTimeWindow()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;hasReadTimeWindow in interface BatchGetAssetsHistoryRequestOrBuilderpublic TimeWindow getReadTimeWindow()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;getReadTimeWindow in interface BatchGetAssetsHistoryRequestOrBuilderpublic BatchGetAssetsHistoryRequest.Builder setReadTimeWindow(TimeWindow value)
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;public BatchGetAssetsHistoryRequest.Builder setReadTimeWindow(TimeWindow.Builder builderForValue)
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;public BatchGetAssetsHistoryRequest.Builder mergeReadTimeWindow(TimeWindow value)
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;public BatchGetAssetsHistoryRequest.Builder clearReadTimeWindow()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;public TimeWindow.Builder getReadTimeWindowBuilder()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;public TimeWindowOrBuilder getReadTimeWindowOrBuilder()
Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.
.google.cloud.asset.v1p2beta1.TimeWindow read_time_window = 4;getReadTimeWindowOrBuilder in interface BatchGetAssetsHistoryRequestOrBuilderpublic final BatchGetAssetsHistoryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>public final BatchGetAssetsHistoryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetAssetsHistoryRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.