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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Content
build()
Content
buildPartial()
Content.Builder
clear()
Content.Builder
clearContent()
Content.Builder
clearCreateTime()
Output only.Content.Builder
clearData()
Content.Builder
clearDataText()
Required.Content.Builder
clearDescription()
Optional.Content.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Content.Builder
clearLabels()
Content.Builder
clearName()
Output only.Content.Builder
clearNotebook()
Notebook related configurations.Content.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Content.Builder
clearPath()
Required.Content.Builder
clearSqlScript()
Sql Script related configurations.Content.Builder
clearUid()
Output only.Content.Builder
clearUpdateTime()
Output only.Content.Builder
clone()
boolean
containsLabels(String key)
Optional.Content.ContentCase
getContentCase()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Content.DataCase
getDataCase()
String
getDataText()
Required.com.google.protobuf.ByteString
getDataTextBytes()
Required.Content
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Content.Notebook
getNotebook()
Notebook related configurations.Content.Notebook.Builder
getNotebookBuilder()
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.SqlScript.Builder
getSqlScriptBuilder()
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.Timestamp.Builder
getUpdateTimeBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Content.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Content.Builder
mergeFrom(Content other)
Content.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Content.Builder
mergeFrom(com.google.protobuf.Message other)
Content.Builder
mergeNotebook(Content.Notebook value)
Notebook related configurations.Content.Builder
mergeSqlScript(Content.SqlScript value)
Sql Script related configurations.Content.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Content.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Content.Builder
putAllLabels(Map<String,String> values)
Optional.Content.Builder
putLabels(String key, String value)
Optional.Content.Builder
removeLabels(String key)
Optional.Content.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Content.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Content.Builder
setDataText(String value)
Required.Content.Builder
setDataTextBytes(com.google.protobuf.ByteString value)
Required.Content.Builder
setDescription(String value)
Optional.Content.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.Content.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Content.Builder
setName(String value)
Output only.Content.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Content.Builder
setNotebook(Content.Notebook value)
Notebook related configurations.Content.Builder
setNotebook(Content.Notebook.Builder builderForValue)
Notebook related configurations.Content.Builder
setPath(String value)
Required.Content.Builder
setPathBytes(com.google.protobuf.ByteString value)
Required.Content.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Content.Builder
setSqlScript(Content.SqlScript value)
Sql Script related configurations.Content.Builder
setSqlScript(Content.SqlScript.Builder builderForValue)
Sql Script related configurations.Content.Builder
setUid(String value)
Output only.Content.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Content.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Content.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Content.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clear
public Content.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
getDefaultInstanceForType
public Content getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Content build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Content buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Content.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
setField
public Content.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clearField
public Content.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
clearOneof
public Content.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
setRepeatedField
public Content.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
addRepeatedField
public Content.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
mergeFrom
public Content.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Content.Builder>
-
mergeFrom
public Content.Builder mergeFrom(Content other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Content.Builder>
- Throws:
IOException
-
getDataCase
public Content.DataCase getDataCase()
- Specified by:
getDataCase
in interfaceContentOrBuilder
-
clearData
public Content.Builder clearData()
-
getContentCase
public Content.ContentCase getContentCase()
- Specified by:
getContentCase
in 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:
getName
in 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:
getNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
getPath
in 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:
getPathBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceContentOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ContentOrBuilder
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceContentOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasDataText
in 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:
getDataText
in 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:
getDataTextBytes
in 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:
hasSqlScript
in 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:
getSqlScript
in 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:
getSqlScriptOrBuilder
in interfaceContentOrBuilder
-
hasNotebook
public boolean hasNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
- Specified by:
hasNotebook
in 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:
getNotebook
in 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:
getNotebookOrBuilder
in interfaceContentOrBuilder
-
setUnknownFields
public final Content.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
mergeUnknownFields
public final Content.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Content.Builder>
-
-