Package com.google.cloud.datacatalog.v1
Class DatabaseTableSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder
- All Implemented Interfaces:
DatabaseTableSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatabaseTableSpec
public static final class DatabaseTableSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
implements DatabaseTableSpecOrBuilder
Specification that applies to a table resource. Valid only for entries with the `TABLE` type.Protobuf type
google.cloud.datacatalog.v1.DatabaseTableSpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Spec what applies to tables that are actually views.Output only.Type of this table.Spec what applies to tables that are actually views.Spec what applies to tables that are actually views.Spec what applies to tables that are actually views.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetType()Type of this table.intType of this table.booleanSpec what applies to tables that are actually views.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanSpec what applies to tables that are actually views.Output only.mergeFrom(DatabaseTableSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Spec what applies to tables that are actually views.setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue) Spec what applies to tables that are actually views.Output only.setDataplexTable(DataplexTableSpec.Builder builderForValue) Output only.Type of this table.setTypeValue(int value) Type of this table.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseTableSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatabaseTableSpec.Builder>
-
mergeFrom
public DatabaseTableSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseTableSpec.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;- Specified by:
getTypeValuein interfaceDatabaseTableSpecOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;- Specified by:
getTypein interfaceDatabaseTableSpecOrBuilder- Returns:
- The type.
-
setType
Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;- Returns:
- This builder for chaining.
-
hasDataplexTable
public boolean hasDataplexTable()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDataplexTablein interfaceDatabaseTableSpecOrBuilder- Returns:
- Whether the dataplexTable field is set.
-
getDataplexTable
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataplexTablein interfaceDatabaseTableSpecOrBuilder- Returns:
- The dataplexTable.
-
setDataplexTable
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDataplexTable
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDataplexTable
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDataplexTable
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataplexTableBuilder
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataplexTableOrBuilder
Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataplexTableOrBuilderin interfaceDatabaseTableSpecOrBuilder
-
hasDatabaseViewSpec
public boolean hasDatabaseViewSpec()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;- Specified by:
hasDatabaseViewSpecin interfaceDatabaseTableSpecOrBuilder- Returns:
- Whether the databaseViewSpec field is set.
-
getDatabaseViewSpec
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;- Specified by:
getDatabaseViewSpecin interfaceDatabaseTableSpecOrBuilder- Returns:
- The databaseViewSpec.
-
setDatabaseViewSpec
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; -
setDatabaseViewSpec
public DatabaseTableSpec.Builder setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue) Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; -
mergeDatabaseViewSpec
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; -
clearDatabaseViewSpec
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; -
getDatabaseViewSpecBuilder
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3; -
getDatabaseViewSpecOrBuilder
Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;- Specified by:
getDatabaseViewSpecOrBuilderin interfaceDatabaseTableSpecOrBuilder
-