/*
* 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/analyze.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dataplex.v1;
public interface ContentOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.Content)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The relative resource name of the content, of the form:
* projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The relative resource name of the content, of the form:
* projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
*
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. System generated globally unique ID for the content. This ID
* will be different if the content is deleted and re-created with the same
* name.
*
*
* string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The uid.
*/
java.lang.String getUid();
/**
*
*
*
* Output only. System generated globally unique ID for the content. This ID
* will be different if the content is deleted and re-created with the same
* name.
*
*
* string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
/**
*
*
*
* Required. The path for the Content file, represented as directory
* structure. Unique within a lake. Limited to alphanumerics, hyphens,
* underscores, dots and slashes.
*
*
* string path = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The path.
*/
java.lang.String getPath();
/**
*
*
*
* Required. The path for the Content file, represented as directory
* structure. Unique within a lake. Limited to alphanumerics, hyphens,
* underscores, dots and slashes.
*
*
* string path = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for path.
*/
com.google.protobuf.ByteString getPathBytes();
/**
*
*
*
* Output only. Content creation time.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Content creation time.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Content creation time.
*
*
* .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The time when the content was last updated.
*
*
* .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The time when the content was last updated.
*
*
* .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The time when the content was last updated.
*
*
* .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Optional. User defined labels for the content.
*
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
int getLabelsCount();
/**
*
*
*
* Optional. User defined labels for the content.
*
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Optional. User defined labels for the content.
*
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Optional. User defined labels for the content.
*
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Optional. User defined labels for the content.
*
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Optional. Description of the content.
*
*
* string description = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. Description of the content.
*
*
* string description = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Required. Content data in string format.
*
*
* string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
*
* @return Whether the dataText field is set.
*/
boolean hasDataText();
/**
*
*
*
* Required. Content data in string format.
*
*
* string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
*
* @return The dataText.
*/
java.lang.String getDataText();
/**
*
*
*
* Required. Content data in string format.
*
*
* string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for dataText.
*/
com.google.protobuf.ByteString getDataTextBytes();
/**
*
*
*
* Sql Script related configurations.
*
*
* .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
*
* @return Whether the sqlScript field is set.
*/
boolean hasSqlScript();
/**
*
*
*
* Sql Script related configurations.
*
*
* .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
*
* @return The sqlScript.
*/
com.google.cloud.dataplex.v1.Content.SqlScript getSqlScript();
/**
*
*
*
* Sql Script related configurations.
*
*
* .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
*/
com.google.cloud.dataplex.v1.Content.SqlScriptOrBuilder getSqlScriptOrBuilder();
/**
*
*
*
* Notebook related configurations.
*
*
* .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
*
* @return Whether the notebook field is set.
*/
boolean hasNotebook();
/**
*
*
*
* Notebook related configurations.
*
*
* .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
*
* @return The notebook.
*/
com.google.cloud.dataplex.v1.Content.Notebook getNotebook();
/**
*
*
*
* Notebook related configurations.
*
*
* .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
*/
com.google.cloud.dataplex.v1.Content.NotebookOrBuilder getNotebookOrBuilder();
com.google.cloud.dataplex.v1.Content.DataCase getDataCase();
com.google.cloud.dataplex.v1.Content.ContentCase getContentCase();
}