Package com.google.cloud.channel.v1
Class Row.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
- com.google.cloud.channel.v1.Row.Builder
-
- All Implemented Interfaces:
RowOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Row
public static final class Row.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Row.Builder> implements RowOrBuilder
A row of report values.
Protobuf typegoogle.cloud.channel.v1.Row
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Row.Builder
addAllValues(Iterable<? extends ReportValue> values)
The list of values in the row.Row.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Row.Builder
addValues(int index, ReportValue value)
The list of values in the row.Row.Builder
addValues(int index, ReportValue.Builder builderForValue)
The list of values in the row.Row.Builder
addValues(ReportValue value)
The list of values in the row.Row.Builder
addValues(ReportValue.Builder builderForValue)
The list of values in the row.ReportValue.Builder
addValuesBuilder()
The list of values in the row.ReportValue.Builder
addValuesBuilder(int index)
The list of values in the row.Row
build()
Row
buildPartial()
Row.Builder
clear()
Row.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Row.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Row.Builder
clearPartitionKey()
The key for the partition this row belongs to.Row.Builder
clearValues()
The list of values in the row.Row.Builder
clone()
Row
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPartitionKey()
The key for the partition this row belongs to.com.google.protobuf.ByteString
getPartitionKeyBytes()
The key for the partition this row belongs to.ReportValue
getValues(int index)
The list of values in the row.ReportValue.Builder
getValuesBuilder(int index)
The list of values in the row.List<ReportValue.Builder>
getValuesBuilderList()
The list of values in the row.int
getValuesCount()
The list of values in the row.List<ReportValue>
getValuesList()
The list of values in the row.ReportValueOrBuilder
getValuesOrBuilder(int index)
The list of values in the row.List<? extends ReportValueOrBuilder>
getValuesOrBuilderList()
The list of values in the row.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Row.Builder
mergeFrom(Row other)
Row.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Row.Builder
mergeFrom(com.google.protobuf.Message other)
Row.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Row.Builder
removeValues(int index)
The list of values in the row.Row.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Row.Builder
setPartitionKey(String value)
The key for the partition this row belongs to.Row.Builder
setPartitionKeyBytes(com.google.protobuf.ByteString value)
The key for the partition this row belongs to.Row.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Row.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Row.Builder
setValues(int index, ReportValue value)
The list of values in the row.Row.Builder
setValues(int index, ReportValue.Builder builderForValue)
The list of values in the row.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clear
public Row.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
getDefaultInstanceForType
public Row getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Row build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Row buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Row.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
setField
public Row.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clearField
public Row.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
clearOneof
public Row.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
setRepeatedField
public Row.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
addRepeatedField
public Row.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(Row other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
- Throws:
IOException
-
getValuesList
public List<ReportValue> getValuesList()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
- Specified by:
getValuesList
in interfaceRowOrBuilder
-
getValuesCount
public int getValuesCount()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
- Specified by:
getValuesCount
in interfaceRowOrBuilder
-
getValues
public ReportValue getValues(int index)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
- Specified by:
getValues
in interfaceRowOrBuilder
-
setValues
public Row.Builder setValues(int index, ReportValue value)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
setValues
public Row.Builder setValues(int index, ReportValue.Builder builderForValue)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addValues
public Row.Builder addValues(ReportValue value)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addValues
public Row.Builder addValues(int index, ReportValue value)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addValues
public Row.Builder addValues(ReportValue.Builder builderForValue)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addValues
public Row.Builder addValues(int index, ReportValue.Builder builderForValue)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addAllValues
public Row.Builder addAllValues(Iterable<? extends ReportValue> values)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
clearValues
public Row.Builder clearValues()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
removeValues
public Row.Builder removeValues(int index)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
getValuesBuilder
public ReportValue.Builder getValuesBuilder(int index)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
getValuesOrBuilder
public ReportValueOrBuilder getValuesOrBuilder(int index)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
- Specified by:
getValuesOrBuilder
in interfaceRowOrBuilder
-
getValuesOrBuilderList
public List<? extends ReportValueOrBuilder> getValuesOrBuilderList()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
- Specified by:
getValuesOrBuilderList
in interfaceRowOrBuilder
-
addValuesBuilder
public ReportValue.Builder addValuesBuilder()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
addValuesBuilder
public ReportValue.Builder addValuesBuilder(int index)
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
getValuesBuilderList
public List<ReportValue.Builder> getValuesBuilderList()
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;
-
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;
- Specified by:
getPartitionKey
in interfaceRowOrBuilder
- Returns:
- The partitionKey.
-
getPartitionKeyBytes
public com.google.protobuf.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;
- Specified by:
getPartitionKeyBytes
in interfaceRowOrBuilder
- Returns:
- The bytes for partitionKey.
-
setPartitionKey
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;
- Parameters:
value
- The partitionKey to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPartitionKeyBytes
public Row.Builder setPartitionKeyBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for partitionKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Row.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
mergeUnknownFields
public final Row.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Row.Builder>
-
-