- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class Asset.Builder extends 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 type google.cloud.dataplex.v1.Asset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.BuilderImplements
AssetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
build()
public Asset build()
Returns | |
---|---|
Type | Description |
Asset |
buildPartial()
public Asset buildPartial()
Returns | |
---|---|
Type | Description |
Asset |
clear()
public Asset.Builder clear()
Returns | |
---|---|
Type | Description |
Asset.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearDescription()
public Asset.Builder clearDescription()
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearDisplayName()
public Asset.Builder clearDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Asset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
clearLabels()
public Asset.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Asset.Builder |
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 | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Asset.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
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 | |
---|---|
Type | Description |
Asset.Builder | 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 | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
Asset.Builder |
clone()
public Asset.Builder clone()
Returns | |
---|---|
Type | Description |
Asset.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Asset getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Asset |
getDescription()
public String getDescription()
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoverySpec | The discoverySpec. |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoverySpec.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoverySpecOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoveryStatus | The discoveryStatus. |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoveryStatus.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.DiscoveryStatusOrBuilder |
getDisplayName()
public String getDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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) = { ... }
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec | The resourceSpec. |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceSpec.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceSpecOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceStatus | The resourceStatus. |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceStatus.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.ResourceStatusOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Asset.SecurityStatus | The securityStatus. |
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];
Returns | |
---|---|
Type | Description |
Asset.SecurityStatus.Builder |
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];
Returns | |
---|---|
Type | Description |
Asset.SecurityStatusOrBuilder |
getState()
public State getState()
Output only. Current state of the asset.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
State | The state. |
getStateValue()
public int getStateValue()
Output only. Current state of the asset.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
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];
Returns | |
---|---|
Type | Description |
String | The uid. |
getUidBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public 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 | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the discoverySpec field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the discoveryStatus field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the resourceSpec field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the resourceStatus field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the securityStatus field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Asset.Builder mergeCreateTime(Timestamp value)
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeDiscoverySpec(Asset.DiscoverySpec value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.DiscoverySpec |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeDiscoveryStatus(Asset.DiscoveryStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.DiscoveryStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(Asset other)
public Asset.Builder mergeFrom(Asset other)
Parameter | |
---|---|
Name | Description |
other | Asset |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeResourceSpec(Asset.ResourceSpec value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.ResourceSpec |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeResourceStatus(Asset.ResourceStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.ResourceStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeSecurityStatus(Asset.SecurityStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.SecurityStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
mergeUpdateTime(Timestamp value)
public Asset.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putAllLabels(Map<String,String> values)
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];
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Asset.Builder |
putLabels(String key, String value)
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];
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Asset.Builder |
removeLabels(String key)
public Asset.Builder removeLabels(String key)
Optional. User defined labels for the asset.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCreateTime(Timestamp value)
public Asset.Builder setCreateTime(Timestamp value)
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Asset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time when the asset was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setDescription(String value)
public Asset.Builder setDescription(String value)
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Asset.Builder setDescriptionBytes(ByteString value)
Optional. Description of the asset.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setDiscoverySpec(Asset.DiscoverySpec value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.DiscoverySpec |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setDiscoverySpec(Asset.DiscoverySpec.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.DiscoverySpec.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setDiscoveryStatus(Asset.DiscoveryStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.DiscoveryStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setDiscoveryStatus(Asset.DiscoveryStatus.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.DiscoveryStatus.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setDisplayName(String value)
public Asset.Builder setDisplayName(String value)
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Asset.Builder setDisplayNameBytes(ByteString value)
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Asset.Builder setNameBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setResourceSpec(Asset.ResourceSpec value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.ResourceSpec |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setResourceSpec(Asset.ResourceSpec.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.ResourceSpec.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setResourceStatus(Asset.ResourceStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.ResourceStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setResourceStatus(Asset.ResourceStatus.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.ResourceStatus.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityStatus(Asset.SecurityStatus value)
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];
Parameter | |
---|---|
Name | Description |
value | Asset.SecurityStatus |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setSecurityStatus(Asset.SecurityStatus.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Asset.SecurityStatus.Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setState(State value)
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];
Parameter | |
---|---|
Name | Description |
value | State The state to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setUid(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The uid to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Asset.Builder setUidBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
Asset.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp value)
public Asset.Builder setUpdateTime(Timestamp value)
Output only. The time when the asset was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Asset.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Asset.Builder setUpdateTime(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];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Asset.Builder |