- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class Content.Builder extends GeneratedMessageV3.Builder<Content.Builder> implements ContentOrBuilder
Content represents a user-visible notebook or a sql script
Protobuf type google.cloud.dataplex.v1.Content
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Content.BuilderImplements
ContentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Content.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Content.Builder |
build()
public Content build()
Type | Description |
Content |
buildPartial()
public Content buildPartial()
Type | Description |
Content |
clear()
public Content.Builder clear()
Type | Description |
Content.Builder |
clearContent()
public Content.Builder clearContent()
Type | Description |
Content.Builder |
clearCreateTime()
public Content.Builder clearCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Content.Builder |
clearData()
public Content.Builder clearData()
Type | Description |
Content.Builder |
clearDataText()
public Content.Builder clearDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Content.Builder | This builder for chaining. |
clearDescription()
public Content.Builder clearDescription()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Content.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Content.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Content.Builder |
clearLabels()
public Content.Builder clearLabels()
Type | Description |
Content.Builder |
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) = { ... }
Type | Description |
Content.Builder | This builder for chaining. |
clearNotebook()
public Content.Builder clearNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Type | Description |
Content.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Content.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Content.Builder |
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];
Type | Description |
Content.Builder | This builder for chaining. |
clearSqlScript()
public Content.Builder clearSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Type | Description |
Content.Builder |
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];
Type | Description |
Content.Builder | This builder for chaining. |
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];
Type | Description |
Content.Builder |
clone()
public Content.Builder clone()
Type | Description |
Content.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getContentCase()
public Content.ContentCase getContentCase()
Type | Description |
Content.ContentCase |
getCreateTime()
public Timestamp getCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDataCase()
public Content.DataCase getDataCase()
Type | Description |
Content.DataCase |
getDataText()
public String getDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The dataText. |
getDataTextBytes()
public ByteString getDataTextBytes()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for dataText. |
getDefaultInstanceForType()
public Content getDefaultInstanceForType()
Type | Description |
Content |
getDescription()
public String getDescription()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
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) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for name. |
getNotebook()
public Content.Notebook getNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Type | Description |
Content.Notebook | The notebook. |
getNotebookBuilder()
public Content.Notebook.Builder getNotebookBuilder()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Type | Description |
Content.Notebook.Builder |
getNotebookOrBuilder()
public Content.NotebookOrBuilder getNotebookOrBuilder()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Type | Description |
Content.NotebookOrBuilder |
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];
Type | Description |
String | The path. |
getPathBytes()
public 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];
Type | Description |
ByteString | The bytes for path. |
getSqlScript()
public Content.SqlScript getSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Type | Description |
Content.SqlScript | The sqlScript. |
getSqlScriptBuilder()
public Content.SqlScript.Builder getSqlScriptBuilder()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Type | Description |
Content.SqlScript.Builder |
getSqlScriptOrBuilder()
public Content.SqlScriptOrBuilder getSqlScriptOrBuilder()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Type | Description |
Content.SqlScriptOrBuilder |
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];
Type | Description |
String | The uid. |
getUidBytes()
public 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];
Type | Description |
ByteString | The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDataText()
public boolean hasDataText()
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the dataText field is set. |
hasNotebook()
public boolean hasNotebook()
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Type | Description |
boolean | Whether the notebook field is set. |
hasSqlScript()
public boolean hasSqlScript()
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Type | Description |
boolean | Whether the sqlScript field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Content.Builder mergeCreateTime(Timestamp value)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Content.Builder |
mergeFrom(Content other)
public Content.Builder mergeFrom(Content other)
Name | Description |
other | Content |
Type | Description |
Content.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Content.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Content.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Content.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Content.Builder |
mergeNotebook(Content.Notebook value)
public Content.Builder mergeNotebook(Content.Notebook value)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Name | Description |
value | Content.Notebook |
Type | Description |
Content.Builder |
mergeSqlScript(Content.SqlScript value)
public Content.Builder mergeSqlScript(Content.SqlScript value)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Name | Description |
value | Content.SqlScript |
Type | Description |
Content.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Content.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Content.Builder |
mergeUpdateTime(Timestamp value)
public Content.Builder mergeUpdateTime(Timestamp value)
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Content.Builder |
putAllLabels(Map<String,String> values)
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];
Name | Description |
values | Map<String,String> |
Type | Description |
Content.Builder |
putLabels(String key, String value)
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];
Name | Description |
key | String |
value | String |
Type | Description |
Content.Builder |
removeLabels(String key)
public Content.Builder removeLabels(String key)
Optional. User defined labels for the content.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Content.Builder |
setCreateTime(Timestamp value)
public Content.Builder setCreateTime(Timestamp value)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Content.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Content.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Content creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Content.Builder |
setDataText(String value)
public Content.Builder setDataText(String value)
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The dataText to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setDataTextBytes(ByteString value)
public Content.Builder setDataTextBytes(ByteString value)
Required. Content data in string format.
string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for dataText to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setDescription(String value)
public Content.Builder setDescription(String value)
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The description to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Content.Builder setDescriptionBytes(ByteString value)
Optional. Description of the content.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Content.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Content.Builder |
setName(String value)
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) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Content.Builder setNameBytes(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) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setNotebook(Content.Notebook value)
public Content.Builder setNotebook(Content.Notebook value)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Name | Description |
value | Content.Notebook |
Type | Description |
Content.Builder |
setNotebook(Content.Notebook.Builder builderForValue)
public Content.Builder setNotebook(Content.Notebook.Builder builderForValue)
Notebook related configurations.
.google.cloud.dataplex.v1.Content.Notebook notebook = 101;
Name | Description |
builderForValue | Content.Notebook.Builder |
Type | Description |
Content.Builder |
setPath(String value)
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];
Name | Description |
value | String The path to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setPathBytes(ByteString value)
public Content.Builder setPathBytes(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];
Name | Description |
value | ByteString The bytes for path to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Content.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Content.Builder |
setSqlScript(Content.SqlScript value)
public Content.Builder setSqlScript(Content.SqlScript value)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Name | Description |
value | Content.SqlScript |
Type | Description |
Content.Builder |
setSqlScript(Content.SqlScript.Builder builderForValue)
public Content.Builder setSqlScript(Content.SqlScript.Builder builderForValue)
Sql Script related configurations.
.google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
Name | Description |
builderForValue | Content.SqlScript.Builder |
Type | Description |
Content.Builder |
setUid(String value)
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];
Name | Description |
value | String The uid to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Content.Builder setUidBytes(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];
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
Content.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Content.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Content.Builder |
setUpdateTime(Timestamp value)
public Content.Builder setUpdateTime(Timestamp value)
Output only. The time when the content was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Content.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Content.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Content.Builder |