public static final class ExportAssetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder> implements ExportAssetsRequestOrBuilder
Export asset request.Protobuf type
google.cloud.asset.v1p2beta1.ExportAssetsRequest| Modifier and Type | Method and Description |
|---|---|
ExportAssetsRequest.Builder |
addAllAssetTypes(Iterable<String> values)
A list of asset types of which to take a snapshot for.
|
ExportAssetsRequest.Builder |
addAssetTypes(String value)
A list of asset types of which to take a snapshot for.
|
ExportAssetsRequest.Builder |
addAssetTypesBytes(com.google.protobuf.ByteString value)
A list of asset types of which to take a snapshot for.
|
ExportAssetsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportAssetsRequest |
build() |
ExportAssetsRequest |
buildPartial() |
ExportAssetsRequest.Builder |
clear() |
ExportAssetsRequest.Builder |
clearAssetTypes()
A list of asset types of which to take a snapshot for.
|
ExportAssetsRequest.Builder |
clearContentType()
Asset content type.
|
ExportAssetsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportAssetsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportAssetsRequest.Builder |
clearOutputConfig()
Required.
|
ExportAssetsRequest.Builder |
clearParent()
Required.
|
ExportAssetsRequest.Builder |
clearReadTime()
Timestamp to take an asset snapshot.
|
ExportAssetsRequest.Builder |
clone() |
String |
getAssetTypes(int index)
A list of asset types of which to take a snapshot for.
|
com.google.protobuf.ByteString |
getAssetTypesBytes(int index)
A list of asset types of which to take a snapshot for.
|
int |
getAssetTypesCount()
A list of asset types of which to take a snapshot for.
|
com.google.protobuf.ProtocolStringList |
getAssetTypesList()
A list of asset types of which to take a snapshot for.
|
ContentType |
getContentType()
Asset content type.
|
int |
getContentTypeValue()
Asset content type.
|
ExportAssetsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OutputConfig |
getOutputConfig()
Required.
|
OutputConfig.Builder |
getOutputConfigBuilder()
Required.
|
OutputConfigOrBuilder |
getOutputConfigOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Timestamp |
getReadTime()
Timestamp to take an asset snapshot.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Timestamp to take an asset snapshot.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Timestamp to take an asset snapshot.
|
boolean |
hasOutputConfig()
Required.
|
boolean |
hasReadTime()
Timestamp to take an asset snapshot.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportAssetsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportAssetsRequest.Builder |
mergeFrom(ExportAssetsRequest other) |
ExportAssetsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportAssetsRequest.Builder |
mergeOutputConfig(OutputConfig value)
Required.
|
ExportAssetsRequest.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Timestamp to take an asset snapshot.
|
ExportAssetsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportAssetsRequest.Builder |
setAssetTypes(int index,
String value)
A list of asset types of which to take a snapshot for.
|
ExportAssetsRequest.Builder |
setContentType(ContentType value)
Asset content type.
|
ExportAssetsRequest.Builder |
setContentTypeValue(int value)
Asset content type.
|
ExportAssetsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportAssetsRequest.Builder |
setOutputConfig(OutputConfig.Builder builderForValue)
Required.
|
ExportAssetsRequest.Builder |
setOutputConfig(OutputConfig value)
Required.
|
ExportAssetsRequest.Builder |
setParent(String value)
Required.
|
ExportAssetsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ExportAssetsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp to take an asset snapshot.
|
ExportAssetsRequest.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Timestamp to take an asset snapshot.
|
ExportAssetsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportAssetsRequest.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<ExportAssetsRequest.Builder>public ExportAssetsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.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<ExportAssetsRequest.Builder>public ExportAssetsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportAssetsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportAssetsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportAssetsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>public ExportAssetsRequest.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<ExportAssetsRequest.Builder>public ExportAssetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>public ExportAssetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>public ExportAssetsRequest.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<ExportAssetsRequest.Builder>public ExportAssetsRequest.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<ExportAssetsRequest.Builder>public ExportAssetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportAssetsRequest.Builder>public ExportAssetsRequest.Builder mergeFrom(ExportAssetsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>public ExportAssetsRequest.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<ExportAssetsRequest.Builder>IOExceptionpublic String getParent()
Required. The relative name of the root asset. This 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 ExportAssetsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. This 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 ExportAssetsRequestOrBuilderpublic ExportAssetsRequest.Builder setParent(String value)
Required. The relative name of the root asset. This 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 ExportAssetsRequest.Builder clearParent()
Required. The relative name of the root asset. This 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 ExportAssetsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The relative name of the root asset. This 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 boolean hasReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;hasReadTime in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;getReadTime in interface ExportAssetsRequestOrBuilderpublic ExportAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp value)
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;public ExportAssetsRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;public ExportAssetsRequest.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;public ExportAssetsRequest.Builder clearReadTime()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.
.google.protobuf.Timestamp read_time = 2;getReadTimeOrBuilder in interface ExportAssetsRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getAssetTypesList()
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesList in interface ExportAssetsRequestOrBuilderpublic int getAssetTypesCount()
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesCount in interface ExportAssetsRequestOrBuilderpublic String getAssetTypes(int index)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypes in interface ExportAssetsRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAssetTypesBytes(int index)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;getAssetTypesBytes in interface ExportAssetsRequestOrBuilderindex - The index of the value to return.public ExportAssetsRequest.Builder setAssetTypes(int index, String value)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;index - The index to set the value at.value - The assetTypes to set.public ExportAssetsRequest.Builder addAssetTypes(String value)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;value - The assetTypes to add.public ExportAssetsRequest.Builder addAllAssetTypes(Iterable<String> values)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;values - The assetTypes to add.public ExportAssetsRequest.Builder clearAssetTypes()
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;public ExportAssetsRequest.Builder addAssetTypesBytes(com.google.protobuf.ByteString value)
A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) for all supported asset types.
repeated string asset_types = 3;value - The bytes of the assetTypes to add.public int getContentTypeValue()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;getContentTypeValue in interface ExportAssetsRequestOrBuilderpublic ExportAssetsRequest.Builder setContentTypeValue(int value)
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;value - The enum numeric value on the wire for contentType to set.public ContentType getContentType()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;getContentType in interface ExportAssetsRequestOrBuilderpublic ExportAssetsRequest.Builder setContentType(ContentType value)
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;value - The contentType to set.public ExportAssetsRequest.Builder clearContentType()
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1p2beta1.ContentType content_type = 4;public boolean hasOutputConfig()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;hasOutputConfig in interface ExportAssetsRequestOrBuilderpublic OutputConfig getOutputConfig()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;getOutputConfig in interface ExportAssetsRequestOrBuilderpublic ExportAssetsRequest.Builder setOutputConfig(OutputConfig value)
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;public ExportAssetsRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;public ExportAssetsRequest.Builder mergeOutputConfig(OutputConfig value)
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;public ExportAssetsRequest.Builder clearOutputConfig()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;public OutputConfig.Builder getOutputConfigBuilder()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.
.google.cloud.asset.v1p2beta1.OutputConfig output_config = 5;getOutputConfigOrBuilder in interface ExportAssetsRequestOrBuilderpublic final ExportAssetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>public final ExportAssetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>Copyright © 2020 Google LLC. All rights reserved.