public final class BigQueryTableSpec extends GeneratedMessageV3 implements BigQueryTableSpecOrBuilder
Describes a BigQuery table.
Protobuf type google.cloud.datacatalog.v1.BigQueryTableSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
TABLE_SOURCE_TYPE_FIELD_NUMBER
public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_SPEC_FIELD_NUMBER
public static final int TABLE_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIEW_SPEC_FIELD_NUMBER
public static final int VIEW_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BigQueryTableSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BigQueryTableSpec.Builder newBuilder()
newBuilder(BigQueryTableSpec prototype)
public static BigQueryTableSpec.Builder newBuilder(BigQueryTableSpec prototype)
public static BigQueryTableSpec parseDelimitedFrom(InputStream input)
public static BigQueryTableSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BigQueryTableSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BigQueryTableSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(CodedInputStream input)
public static BigQueryTableSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(InputStream input)
public static BigQueryTableSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BigQueryTableSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BigQueryTableSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BigQueryTableSpec getDefaultInstanceForType()
getParserForType()
public Parser<BigQueryTableSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTableSourceType()
public TableSourceType getTableSourceType()
Output only. The table source type.
.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTableSourceTypeValue()
public int getTableSourceTypeValue()
Output only. The table source type.
.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for tableSourceType.
|
getTableSpec()
public TableSpec getTableSpec()
Specification of a BigQuery table. Populated only if
the table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1.TableSpec table_spec = 3;
Returns |
---|
Type | Description |
TableSpec | The tableSpec.
|
getTableSpecOrBuilder()
public TableSpecOrBuilder getTableSpecOrBuilder()
Specification of a BigQuery table. Populated only if
the table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1.TableSpec table_spec = 3;
getTypeSpecCase()
public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
getViewSpec()
public ViewSpec getViewSpec()
Table view specification. Populated only if
the table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
Returns |
---|
Type | Description |
ViewSpec | The viewSpec.
|
getViewSpecOrBuilder()
public ViewSpecOrBuilder getViewSpecOrBuilder()
Table view specification. Populated only if
the table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
hasTableSpec()
public boolean hasTableSpec()
Specification of a BigQuery table. Populated only if
the table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1.TableSpec table_spec = 3;
Returns |
---|
Type | Description |
boolean | Whether the tableSpec field is set.
|
hasViewSpec()
public boolean hasViewSpec()
Table view specification. Populated only if
the table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;
Returns |
---|
Type | Description |
boolean | Whether the viewSpec field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BigQueryTableSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryTableSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BigQueryTableSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides