Send feedback
Class FieldType.Builder (1.8.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.8.2 keyboard_arrow_down
public static final class FieldType . Builder extends GeneratedMessageV3 . Builder<FieldType . Builder > implements FieldTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1.FieldType
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FieldType . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public FieldType buildPartial ()
Returns
clear()
public FieldType . Builder clear ()
Returns
Overrides
clearEnumType()
public FieldType . Builder clearEnumType ()
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public FieldType . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FieldType . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPrimitiveType()
public FieldType . Builder clearPrimitiveType ()
Primitive types, such as string, boolean, etc.
.google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1;
Returns
clearTypeDecl()
public FieldType . Builder clearTypeDecl ()
Returns
clone()
public FieldType . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public FieldType getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getEnumType()
public FieldType . EnumType getEnumType ()
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Returns
getEnumTypeBuilder()
public FieldType . EnumType . Builder getEnumTypeBuilder ()
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Returns
getEnumTypeOrBuilder()
public FieldType . EnumTypeOrBuilder getEnumTypeOrBuilder ()
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Returns
getPrimitiveType()
public FieldType . PrimitiveType getPrimitiveType ()
Primitive types, such as string, boolean, etc.
.google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1;
Returns
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.
getTypeDeclCase()
public FieldType . TypeDeclCase getTypeDeclCase ()
Returns
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeEnumType(FieldType.EnumType value)
public FieldType . Builder mergeEnumType ( FieldType . EnumType value )
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Parameter
Returns
mergeFrom(FieldType other)
public FieldType . Builder mergeFrom ( FieldType other )
Parameter
Returns
public FieldType . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FieldType . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FieldType . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setEnumType(FieldType.EnumType value)
public FieldType . Builder setEnumType ( FieldType . EnumType value )
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Parameter
Returns
setEnumType(FieldType.EnumType.Builder builderForValue)
public FieldType . Builder setEnumType ( FieldType . EnumType . Builder builderForValue )
An enum type.
.google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FieldType . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPrimitiveType(FieldType.PrimitiveType value)
public FieldType . Builder setPrimitiveType ( FieldType . PrimitiveType value )
Primitive types, such as string, boolean, etc.
.google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1;
Parameter
Returns
setPrimitiveTypeValue(int value)
public FieldType . Builder setPrimitiveTypeValue ( int value )
Primitive types, such as string, boolean, etc.
.google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1;
Parameter
Name Description value int
The enum numeric value on the wire for primitiveType to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FieldType . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FieldType . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]