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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clear
public Asset.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setField
public Asset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearField
public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearOneof
public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setRepeatedField
public Asset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
addRepeatedField
public Asset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getUidin 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:
getUidBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceAssetOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AssetOrBuilderOptional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin 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:
containsLabelsin interfaceAssetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
getDescriptionin 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:
getDescriptionBytesin 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:
getStateValuein 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:
getStatein 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:
hasResourceSpecin 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:
getResourceSpecin 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:
getResourceSpecOrBuilderin 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:
hasResourceStatusin 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:
getResourceStatusin 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:
getResourceStatusOrBuilderin 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:
hasSecurityStatusin 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:
getSecurityStatusin 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:
getSecurityStatusOrBuilderin 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:
hasDiscoverySpecin 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:
getDiscoverySpecin 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:
getDiscoverySpecOrBuilderin 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:
hasDiscoveryStatusin 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:
getDiscoveryStatusin 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:
getDiscoveryStatusOrBuilderin interfaceAssetOrBuilder
-
setUnknownFields
public final Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeUnknownFields
public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
-