Package com.google.cloud.asset.v1
Class ExportAssetsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportAssetsRequest.Builder>
com.google.cloud.asset.v1.ExportAssetsRequest.Builder
- All Implemented Interfaces:
ExportAssetsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportAssetsRequest
public static final class ExportAssetsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportAssetsRequest.Builder>
implements ExportAssetsRequestOrBuilder
Export asset request.Protobuf type
google.cloud.asset.v1.ExportAssetsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllAssetTypes(Iterable<String> values) A list of asset types to take a snapshot for.addAllRelationshipTypes(Iterable<String> values) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.addAssetTypes(String value) A list of asset types to take a snapshot for.addAssetTypesBytes(com.google.protobuf.ByteString value) A list of asset types to take a snapshot for.addRelationshipTypes(String value) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.addRelationshipTypesBytes(com.google.protobuf.ByteString value) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.build()clear()A list of asset types to take a snapshot for.Asset content type.Required.Required.Timestamp to take an asset snapshot.A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.getAssetTypes(int index) A list of asset types to take a snapshot for.com.google.protobuf.ByteStringgetAssetTypesBytes(int index) A list of asset types to take a snapshot for.intA list of asset types to take a snapshot for.com.google.protobuf.ProtocolStringListA list of asset types to take a snapshot for.Asset content type.intAsset content type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.Required.Required.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampTimestamp to take an asset snapshot.com.google.protobuf.Timestamp.BuilderTimestamp to take an asset snapshot.com.google.protobuf.TimestampOrBuilderTimestamp to take an asset snapshot.getRelationshipTypes(int index) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.com.google.protobuf.ByteStringgetRelationshipTypesBytes(int index) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.intA list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.com.google.protobuf.ProtocolStringListA list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.booleanRequired.booleanTimestamp to take an asset snapshot.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExportAssetsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOutputConfig(OutputConfig value) Required.mergeReadTime(com.google.protobuf.Timestamp value) Timestamp to take an asset snapshot.setAssetTypes(int index, String value) A list of asset types to take a snapshot for.setContentType(ContentType value) Asset content type.setContentTypeValue(int value) Asset content type.setOutputConfig(OutputConfig value) Required.setOutputConfig(OutputConfig.Builder builderForValue) Required.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setReadTime(com.google.protobuf.Timestamp value) Timestamp to take an asset snapshot.setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp to take an asset snapshot.setRelationshipTypes(int index, String value) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportAssetsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportAssetsRequest.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.GeneratedMessage.Builder<ExportAssetsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportAssetsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportAssetsRequest.Builder>
-
mergeFrom
public ExportAssetsRequest.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<ExportAssetsRequest.Builder>- Throws:
IOException
-
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"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceExportAssetsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public 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"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceExportAssetsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
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"), or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
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"), or a folder number (such as "folders/123").
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.
-
hasReadTime
public boolean hasReadTime()Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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;- Specified by:
hasReadTimein interfaceExportAssetsRequestOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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;- Specified by:
getReadTimein interfaceExportAssetsRequestOrBuilder- Returns:
- The readTime.
-
setReadTime
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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; -
setReadTime
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 the current time and the current time minus 35 days (inclusive). 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; -
mergeReadTime
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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; -
clearReadTime
Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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; -
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). 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;- Specified by:
getReadTimeOrBuilderin interfaceExportAssetsRequestOrBuilder
-
getAssetTypesList
public com.google.protobuf.ProtocolStringList getAssetTypesList()A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Specified by:
getAssetTypesListin interfaceExportAssetsRequestOrBuilder- Returns:
- A list containing the assetTypes.
-
getAssetTypesCount
public int getAssetTypesCount()A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Specified by:
getAssetTypesCountin interfaceExportAssetsRequestOrBuilder- Returns:
- The count of assetTypes.
-
getAssetTypes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Specified by:
getAssetTypesin interfaceExportAssetsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The assetTypes at the given index.
-
getAssetTypesBytes
public com.google.protobuf.ByteString getAssetTypesBytes(int index) A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Specified by:
getAssetTypesBytesin interfaceExportAssetsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the assetTypes at the given index.
-
setAssetTypes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Parameters:
index- The index to set the value at.value- The assetTypes to set.- Returns:
- This builder for chaining.
-
addAssetTypes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Parameters:
value- The assetTypes to add.- Returns:
- This builder for chaining.
-
addAllAssetTypes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Parameters:
values- The assetTypes to add.- Returns:
- This builder for chaining.
-
clearAssetTypes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Returns:
- This builder for chaining.
-
addAssetTypesBytes
A list of asset types to take a snapshot for. For example: "compute.googleapis.com/Disk". Regular expressions are also supported. For example: * "compute.googleapis.com.*" snapshots resources whose asset type starts with "compute.googleapis.com". * ".*Instance" snapshots resources whose asset type ends with "Instance". * ".*Instance.*" snapshots resources whose asset type contains "Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported asset type, an INVALID_ARGUMENT error will be returned. If specified, only matching assets will be returned, otherwise, it will snapshot all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types.
repeated string asset_types = 3;- Parameters:
value- The bytes of the assetTypes to add.- Returns:
- This builder for chaining.
-
getContentTypeValue
public int getContentTypeValue()Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;- Specified by:
getContentTypeValuein interfaceExportAssetsRequestOrBuilder- Returns:
- The enum numeric value on the wire for contentType.
-
setContentTypeValue
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;- Parameters:
value- The enum numeric value on the wire for contentType to set.- Returns:
- This builder for chaining.
-
getContentType
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;- Specified by:
getContentTypein interfaceExportAssetsRequestOrBuilder- Returns:
- The contentType.
-
setContentType
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;- Parameters:
value- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
Asset content type. If not specified, no content but the asset name will be returned.
.google.cloud.asset.v1.ContentType content_type = 4;- Returns:
- This builder for chaining.
-
hasOutputConfig
public boolean hasOutputConfig()Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasOutputConfigin interfaceExportAssetsRequestOrBuilder- Returns:
- Whether the outputConfig field is set.
-
getOutputConfig
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOutputConfigin interfaceExportAssetsRequestOrBuilder- Returns:
- The outputConfig.
-
setOutputConfig
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
setOutputConfig
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
mergeOutputConfig
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
clearOutputConfig
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
getOutputConfigBuilder
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
getOutputConfigOrBuilder
Required. Output configuration indicating where the results will be output to.
.google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOutputConfigOrBuilderin interfaceExportAssetsRequestOrBuilder
-
getRelationshipTypesList
public com.google.protobuf.ProtocolStringList getRelationshipTypesList()A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Specified by:
getRelationshipTypesListin interfaceExportAssetsRequestOrBuilder- Returns:
- A list containing the relationshipTypes.
-
getRelationshipTypesCount
public int getRelationshipTypesCount()A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Specified by:
getRelationshipTypesCountin interfaceExportAssetsRequestOrBuilder- Returns:
- The count of relationshipTypes.
-
getRelationshipTypes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Specified by:
getRelationshipTypesin interfaceExportAssetsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The relationshipTypes at the given index.
-
getRelationshipTypesBytes
public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Specified by:
getRelationshipTypesBytesin interfaceExportAssetsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the relationshipTypes at the given index.
-
setRelationshipTypes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Parameters:
index- The index to set the value at.value- The relationshipTypes to set.- Returns:
- This builder for chaining.
-
addRelationshipTypes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Parameters:
value- The relationshipTypes to add.- Returns:
- This builder for chaining.
-
addAllRelationshipTypes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Parameters:
values- The relationshipTypes to add.- Returns:
- This builder for chaining.
-
clearRelationshipTypes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Returns:
- This builder for chaining.
-
addRelationshipTypesBytes
A list of relationship types to export, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it snapshots specified relationships. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_types] or if any of the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it snapshots the supported relationships for all [asset_types] or returns an error if any of the [asset_types] has no relationship support. An unspecified asset types field means all supported asset_types. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
repeated string relationship_types = 6;- Parameters:
value- The bytes of the relationshipTypes to add.- Returns:
- This builder for chaining.
-