Package com.google.cloud.dataplex.v1
Interface AssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset
,Asset.Builder
public interface AssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.Asset.DiscoverySpec
getDiscoverySpec()
Optional.Asset.DiscoverySpecOrBuilder
getDiscoverySpecOrBuilder()
Optional.Asset.DiscoveryStatus
getDiscoveryStatus()
Output only.Asset.DiscoveryStatusOrBuilder
getDiscoveryStatusOrBuilder()
Output only.String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Asset.ResourceSpec
getResourceSpec()
Required.Asset.ResourceSpecOrBuilder
getResourceSpecOrBuilder()
Required.Asset.ResourceStatus
getResourceStatus()
Output only.Asset.ResourceStatusOrBuilder
getResourceStatusOrBuilder()
Output only.Asset.SecurityStatus
getSecurityStatus()
Output only.Asset.SecurityStatusOrBuilder
getSecurityStatusOrBuilder()
Output only.State
getState()
Output only.int
getStateValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDiscoverySpec()
Optional.boolean
hasDiscoveryStatus()
Output only.boolean
hasResourceSpec()
Required.boolean
hasResourceStatus()
Output only.boolean
hasSecurityStatus()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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) = { ... }
- Returns:
- The name.
-
getNameBytes
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) = { ... }
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for displayName.
-
getUid
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];
- Returns:
- The uid.
-
getUidBytes
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];
- Returns:
- The bytes for uid.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getLabelsCount
int getLabelsCount()
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
boolean containsLabels(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getDescription
String getDescription()
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
getStateValue
int getStateValue()
Output only. Current state of the asset.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
State getState()
Output only. Current state of the asset.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
hasResourceSpec
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];
- Returns:
- Whether the resourceSpec field is set.
-
getResourceSpec
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];
- Returns:
- The resourceSpec.
-
getResourceSpecOrBuilder
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];
-
hasResourceStatus
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];
- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
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];
- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
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];
-
hasSecurityStatus
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];
- Returns:
- Whether the securityStatus field is set.
-
getSecurityStatus
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];
- Returns:
- The securityStatus.
-
getSecurityStatusOrBuilder
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];
-
hasDiscoverySpec
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];
- Returns:
- Whether the discoverySpec field is set.
-
getDiscoverySpec
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];
- Returns:
- The discoverySpec.
-
getDiscoverySpecOrBuilder
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];
-
hasDiscoveryStatus
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];
- Returns:
- Whether the discoveryStatus field is set.
-
getDiscoveryStatus
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];
- Returns:
- The discoveryStatus.
-
getDiscoveryStatusOrBuilder
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];
-
-