Class DatabaseTableSpec.DatabaseViewSpec (1.19.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DatabaseTableSpec.DatabaseViewSpec

Static Fields

BASE_TABLE_FIELD_NUMBER

public static final int BASE_TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_QUERY_FIELD_NUMBER

public static final int SQL_QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_TYPE_FIELD_NUMBER

public static final int VIEW_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseTableSpec.DatabaseViewSpec getDefaultInstance()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatabaseTableSpec.DatabaseViewSpec.Builder newBuilder()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.Builder

newBuilder(DatabaseTableSpec.DatabaseViewSpec prototype)

public static DatabaseTableSpec.DatabaseViewSpec.Builder newBuilder(DatabaseTableSpec.DatabaseViewSpec prototype)
Parameter
NameDescription
prototypeDatabaseTableSpec.DatabaseViewSpec
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseTableSpec.DatabaseViewSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DatabaseTableSpec.DatabaseViewSpec> parser()
Returns
TypeDescription
Parser<DatabaseViewSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBaseTable()

public String getBaseTable()

Name of a singular table this view reflects one to one.

string base_table = 2;

Returns
TypeDescription
String

The baseTable.

getBaseTableBytes()

public ByteString getBaseTableBytes()

Name of a singular table this view reflects one to one.

string base_table = 2;

Returns
TypeDescription
ByteString

The bytes for baseTable.

getDefaultInstanceForType()

public DatabaseTableSpec.DatabaseViewSpec getDefaultInstanceForType()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec

getParserForType()

public Parser<DatabaseTableSpec.DatabaseViewSpec> getParserForType()
Returns
TypeDescription
Parser<DatabaseViewSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceDefinitionCase()

public DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase

getSqlQuery()

public String getSqlQuery()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
String

The sqlQuery.

getSqlQueryBytes()

public ByteString getSqlQueryBytes()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
ByteString

The bytes for sqlQuery.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getViewType()

public DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType()

Type of this view.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;

Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.ViewType

The viewType.

getViewTypeValue()

public int getViewTypeValue()

Type of this view.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the baseTable field is set.

hasSqlQuery()

public boolean hasSqlQuery()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
boolean

Whether the sqlQuery field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatabaseTableSpec.DatabaseViewSpec.Builder newBuilderForType()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatabaseTableSpec.DatabaseViewSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatabaseTableSpec.DatabaseViewSpec.Builder toBuilder()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException