public static final class FieldType.Builder extends GeneratedMessageV3.Builder<FieldType.Builder> implements FieldTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1beta1.FieldType
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.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()
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.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()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
Returns
getEnumTypeBuilder()
public FieldType.EnumType.Builder getEnumTypeBuilder()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
Returns
getEnumTypeOrBuilder()
public FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
Returns
getPrimitiveType()
public FieldType.PrimitiveType getPrimitiveType()
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;
Returns
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.
|
getTypeDeclCase()
public FieldType.TypeDeclCase getTypeDeclCase()
Returns
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.
|
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)
Represents an enum type.
.google.cloud.datacatalog.v1beta1.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)
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
Parameter
Returns
setEnumType(FieldType.EnumType.Builder builderForValue)
public FieldType.Builder setEnumType(FieldType.EnumType.Builder builderForValue)
Represents an enum type.
.google.cloud.datacatalog.v1beta1.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)
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;
Parameter
Returns
setPrimitiveTypeValue(int value)
public FieldType.Builder setPrimitiveTypeValue(int value)
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.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