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.GeneratedMessage.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.GeneratedMessage.Builder<DataProfileResult.Profile.Field.Builder>
implements DataProfileResult.Profile.FieldOrBuilder
A field within a table.Protobuf type
google.cloud.dataplex.v1.DataProfileResult.Profile.Field-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMode()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.getType()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setModeBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue) Output only.Output only.setTypeBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<DataProfileResult.Profile.Field.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataProfileResult.Profile.Field.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
Output only. The name of the field.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The name of the field.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The name of the field.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The name of the field.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The name of the field.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
Output only. 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 Universal Catalog Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Output only. 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 Universal Catalog Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for type.
-
setType
Output only. 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 Universal Catalog Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. 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 Universal Catalog Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTypeBytes
Output only. 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 Universal Catalog Entity, it is the [Entity Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3).
string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getMode
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModeBytesin interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The bytes for mode.
-
setMode
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setModeBytes
Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for mode to set.- Returns:
- This builder for chaining.
-
hasProfile
public boolean hasProfile()Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProfilein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- Whether the profile field is set.
-
getProfile
Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProfilein interfaceDataProfileResult.Profile.FieldOrBuilder- Returns:
- The profile.
-
setProfile
public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo value) Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setProfile
public DataProfileResult.Profile.Field.Builder setProfile(DataProfileResult.Profile.Field.ProfileInfo.Builder builderForValue) Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeProfile
public DataProfileResult.Profile.Field.Builder mergeProfile(DataProfileResult.Profile.Field.ProfileInfo value) Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearProfile
Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProfileBuilder
Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProfileOrBuilder
Output only. Profile information for the corresponding field.
.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo profile = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProfileOrBuilderin interfaceDataProfileResult.Profile.FieldOrBuilder
-