Interface FieldTypeOrBuilder (1.50.0)

public interface FieldTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnumType()

public abstract FieldType.EnumType getEnumType()

Represents an enum type.

.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;

Returns
Type Description
FieldType.EnumType

The enumType.

getEnumTypeOrBuilder()

public abstract FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()

Represents an enum type.

.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;

Returns
Type Description
FieldType.EnumTypeOrBuilder

getPrimitiveType()

public abstract FieldType.PrimitiveType getPrimitiveType()

Represents primitive types - string, bool etc.

.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;

Returns
Type Description
FieldType.PrimitiveType

The primitiveType.

getPrimitiveTypeValue()

public abstract int getPrimitiveTypeValue()

Represents primitive types - string, bool etc.

.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for primitiveType.

getTypeDeclCase()

public abstract FieldType.TypeDeclCase getTypeDeclCase()
Returns
Type Description
FieldType.TypeDeclCase

hasEnumType()

public abstract boolean hasEnumType()

Represents an enum type.

.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;

Returns
Type Description
boolean

Whether the enumType field is set.

hasPrimitiveType()

public abstract boolean hasPrimitiveType()

Represents primitive types - string, bool etc.

.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;

Returns
Type Description
boolean

Whether the primitiveType field is set.