Package cz.o2.proxima.io.pubsub.proto
Class PubSub.Bulk.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<PubSub.Bulk.Builder>
-
- cz.o2.proxima.io.pubsub.proto.PubSub.Bulk.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PubSub.BulkOrBuilder,java.lang.Cloneable
- Enclosing class:
- PubSub.Bulk
public static final class PubSub.Bulk.Builder extends com.google.protobuf.GeneratedMessage.Builder<PubSub.Bulk.Builder> implements PubSub.BulkOrBuilder
* Bulk of KeyValues.
Protobuf typecz.o2.proxima.io.pubsub.proto.Bulk
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PubSub.Bulk.BuilderaddAllKv(java.lang.Iterable<? extends PubSub.KeyValue> values)bulk of KeyValuesPubSub.Bulk.BuilderaddAllUuid(java.lang.Iterable<java.lang.String> values)UUIDs associated with the KeyValuesPubSub.Bulk.BuilderaddKv(int index, PubSub.KeyValue value)bulk of KeyValuesPubSub.Bulk.BuilderaddKv(int index, PubSub.KeyValue.Builder builderForValue)bulk of KeyValuesPubSub.Bulk.BuilderaddKv(PubSub.KeyValue value)bulk of KeyValuesPubSub.Bulk.BuilderaddKv(PubSub.KeyValue.Builder builderForValue)bulk of KeyValuesPubSub.KeyValue.BuilderaddKvBuilder()bulk of KeyValuesPubSub.KeyValue.BuilderaddKvBuilder(int index)bulk of KeyValuesPubSub.Bulk.BuilderaddUuid(java.lang.String value)UUIDs associated with the KeyValuesPubSub.Bulk.BuilderaddUuidBytes(com.google.protobuf.ByteString value)UUIDs associated with the KeyValuesPubSub.Bulkbuild()PubSub.BulkbuildPartial()PubSub.Bulk.Builderclear()PubSub.Bulk.BuilderclearKv()bulk of KeyValuesPubSub.Bulk.BuilderclearUuid()UUIDs associated with the KeyValuesPubSub.BulkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PubSub.KeyValuegetKv(int index)bulk of KeyValuesPubSub.KeyValue.BuildergetKvBuilder(int index)bulk of KeyValuesjava.util.List<PubSub.KeyValue.Builder>getKvBuilderList()bulk of KeyValuesintgetKvCount()bulk of KeyValuesjava.util.List<PubSub.KeyValue>getKvList()bulk of KeyValuesPubSub.KeyValueOrBuildergetKvOrBuilder(int index)bulk of KeyValuesjava.util.List<? extends PubSub.KeyValueOrBuilder>getKvOrBuilderList()bulk of KeyValuesjava.lang.StringgetUuid(int index)UUIDs associated with the KeyValuescom.google.protobuf.ByteStringgetUuidBytes(int index)UUIDs associated with the KeyValuesintgetUuidCount()UUIDs associated with the KeyValuescom.google.protobuf.ProtocolStringListgetUuidList()UUIDs associated with the KeyValuesprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PubSub.Bulk.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PubSub.Bulk.BuildermergeFrom(com.google.protobuf.Message other)PubSub.Bulk.BuildermergeFrom(PubSub.Bulk other)PubSub.Bulk.BuilderremoveKv(int index)bulk of KeyValuesPubSub.Bulk.BuildersetKv(int index, PubSub.KeyValue value)bulk of KeyValuesPubSub.Bulk.BuildersetKv(int index, PubSub.KeyValue.Builder builderForValue)bulk of KeyValuesPubSub.Bulk.BuildersetUuid(int index, java.lang.String value)UUIDs associated with the KeyValues-
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, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PubSub.Bulk.Builder>
-
clear
public PubSub.Bulk.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<PubSub.Bulk.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<PubSub.Bulk.Builder>
-
getDefaultInstanceForType
public PubSub.Bulk getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PubSub.Bulk build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PubSub.Bulk buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PubSub.Bulk.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PubSub.Bulk.Builder>
-
mergeFrom
public PubSub.Bulk.Builder mergeFrom(PubSub.Bulk other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PubSub.Bulk.Builder>
-
mergeFrom
public PubSub.Bulk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PubSub.Bulk.Builder>- Throws:
java.io.IOException
-
getKvList
public java.util.List<PubSub.KeyValue> getKvList()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;- Specified by:
getKvListin interfacePubSub.BulkOrBuilder
-
getKvCount
public int getKvCount()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;- Specified by:
getKvCountin interfacePubSub.BulkOrBuilder
-
getKv
public PubSub.KeyValue getKv(int index)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;- Specified by:
getKvin interfacePubSub.BulkOrBuilder
-
setKv
public PubSub.Bulk.Builder setKv(int index, PubSub.KeyValue value)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
setKv
public PubSub.Bulk.Builder setKv(int index, PubSub.KeyValue.Builder builderForValue)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addKv
public PubSub.Bulk.Builder addKv(PubSub.KeyValue value)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addKv
public PubSub.Bulk.Builder addKv(int index, PubSub.KeyValue value)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addKv
public PubSub.Bulk.Builder addKv(PubSub.KeyValue.Builder builderForValue)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addKv
public PubSub.Bulk.Builder addKv(int index, PubSub.KeyValue.Builder builderForValue)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addAllKv
public PubSub.Bulk.Builder addAllKv(java.lang.Iterable<? extends PubSub.KeyValue> values)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
clearKv
public PubSub.Bulk.Builder clearKv()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
removeKv
public PubSub.Bulk.Builder removeKv(int index)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
getKvBuilder
public PubSub.KeyValue.Builder getKvBuilder(int index)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
getKvOrBuilder
public PubSub.KeyValueOrBuilder getKvOrBuilder(int index)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;- Specified by:
getKvOrBuilderin interfacePubSub.BulkOrBuilder
-
getKvOrBuilderList
public java.util.List<? extends PubSub.KeyValueOrBuilder> getKvOrBuilderList()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;- Specified by:
getKvOrBuilderListin interfacePubSub.BulkOrBuilder
-
addKvBuilder
public PubSub.KeyValue.Builder addKvBuilder()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
addKvBuilder
public PubSub.KeyValue.Builder addKvBuilder(int index)
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
getKvBuilderList
public java.util.List<PubSub.KeyValue.Builder> getKvBuilderList()
bulk of KeyValues
repeated .cz.o2.proxima.io.pubsub.proto.KeyValue kv = 1;
-
getUuidList
public com.google.protobuf.ProtocolStringList getUuidList()
UUIDs associated with the KeyValues
repeated string uuid = 2;- Specified by:
getUuidListin interfacePubSub.BulkOrBuilder- Returns:
- A list containing the uuid.
-
getUuidCount
public int getUuidCount()
UUIDs associated with the KeyValues
repeated string uuid = 2;- Specified by:
getUuidCountin interfacePubSub.BulkOrBuilder- Returns:
- The count of uuid.
-
getUuid
public java.lang.String getUuid(int index)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Specified by:
getUuidin interfacePubSub.BulkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The uuid at the given index.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes(int index)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Specified by:
getUuidBytesin interfacePubSub.BulkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the uuid at the given index.
-
setUuid
public PubSub.Bulk.Builder setUuid(int index, java.lang.String value)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Parameters:
index- The index to set the value at.value- The uuid to set.- Returns:
- This builder for chaining.
-
addUuid
public PubSub.Bulk.Builder addUuid(java.lang.String value)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Parameters:
value- The uuid to add.- Returns:
- This builder for chaining.
-
addAllUuid
public PubSub.Bulk.Builder addAllUuid(java.lang.Iterable<java.lang.String> values)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Parameters:
values- The uuid to add.- Returns:
- This builder for chaining.
-
clearUuid
public PubSub.Bulk.Builder clearUuid()
UUIDs associated with the KeyValues
repeated string uuid = 2;- Returns:
- This builder for chaining.
-
addUuidBytes
public PubSub.Bulk.Builder addUuidBytes(com.google.protobuf.ByteString value)
UUIDs associated with the KeyValues
repeated string uuid = 2;- Parameters:
value- The bytes of the uuid to add.- Returns:
- This builder for chaining.
-
-