Class DataProduct.Builder

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

public static final class DataProduct.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataProduct.Builder> implements DataProductOrBuilder
 A data product is a curated collection of data assets, packaged to address
 specific use cases. It's a way to manage and share data in a more organized,
 product-like manner.
 
Protobuf type google.cloud.dataplex.v1.DataProduct
  • 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<DataProduct.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public DataProduct.Builder mergeFrom(DataProduct other)
    • isInitialized

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

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

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

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

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

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

      public DataProduct.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Resource name of the data product.
       Format:
       `projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_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 unique ID for the data product.
       This ID will be different if the data product 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 DataProductOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. System generated unique ID for the data product.
       This ID will be different if the data product 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 DataProductOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public DataProduct.Builder setUid(String value)
       Output only. System generated unique ID for the data product.
       This ID will be different if the data product 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 DataProduct.Builder clearUid()
       Output only. System generated unique ID for the data product.
       This ID will be different if the data product 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 DataProduct.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. System generated unique ID for the data product.
       This ID will be different if the data product 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.
    • getDisplayName

      public String getDisplayName()
       Required. User-friendly display name of the data product.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface DataProductOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. User-friendly display name of the data product.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface DataProductOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DataProduct.Builder setDisplayName(String value)
       Required. User-friendly display name of the data product.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DataProduct.Builder clearDisplayName()
       Required. User-friendly display name of the data product.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DataProduct.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. User-friendly display name of the data product.
       
      string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the data product was last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataProductOrBuilder
    • 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtag in interface DataProductOrBuilder
      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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEtagBytes in interface DataProductOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DataProduct.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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DataProduct.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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DataProduct.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 = 6 [(.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: DataProductOrBuilder
       Optional. User-defined labels for the data product.
      
       Example:
       ```
       {
       "environment": "production",
       "billing": "marketing-department"
       }
       ```
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DataProductOrBuilder
    • containsLabels

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

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

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

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

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

      public DataProduct.Builder clearLabels()
    • removeLabels

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

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

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

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

      public String getDescription()
       Optional. Description of the data product.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DataProductOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the data product.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DataProductOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DataProduct.Builder setDescription(String value)
       Optional. Description of the data product.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DataProduct.Builder clearDescription()
       Optional. Description of the data product.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DataProduct.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the data product.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getIcon

      public com.google.protobuf.ByteString getIcon()
       Optional. Base64 encoded image representing the data product. Max
       Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API
       only performs validation on size of the encoded data. Note: For byte
       fields, the content of the fields are base64-encoded (which increases the
       size of the data by 33-36%) when using JSON on the wire.
       
      bytes icon = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIcon in interface DataProductOrBuilder
      Returns:
      The icon.
    • setIcon

      public DataProduct.Builder setIcon(com.google.protobuf.ByteString value)
       Optional. Base64 encoded image representing the data product. Max
       Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API
       only performs validation on size of the encoded data. Note: For byte
       fields, the content of the fields are base64-encoded (which increases the
       size of the data by 33-36%) when using JSON on the wire.
       
      bytes icon = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The icon to set.
      Returns:
      This builder for chaining.
    • clearIcon

      public DataProduct.Builder clearIcon()
       Optional. Base64 encoded image representing the data product. Max
       Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API
       only performs validation on size of the encoded data. Note: For byte
       fields, the content of the fields are base64-encoded (which increases the
       size of the data by 33-36%) when using JSON on the wire.
       
      bytes icon = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getOwnerEmailsList

      public com.google.protobuf.ProtocolStringList getOwnerEmailsList()
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOwnerEmailsList in interface DataProductOrBuilder
      Returns:
      A list containing the ownerEmails.
    • getOwnerEmailsCount

      public int getOwnerEmailsCount()
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOwnerEmailsCount in interface DataProductOrBuilder
      Returns:
      The count of ownerEmails.
    • getOwnerEmails

      public String getOwnerEmails(int index)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOwnerEmails in interface DataProductOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ownerEmails at the given index.
    • getOwnerEmailsBytes

      public com.google.protobuf.ByteString getOwnerEmailsBytes(int index)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOwnerEmailsBytes in interface DataProductOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ownerEmails at the given index.
    • setOwnerEmails

      public DataProduct.Builder setOwnerEmails(int index, String value)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The ownerEmails to set.
      Returns:
      This builder for chaining.
    • addOwnerEmails

      public DataProduct.Builder addOwnerEmails(String value)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The ownerEmails to add.
      Returns:
      This builder for chaining.
    • addAllOwnerEmails

      public DataProduct.Builder addAllOwnerEmails(Iterable<String> values)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The ownerEmails to add.
      Returns:
      This builder for chaining.
    • clearOwnerEmails

      public DataProduct.Builder clearOwnerEmails()
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addOwnerEmailsBytes

      public DataProduct.Builder addOwnerEmailsBytes(com.google.protobuf.ByteString value)
       Required. Emails of the data product owners.
       
      repeated string owner_emails = 11 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the ownerEmails to add.
      Returns:
      This builder for chaining.
    • getAssetCount

      public int getAssetCount()
       Output only. Number of data assets associated with this data product.
       
      int32 asset_count = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAssetCount in interface DataProductOrBuilder
      Returns:
      The assetCount.
    • setAssetCount

      public DataProduct.Builder setAssetCount(int value)
       Output only. Number of data assets associated with this data product.
       
      int32 asset_count = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The assetCount to set.
      Returns:
      This builder for chaining.
    • clearAssetCount

      public DataProduct.Builder clearAssetCount()
       Output only. Number of data assets associated with this data product.
       
      int32 asset_count = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getAccessGroupsCount

      public int getAccessGroupsCount()
      Description copied from interface: DataProductOrBuilder
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupsCount in interface DataProductOrBuilder
    • containsAccessGroups

      public boolean containsAccessGroups(String key)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAccessGroups in interface DataProductOrBuilder
    • getAccessGroups

      @Deprecated public Map<String,DataProduct.AccessGroup> getAccessGroups()
      Deprecated.
      Specified by:
      getAccessGroups in interface DataProductOrBuilder
    • getAccessGroupsMap

      public Map<String,DataProduct.AccessGroup> getAccessGroupsMap()
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupsMap in interface DataProductOrBuilder
    • getAccessGroupsOrDefault

      public DataProduct.AccessGroup getAccessGroupsOrDefault(String key, DataProduct.AccessGroup defaultValue)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupsOrDefault in interface DataProductOrBuilder
    • getAccessGroupsOrThrow

      public DataProduct.AccessGroup getAccessGroupsOrThrow(String key)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessGroupsOrThrow in interface DataProductOrBuilder
    • clearAccessGroups

      public DataProduct.Builder clearAccessGroups()
    • removeAccessGroups

      public DataProduct.Builder removeAccessGroups(String key)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAccessGroups

      @Deprecated public Map<String,DataProduct.AccessGroup> getMutableAccessGroups()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAccessGroups

      public DataProduct.Builder putAccessGroups(String key, DataProduct.AccessGroup value)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAccessGroups

      public DataProduct.Builder putAllAccessGroups(Map<String,DataProduct.AccessGroup> values)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];
    • putAccessGroupsBuilderIfAbsent

      public DataProduct.AccessGroup.Builder putAccessGroupsBuilderIfAbsent(String key)
       Optional. Data product access groups by access group id as key.
       If data product is used only for packaging data assets, then access groups
       may be empty. However, if a data product is used for sharing data assets,
       then at least one access group must be specified.
      
       Example:
       ```
       {
       "analyst": {
       "id": "analyst",
       "displayName": "Analyst",
       "description": "Access group for analysts",
       "principal": {
       "googleGroup": "analysts@example.com"
       }
       }
       }
       ```
       
      map<string, .google.cloud.dataplex.v1.DataProduct.AccessGroup> access_groups = 14 [(.google.api.field_behavior) = OPTIONAL];