public static final class DatabaseTableSpec.DatabaseViewSpec extends GeneratedMessageV3 implements DatabaseTableSpec.DatabaseViewSpecOrBuilder
Specification that applies to database view.
Protobuf type google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BASE_TABLE_FIELD_NUMBER
public static final int BASE_TABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SQL_QUERY_FIELD_NUMBER
public static final int SQL_QUERY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIEW_TYPE_FIELD_NUMBER
public static final int VIEW_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DatabaseTableSpec.DatabaseViewSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DatabaseTableSpec.DatabaseViewSpec.Builder newBuilder()
newBuilder(DatabaseTableSpec.DatabaseViewSpec prototype)
public static DatabaseTableSpec.DatabaseViewSpec.Builder newBuilder(DatabaseTableSpec.DatabaseViewSpec prototype)
public static DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(InputStream input)
public static DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(CodedInputStream input)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(InputStream input)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DatabaseTableSpec.DatabaseViewSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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()
getParserForType()
public Parser<DatabaseTableSpec.DatabaseViewSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSourceDefinitionCase()
public DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase()
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;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DatabaseTableSpec.DatabaseViewSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatabaseTableSpec.DatabaseViewSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DatabaseTableSpec.DatabaseViewSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides