public static final class DatabaseTableSpec.DatabaseViewSpec.Builder extends GeneratedMessage.Builder<DatabaseTableSpec.DatabaseViewSpec.Builder> implements DatabaseTableSpec.DatabaseViewSpecOrBuilderSpecification that applies to database view.
Protobuf type google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseTableSpec.DatabaseViewSpec.BuilderImplements
DatabaseTableSpec.DatabaseViewSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DatabaseTableSpec.DatabaseViewSpec build()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec |
|
buildPartial()
public DatabaseTableSpec.DatabaseViewSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec |
|
clear()
public DatabaseTableSpec.DatabaseViewSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
clearBaseTable()
public DatabaseTableSpec.DatabaseViewSpec.Builder clearBaseTable()Name of a singular table this view reflects one to one.
string base_table = 2;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
clearSourceDefinition()
public DatabaseTableSpec.DatabaseViewSpec.Builder clearSourceDefinition()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
clearSqlQuery()
public DatabaseTableSpec.DatabaseViewSpec.Builder clearSqlQuery()SQL query used to generate this view.
string sql_query = 3;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
clearViewType()
public DatabaseTableSpec.DatabaseViewSpec.Builder clearViewType()Type of this view.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
getBaseTable()
public String getBaseTable()Name of a singular table this view reflects one to one.
string base_table = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The baseTable. |
getBaseTableBytes()
public ByteString getBaseTableBytes()Name of a singular table this view reflects one to one.
string base_table = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for baseTable. |
getDefaultInstanceForType()
public DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSourceDefinitionCase()
public DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase |
|
getSqlQuery()
public String getSqlQuery()SQL query used to generate this view.
string sql_query = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The sqlQuery. |
getSqlQueryBytes()
public ByteString getSqlQueryBytes()SQL query used to generate this view.
string sql_query = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sqlQuery. |
getViewType()
public DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType()Type of this view.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.ViewType |
The viewType. |
getViewTypeValue()
public int getViewTypeValue()Type of this view.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for viewType. |
hasBaseTable()
public boolean hasBaseTable()Name of a singular table this view reflects one to one.
string base_table = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the baseTable field is set. |
hasSqlQuery()
public boolean hasSqlQuery()SQL query used to generate this view.
string sql_query = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sqlQuery field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DatabaseTableSpec.DatabaseViewSpec other)
public DatabaseTableSpec.DatabaseViewSpec.Builder mergeFrom(DatabaseTableSpec.DatabaseViewSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseTableSpec.DatabaseViewSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseTableSpec.DatabaseViewSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseTableSpec.DatabaseViewSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
setBaseTable(String value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setBaseTable(String value)Name of a singular table this view reflects one to one.
string base_table = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe baseTable to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
setBaseTableBytes(ByteString value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setBaseTableBytes(ByteString value)Name of a singular table this view reflects one to one.
string base_table = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for baseTable to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
setSqlQuery(String value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setSqlQuery(String value)SQL query used to generate this view.
string sql_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sqlQuery to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
setSqlQueryBytes(ByteString value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setSqlQueryBytes(ByteString value)SQL query used to generate this view.
string sql_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sqlQuery to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
setViewType(DatabaseTableSpec.DatabaseViewSpec.ViewType value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setViewType(DatabaseTableSpec.DatabaseViewSpec.ViewType value)Type of this view.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseTableSpec.DatabaseViewSpec.ViewTypeThe viewType to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |
setViewTypeValue(int value)
public DatabaseTableSpec.DatabaseViewSpec.Builder setViewTypeValue(int value)Type of this view.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for viewType to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
This builder for chaining. |