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
@Generated
public interface ContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Output only.com.google.protobuf.ByteStringOutput only.Notebook related configurations.Notebook related configurations.getPath()Required.com.google.protobuf.ByteStringRequired.Sql Script related configurations.Sql Script related configurations.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanNotebook related configurations.booleanSql Script related configurations.booleanOutput only.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
-
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
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
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()
-