Package com.google.cloud.dataplex.v1
Interface CreateAssetRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAssetRequest,CreateAssetRequest.Builder
@Generated
public interface CreateAssetRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The resource name of the parent zone: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the parent zone: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getAssetId
String getAssetId()Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone.
string asset_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The assetId.
-
getAssetIdBytes
com.google.protobuf.ByteString getAssetIdBytes()Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone.
string asset_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for assetId.
-
hasAsset
boolean hasAsset()Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the asset field is set.
-
getAsset
Asset getAsset()Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The asset.
-
getAssetOrBuilder
AssetOrBuilder getAssetOrBuilder()Required. Asset resource.
.google.cloud.dataplex.v1.Asset asset = 3 [(.google.api.field_behavior) = REQUIRED]; -
getValidateOnly
boolean getValidateOnly()Optional. Only validate the request, but do not perform mutations. The default is false.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The validateOnly.
-