public final class FieldType extends GeneratedMessage implements FieldTypeOrBuilderProtobuf type google.cloud.datacatalog.v1.FieldType
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FieldTypeImplements
FieldTypeOrBuilderStatic 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 |
|
getDefaultInstanceForType()
public FieldType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FieldType |
|
getEnumType()
public FieldType.EnumType getEnumType()An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumType |
The enumType. |
getEnumTypeOrBuilder()
public FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
| Returns | |
|---|---|
| Type | Description |
FieldType.EnumTypeOrBuilder |
|
getParserForType()
public Parser<FieldType> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FieldType> |
|
getPrimitiveType()
public FieldType.PrimitiveType getPrimitiveType()Primitive types, such as string, boolean, etc.
.google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for primitiveType. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTypeDeclCase()
public FieldType.TypeDeclCase getTypeDeclCase()| Returns | |
|---|---|
| Type | Description |
FieldType.TypeDeclCase |
|
hasEnumType()
public boolean hasEnumType()An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the primitiveType field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FieldType.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FieldType.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FieldType.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FieldType.Builder |
|
toBuilder()
public FieldType.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FieldType.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|