Class Column.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Column.Builder>
com.google.cloud.appoptimize.v1beta.Column.Builder
- All Implemented Interfaces:
ColumnOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Column
public static final class Column.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Column.Builder>
implements ColumnOrBuilder
Describes a single column within `Columns`.Protobuf type
google.cloud.appoptimize.v1beta.Column-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumns(Iterable<? extends Column> values) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.addColumns(int index, Column value) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.addColumns(int index, Column.Builder builderForValue) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.addColumns(Column value) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.addColumns(Column.Builder builderForValue) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.If the `type` of this column is `RECORD`, this sub-field describes the nested structure.addColumnsBuilder(int index) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.build()clear()If the `type` of this column is `RECORD`, this sub-field describes the nested structure.The mode of the column, indicating if it is nullable, required, or repeated.The name of the column.The data type of the column.getColumns(int index) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.getColumnsBuilder(int index) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.If the `type` of this column is `RECORD`, this sub-field describes the nested structure.intIf the `type` of this column is `RECORD`, this sub-field describes the nested structure.If the `type` of this column is `RECORD`, this sub-field describes the nested structure.getColumnsOrBuilder(int index) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.List<? extends ColumnOrBuilder>If the `type` of this column is `RECORD`, this sub-field describes the nested structure.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMode()The mode of the column, indicating if it is nullable, required, or repeated.com.google.protobuf.ByteStringThe mode of the column, indicating if it is nullable, required, or repeated.getName()The name of the column.com.google.protobuf.ByteStringThe name of the column.getType()The data type of the column.com.google.protobuf.ByteStringThe data type of the column.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeColumns(int index) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.setColumns(int index, Column value) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.setColumns(int index, Column.Builder builderForValue) If the `type` of this column is `RECORD`, this sub-field describes the nested structure.The mode of the column, indicating if it is nullable, required, or repeated.setModeBytes(com.google.protobuf.ByteString value) The mode of the column, indicating if it is nullable, required, or repeated.The name of the column.setNameBytes(com.google.protobuf.ByteString value) The name of the column.The data type of the column.setTypeBytes(com.google.protobuf.ByteString value) The data type of the column.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<Column.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<Column.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<Column.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<Column.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Column.Builder>
-
mergeFrom
public Column.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<Column.Builder>- Throws:
IOException
-
getName
The name of the column. This field: * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * Start with a letter or underscore; and * Has a maximum length is 128 characters.
string name = 1;- Specified by:
getNamein interfaceColumnOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the column. This field: * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * Start with a letter or underscore; and * Has a maximum length is 128 characters.
string name = 1;- Specified by:
getNameBytesin interfaceColumnOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the column. This field: * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * Start with a letter or underscore; and * Has a maximum length is 128 characters.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the column. This field: * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * Start with a letter or underscore; and * Has a maximum length is 128 characters.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of the column. This field: * Contains only letters (a-z, A-Z), numbers (0-9), or underscores (_); * Start with a letter or underscore; and * Has a maximum length is 128 characters.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
The data type of the column. Supported values include: * `STRING` * `INT64` * `FLOAT64` * `BOOLEAN` * `TIMESTAMP` * `RECORD` `RECORD` indicates that the field contains a nested schema, described in the `columns` property of this `Column`.
string type = 2;- Specified by:
getTypein interfaceColumnOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()The data type of the column. Supported values include: * `STRING` * `INT64` * `FLOAT64` * `BOOLEAN` * `TIMESTAMP` * `RECORD` `RECORD` indicates that the field contains a nested schema, described in the `columns` property of this `Column`.
string type = 2;- Specified by:
getTypeBytesin interfaceColumnOrBuilder- Returns:
- The bytes for type.
-
setType
The data type of the column. Supported values include: * `STRING` * `INT64` * `FLOAT64` * `BOOLEAN` * `TIMESTAMP` * `RECORD` `RECORD` indicates that the field contains a nested schema, described in the `columns` property of this `Column`.
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The data type of the column. Supported values include: * `STRING` * `INT64` * `FLOAT64` * `BOOLEAN` * `TIMESTAMP` * `RECORD` `RECORD` indicates that the field contains a nested schema, described in the `columns` property of this `Column`.
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
The data type of the column. Supported values include: * `STRING` * `INT64` * `FLOAT64` * `BOOLEAN` * `TIMESTAMP` * `RECORD` `RECORD` indicates that the field contains a nested schema, described in the `columns` property of this `Column`.
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getMode
The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * `NULLABLE`: The column allows NULL values. * `REQUIRED`: The column does not allow NULL values. * `REPEATED`: The column contains an array of values.
string mode = 3;- Specified by:
getModein interfaceColumnOrBuilder- Returns:
- The mode.
-
getModeBytes
public com.google.protobuf.ByteString getModeBytes()The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * `NULLABLE`: The column allows NULL values. * `REQUIRED`: The column does not allow NULL values. * `REPEATED`: The column contains an array of values.
string mode = 3;- Specified by:
getModeBytesin interfaceColumnOrBuilder- Returns:
- The bytes for mode.
-
setMode
The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * `NULLABLE`: The column allows NULL values. * `REQUIRED`: The column does not allow NULL values. * `REPEATED`: The column contains an array of values.
string mode = 3;- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * `NULLABLE`: The column allows NULL values. * `REQUIRED`: The column does not allow NULL values. * `REPEATED`: The column contains an array of values.
string mode = 3;- Returns:
- This builder for chaining.
-
setModeBytes
The mode of the column, indicating if it is nullable, required, or repeated. Possible values: * `NULLABLE`: The column allows NULL values. * `REQUIRED`: The column does not allow NULL values. * `REPEATED`: The column contains an array of values.
string mode = 3;- Parameters:
value- The bytes for mode to set.- Returns:
- This builder for chaining.
-
getColumnsList
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;- Specified by:
getColumnsListin interfaceColumnOrBuilder
-
getColumnsCount
public int getColumnsCount()If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;- Specified by:
getColumnsCountin interfaceColumnOrBuilder
-
getColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;- Specified by:
getColumnsin interfaceColumnOrBuilder
-
setColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
setColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addAllColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
clearColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
removeColumns
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
getColumnsBuilder
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
getColumnsOrBuilder
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;- Specified by:
getColumnsOrBuilderin interfaceColumnOrBuilder
-
getColumnsOrBuilderList
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;- Specified by:
getColumnsOrBuilderListin interfaceColumnOrBuilder
-
addColumnsBuilder
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
addColumnsBuilder
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4; -
getColumnsBuilderList
If the `type` of this column is `RECORD`, this sub-field describes the nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
-