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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
addValuesBuilder()
public ReportValue.Builder addValuesBuilder()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
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
|
build()
Returns |
Type |
Description |
Row |
|
buildPartial()
public Row buildPartial()
Returns |
Type |
Description |
Row |
|
clear()
public Row.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Row.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Row.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Row.Builder clone()
Overrides
getDefaultInstanceForType()
public Row getDefaultInstanceForType()
Returns |
Type |
Description |
Row |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getValuesBuilderList()
public List<ReportValue.Builder> getValuesBuilderList()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Row other)
public Row.Builder mergeFrom(Row other)
Parameter |
Name |
Description |
other |
Row
|
public Row.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Row.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Row.Builder setField(Descriptors.FieldDescriptor field, Object value)
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)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Row.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;