/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/metadata.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataplex.v1;
public interface EntityOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Entity)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The resource name of the entity, of the form:
* `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The resource name of the entity, of the form:
* `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`.
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Optional. Display name must be shorter than or equal to 256 characters.
*
*
* string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Optional. Display name must be shorter than or equal to 256 characters.
*
*
* string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Optional. User friendly longer description text. Must be shorter than or
* equal to 1024 characters.
*
*
* string description = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. User friendly longer description text. Must be shorter than or
* equal to 1024 characters.
*
*
* string description = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Output only. The time when the entity was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the entity was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The time when the entity was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the entity was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The time when the entity was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The time when the entity was last updated.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Required. A user-provided entity ID. It is mutable, and will be used as the
* published table name. Specifying a new ID in an update entity
* request will override the existing value.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), and
* underscores, and consist of 256 or fewer characters.
*
*
* string id = 7 [(.google.api.field_behavior) = REQUIRED];
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* Required. A user-provided entity ID. It is mutable, and will be used as the
* published table name. Specifying a new ID in an update entity
* request will override the existing value.
* The ID must contain only letters (a-z, A-Z), numbers (0-9), and
* underscores, and consist of 256 or fewer characters.
*
*
* string id = 7 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Optional. The etag associated with the entity, which can be retrieved with
* a [GetEntity][] request. Required for update and delete requests.
*
*
* string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* Optional. The etag associated with the entity, which can be retrieved with
* a [GetEntity][] request. Required for update and delete requests.
*
*
* string etag = 8 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
/**
*
*
*
* Required. Immutable. The type of entity.
*
*
*
* .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Required. Immutable. The type of entity.
*
*
*
* .google.cloud.dataplex.v1.Entity.Type type = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The type.
*/
com.google.cloud.dataplex.v1.Entity.Type getType();
/**
*
*
*
* Required. Immutable. The ID of the asset associated with the storage
* location containing the entity data. The entity must be with in the same
* zone with the asset.
*
*
*
* string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The asset.
*/
java.lang.String getAsset();
/**
*
*
*
* Required. Immutable. The ID of the asset associated with the storage
* location containing the entity data. The entity must be with in the same
* zone with the asset.
*
*
*
* string asset = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The bytes for asset.
*/
com.google.protobuf.ByteString getAssetBytes();
/**
*
*
*
* Required. Immutable. The storage path of the entity data.
* For Cloud Storage data, this is the fully-qualified path to the entity,
* such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of
* the table resource, such as
* `projects/project_id/datasets/dataset_id/tables/table_id`.
*
*
*
* string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The dataPath.
*/
java.lang.String getDataPath();
/**
*
*
*
* Required. Immutable. The storage path of the entity data.
* For Cloud Storage data, this is the fully-qualified path to the entity,
* such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of
* the table resource, such as
* `projects/project_id/datasets/dataset_id/tables/table_id`.
*
*
*
* string data_path = 12 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The bytes for dataPath.
*/
com.google.protobuf.ByteString getDataPathBytes();
/**
*
*
*
* Optional. The set of items within the data path constituting the data in
* the entity, represented as a glob path. Example:
* `gs://bucket/path/to/data/**/*.csv`.
*
*
* string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The dataPathPattern.
*/
java.lang.String getDataPathPattern();
/**
*
*
*
* Optional. The set of items within the data path constituting the data in
* the entity, represented as a glob path. Example:
* `gs://bucket/path/to/data/**/*.csv`.
*
*
* string data_path_pattern = 13 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for dataPathPattern.
*/
com.google.protobuf.ByteString getDataPathPatternBytes();
/**
*
*
*
* Output only. The name of the associated Data Catalog entry.
*
*
* string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The catalogEntry.
*/
java.lang.String getCatalogEntry();
/**
*
*
*
* Output only. The name of the associated Data Catalog entry.
*
*
* string catalog_entry = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for catalogEntry.
*/
com.google.protobuf.ByteString getCatalogEntryBytes();
/**
*
*
*
* Required. Immutable. Identifies the storage system of the entity data.
*
*
*
* .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The enum numeric value on the wire for system.
*/
int getSystemValue();
/**
*
*
*
* Required. Immutable. Identifies the storage system of the entity data.
*
*
*
* .google.cloud.dataplex.v1.StorageSystem system = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The system.
*/
com.google.cloud.dataplex.v1.StorageSystem getSystem();
/**
*
*
*
* Required. Identifies the storage format of the entity data.
* It does not apply to entities with data stored in BigQuery.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
*
*
*
* Required. Identifies the storage format of the entity data.
* It does not apply to entities with data stored in BigQuery.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The format.
*/
com.google.cloud.dataplex.v1.StorageFormat getFormat();
/**
*
*
*
* Required. Identifies the storage format of the entity data.
* It does not apply to entities with data stored in BigQuery.
*
*
*
* .google.cloud.dataplex.v1.StorageFormat format = 16 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dataplex.v1.StorageFormatOrBuilder getFormatOrBuilder();
/**
*
*
*
* Output only. Metadata stores that the entity is compatible with.
*
*
*
* .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the compatibility field is set.
*/
boolean hasCompatibility();
/**
*
*
*
* Output only. Metadata stores that the entity is compatible with.
*
*
*
* .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The compatibility.
*/
com.google.cloud.dataplex.v1.Entity.CompatibilityStatus getCompatibility();
/**
*
*
*
* Output only. Metadata stores that the entity is compatible with.
*
*
*
* .google.cloud.dataplex.v1.Entity.CompatibilityStatus compatibility = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dataplex.v1.Entity.CompatibilityStatusOrBuilder getCompatibilityOrBuilder();
/**
*
*
*
* Output only. Identifies the access mechanism to the entity. Not user
* settable.
*
*
*
* .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the access field is set.
*/
boolean hasAccess();
/**
*
*
*
* Output only. Identifies the access mechanism to the entity. Not user
* settable.
*
*
*
* .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The access.
*/
com.google.cloud.dataplex.v1.StorageAccess getAccess();
/**
*
*
*
* Output only. Identifies the access mechanism to the entity. Not user
* settable.
*
*
*
* .google.cloud.dataplex.v1.StorageAccess access = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dataplex.v1.StorageAccessOrBuilder getAccessOrBuilder();
/**
*
*
*
* Output only. System generated unique ID for the Entity. This ID will be
* different if the Entity is deleted and re-created with the same name.
*
*
* string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The uid.
*/
java.lang.String getUid();
/**
*
*
*
* Output only. System generated unique ID for the Entity. This ID will be
* different if the Entity is deleted and re-created with the same name.
*
*
* string uid = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
/**
*
*
*
* Required. The description of the data structure and layout.
* The schema is not included in list responses. It is only included in
* `SCHEMA` and `FULL` entity views of a `GetEntity` response.
*
*
* .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the schema field is set.
*/
boolean hasSchema();
/**
*
*
*
* Required. The description of the data structure and layout.
* The schema is not included in list responses. It is only included in
* `SCHEMA` and `FULL` entity views of a `GetEntity` response.
*
*
* .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The schema.
*/
com.google.cloud.dataplex.v1.Schema getSchema();
/**
*
*
*
* Required. The description of the data structure and layout.
* The schema is not included in list responses. It is only included in
* `SCHEMA` and `FULL` entity views of a `GetEntity` response.
*
*
* .google.cloud.dataplex.v1.Schema schema = 50 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.dataplex.v1.SchemaOrBuilder getSchemaOrBuilder();
}