- 1.76.0 (latest)
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.70.0
 - 1.68.0
 - 1.66.0
 - 1.65.0
 - 1.62.0
 - 1.61.0
 - 1.60.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 1.52.0
 - 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 ContentOrBuilderContent 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()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Content.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
build()
public Content build()| Returns | |
|---|---|
| Type | Description | 
Content | 
        |
buildPartial()
public Content buildPartial()| Returns | |
|---|---|
| Type | Description | 
Content | 
        |
clear()
public Content.Builder clear()| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clearContent()
public Content.Builder clearContent()| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clearData()
public Content.Builder clearData()| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clearDataText()
public Content.Builder clearDataText()Required. Content data in string format.
 string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Content.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clearLabels()
public Content.Builder clearLabels()| Returns | |
|---|---|
| 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) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        This builder for chaining.  | 
      
clearNotebook()
public Content.Builder clearNotebook()Notebook related configurations.
 .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public Content.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
clone()
public Content.Builder clone()| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
getContentCase()
public Content.ContentCase getContentCase()| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Content creation time.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getDataCase()
public Content.DataCase getDataCase()| Returns | |
|---|---|
| Type | Description | 
Content.DataCase | 
        |
getDataText()
public String getDataText()Required. Content data in string format.
 string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The dataText.  | 
      
getDataTextBytes()
public ByteString getDataTextBytes()Required. Content data in string format.
 string data_text = 9 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for dataText.  | 
      
getDefaultInstanceForType()
public Content getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
Content | 
        |
getDescription()
public String getDescription()Optional. Description of the content.
 string description = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the content.
 string description = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
defaultValue | 
        String | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| 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) = { ... }
 
| Returns | |
|---|---|
| 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) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getNotebook()
public Content.Notebook getNotebook()Notebook related configurations.
 .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
| Returns | |
|---|---|
| Type | Description | 
Content.Notebook | 
        The notebook.  | 
      
getNotebookBuilder()
public Content.Notebook.Builder getNotebookBuilder()Notebook related configurations.
 .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
| Returns | |
|---|---|
| Type | Description | 
Content.Notebook.Builder | 
        |
getNotebookOrBuilder()
public Content.NotebookOrBuilder getNotebookOrBuilder()Notebook related configurations.
 .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
Content.SqlScript.Builder | 
        |
getSqlScriptOrBuilder()
public Content.SqlScriptOrBuilder getSqlScriptOrBuilder()Sql Script related configurations.
 .google.cloud.dataplex.v1.Content.SqlScript sql_script = 100;
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
hasCreateTime()
public boolean hasCreateTime()Output only. Content creation time.
 
 .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the dataText field is set.  | 
      
hasNotebook()
public boolean hasNotebook()Notebook related configurations.
 .google.cloud.dataplex.v1.Content.Notebook notebook = 101;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
number | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.protobuf.MapFieldReflectionAccessor | 
        |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
number | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.protobuf.MapFieldReflectionAccessor | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
mergeFrom(Content other)
public Content.Builder mergeFrom(Content other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Content | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Content.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public Content.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Content.Notebook | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Content.SqlScript | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Content.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Map<String,String> | 
      
| Returns | |
|---|---|
| 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];
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
value | 
        String | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe dataText to set.  | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for dataText to set.  | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe description to set.  | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for description to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Content.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| 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) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| 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) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Content.Notebook | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Content.Notebook.Builder | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe path to set.  | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for path to set.  | 
      
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Content.SqlScript | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Content.SqlScript.Builder | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe uid to set.  | 
      
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for uid to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Content.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| 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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
Content.Builder | 
        |