Class DatabaseTableSpec.Builder

public static final class DatabaseTableSpec.Builder extends GeneratedMessageV3.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseTableSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

build()

public DatabaseTableSpec build()
Returns
TypeDescription
DatabaseTableSpec

buildPartial()

public DatabaseTableSpec buildPartial()
Returns
TypeDescription
DatabaseTableSpec

clear()

public DatabaseTableSpec.Builder clear()
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DatabaseTableSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

clearType()

public DatabaseTableSpec.Builder clearType()
Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
DatabaseTableSpec.Builder

This builder for chaining.

clone()

public DatabaseTableSpec.Builder clone()
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

getDefaultInstanceForType()

public DatabaseTableSpec getDefaultInstanceForType()
Returns
TypeDescription
DatabaseTableSpec

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public DatabaseTableSpec.TableType getType()
Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
DatabaseTableSpec.TableType

The type.

getTypeValue()

public int getTypeValue()
Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DatabaseTableSpec other)

public DatabaseTableSpec.Builder mergeFrom(DatabaseTableSpec other)
Parameter
NameDescription
otherDatabaseTableSpec
Returns
TypeDescription
DatabaseTableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseTableSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DatabaseTableSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseTableSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatabaseTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides

setType(DatabaseTableSpec.TableType value)

public DatabaseTableSpec.Builder setType(DatabaseTableSpec.TableType value)
Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Parameter
NameDescription
valueDatabaseTableSpec.TableType

The type to set.

Returns
TypeDescription
DatabaseTableSpec.Builder

This builder for chaining.

setTypeValue(int value)

public DatabaseTableSpec.Builder setTypeValue(int value)
Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
DatabaseTableSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatabaseTableSpec.Builder
Overrides