Class DataAsset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataAsset.Builder>
com.google.cloud.dataplex.v1.DataAsset.Builder
All Implemented Interfaces:
DataAssetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataAsset

public static final class DataAsset.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataAsset.Builder> implements DataAssetOrBuilder
 Represents a data asset resource that can be packaged and shared via a data
 product.
 
Protobuf type google.cloud.dataplex.v1.DataAsset
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DataAsset.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DataAsset.Builder>
    • internalGetFieldAccessorTable

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

      public DataAsset.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.GeneratedMessage.Builder<DataAsset.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.GeneratedMessage.Builder<DataAsset.Builder>
    • getDefaultInstanceForType

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

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

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

      public DataAsset.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<DataAsset.Builder>
    • mergeFrom

      public DataAsset.Builder mergeFrom(DataAsset other)
    • isInitialized

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

      public DataAsset.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<DataAsset.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Resource name of the data asset.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DataAssetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Resource name of the data asset.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DataAssetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DataAsset.Builder setName(String value)
       Identifier. Resource name of the data asset.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DataAsset.Builder clearName()
       Identifier. Resource name of the data asset.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataAsset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Resource name of the data asset.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUid

      public String getUid()
       Output only. System generated globally unique ID for the data asset.
       This ID will be different if the data asset is deleted and re-created
       with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface DataAssetOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. System generated globally unique ID for the data asset.
       This ID will be different if the data asset is deleted and re-created
       with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface DataAssetOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public DataAsset.Builder setUid(String value)
       Output only. System generated globally unique ID for the data asset.
       This ID will be different if the data asset is deleted and re-created
       with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public DataAsset.Builder clearUid()
       Output only. System generated globally unique ID for the data asset.
       This ID will be different if the data asset is deleted and re-created
       with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setUidBytes

      public DataAsset.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. System generated globally unique ID for the data asset.
       This ID will be different if the data asset is deleted and re-created
       with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DataAssetOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DataAssetOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DataAsset.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public DataAsset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public DataAsset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DataAsset.Builder clearCreateTime()
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the data asset was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DataAssetOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DataAssetOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DataAssetOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DataAsset.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public DataAsset.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public DataAsset.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public DataAsset.Builder clearUpdateTime()
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the data asset was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataAssetOrBuilder
    • getEtag

      public String getEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface DataAssetOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface DataAssetOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DataAsset.Builder setEtag(String value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DataAsset.Builder clearEtag()
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DataAsset.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Optional. This checksum is computed by the server based on the value of
       other fields, and may be sent on update and delete requests to ensure the
       client has an up-to-date value before proceeding.
       
      string etag = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DataAssetOrBuilder
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DataAssetOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface DataAssetOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DataAssetOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface DataAssetOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface DataAssetOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface DataAssetOrBuilder
    • clearLabels

      public DataAsset.Builder clearLabels()
    • removeLabels

      public DataAsset.Builder removeLabels(String key)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public DataAsset.Builder putLabels(String key, String value)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public DataAsset.Builder putAllLabels(Map<String,String> values)
       Optional. User-defined labels for the data asset.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getResource

      public String getResource()
       Required. Immutable. Full resource name of the cloud resource represented
       by the data asset. This must follow
       https://cloud.google.com/iam/docs/full-resource-names. Example:
       `//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
       Only BigQuery tables and datasets are currently supported.
       Data asset creator must have getIamPolicy and setIamPolicy permissions on
       the resource. Data asset creator must also have resource specific get
       permission, for instance, bigquery.tables.get for BigQuery tables.
       
      string resource = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResource in interface DataAssetOrBuilder
      Returns:
      The resource.
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       Required. Immutable. Full resource name of the cloud resource represented
       by the data asset. This must follow
       https://cloud.google.com/iam/docs/full-resource-names. Example:
       `//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
       Only BigQuery tables and datasets are currently supported.
       Data asset creator must have getIamPolicy and setIamPolicy permissions on
       the resource. Data asset creator must also have resource specific get
       permission, for instance, bigquery.tables.get for BigQuery tables.
       
      string resource = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceBytes in interface DataAssetOrBuilder
      Returns:
      The bytes for resource.
    • setResource

      public DataAsset.Builder setResource(String value)
       Required. Immutable. Full resource name of the cloud resource represented
       by the data asset. This must follow
       https://cloud.google.com/iam/docs/full-resource-names. Example:
       `//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
       Only BigQuery tables and datasets are currently supported.
       Data asset creator must have getIamPolicy and setIamPolicy permissions on
       the resource. Data asset creator must also have resource specific get
       permission, for instance, bigquery.tables.get for BigQuery tables.
       
      string resource = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The resource to set.
      Returns:
      This builder for chaining.
    • clearResource

      public DataAsset.Builder clearResource()
       Required. Immutable. Full resource name of the cloud resource represented
       by the data asset. This must follow
       https://cloud.google.com/iam/docs/full-resource-names. Example:
       `//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
       Only BigQuery tables and datasets are currently supported.
       Data asset creator must have getIamPolicy and setIamPolicy permissions on
       the resource. Data asset creator must also have resource specific get
       permission, for instance, bigquery.tables.get for BigQuery tables.
       
      string resource = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setResourceBytes

      public DataAsset.Builder setResourceBytes(com.google.protobuf.ByteString value)
       Required. Immutable. Full resource name of the cloud resource represented
       by the data asset. This must follow
       https://cloud.google.com/iam/docs/full-resource-names. Example:
       `//bigquery.googleapis.com/projects/my_project_123/datasets/dataset_456/tables/table_789`
       Only BigQuery tables and datasets are currently supported.
       Data asset creator must have getIamPolicy and setIamPolicy permissions on
       the resource. Data asset creator must also have resource specific get
       permission, for instance, bigquery.tables.get for BigQuery tables.
       
      string resource = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for resource to set.
      Returns:
      This builder for chaining.
    • getAccessGroupConfigsCount

      public int getAccessGroupConfigsCount()
      Description copied from interface: DataAssetOrBuilder
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupConfigsCount in interface DataAssetOrBuilder
    • containsAccessGroupConfigs

      public boolean containsAccessGroupConfigs(String key)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAccessGroupConfigs in interface DataAssetOrBuilder
    • getAccessGroupConfigs

      @Deprecated public Map<String,DataAsset.AccessGroupConfig> getAccessGroupConfigs()
      Deprecated.
      Specified by:
      getAccessGroupConfigs in interface DataAssetOrBuilder
    • getAccessGroupConfigsMap

      public Map<String,DataAsset.AccessGroupConfig> getAccessGroupConfigsMap()
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupConfigsMap in interface DataAssetOrBuilder
    • getAccessGroupConfigsOrDefault

      public DataAsset.AccessGroupConfig getAccessGroupConfigsOrDefault(String key, DataAsset.AccessGroupConfig defaultValue)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupConfigsOrDefault in interface DataAssetOrBuilder
    • getAccessGroupConfigsOrThrow

      public DataAsset.AccessGroupConfig getAccessGroupConfigsOrThrow(String key)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupConfigsOrThrow in interface DataAssetOrBuilder
    • clearAccessGroupConfigs

      public DataAsset.Builder clearAccessGroupConfigs()
    • removeAccessGroupConfigs

      public DataAsset.Builder removeAccessGroupConfigs(String key)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAccessGroupConfigs

      @Deprecated public Map<String,DataAsset.AccessGroupConfig> getMutableAccessGroupConfigs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAccessGroupConfigs

      public DataAsset.Builder putAccessGroupConfigs(String key, DataAsset.AccessGroupConfig value)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAccessGroupConfigs

      public DataAsset.Builder putAllAccessGroupConfigs(Map<String,DataAsset.AccessGroupConfig> values)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];
    • putAccessGroupConfigsBuilderIfAbsent

      public DataAsset.AccessGroupConfig.Builder putAccessGroupConfigsBuilderIfAbsent(String key)
       Optional. Access groups configurations for this data asset.
      
       The key is `DataProduct.AccessGroup.id` and the value is
       `AccessGroupConfig`.
      
       Example:
       ```
       {
       "analyst": {
       "iamRoles": ["roles/bigquery.dataViewer"]
       }
       }
       ```
      
       Currently, at most one IAM role is allowed per access group. For providing
       multiple predefined IAM roles, wrap them in a custom IAM role as per
       https://cloud.google.com/iam/docs/creating-custom-roles.
       
      map<string, .google.cloud.dataplex.v1.DataAsset.AccessGroupConfig> access_group_configs = 9 [(.google.api.field_behavior) = OPTIONAL];