public interface AssetOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
Optional. Description of the asset.
string description = 7;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Optional. Description of the asset.
string description = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDiscoverySpec()
public abstract 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.events.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106;
Returns | |
---|---|
Type | Description |
Asset.DiscoverySpec |
The discoverySpec. |
getDiscoverySpecOrBuilder()
public abstract 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.events.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106;
Returns | |
---|---|
Type | Description |
Asset.DiscoverySpecOrBuilder |
getDiscoveryStatus()
public abstract Asset.DiscoveryStatus getDiscoveryStatus()
Output only. Status of the discovery feature applied to data referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107;
Returns | |
---|---|
Type | Description |
Asset.DiscoveryStatus |
The discoveryStatus. |
getDiscoveryStatusOrBuilder()
public abstract Asset.DiscoveryStatusOrBuilder getDiscoveryStatusOrBuilder()
Output only. Status of the discovery feature applied to data referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107;
Returns | |
---|---|
Type | Description |
Asset.DiscoveryStatusOrBuilder |
getDisplayName()
public abstract String getDisplayName()
Optional. User friendly display name.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. User defined labels for the asset.
map<string, string> labels = 6;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. User defined labels for the asset.
map<string, string> labels = 6;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the asset.
map<string, string> labels = 6;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract 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;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getResourceSpec()
public abstract Asset.ResourceSpec getResourceSpec()
Required. Specification of the resource that is referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100;
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec |
The resourceSpec. |
getResourceSpecOrBuilder()
public abstract Asset.ResourceSpecOrBuilder getResourceSpecOrBuilder()
Required. Specification of the resource that is referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100;
Returns | |
---|---|
Type | Description |
Asset.ResourceSpecOrBuilder |
getResourceStatus()
public abstract Asset.ResourceStatus getResourceStatus()
Output only. Status of the resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101;
Returns | |
---|---|
Type | Description |
Asset.ResourceStatus |
The resourceStatus. |
getResourceStatusOrBuilder()
public abstract Asset.ResourceStatusOrBuilder getResourceStatusOrBuilder()
Output only. Status of the resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101;
Returns | |
---|---|
Type | Description |
Asset.ResourceStatusOrBuilder |
getSecurityStatus()
public abstract Asset.SecurityStatus getSecurityStatus()
Output only. Status of the security policy applied to resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103;
Returns | |
---|---|
Type | Description |
Asset.SecurityStatus |
The securityStatus. |
getSecurityStatusOrBuilder()
public abstract Asset.SecurityStatusOrBuilder getSecurityStatusOrBuilder()
Output only. Status of the security policy applied to resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103;
Returns | |
---|---|
Type | Description |
Asset.SecurityStatusOrBuilder |
getState()
public abstract State getState()
Output only. Current state of the asset.
.google.events.cloud.dataplex.v1.State state = 8;
Returns | |
---|---|
Type | Description |
State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. Current state of the asset.
.google.events.cloud.dataplex.v1.State state = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getUid()
public abstract 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;
Returns | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDiscoverySpec()
public abstract 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.events.cloud.dataplex.v1.Asset.DiscoverySpec discovery_spec = 106;
Returns | |
---|---|
Type | Description |
boolean |
Whether the discoverySpec field is set. |
hasDiscoveryStatus()
public abstract boolean hasDiscoveryStatus()
Output only. Status of the discovery feature applied to data referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.DiscoveryStatus discovery_status = 107;
Returns | |
---|---|
Type | Description |
boolean |
Whether the discoveryStatus field is set. |
hasResourceSpec()
public abstract boolean hasResourceSpec()
Required. Specification of the resource that is referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceSpec resource_spec = 100;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceSpec field is set. |
hasResourceStatus()
public abstract boolean hasResourceStatus()
Output only. Status of the resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.ResourceStatus resource_status = 101;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resourceStatus field is set. |
hasSecurityStatus()
public abstract boolean hasSecurityStatus()
Output only. Status of the security policy applied to resource referenced by this asset.
.google.events.cloud.dataplex.v1.Asset.SecurityStatus security_status = 103;
Returns | |
---|---|
Type | Description |
boolean |
Whether the securityStatus field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |