Package com.google.cloud.dataplex.v1
Interface ContentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Content
,Content.Builder
public interface ContentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.Content.ContentCase
getContentCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Content.DataCase
getDataCase()
String
getDataText()
Required.com.google.protobuf.ByteString
getDataTextBytes()
Required.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Content.Notebook
getNotebook()
Notebook related configurations.Content.NotebookOrBuilder
getNotebookOrBuilder()
Notebook related configurations.String
getPath()
Required.com.google.protobuf.ByteString
getPathBytes()
Required.Content.SqlScript
getSqlScript()
Sql Script related configurations.Content.SqlScriptOrBuilder
getSqlScriptOrBuilder()
Sql Script related configurations.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDataText()
Required.boolean
hasNotebook()
Notebook related configurations.boolean
hasSqlScript()
Sql Script related configurations.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
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) = { ... }
- Returns:
- The bytes for name.
-
getUid
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];
- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
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];
- Returns:
- The bytes for uid.
-
getPath
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];
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
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];
- Returns:
- The bytes for path.
-
hasCreateTime
boolean hasCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsCount
int getLabelsCount()
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
boolean containsLabels(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getDescription
String getDescription()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
hasDataText
boolean hasDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the dataText field is set.
-
getDataText
String getDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The dataText.
-
getDataTextBytes
com.google.protobuf.ByteString getDataTextBytes()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for dataText.
-
hasSqlScript
boolean hasSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
- Returns:
- Whether the sqlScript field is set.
-
getSqlScript
Content.SqlScript getSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
- Returns:
- The sqlScript.
-
getSqlScriptOrBuilder
Content.SqlScriptOrBuilder getSqlScriptOrBuilder()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
hasNotebook
boolean hasNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
- Returns:
- Whether the notebook field is set.
-
getNotebook
Content.Notebook getNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
- Returns:
- The notebook.
-
getNotebookOrBuilder
Content.NotebookOrBuilder getNotebookOrBuilder()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
getDataCase
Content.DataCase getDataCase()
-
getContentCase
Content.ContentCase getContentCase()
-
-