Class ExportAssetsRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • clear

        public ExportAssetsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • getDefaultInstanceForType

        public ExportAssetsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ExportAssetsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ExportAssetsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ExportAssetsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • setField

        public ExportAssetsRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • clearField

        public ExportAssetsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • clearOneof

        public ExportAssetsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • setRepeatedField

        public ExportAssetsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • addRepeatedField

        public ExportAssetsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • mergeFrom

        public ExportAssetsRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportAssetsRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • mergeFrom

        public ExportAssetsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportAssetsRequest.Builder>
        Throws:
        IOException
      • getParent

        public 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"),
         or a folder number (such as "folders/123").
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ExportAssetsRequestOrBuilder
        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:
        getParentBytes in interface ExportAssetsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public 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"),
         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

        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"),
         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

        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"),
         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:
        hasReadTime in interface ExportAssetsRequestOrBuilder
        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:
        getReadTime in interface ExportAssetsRequestOrBuilder
        Returns:
        The readTime.
      • setReadTime

        public ExportAssetsRequest.Builder setReadTime​(com.google.protobuf.Timestamp value)
         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

        public ExportAssetsRequest.Builder mergeReadTime​(com.google.protobuf.Timestamp value)
         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

        public ExportAssetsRequest.Builder 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:
        getReadTimeOrBuilder in interface ExportAssetsRequestOrBuilder
      • 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:
        getAssetTypesList in interface ExportAssetsRequestOrBuilder
        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:
        getAssetTypesCount in interface ExportAssetsRequestOrBuilder
        Returns:
        The count of assetTypes.
      • getAssetTypes

        public String getAssetTypes​(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:
        getAssetTypes in interface ExportAssetsRequestOrBuilder
        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:
        getAssetTypesBytes in interface ExportAssetsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the assetTypes at the given index.
      • setAssetTypes

        public ExportAssetsRequest.Builder setAssetTypes​(int index,
                                                         String value)
         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

        public ExportAssetsRequest.Builder addAssetTypes​(String value)
         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

        public ExportAssetsRequest.Builder addAllAssetTypes​(Iterable<String> values)
         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

        public ExportAssetsRequest.Builder 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

        public ExportAssetsRequest.Builder addAssetTypesBytes​(com.google.protobuf.ByteString value)
         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.v1p7beta1.ContentType content_type = 4;
        Specified by:
        getContentTypeValue in interface ExportAssetsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for contentType.
      • setContentTypeValue

        public ExportAssetsRequest.Builder setContentTypeValue​(int value)
         Asset content type. If not specified, no content but the asset name will be
         returned.
         
        .google.cloud.asset.v1p7beta1.ContentType content_type = 4;
        Parameters:
        value - The enum numeric value on the wire for contentType to set.
        Returns:
        This builder for chaining.
      • getContentType

        public ContentType getContentType()
         Asset content type. If not specified, no content but the asset name will be
         returned.
         
        .google.cloud.asset.v1p7beta1.ContentType content_type = 4;
        Specified by:
        getContentType in interface ExportAssetsRequestOrBuilder
        Returns:
        The contentType.
      • setContentType

        public ExportAssetsRequest.Builder setContentType​(ContentType value)
         Asset content type. If not specified, no content but the asset name will be
         returned.
         
        .google.cloud.asset.v1p7beta1.ContentType content_type = 4;
        Parameters:
        value - The contentType to set.
        Returns:
        This builder for chaining.
      • clearContentType

        public ExportAssetsRequest.Builder clearContentType()
         Asset content type. If not specified, no content but the asset name will be
         returned.
         
        .google.cloud.asset.v1p7beta1.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.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasOutputConfig in interface ExportAssetsRequestOrBuilder
        Returns:
        Whether the outputConfig field is set.
      • getOutputConfig

        public OutputConfig getOutputConfig()
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOutputConfig in interface ExportAssetsRequestOrBuilder
        Returns:
        The outputConfig.
      • setOutputConfig

        public ExportAssetsRequest.Builder setOutputConfig​(OutputConfig value)
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
      • setOutputConfig

        public ExportAssetsRequest.Builder setOutputConfig​(OutputConfig.Builder builderForValue)
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
      • mergeOutputConfig

        public ExportAssetsRequest.Builder mergeOutputConfig​(OutputConfig value)
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
      • clearOutputConfig

        public ExportAssetsRequest.Builder clearOutputConfig()
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
      • getOutputConfigBuilder

        public OutputConfig.Builder getOutputConfigBuilder()
         Required. Output configuration indicating where the results will be output
         to.
         
        .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
      • 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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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:
        getRelationshipTypesList in interface ExportAssetsRequestOrBuilder
        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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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:
        getRelationshipTypesCount in interface ExportAssetsRequestOrBuilder
        Returns:
        The count of relationshipTypes.
      • getRelationshipTypes

        public String getRelationshipTypes​(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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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:
        getRelationshipTypes in interface ExportAssetsRequestOrBuilder
        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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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:
        getRelationshipTypesBytes in interface ExportAssetsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the relationshipTypes at the given index.
      • setRelationshipTypes

        public ExportAssetsRequest.Builder setRelationshipTypes​(int index,
                                                                String value)
         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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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

        public ExportAssetsRequest.Builder addRelationshipTypes​(String value)
         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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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

        public ExportAssetsRequest.Builder addAllRelationshipTypes​(Iterable<String> values)
         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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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

        public ExportAssetsRequest.Builder 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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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

        public ExportAssetsRequest.Builder addRelationshipTypesBytes​(com.google.protobuf.ByteString value)
         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 will snapshot [asset_types]'
         specified relationships, or give errors if any relationship_types'
         supported types are not in [asset_types]. If not specified, it will
         snapshot all [asset_types]' supported relationships. 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.
      • setUnknownFields

        public final ExportAssetsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>
      • mergeUnknownFields

        public final ExportAssetsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAssetsRequest.Builder>