Class Row.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.ReportValue>
Returns
TypeDescription
Row.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueReportValue
Returns
TypeDescription
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
NameDescription
builderForValueReportValue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReportValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportValue.Builder
Returns
TypeDescription
Row.Builder

addValuesBuilder()

public ReportValue.Builder addValuesBuilder()

The list of values in the row.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportValue.Builder

build()

public Row build()
Returns
TypeDescription
Row

buildPartial()

public Row buildPartial()
Returns
TypeDescription
Row

clear()

public Row.Builder clear()
Returns
TypeDescription
Row.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Row.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Row.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Row.Builder

clone()

public Row.Builder clone()
Returns
TypeDescription
Row.Builder
Overrides

getDefaultInstanceForType()

public Row getDefaultInstanceForType()
Returns
TypeDescription
Row

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportValue.Builder

getValuesBuilderList()

public List<ReportValue.Builder> getValuesBuilderList()

The list of values in the row.

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

Returns
TypeDescription
List<Builder>

getValuesCount()

public int getValuesCount()

The list of values in the row.

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

Returns
TypeDescription
int

getValuesList()

public List<ReportValue> getValuesList()

The list of values in the row.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportValueOrBuilder

getValuesOrBuilderList()

public List<? extends ReportValueOrBuilder> getValuesOrBuilderList()

The list of values in the row.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Row other)

public Row.Builder mergeFrom(Row other)
Parameter
NameDescription
otherRow
Returns
TypeDescription
Row.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Row.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Row.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Row.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Row.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The partitionKey to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for partitionKey to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Row.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueReportValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportValue.Builder
Returns
TypeDescription
Row.Builder