Class FieldType (1.52.0)

public final class FieldType extends GeneratedMessageV3 implements FieldTypeOrBuilder

Protobuf type google.cloud.datacatalog.v1beta1.FieldType

Implements

FieldTypeOrBuilder

Static Fields

ENUM_TYPE_FIELD_NUMBER

public static final int ENUM_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PRIMITIVE_TYPE_FIELD_NUMBER

public static final int PRIMITIVE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FieldType getDefaultInstance()
Returns
Type Description
FieldType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FieldType.Builder newBuilder()
Returns
Type Description
FieldType.Builder

newBuilder(FieldType prototype)

public static FieldType.Builder newBuilder(FieldType prototype)
Parameter
Name Description
prototype FieldType
Returns
Type Description
FieldType.Builder

parseDelimitedFrom(InputStream input)

public static FieldType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FieldType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FieldType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FieldType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FieldType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FieldType> parser()
Returns
Type Description
Parser<FieldType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FieldType getDefaultInstanceForType()
Returns
Type Description
FieldType

getEnumType()

public 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 FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()

Represents an enum type.

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

Returns
Type Description
FieldType.EnumTypeOrBuilder

getParserForType()

public Parser<FieldType> getParserForType()
Returns
Type Description
Parser<FieldType>
Overrides

getPrimitiveType()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeDeclCase()

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

hasEnumType()

public 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FieldType.Builder newBuilderForType()
Returns
Type Description
FieldType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FieldType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FieldType.Builder toBuilder()
Returns
Type Description
FieldType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException