Package com.google.cloud.dataplex.v1
Class Asset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.dataplex.v1.Asset
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clear
public Asset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setField
public Asset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearField
public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearOneof
public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setRepeatedField
public Asset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
addRepeatedField
public Asset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
- 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 interfaceAssetOrBuilder
-
setUnknownFields
public final Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeUnknownFields
public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
-