Class Asset.Builder

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

public static final class Asset.Builder extends com.google.protobuf.GeneratedMessage.Builder<Asset.Builder> implements AssetOrBuilder
 An asset represents a cloud resource that is being managed within a lake as a
 member of a zone.
 
Protobuf type google.cloud.dataplex.v1.Asset
  • 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<Asset.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public Asset.Builder mergeFrom(Asset other)
    • isInitialized

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

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

      public String getName()
       Output only. The relative resource name of the asset, of the form:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface AssetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The relative resource name of the asset, of the form:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface AssetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Asset.Builder setName(String value)
       Output only. The relative resource name of the asset, of the form:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_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 Asset.Builder clearName()
       Output only. The relative resource name of the asset, of the form:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public Asset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The relative resource name of the asset, of the form:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_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.
    • getDisplayName

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

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

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

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

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

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

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

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

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

      public Asset.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. System generated globally unique ID for the asset. This ID
       will be different if the asset is deleted and re-created with the same
       name.
       
      string uid = 3 [(.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 asset was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AssetOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Asset.Builder clearLabels()
    • removeLabels

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

      public Asset.Builder putAllLabels(Map<String,String> values)
       Optional. User defined labels for the asset.
       
      map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getDescription

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

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

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

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

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

      public int getStateValue()
       Output only. Current state of the asset.
       
      .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface AssetOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Asset.Builder setStateValue(int value)
       Output only. Current state of the asset.
       
      .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public State getState()
       Output only. Current state of the asset.
       
      .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface AssetOrBuilder
      Returns:
      The state.
    • setState

      public Asset.Builder setState(State value)
       Output only. Current state of the asset.
       
      .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Asset.Builder clearState()
       Output only. Current state of the asset.
       
      .google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasResourceSpec

      public boolean hasResourceSpec()
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasResourceSpec in interface AssetOrBuilder
      Returns:
      Whether the resourceSpec field is set.
    • getResourceSpec

      public Asset.ResourceSpec getResourceSpec()
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceSpec in interface AssetOrBuilder
      Returns:
      The resourceSpec.
    • setResourceSpec

      public Asset.Builder setResourceSpec(Asset.ResourceSpec value)
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
    • setResourceSpec

      public Asset.Builder setResourceSpec(Asset.ResourceSpec.Builder builderForValue)
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
    • mergeResourceSpec

      public Asset.Builder mergeResourceSpec(Asset.ResourceSpec value)
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
    • clearResourceSpec

      public Asset.Builder clearResourceSpec()
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
    • getResourceSpecBuilder

      public Asset.ResourceSpec.Builder getResourceSpecBuilder()
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
    • getResourceSpecOrBuilder

      public Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder()
       Required. Specification of the resource that is referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceSpecOrBuilder in interface AssetOrBuilder
    • hasResourceStatus

      public boolean hasResourceStatus()
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasResourceStatus in interface AssetOrBuilder
      Returns:
      Whether the resourceStatus field is set.
    • getResourceStatus

      public Asset.ResourceStatus getResourceStatus()
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceStatus in interface AssetOrBuilder
      Returns:
      The resourceStatus.
    • setResourceStatus

      public Asset.Builder setResourceStatus(Asset.ResourceStatus value)
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setResourceStatus

      public Asset.Builder setResourceStatus(Asset.ResourceStatus.Builder builderForValue)
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeResourceStatus

      public Asset.Builder mergeResourceStatus(Asset.ResourceStatus value)
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearResourceStatus

      public Asset.Builder clearResourceStatus()
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceStatusBuilder

      public Asset.ResourceStatus.Builder getResourceStatusBuilder()
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceStatusOrBuilder

      public Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder()
       Output only. Status of the resource referenced by this asset.
       
      .google.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceStatusOrBuilder in interface AssetOrBuilder
    • hasSecurityStatus

      public boolean hasSecurityStatus()
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSecurityStatus in interface AssetOrBuilder
      Returns:
      Whether the securityStatus field is set.
    • getSecurityStatus

      public Asset.SecurityStatus getSecurityStatus()
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSecurityStatus in interface AssetOrBuilder
      Returns:
      The securityStatus.
    • setSecurityStatus

      public Asset.Builder setSecurityStatus(Asset.SecurityStatus value)
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSecurityStatus

      public Asset.Builder setSecurityStatus(Asset.SecurityStatus.Builder builderForValue)
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeSecurityStatus

      public Asset.Builder mergeSecurityStatus(Asset.SecurityStatus value)
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSecurityStatus

      public Asset.Builder clearSecurityStatus()
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSecurityStatusBuilder

      public Asset.SecurityStatus.Builder getSecurityStatusBuilder()
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSecurityStatusOrBuilder

      public Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder()
       Output only. Status of the security policy applied to resource referenced
       by this asset.
       
      .google.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSecurityStatusOrBuilder in interface AssetOrBuilder
    • hasDiscoverySpec

      public boolean hasDiscoverySpec()
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDiscoverySpec in interface AssetOrBuilder
      Returns:
      Whether the discoverySpec field is set.
    • getDiscoverySpec

      public Asset.DiscoverySpec getDiscoverySpec()
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDiscoverySpec in interface AssetOrBuilder
      Returns:
      The discoverySpec.
    • setDiscoverySpec

      public Asset.Builder setDiscoverySpec(Asset.DiscoverySpec value)
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
    • setDiscoverySpec

      public Asset.Builder setDiscoverySpec(Asset.DiscoverySpec.Builder builderForValue)
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDiscoverySpec

      public Asset.Builder mergeDiscoverySpec(Asset.DiscoverySpec value)
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
    • clearDiscoverySpec

      public Asset.Builder clearDiscoverySpec()
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
    • getDiscoverySpecBuilder

      public Asset.DiscoverySpec.Builder getDiscoverySpecBuilder()
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
    • getDiscoverySpecOrBuilder

      public Asset.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder()
       Optional. Specification of the discovery feature applied to data referenced
       by this asset. When this spec is left unset, the asset will use the spec
       set on the parent zone.
       
      .google.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDiscoverySpecOrBuilder in interface AssetOrBuilder
    • hasDiscoveryStatus

      public boolean hasDiscoveryStatus()
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDiscoveryStatus in interface AssetOrBuilder
      Returns:
      Whether the discoveryStatus field is set.
    • getDiscoveryStatus

      public Asset.DiscoveryStatus getDiscoveryStatus()
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryStatus in interface AssetOrBuilder
      Returns:
      The discoveryStatus.
    • setDiscoveryStatus

      public Asset.Builder setDiscoveryStatus(Asset.DiscoveryStatus value)
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDiscoveryStatus

      public Asset.Builder setDiscoveryStatus(Asset.DiscoveryStatus.Builder builderForValue)
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDiscoveryStatus

      public Asset.Builder mergeDiscoveryStatus(Asset.DiscoveryStatus value)
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDiscoveryStatus

      public Asset.Builder clearDiscoveryStatus()
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDiscoveryStatusBuilder

      public Asset.DiscoveryStatus.Builder getDiscoveryStatusBuilder()
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDiscoveryStatusOrBuilder

      public Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder()
       Output only. Status of the discovery feature applied to data referenced by
       this asset.
       
      .google.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDiscoveryStatusOrBuilder in interface AssetOrBuilder