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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FieldType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public FieldType buildPartial()
clear()
public FieldType.Builder clear()
Overrides
clearEnumType()
public FieldType.Builder clearEnumType()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
clearField(Descriptors.FieldDescriptor field)
public FieldType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FieldType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrimitiveType()
public FieldType.Builder clearPrimitiveType()
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;
clearTypeDecl()
public FieldType.Builder clearTypeDecl()
clone()
public FieldType.Builder clone()
Overrides
getDefaultInstanceForType()
public FieldType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnumType()
public FieldType.EnumType getEnumType()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
getEnumTypeBuilder()
public FieldType.EnumType.Builder getEnumTypeBuilder()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
getEnumTypeOrBuilder()
public FieldType.EnumTypeOrBuilder getEnumTypeOrBuilder()
Represents an enum type.
.google.cloud.datacatalog.v1beta1.FieldType.EnumType enum_type = 2;
getPrimitiveType()
public FieldType.PrimitiveType getPrimitiveType()
Represents primitive types - string, bool etc.
.google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1;
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(FieldType other)
public FieldType.Builder mergeFrom(FieldType other)
public FieldType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FieldType.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public FieldType.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FieldType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FieldType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides