Package com.google.cloud.automl.v1beta1
Class ColumnSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnSpec.Builder>
com.google.cloud.automl.v1beta1.ColumnSpec.Builder
- All Implemented Interfaces:
ColumnSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnSpec
public static final class ColumnSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ColumnSpec.Builder>
implements ColumnSpecOrBuilder
A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were given on import . Used by: * TablesProtobuf type
google.cloud.automl.v1beta1.ColumnSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopCorrelatedColumns(Iterable<? extends ColumnSpec.CorrelatedColumn> values) Deprecated.addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value) Deprecated.addTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue) Deprecated.Deprecated.addTopCorrelatedColumns(ColumnSpec.CorrelatedColumn.Builder builderForValue) Deprecated.Deprecated.addTopCorrelatedColumnsBuilder(int index) Deprecated.build()clear()Output only.The data type of elements stored in the column.Output only.Used to perform consistent read-modify-write updates.Output only.Deprecated.Output only.Output only.Output only.The data type of elements stored in the column.The data type of elements stored in the column.The data type of elements stored in the column.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringUsed to perform consistent read-modify-write updates.getName()Output only.com.google.protobuf.ByteStringOutput only.getTopCorrelatedColumns(int index) Deprecated.getTopCorrelatedColumnsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getTopCorrelatedColumnsOrBuilder(int index) Deprecated.List<? extends ColumnSpec.CorrelatedColumnOrBuilder>Deprecated.booleanOutput only.booleanThe data type of elements stored in the column.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDataStats(DataStats value) Output only.mergeDataType(DataType value) The data type of elements stored in the column.mergeFrom(ColumnSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTopCorrelatedColumns(int index) Deprecated.setDataStats(DataStats value) Output only.setDataStats(DataStats.Builder builderForValue) Output only.setDataType(DataType value) The data type of elements stored in the column.setDataType(DataType.Builder builderForValue) The data type of elements stored in the column.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Used to perform consistent read-modify-write updates.setEtagBytes(com.google.protobuf.ByteString value) Used to perform consistent read-modify-write updates.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn value) Deprecated.setTopCorrelatedColumns(int index, ColumnSpec.CorrelatedColumn.Builder builderForValue) Deprecated.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<ColumnSpec.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<ColumnSpec.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<ColumnSpec.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<ColumnSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ColumnSpec.Builder>
-
mergeFrom
public ColumnSpec.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<ColumnSpec.Builder>- Throws:
IOException
-
getName
Output only. The resource name of the column specs. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`string name = 1;- Specified by:
getNamein interfaceColumnSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the column specs. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`string name = 1;- Specified by:
getNameBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The resource name of the column specs. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The resource name of the column specs. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The resource name of the column specs. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}`string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDataType
public boolean hasDataType()The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
hasDataTypein interfaceColumnSpecOrBuilder- Returns:
- Whether the dataType field is set.
-
getDataType
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
getDataTypein interfaceColumnSpecOrBuilder- Returns:
- The dataType.
-
setDataType
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2; -
setDataType
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2; -
mergeDataType
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2; -
clearDataType
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2; -
getDataTypeBuilder
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2; -
getDataTypeOrBuilder
The data type of elements stored in the column.
.google.cloud.automl.v1beta1.DataType data_type = 2;- Specified by:
getDataTypeOrBuilderin interfaceColumnSpecOrBuilder
-
getDisplayName
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;- Specified by:
getDisplayNamein interfaceColumnSpecOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The name of the column to show in the interface. The name can be up to 100 characters long and can consist only of ASCII Latin letters A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and must start with a letter or a digit.
string display_name = 3;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasDataStats
public boolean hasDataStats()Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;- Specified by:
hasDataStatsin interfaceColumnSpecOrBuilder- Returns:
- Whether the dataStats field is set.
-
getDataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;- Specified by:
getDataStatsin interfaceColumnSpecOrBuilder- Returns:
- The dataStats.
-
setDataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4; -
setDataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4; -
mergeDataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4; -
clearDataStats
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4; -
getDataStatsBuilder
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4; -
getDataStatsOrBuilder
Output only. Stats of the series of values in the column. This field may be stale, see the ancestor's Dataset.tables_dataset_metadata.stats_update_time field for the timestamp at which these stats were last updated.
.google.cloud.automl.v1beta1.DataStats data_stats = 4;- Specified by:
getDataStatsOrBuilderin interfaceColumnSpecOrBuilder
-
getEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Specified by:
getEtagin interfaceColumnSpecOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Specified by:
getEtagBytesin interfaceColumnSpecOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Returns:
- This builder for chaining.
-
setEtagBytes
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-