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.GeneratedMessage.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.GeneratedMessage.Builder<Row.Builder>
implements RowOrBuilder
A row of report values.Protobuf type
google.cloud.channel.v1.Row-
Method Summary
Modifier and TypeMethodDescriptionaddAllValues(Iterable<? extends ReportValue> values) The list of values in the row.addValues(int index, ReportValue value) The list of values in the row.addValues(int index, ReportValue.Builder builderForValue) The list of values in the row.addValues(ReportValue value) The list of values in the row.addValues(ReportValue.Builder builderForValue) The list of values in the row.The list of values in the row.addValuesBuilder(int index) The list of values in the row.build()clear()The key for the partition this row belongs to.The list of values in the row.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe key for the partition this row belongs to.com.google.protobuf.ByteStringThe key for the partition this row belongs to.getValues(int index) The list of values in the row.getValuesBuilder(int index) The list of values in the row.The list of values in the row.intThe list of values in the row.The list of values in the row.getValuesOrBuilder(int index) The list of values in the row.List<? extends ReportValueOrBuilder>The list of values in the row.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeValues(int index) The list of values in the row.setPartitionKey(String value) The key for the partition this row belongs to.setPartitionKeyBytes(com.google.protobuf.ByteString value) The key for the partition this row belongs to.setValues(int index, ReportValue value) The list of values in the row.setValues(int index, ReportValue.Builder builderForValue) The list of values in the row.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Row.Builder>
-
mergeFrom
public Row.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Row.Builder>- Throws:
IOException
-
getValuesList
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;- Specified by:
getValuesListin interfaceRowOrBuilder
-
getValuesCount
public int getValuesCount()The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;- Specified by:
getValuesCountin interfaceRowOrBuilder
-
getValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;- Specified by:
getValuesin interfaceRowOrBuilder
-
setValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
setValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addAllValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
clearValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
removeValues
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
getValuesBuilder
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
getValuesOrBuilder
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;- Specified by:
getValuesOrBuilderin interfaceRowOrBuilder
-
getValuesOrBuilderList
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1;- Specified by:
getValuesOrBuilderListin interfaceRowOrBuilder
-
addValuesBuilder
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
addValuesBuilder
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
getValuesBuilderList
The list of values in the row.
repeated .google.cloud.channel.v1.ReportValue values = 1; -
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:
getPartitionKeyin 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:
getPartitionKeyBytesin interfaceRowOrBuilder- Returns:
- The bytes for partitionKey.
-
setPartitionKey
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
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
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.
-