Class DataAttributeBinding.Builder

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

public static final class DataAttributeBinding.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataAttributeBinding.Builder> implements DataAttributeBindingOrBuilder
 DataAttributeBinding represents binding of attributes to resources. Eg: Bind
 'CustomerInfo' entity with 'PII' attribute.
 
Protobuf type google.cloud.dataplex.v1.DataAttributeBinding
  • 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<DataAttributeBinding.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataAttributeBinding.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<DataAttributeBinding.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<DataAttributeBinding.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public DataAttributeBinding.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<DataAttributeBinding.Builder>
      Throws:
      IOException
    • getResourceReferenceCase

      public DataAttributeBinding.ResourceReferenceCase getResourceReferenceCase()
      Specified by:
      getResourceReferenceCase in interface DataAttributeBindingOrBuilder
    • clearResourceReference

      public DataAttributeBinding.Builder clearResourceReference()
    • getName

      public String getName()
       Output only. The relative resource name of the Data Attribute Binding, of
       the form:
       projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DataAttributeBindingOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The relative resource name of the Data Attribute Binding, of
       the form:
       projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DataAttributeBindingOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DataAttributeBinding.Builder setName(String value)
       Output only. The relative resource name of the Data Attribute Binding, of
       the form:
       projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DataAttributeBinding.Builder clearName()
       Output only. The relative resource name of the Data Attribute Binding, of
       the form:
       projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DataAttributeBinding.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The relative resource name of the Data Attribute Binding, of
       the form:
       projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      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
       DataAttributeBinding. This ID will be different if the DataAttributeBinding
       is deleted and re-created with the same name.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface DataAttributeBindingOrBuilder
      Returns:
      The uid.
    • getUidBytes

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

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

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

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

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

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

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

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

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

      public DataAttributeBinding.Builder clearCreateTime()
       Output only. The time when the DataAttributeBinding 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 when the DataAttributeBinding 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 when the DataAttributeBinding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DataAttributeBindingOrBuilder
    • hasUpdateTime

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

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

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

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

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

      public DataAttributeBinding.Builder clearUpdateTime()
       Output only. The time when the DataAttributeBinding 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 when the DataAttributeBinding 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 when the DataAttributeBinding was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataAttributeBindingOrBuilder
    • getDescription

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

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

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

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

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

      public String getDisplayName()
       Optional. User friendly display name.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface DataAttributeBindingOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. User friendly display name.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface DataAttributeBindingOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public DataAttributeBinding.Builder setDisplayName(String value)
       Optional. User friendly display name.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public DataAttributeBinding.Builder clearDisplayName()
       Optional. User friendly display name.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public DataAttributeBinding.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. User friendly display name.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DataAttributeBindingOrBuilder
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DataAttributeBindingOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface DataAttributeBindingOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface DataAttributeBindingOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface DataAttributeBindingOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface DataAttributeBindingOrBuilder
    • clearLabels

      public DataAttributeBinding.Builder clearLabels()
    • removeLabels

      public DataAttributeBinding.Builder removeLabels(String key)
       Optional. User-defined labels for the DataAttributeBinding.
       
      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 DataAttributeBinding.Builder putLabels(String key, String value)
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public DataAttributeBinding.Builder putAllLabels(Map<String,String> values)
       Optional. User-defined labels for the DataAttributeBinding.
       
      map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getEtag

      public String getEtag()
       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.
       Etags must be used when calling the DeleteDataAttributeBinding and the
       UpdateDataAttributeBinding method.
       
      string etag = 8;
      Specified by:
      getEtag in interface DataAttributeBindingOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       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.
       Etags must be used when calling the DeleteDataAttributeBinding and the
       UpdateDataAttributeBinding method.
       
      string etag = 8;
      Specified by:
      getEtagBytes in interface DataAttributeBindingOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DataAttributeBinding.Builder setEtag(String value)
       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.
       Etags must be used when calling the DeleteDataAttributeBinding and the
       UpdateDataAttributeBinding method.
       
      string etag = 8;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DataAttributeBinding.Builder clearEtag()
       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.
       Etags must be used when calling the DeleteDataAttributeBinding and the
       UpdateDataAttributeBinding method.
       
      string etag = 8;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DataAttributeBinding.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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.
       Etags must be used when calling the DeleteDataAttributeBinding and the
       UpdateDataAttributeBinding method.
       
      string etag = 8;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • hasResource

      public boolean hasResource()
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasResource in interface DataAttributeBindingOrBuilder
      Returns:
      Whether the resource field is set.
    • getResource

      public String getResource()
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getResource in interface DataAttributeBindingOrBuilder
      Returns:
      The resource.
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getResourceBytes in interface DataAttributeBindingOrBuilder
      Returns:
      The bytes for resource.
    • setResource

      public DataAttributeBinding.Builder setResource(String value)
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The resource to set.
      Returns:
      This builder for chaining.
    • clearResource

      public DataAttributeBinding.Builder clearResource()
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setResourceBytes

      public DataAttributeBinding.Builder setResourceBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. The resource name of the resource that is associated
       to attributes. Presently, only entity resource is supported in the form:
       projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id}
       Must belong in the same project and region as the attribute binding, and
       there can only exist one active binding for a resource.
       
      string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for resource to set.
      Returns:
      This builder for chaining.
    • getAttributesList

      public com.google.protobuf.ProtocolStringList getAttributesList()
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttributesList in interface DataAttributeBindingOrBuilder
      Returns:
      A list containing the attributes.
    • getAttributesCount

      public int getAttributesCount()
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttributesCount in interface DataAttributeBindingOrBuilder
      Returns:
      The count of attributes.
    • getAttributes

      public String getAttributes(int index)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttributes in interface DataAttributeBindingOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The attributes at the given index.
    • getAttributesBytes

      public com.google.protobuf.ByteString getAttributesBytes(int index)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAttributesBytes in interface DataAttributeBindingOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the attributes at the given index.
    • setAttributes

      public DataAttributeBinding.Builder setAttributes(int index, String value)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The attributes to set.
      Returns:
      This builder for chaining.
    • addAttributes

      public DataAttributeBinding.Builder addAttributes(String value)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The attributes to add.
      Returns:
      This builder for chaining.
    • addAllAttributes

      public DataAttributeBinding.Builder addAllAttributes(Iterable<String> values)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The attributes to add.
      Returns:
      This builder for chaining.
    • clearAttributes

      public DataAttributeBinding.Builder clearAttributes()
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addAttributesBytes

      public DataAttributeBinding.Builder addAttributesBytes(com.google.protobuf.ByteString value)
       Optional. List of attributes to be associated with the resource, provided
       in the form:
       projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
       
      repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the attributes to add.
      Returns:
      This builder for chaining.
    • getPathsList

      public List<DataAttributeBinding.Path> getPathsList()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathsList in interface DataAttributeBindingOrBuilder
    • getPathsCount

      public int getPathsCount()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathsCount in interface DataAttributeBindingOrBuilder
    • getPaths

      public DataAttributeBinding.Path getPaths(int index)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPaths in interface DataAttributeBindingOrBuilder
    • setPaths

      public DataAttributeBinding.Builder setPaths(int index, DataAttributeBinding.Path value)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • setPaths

      public DataAttributeBinding.Builder setPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addPaths

       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addPaths

      public DataAttributeBinding.Builder addPaths(int index, DataAttributeBinding.Path value)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addPaths

       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addPaths

      public DataAttributeBinding.Builder addPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPaths

      public DataAttributeBinding.Builder addAllPaths(Iterable<? extends DataAttributeBinding.Path> values)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • clearPaths

      public DataAttributeBinding.Builder clearPaths()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • removePaths

      public DataAttributeBinding.Builder removePaths(int index)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsBuilder

      public DataAttributeBinding.Path.Builder getPathsBuilder(int index)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsOrBuilder

      public DataAttributeBinding.PathOrBuilder getPathsOrBuilder(int index)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathsOrBuilder in interface DataAttributeBindingOrBuilder
    • getPathsOrBuilderList

      public List<? extends DataAttributeBinding.PathOrBuilder> getPathsOrBuilderList()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPathsOrBuilderList in interface DataAttributeBindingOrBuilder
    • addPathsBuilder

      public DataAttributeBinding.Path.Builder addPathsBuilder()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • addPathsBuilder

      public DataAttributeBinding.Path.Builder addPathsBuilder(int index)
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsBuilderList

      public List<DataAttributeBinding.Path.Builder> getPathsBuilderList()
       Optional. The list of paths for items within the associated resource (eg.
       columns and partitions within a table) along with attribute bindings.
       
      repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];