public static final class Column.Builder extends GeneratedMessage.Builder<Column.Builder> implements ColumnOrBuilder Describes a single column within Columns.
Protobuf type google.cloud.appoptimize.v1beta.Column
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Column.BuilderImplements
ColumnOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllColumns(Iterable<? extends Column> values)
public Column.Builder addAllColumns(Iterable<? extends Column> values) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.appoptimize.v1beta.Column> |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumns(Column value)
public Column.Builder addColumns(Column value) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Column |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumns(Column.Builder builderForValue)
public Column.Builder addColumns(Column.Builder builderForValue) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Column.Builder |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumns(int index, Column value)
public Column.Builder addColumns(int index, Column value) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Column |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumns(int index, Column.Builder builderForValue)
public Column.Builder addColumns(int index, Column.Builder builderForValue) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Column.Builder |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumnsBuilder()
public Column.Builder addColumnsBuilder() If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
addColumnsBuilder(int index)
public Column.Builder addColumnsBuilder(int index) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
build()
public Column build()| Returns | |
|---|---|
| Type | Description |
Column |
|
buildPartial()
public Column buildPartial()| Returns | |
|---|---|
| Type | Description |
Column |
|
clear()
public Column.Builder clear()| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
clearColumns()
public Column.Builder clearColumns() If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
clearMode()
public Column.Builder 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 | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
clearName()
public Column.Builder 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 | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
clearType()
public Column.Builder clearType()The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
getColumns(int index)
public Column getColumns(int index) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Column |
|
getColumnsBuilder(int index)
public Column.Builder getColumnsBuilder(int index) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
getColumnsBuilderList()
public List<Column.Builder> getColumnsBuilderList() If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getColumnsList()
public List<Column> getColumnsList() If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Returns | |
|---|---|
| Type | Description |
List<Column> |
|
getColumnsOrBuilder(int index)
public ColumnOrBuilder getColumnsOrBuilder(int index) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ColumnOrBuilder |
|
getColumnsOrBuilderList()
public List<? extends ColumnOrBuilder> getColumnsOrBuilderList() If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.appoptimize.v1beta.ColumnOrBuilder> |
|
getDefaultInstanceForType()
public Column getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Column |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMode()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The mode. |
getModeBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mode. |
getName()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public String getType()The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
string type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Column other)
public Column.Builder mergeFrom(Column other)| Parameter | |
|---|---|
| Name | Description |
other |
Column |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Column.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Column.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
removeColumns(int index)
public Column.Builder removeColumns(int index) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
setColumns(int index, Column value)
public Column.Builder setColumns(int index, Column value) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Column |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
setColumns(int index, Column.Builder builderForValue)
public Column.Builder setColumns(int index, Column.Builder builderForValue) If the type of this column is RECORD, this sub-field describes the
nested structure.
repeated .google.cloud.appoptimize.v1beta.Column columns = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Column.Builder |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
setMode(String value)
public Column.Builder setMode(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mode to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
setModeBytes(ByteString value)
public Column.Builder setModeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mode to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
setName(String value)
public Column.Builder setName(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Column.Builder setNameBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
setType(String value)
public Column.Builder setType(String value)The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public Column.Builder setTypeBytes(ByteString value)The data type of the column.
Supported values include:
STRINGINT64FLOAT64BOOLEANTIMESTAMPRECORDRECORDindicates that the field contains a nested schema, described in thecolumnsproperty of thisColumn.
string type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |