public static final class DataDocumentationResult.Query.Builder extends GeneratedMessage.Builder<DataDocumentationResult.Query.Builder> implements DataDocumentationResult.QueryOrBuilderA sample SQL query in data documentation.
Protobuf type google.cloud.dataplex.v1.DataDocumentationResult.Query
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataDocumentationResult.Query.BuilderImplements
DataDocumentationResult.QueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataDocumentationResult.Query build()| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query |
|
buildPartial()
public DataDocumentationResult.Query buildPartial()| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query |
|
clear()
public DataDocumentationResult.Query.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
|
clearDescription()
public DataDocumentationResult.Query.Builder clearDescription()Output only. The description for the query.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |
clearSql()
public DataDocumentationResult.Query.Builder clearSql()Output only. The SQL query string which can be executed.
string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataDocumentationResult.Query getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query |
|
getDescription()
public String getDescription()Output only. The description for the query.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Output only. The description for the query.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSql()
public String getSql()Output only. The SQL query string which can be executed.
string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The sql. |
getSqlBytes()
public ByteString getSqlBytes()Output only. The SQL query string which can be executed.
string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sql. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataDocumentationResult.Query other)
public DataDocumentationResult.Query.Builder mergeFrom(DataDocumentationResult.Query other)| Parameter | |
|---|---|
| Name | Description |
other |
DataDocumentationResult.Query |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataDocumentationResult.Query.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataDocumentationResult.Query.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
|
setDescription(String value)
public DataDocumentationResult.Query.Builder setDescription(String value)Output only. The description for the query.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DataDocumentationResult.Query.Builder setDescriptionBytes(ByteString value)Output only. The description for the query.
string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |
setSql(String value)
public DataDocumentationResult.Query.Builder setSql(String value)Output only. The SQL query string which can be executed.
string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sql to set. |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |
setSqlBytes(ByteString value)
public DataDocumentationResult.Query.Builder setSqlBytes(ByteString value)Output only. The SQL query string which can be executed.
string sql = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sql to set. |
| Returns | |
|---|---|
| Type | Description |
DataDocumentationResult.Query.Builder |
This builder for chaining. |