Class FieldType (1.8.2)

public final class FieldType extends GeneratedMessageV3 implements FieldTypeOrBuilder

Protobuf type google.cloud.datacatalog.v1.FieldType

Implements

FieldTypeOrBuilder

Static Fields

ENUM_TYPE_FIELD_NUMBER

public static final int ENUM_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMITIVE_TYPE_FIELD_NUMBER

public static final int PRIMITIVE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FieldType getDefaultInstance()
Returns
TypeDescription
FieldType

getDescriptor()

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

newBuilder()

public static FieldType.Builder newBuilder()
Returns
TypeDescription
FieldType.Builder

newBuilder(FieldType prototype)

public static FieldType.Builder newBuilder(FieldType prototype)
Parameter
NameDescription
prototypeFieldType
Returns
TypeDescription
FieldType.Builder

parseDelimitedFrom(InputStream input)

public static FieldType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FieldType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FieldType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FieldType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FieldType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FieldType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FieldType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FieldType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FieldType> parser()
Returns
TypeDescription
Parser<FieldType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FieldType getDefaultInstanceForType()
Returns
TypeDescription
FieldType

getEnumType()

public FieldType.EnumType getEnumType()

An enum type.

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

Returns
TypeDescription
FieldType.EnumType

The enumType.

getEnumTypeOrBuilder()

public FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()

An enum type.

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

Returns
TypeDescription
FieldType.EnumTypeOrBuilder

getParserForType()

public Parser<FieldType> getParserForType()
Returns
TypeDescription
Parser<FieldType>
Overrides

getPrimitiveType()

public FieldType.PrimitiveType getPrimitiveType()

Primitive types, such as string, boolean, etc.

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

Returns
TypeDescription
FieldType.PrimitiveType

The primitiveType.

getPrimitiveTypeValue()

public int getPrimitiveTypeValue()

Primitive types, such as string, boolean, etc.

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

Returns
TypeDescription
int

The enum numeric value on the wire for primitiveType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeDeclCase()

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEnumType()

public boolean hasEnumType()

An enum type.

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

Returns
TypeDescription
boolean

Whether the enumType field is set.

hasPrimitiveType()

public boolean hasPrimitiveType()

Primitive types, such as string, boolean, etc.

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

Returns
TypeDescription
boolean

Whether the primitiveType field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FieldType.Builder newBuilderForType()
Returns
TypeDescription
FieldType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FieldType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FieldType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FieldType.Builder toBuilder()
Returns
TypeDescription
FieldType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException