public static final class FieldType.Builder extends GeneratedMessageV3.Builder<FieldType.Builder> implements FieldTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1.FieldType
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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