Class Row.Builder (3.46.0)

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

A row of report values.

Protobuf type google.cloud.channel.v1.Row

Implements

RowOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends ReportValue> values)

public Row.Builder addAllValues(Iterable<? extends ReportValue> values)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.ReportValue>
Returns
Type Description
Row.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

addValues(ReportValue value)

public Row.Builder addValues(ReportValue value)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
value ReportValue
Returns
Type Description
Row.Builder

addValues(ReportValue.Builder builderForValue)

public Row.Builder addValues(ReportValue.Builder builderForValue)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

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

addValues(int index, ReportValue value)

public Row.Builder addValues(int index, ReportValue value)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

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

addValues(int index, ReportValue.Builder builderForValue)

public Row.Builder addValues(int index, ReportValue.Builder builderForValue)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

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

addValuesBuilder()

public ReportValue.Builder addValuesBuilder()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
ReportValue.Builder

addValuesBuilder(int index)

public ReportValue.Builder addValuesBuilder(int index)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue.Builder

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

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

clearPartitionKey()

public Row.Builder clearPartitionKey()

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

string partition_key = 2;

Returns
Type Description
Row.Builder

This builder for chaining.

clearValues()

public Row.Builder clearValues()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
Row.Builder

clone()

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

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
Type Description
Row

getDescriptorForType()

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

getPartitionKey()

public String getPartitionKey()

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

string partition_key = 2;

Returns
Type Description
String

The partitionKey.

getPartitionKeyBytes()

public ByteString getPartitionKeyBytes()

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

string partition_key = 2;

Returns
Type Description
ByteString

The bytes for partitionKey.

getValues(int index)

public ReportValue getValues(int index)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue

getValuesBuilder(int index)

public ReportValue.Builder getValuesBuilder(int index)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValue.Builder

getValuesBuilderList()

public List<ReportValue.Builder> getValuesBuilderList()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
int

getValuesList()

public List<ReportValue> getValuesList()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
List<ReportValue>

getValuesOrBuilder(int index)

public ReportValueOrBuilder getValuesOrBuilder(int index)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
index int
Returns
Type Description
ReportValueOrBuilder

getValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getValuesOrBuilderList()

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ReportValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Row other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValues(int index)

public Row.Builder removeValues(int index)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

Parameter
Name Description
index int
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

setPartitionKey(String value)

public Row.Builder setPartitionKey(String value)

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

string partition_key = 2;

Parameter
Name Description
value String

The partitionKey to set.

Returns
Type Description
Row.Builder

This builder for chaining.

setPartitionKeyBytes(ByteString value)

public Row.Builder setPartitionKeyBytes(ByteString value)

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

string partition_key = 2;

Parameter
Name Description
value ByteString

The bytes for partitionKey to set.

Returns
Type Description
Row.Builder

This builder for chaining.

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

setValues(int index, ReportValue value)

public Row.Builder setValues(int index, ReportValue value)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

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

setValues(int index, ReportValue.Builder builderForValue)

public Row.Builder setValues(int index, ReportValue.Builder builderForValue)

The list of values in the row.

repeated .google.cloud.channel.v1.ReportValue values = 1;

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