public static final class Row.Builder extends GeneratedMessage.Builder<Row.Builder> implements RowOrBuilderA row of report values.
Protobuf type google.cloud.channel.v1.Row
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Row.BuilderImplements
RowOrBuilderStatic 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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public Row getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Row |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Row.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for partitionKey to set. |
| Returns | |
|---|---|
| Type | Description |
Row.Builder |
This builder for chaining. |
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 |
|