Package com.google.cloud.dataplex.v1
Class Content.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
- com.google.cloud.dataplex.v1.Content.Builder
-
- All Implemented Interfaces:
ContentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Content
public static final class Content.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Content.Builder> implements ContentOrBuilder
Content represents a user-visible notebook or a sql script
Protobuf typegoogle.cloud.dataplex.v1.Content
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Content.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Contentbuild()ContentbuildPartial()Content.Builderclear()Content.BuilderclearContent()Content.BuilderclearCreateTime()Output only.Content.BuilderclearData()Content.BuilderclearDataText()Required.Content.BuilderclearDescription()Optional.Content.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Content.BuilderclearLabels()Content.BuilderclearName()Output only.Content.BuilderclearNotebook()Notebook related configurations.Content.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Content.BuilderclearPath()Required.Content.BuilderclearSqlScript()Sql Script related configurations.Content.BuilderclearUid()Output only.Content.BuilderclearUpdateTime()Output only.Content.Builderclone()booleancontainsLabels(String key)Optional.Content.ContentCasegetContentCase()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.Content.DataCasegetDataCase()StringgetDataText()Required.com.google.protobuf.ByteStringgetDataTextBytes()Required.ContentgetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Content.NotebookgetNotebook()Notebook related configurations.Content.Notebook.BuildergetNotebookBuilder()Notebook related configurations.Content.NotebookOrBuildergetNotebookOrBuilder()Notebook related configurations.StringgetPath()Required.com.google.protobuf.ByteStringgetPathBytes()Required.Content.SqlScriptgetSqlScript()Sql Script related configurations.Content.SqlScript.BuildergetSqlScriptBuilder()Sql Script related configurations.Content.SqlScriptOrBuildergetSqlScriptOrBuilder()Sql Script related configurations.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasDataText()Required.booleanhasNotebook()Notebook related configurations.booleanhasSqlScript()Sql Script related configurations.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Content.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Content.BuildermergeFrom(Content other)Content.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Content.BuildermergeFrom(com.google.protobuf.Message other)Content.BuildermergeNotebook(Content.Notebook value)Notebook related configurations.Content.BuildermergeSqlScript(Content.SqlScript value)Sql Script related configurations.Content.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Content.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Content.BuilderputAllLabels(Map<String,String> values)Optional.Content.BuilderputLabels(String key, String value)Optional.Content.BuilderremoveLabels(String key)Optional.Content.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Content.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Content.BuildersetDataText(String value)Required.Content.BuildersetDataTextBytes(com.google.protobuf.ByteString value)Required.Content.BuildersetDescription(String value)Optional.Content.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.Content.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Content.BuildersetName(String value)Output only.Content.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Content.BuildersetNotebook(Content.Notebook value)Notebook related configurations.Content.BuildersetNotebook(Content.Notebook.Builder builderForValue)Notebook related configurations.Content.BuildersetPath(String value)Required.Content.BuildersetPathBytes(com.google.protobuf.ByteString value)Required.Content.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Content.BuildersetSqlScript(Content.SqlScript value)Sql Script related configurations.Content.BuildersetSqlScript(Content.SqlScript.Builder builderForValue)Sql Script related configurations.Content.BuildersetUid(String value)Output only.Content.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Content.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Content.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Content.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clear
public Content.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
getDefaultInstanceForType
public Content getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Content build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Content buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Content.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
setField
public Content.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clearField
public Content.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clearOneof
public Content.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
setRepeatedField
public Content.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
addRepeatedField
public Content.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
mergeFrom
public Content.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Content.Builder>
-
mergeFrom
public Content.Builder mergeFrom(Content other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
mergeFrom
public Content.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Content.Builder>- Throws:
IOException
-
getDataCase
public Content.DataCase getDataCase()
- Specified by:
getDataCasein interfaceContentOrBuilder
-
clearData
public Content.Builder clearData()
-
getContentCase
public Content.ContentCase getContentCase()
- Specified by:
getContentCasein interfaceContentOrBuilder
-
clearContent
public Content.Builder clearContent()
-
getName
public 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) = { ... }- Specified by:
getNamein interfaceContentOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceContentOrBuilder- Returns:
- The bytes for name.
-
setName
public Content.Builder setName(String value)
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) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Content.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public Content.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public 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];- Specified by:
getUidin interfaceContentOrBuilder- Returns:
- The uid.
-
getUidBytes
public 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];- Specified by:
getUidBytesin interfaceContentOrBuilder- Returns:
- The bytes for uid.
-
setUid
public Content.Builder setUid(String value)
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];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Content.Builder clearUid()
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:
- This builder for chaining.
-
setUidBytes
public Content.Builder setUidBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getPath
public 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];- Specified by:
getPathin interfaceContentOrBuilder- Returns:
- The path.
-
getPathBytes
public 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];- Specified by:
getPathBytesin interfaceContentOrBuilder- Returns:
- The bytes for path.
-
setPath
public Content.Builder setPath(String value)
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];- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Content.Builder clearPath()
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:
- This builder for chaining.
-
setPathBytes
public Content.Builder setPathBytes(com.google.protobuf.ByteString value)
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];- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceContentOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceContentOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Content.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Content.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Content.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Content.Builder clearCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceContentOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceContentOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceContentOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Content.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Content.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Content.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Content.Builder clearUpdateTime()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceContentOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ContentOrBuilderOptional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceContentOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceContentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceContentOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceContentOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceContentOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceContentOrBuilder
-
clearLabels
public Content.Builder clearLabels()
-
removeLabels
public Content.Builder removeLabels(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Content.Builder putLabels(String key, String value)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Content.Builder putAllLabels(Map<String,String> values)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getDescription
public String getDescription()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceContentOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceContentOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Content.Builder setDescription(String value)
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Content.Builder clearDescription()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Content.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDataText
public boolean hasDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasDataTextin interfaceContentOrBuilder- Returns:
- Whether the dataText field is set.
-
getDataText
public String getDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataTextin interfaceContentOrBuilder- Returns:
- The dataText.
-
getDataTextBytes
public com.google.protobuf.ByteString getDataTextBytes()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDataTextBytesin interfaceContentOrBuilder- Returns:
- The bytes for dataText.
-
setDataText
public Content.Builder setDataText(String value)
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dataText to set.- Returns:
- This builder for chaining.
-
clearDataText
public Content.Builder clearDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDataTextBytes
public Content.Builder setDataTextBytes(com.google.protobuf.ByteString value)
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for dataText to set.- Returns:
- This builder for chaining.
-
hasSqlScript
public boolean hasSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;- Specified by:
hasSqlScriptin interfaceContentOrBuilder- Returns:
- Whether the sqlScript field is set.
-
getSqlScript
public Content.SqlScript getSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;- Specified by:
getSqlScriptin interfaceContentOrBuilder- Returns:
- The sqlScript.
-
setSqlScript
public Content.Builder setSqlScript(Content.SqlScript value)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
setSqlScript
public Content.Builder setSqlScript(Content.SqlScript.Builder builderForValue)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
mergeSqlScript
public Content.Builder mergeSqlScript(Content.SqlScript value)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
clearSqlScript
public Content.Builder clearSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
getSqlScriptBuilder
public Content.SqlScript.Builder getSqlScriptBuilder()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
-
getSqlScriptOrBuilder
public Content.SqlScriptOrBuilder getSqlScriptOrBuilder()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;- Specified by:
getSqlScriptOrBuilderin interfaceContentOrBuilder
-
hasNotebook
public boolean hasNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;- Specified by:
hasNotebookin interfaceContentOrBuilder- Returns:
- Whether the notebook field is set.
-
getNotebook
public Content.Notebook getNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;- Specified by:
getNotebookin interfaceContentOrBuilder- Returns:
- The notebook.
-
setNotebook
public Content.Builder setNotebook(Content.Notebook value)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
setNotebook
public Content.Builder setNotebook(Content.Notebook.Builder builderForValue)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
mergeNotebook
public Content.Builder mergeNotebook(Content.Notebook value)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
clearNotebook
public Content.Builder clearNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
getNotebookBuilder
public Content.Notebook.Builder getNotebookBuilder()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
-
getNotebookOrBuilder
public Content.NotebookOrBuilder getNotebookOrBuilder()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;- Specified by:
getNotebookOrBuilderin interfaceContentOrBuilder
-
setUnknownFields
public final Content.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
mergeUnknownFields
public final Content.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
-