Interface FieldTypeOrBuilder (1.21.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
TypeDescription
FieldType.EnumType

The enumType.

getEnumTypeOrBuilder()

public abstract FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()

Represents an enum type.

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

Returns
TypeDescription
FieldType.EnumTypeOrBuilder

getPrimitiveType()

public abstract FieldType.PrimitiveType getPrimitiveType()

Represents primitive types - string, bool etc.

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

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for primitiveType.

getTypeDeclCase()

public abstract FieldType.TypeDeclCase getTypeDeclCase()
Returns
TypeDescription
FieldType.TypeDeclCase

hasEnumType()

public abstract boolean hasEnumType()

Represents an enum type.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the primitiveType field is set.