Package com.google.cloud.dataplex.v1
Class DataProfileResult.Profile.Field.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
- com.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.Builder
-
- All Implemented Interfaces:
DataProfileResult.Profile.FieldOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataProfileResult.Profile.Field
public static final class DataProfileResult.Profile.Field.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder> implements DataProfileResult.Profile.FieldOrBuilder
A field within a table.
Protobuf typegoogle.cloud.dataplex.v1.DataProfileResult.Profile.Field
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataProfileResult.Profile.Field.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataProfileResult.Profile.Fieldbuild()DataProfileResult.Profile.FieldbuildPartial()DataProfileResult.Profile.Field.Builderclear()DataProfileResult.Profile.Field.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataProfileResult.Profile.Field.BuilderclearMode()The mode of the field.DataProfileResult.Profile.Field.BuilderclearName()The name of the field.DataProfileResult.Profile.Field.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataProfileResult.Profile.Field.BuilderclearProfile()Profile information for the corresponding field.DataProfileResult.Profile.Field.BuilderclearType()The data type retrieved from the schema of the data source.DataProfileResult.Profile.Field.Builderclone()DataProfileResult.Profile.FieldgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMode()The mode of the field.com.google.protobuf.ByteStringgetModeBytes()The mode of the field.StringgetName()The name of the field.com.google.protobuf.ByteStringgetNameBytes()The name of the field.DataProfileResult.Profile.Field.ProfileInfogetProfile()Profile information for the corresponding field.DataProfileResult.Profile.Field.ProfileInfo.BuildergetProfileBuilder()Profile information for the corresponding field.DataProfileResult.Profile.Field.ProfileInfoOrBuildergetProfileOrBuilder()Profile information for the corresponding field.StringgetType()The data type retrieved from the schema of the data source.com.google.protobuf.ByteStringgetTypeBytes()The data type retrieved from the schema of the data source.booleanhasProfile()Profile information for the corresponding field.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataProfileResult.Profile.Field.BuildermergeFrom(DataProfileResult.Profile.Field other)DataProfileResult.Profile.Field.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataProfileResult.Profile.Field.BuildermergeFrom(com.google.protobuf.Message other)DataProfileResult.Profile.Field.BuildermergeProfile(DataProfileResult.Profile.Field.ProfileInfo value)Profile information for the corresponding field.DataProfileResult.Profile.Field.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataProfileResult.Profile.Field.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataProfileResult.Profile.Field.BuildersetMode(String value)The mode of the field.DataProfileResult.Profile.Field.BuildersetModeBytes(com.google.protobuf.ByteString value)The mode of the field.DataProfileResult.Profile.Field.BuildersetName(String value)The name of the field.DataProfileResult.Profile.Field.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the field.DataProfileResult.Profile.Field.BuildersetProfile(DataProfileResult.Profile.Field.ProfileInfo value)Profile information for the corresponding field.DataProfileResult.Profile.Field.BuildersetProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue)Profile information for the corresponding field.DataProfileResult.Profile.Field.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataProfileResult.Profile.Field.BuildersetType(String value)The data type retrieved from the schema of the data source.DataProfileResult.Profile.Field.BuildersetTypeBytes(com.google.protobuf.ByteString value)The data type retrieved from the schema of the data source.DataProfileResult.Profile.Field.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
clear
public DataProfileResult.Profile.Field.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
getDefaultInstanceForType
public DataProfileResult.Profile.Field getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataProfileResult.Profile.Field build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataProfileResult.Profile.Field buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataProfileResult.Profile.Field.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
setField
public DataProfileResult.Profile.Field.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
clearField
public DataProfileResult.Profile.Field.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
clearOneof
public DataProfileResult.Profile.Field.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
setRepeatedField
public DataProfileResult.Profile.Field.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
addRepeatedField
public DataProfileResult.Profile.Field.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
mergeFrom
public DataProfileResult.Profile.Field.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileResult.Profile.Field.Builder>
-
mergeFrom
public DataProfileResult.Profile.Field.Builder mergeFrom(DataProfileResult.Profile.Field other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
mergeFrom
public DataProfileResult.Profile.Field.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileResult.Profile.Field.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the field.
string name = 1;- Specified by:
getNamein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the field.
string name = 1;- Specified by:
getNameBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for name.
-
setName
public DataProfileResult.Profile.Field.Builder setName(String value)
The name of the field.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DataProfileResult.Profile.Field.Builder clearName()
The name of the field.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public DataProfileResult.Profile.Field.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the field.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the [BigQuery Table Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). For a Dataplex Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2;- Specified by:
getTypein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the [BigQuery Table Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). For a Dataplex Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2;- Specified by:
getTypeBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for type.
-
setType
public DataProfileResult.Profile.Field.Builder setType(String value)
The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the [BigQuery Table Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). For a Dataplex Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public DataProfileResult.Profile.Field.Builder clearType()
The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the [BigQuery Table Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). For a Dataplex Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public DataProfileResult.Profile.Field.Builder setTypeBytes(com.google.protobuf.ByteString value)
The data type retrieved from the schema of the data source. For instance, for a BigQuery native table, it is the [BigQuery Table Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). For a Dataplex Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getMode
public String getMode()
The mode of the field. Possible values include: * REQUIRED, if it is a required field. * NULLABLE, if it is an optional field. * REPEATED, if it is a repeated field.
string mode = 3;- Specified by:
getModein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()
The mode of the field. Possible values include: * REQUIRED, if it is a required field. * NULLABLE, if it is an optional field. * REPEATED, if it is a repeated field.
string mode = 3;- Specified by:
getModeBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for mode.
-
setMode
public DataProfileResult.Profile.Field.Builder setMode(String value)
The mode of the field. Possible values include: * REQUIRED, if it is a required field. * NULLABLE, if it is an optional field. * REPEATED, if it is a repeated field.
string mode = 3;- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
public DataProfileResult.Profile.Field.Builder clearMode()
The mode of the field. Possible values include: * REQUIRED, if it is a required field. * NULLABLE, if it is an optional field. * REPEATED, if it is a repeated field.
string mode = 3;- Returns:
- This builder for chaining.
-
setModeBytes
public DataProfileResult.Profile.Field.Builder setModeBytes(com.google.protobuf.ByteString value)
The mode of the field. Possible values include: * REQUIRED, if it is a required field. * NULLABLE, if it is an optional field. * REPEATED, if it is a repeated field.
string mode = 3;- Parameters:
value- The bytes for mode to set.- Returns:
- This builder for chaining.
-
hasProfile
public boolean hasProfile()
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;- Specified by:
hasProfilein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- Whether the profile field is set.
-
getProfile
public DataProfileResult.Profile.Field.ProfileInfo getProfile()
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;- Specified by:
getProfilein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The profile.
-
setProfile
public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo value)
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
-
setProfile
public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue)
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
-
mergeProfile
public DataProfileResult.Profile.Field.Builder mergeProfile(DataProfileResult.Profile.Field.ProfileInfo value)
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
-
clearProfile
public DataProfileResult.Profile.Field.Builder clearProfile()
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
-
getProfileBuilder
public DataProfileResult.Profile.Field.ProfileInfo.Builder getProfileBuilder()
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;
-
getProfileOrBuilder
public DataProfileResult.Profile.Field.ProfileInfoOrBuilder getProfileOrBuilder()
Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4;- Specified by:
getProfileOrBuilderin interfaceDataProfileResult.Profile.FieldOrBuilder
-
setUnknownFields
public final DataProfileResult.Profile.Field.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
mergeUnknownFields
public final DataProfileResult.Profile.Field.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataProfileResult.Profile.Field.Builder>
-
-