public final class BigQueryTableSpec extends GeneratedMessageV3 implements BigQueryTableSpecOrBuilder
Describes a BigQuery table.
Protobuf type google.cloud.datacatalog.v1beta1.BigQueryTableSpec
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
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.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTableSourceTypeValue()
public int getTableSourceTypeValue()
Output only. The table source type.
.google.cloud.datacatalog.v1beta1.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()
Spec of a BigQuery table. This field should only be populated if
table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
Returns |
Type |
Description |
TableSpec |
The tableSpec.
|
getTableSpecOrBuilder()
public TableSpecOrBuilder getTableSpecOrBuilder()
Spec of a BigQuery table. This field should only be populated if
table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
getTypeSpecCase()
public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
getViewSpec()
public ViewSpec getViewSpec()
Table view specification. This field should only be populated if
table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
Returns |
Type |
Description |
ViewSpec |
The viewSpec.
|
getViewSpecOrBuilder()
public ViewSpecOrBuilder getViewSpecOrBuilder()
Table view specification. This field should only be populated if
table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
hasTableSpec()
public boolean hasTableSpec()
Spec of a BigQuery table. This field should only be populated if
table_source_type
is BIGQUERY_TABLE
.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
Returns |
Type |
Description |
boolean |
Whether the tableSpec field is set.
|
hasViewSpec()
public boolean hasViewSpec()
Table view specification. This field should only be populated if
table_source_type
is BIGQUERY_VIEW
.
.google.cloud.datacatalog.v1beta1.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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BigQueryTableSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides