Class Row.Builder (0.5.0)

public static final class Row.Builder extends GeneratedMessageV3.Builder<Row.Builder> implements RowOrBuilder

Include a list of cells.

Protobuf type google.shopping.merchant.accounts.v1beta.Row

Implements

RowOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCells(Iterable<? extends Value> values)

public Row.Builder addAllCells(Iterable<? extends Value> values)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.Value>
Returns
Type Description
Row.Builder

addCells(Value value)

public Row.Builder addCells(Value value)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Value
Returns
Type Description
Row.Builder

addCells(Value.Builder builderForValue)

public Row.Builder addCells(Value.Builder builderForValue)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Value.Builder
Returns
Type Description
Row.Builder

addCells(int index, Value value)

public Row.Builder addCells(int index, Value value)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Value
Returns
Type Description
Row.Builder

addCells(int index, Value.Builder builderForValue)

public Row.Builder addCells(int index, Value.Builder builderForValue)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Value.Builder
Returns
Type Description
Row.Builder

addCellsBuilder()

public Value.Builder addCellsBuilder()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Value.Builder

addCellsBuilder(int index)

public Value.Builder addCellsBuilder(int index)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Value.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Row.Builder
Overrides

build()

public Row build()
Returns
Type Description
Row

buildPartial()

public Row buildPartial()
Returns
Type Description
Row

clear()

public Row.Builder clear()
Returns
Type Description
Row.Builder
Overrides

clearCells()

public Row.Builder clearCells()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Row.Builder

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Row.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Row.Builder
Overrides

clone()

public Row.Builder clone()
Returns
Type Description
Row.Builder
Overrides

getCells(int index)

public Value getCells(int index)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Value

getCellsBuilder(int index)

public Value.Builder getCellsBuilder(int index)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Value.Builder

getCellsBuilderList()

public List<Value.Builder> getCellsBuilderList()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getCellsCount()

public int getCellsCount()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getCellsList()

public List<Value> getCellsList()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Value>

getCellsOrBuilder(int index)

public ValueOrBuilder getCellsOrBuilder(int index)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ValueOrBuilder

getCellsOrBuilderList()

public List<? extends ValueOrBuilder> getCellsOrBuilderList()

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.ValueOrBuilder>

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Row.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Row.Builder
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
Name Description
other Row
Returns
Type Description
Row.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Row.Builder
Overrides

removeCells(int index)

public Row.Builder removeCells(int index)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Row.Builder

setCells(int index, Value value)

public Row.Builder setCells(int index, Value value)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Value
Returns
Type Description
Row.Builder

setCells(int index, Value.Builder builderForValue)

public Row.Builder setCells(int index, Value.Builder builderForValue)

Required. The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables.

repeated .google.shopping.merchant.accounts.v1beta.Value cells = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Value.Builder
Returns
Type Description
Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Row.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Row.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Row.Builder
Overrides