Class Rpc.Ingest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Rpc.Ingest.Builder>
-
- cz.o2.proxima.direct.server.rpc.proto.service.Rpc.Ingest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Rpc.IngestOrBuilder,java.lang.Cloneable
- Enclosing class:
- Rpc.Ingest
public static final class Rpc.Ingest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Rpc.Ingest.Builder> implements Rpc.IngestOrBuilder
* Ingest of a attribute update (or delete)
Protobuf typeIngest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rpc.Ingestbuild()Rpc.IngestbuildPartial()Rpc.Ingest.Builderclear()Rpc.Ingest.BuilderclearAttribute()* Name of the attribute.Rpc.Ingest.BuilderclearDelete()* Whether to delete the attribute.Rpc.Ingest.BuilderclearEntity()* Name of the entityRpc.Ingest.BuilderclearKey()* Key of the entity.Rpc.Ingest.BuilderclearStamp()* Timestamp of the ingest.Rpc.Ingest.BuilderclearTransactionId()* Optional transaction ID associated with the ingest.Rpc.Ingest.BuilderclearUuid()* UUID of the ingest.Rpc.Ingest.BuilderclearValue()* Value to update.java.lang.StringgetAttribute()* Name of the attribute.com.google.protobuf.ByteStringgetAttributeBytes()* Name of the attribute.Rpc.IngestgetDefaultInstanceForType()booleangetDelete()* Whether to delete the attribute.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEntity()* Name of the entitycom.google.protobuf.ByteStringgetEntityBytes()* Name of the entityjava.lang.StringgetKey()* Key of the entity.com.google.protobuf.ByteStringgetKeyBytes()* Key of the entity.longgetStamp()* Timestamp of the ingest.java.lang.StringgetTransactionId()* Optional transaction ID associated with the ingest.com.google.protobuf.ByteStringgetTransactionIdBytes()* Optional transaction ID associated with the ingest.java.lang.StringgetUuid()* UUID of the ingest.com.google.protobuf.ByteStringgetUuidBytes()* UUID of the ingest.com.google.protobuf.ByteStringgetValue()* Value to update.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Rpc.Ingest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Rpc.Ingest.BuildermergeFrom(com.google.protobuf.Message other)Rpc.Ingest.BuildermergeFrom(Rpc.Ingest other)Rpc.Ingest.BuildersetAttribute(java.lang.String value)* Name of the attribute.Rpc.Ingest.BuildersetAttributeBytes(com.google.protobuf.ByteString value)* Name of the attribute.Rpc.Ingest.BuildersetDelete(boolean value)* Whether to delete the attribute.Rpc.Ingest.BuildersetEntity(java.lang.String value)* Name of the entityRpc.Ingest.BuildersetEntityBytes(com.google.protobuf.ByteString value)* Name of the entityRpc.Ingest.BuildersetKey(java.lang.String value)* Key of the entity.Rpc.Ingest.BuildersetKeyBytes(com.google.protobuf.ByteString value)* Key of the entity.Rpc.Ingest.BuildersetStamp(long value)* Timestamp of the ingest.Rpc.Ingest.BuildersetTransactionId(java.lang.String value)* Optional transaction ID associated with the ingest.Rpc.Ingest.BuildersetTransactionIdBytes(com.google.protobuf.ByteString value)* Optional transaction ID associated with the ingest.Rpc.Ingest.BuildersetUuid(java.lang.String value)* UUID of the ingest.Rpc.Ingest.BuildersetUuidBytes(com.google.protobuf.ByteString value)* UUID of the ingest.Rpc.Ingest.BuildersetValue(com.google.protobuf.ByteString value)* Value to update.-
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<Rpc.Ingest.Builder>
-
clear
public Rpc.Ingest.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<Rpc.Ingest.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<Rpc.Ingest.Builder>
-
getDefaultInstanceForType
public Rpc.Ingest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Rpc.Ingest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Rpc.Ingest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Rpc.Ingest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Rpc.Ingest.Builder>
-
mergeFrom
public Rpc.Ingest.Builder mergeFrom(Rpc.Ingest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Rpc.Ingest.Builder>
-
mergeFrom
public Rpc.Ingest.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<Rpc.Ingest.Builder>- Throws:
java.io.IOException
-
getUuid
public java.lang.String getUuid()
* UUID of the ingest. This UUID is returned in status to match the request with the response
string uuid = 1;- Specified by:
getUuidin interfaceRpc.IngestOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
* UUID of the ingest. This UUID is returned in status to match the request with the response
string uuid = 1;- Specified by:
getUuidBytesin interfaceRpc.IngestOrBuilder- Returns:
- The bytes for uuid.
-
setUuid
public Rpc.Ingest.Builder setUuid(java.lang.String value)
* UUID of the ingest. This UUID is returned in status to match the request with the response
string uuid = 1;- Parameters:
value- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
public Rpc.Ingest.Builder clearUuid()
* UUID of the ingest. This UUID is returned in status to match the request with the response
string uuid = 1;- Returns:
- This builder for chaining.
-
setUuidBytes
public Rpc.Ingest.Builder setUuidBytes(com.google.protobuf.ByteString value)
* UUID of the ingest. This UUID is returned in status to match the request with the response
string uuid = 1;- Parameters:
value- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
getEntity
public java.lang.String getEntity()
* Name of the entity
string entity = 2;- Specified by:
getEntityin interfaceRpc.IngestOrBuilder- Returns:
- The entity.
-
getEntityBytes
public com.google.protobuf.ByteString getEntityBytes()
* Name of the entity
string entity = 2;- Specified by:
getEntityBytesin interfaceRpc.IngestOrBuilder- Returns:
- The bytes for entity.
-
setEntity
public Rpc.Ingest.Builder setEntity(java.lang.String value)
* Name of the entity
string entity = 2;- Parameters:
value- The entity to set.- Returns:
- This builder for chaining.
-
clearEntity
public Rpc.Ingest.Builder clearEntity()
* Name of the entity
string entity = 2;- Returns:
- This builder for chaining.
-
setEntityBytes
public Rpc.Ingest.Builder setEntityBytes(com.google.protobuf.ByteString value)
* Name of the entity
string entity = 2;- Parameters:
value- The bytes for entity to set.- Returns:
- This builder for chaining.
-
getAttribute
public java.lang.String getAttribute()
* Name of the attribute. Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
string attribute = 3;- Specified by:
getAttributein interfaceRpc.IngestOrBuilder- Returns:
- The attribute.
-
getAttributeBytes
public com.google.protobuf.ByteString getAttributeBytes()
* Name of the attribute. Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
string attribute = 3;- Specified by:
getAttributeBytesin interfaceRpc.IngestOrBuilder- Returns:
- The bytes for attribute.
-
setAttribute
public Rpc.Ingest.Builder setAttribute(java.lang.String value)
* Name of the attribute. Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
string attribute = 3;- Parameters:
value- The attribute to set.- Returns:
- This builder for chaining.
-
clearAttribute
public Rpc.Ingest.Builder clearAttribute()
* Name of the attribute. Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
string attribute = 3;- Returns:
- This builder for chaining.
-
setAttributeBytes
public Rpc.Ingest.Builder setAttributeBytes(com.google.protobuf.ByteString value)
* Name of the attribute. Might be a wildcard specified (e.g. "prefix.*" if `delete` is true, meaning to delete the whole prefix.
string attribute = 3;- Parameters:
value- The bytes for attribute to set.- Returns:
- This builder for chaining.
-
getKey
public java.lang.String getKey()
* Key of the entity.
string key = 4;- Specified by:
getKeyin interfaceRpc.IngestOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
* Key of the entity.
string key = 4;- Specified by:
getKeyBytesin interfaceRpc.IngestOrBuilder- Returns:
- The bytes for key.
-
setKey
public Rpc.Ingest.Builder setKey(java.lang.String value)
* Key of the entity.
string key = 4;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public Rpc.Ingest.Builder clearKey()
* Key of the entity.
string key = 4;- Returns:
- This builder for chaining.
-
setKeyBytes
public Rpc.Ingest.Builder setKeyBytes(com.google.protobuf.ByteString value)
* Key of the entity.
string key = 4;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
getValue
public com.google.protobuf.ByteString getValue()
* Value to update.
bytes value = 5;- Specified by:
getValuein interfaceRpc.IngestOrBuilder- Returns:
- The value.
-
setValue
public Rpc.Ingest.Builder setValue(com.google.protobuf.ByteString value)
* Value to update.
bytes value = 5;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public Rpc.Ingest.Builder clearValue()
* Value to update.
bytes value = 5;- Returns:
- This builder for chaining.
-
getStamp
public long getStamp()
* Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
uint64 stamp = 7;- Specified by:
getStampin interfaceRpc.IngestOrBuilder- Returns:
- The stamp.
-
setStamp
public Rpc.Ingest.Builder setStamp(long value)
* Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
uint64 stamp = 7;- Parameters:
value- The stamp to set.- Returns:
- This builder for chaining.
-
clearStamp
public Rpc.Ingest.Builder clearStamp()
* Timestamp of the ingest. If not provided, it will be replaced with actual ingest timestamp.
uint64 stamp = 7;- Returns:
- This builder for chaining.
-
getDelete
public boolean getDelete()
* Whether to delete the attribute. You must explicitly set this if you want to delete an attribute.
bool delete = 6;- Specified by:
getDeletein interfaceRpc.IngestOrBuilder- Returns:
- The delete.
-
setDelete
public Rpc.Ingest.Builder setDelete(boolean value)
* Whether to delete the attribute. You must explicitly set this if you want to delete an attribute.
bool delete = 6;- Parameters:
value- The delete to set.- Returns:
- This builder for chaining.
-
clearDelete
public Rpc.Ingest.Builder clearDelete()
* Whether to delete the attribute. You must explicitly set this if you want to delete an attribute.
bool delete = 6;- Returns:
- This builder for chaining.
-
getTransactionId
public java.lang.String getTransactionId()
* Optional transaction ID associated with the ingest.
string transactionId = 8;- Specified by:
getTransactionIdin interfaceRpc.IngestOrBuilder- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()
* Optional transaction ID associated with the ingest.
string transactionId = 8;- Specified by:
getTransactionIdBytesin interfaceRpc.IngestOrBuilder- Returns:
- The bytes for transactionId.
-
setTransactionId
public Rpc.Ingest.Builder setTransactionId(java.lang.String value)
* Optional transaction ID associated with the ingest.
string transactionId = 8;- Parameters:
value- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
public Rpc.Ingest.Builder clearTransactionId()
* Optional transaction ID associated with the ingest.
string transactionId = 8;- Returns:
- This builder for chaining.
-
setTransactionIdBytes
public Rpc.Ingest.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
* Optional transaction ID associated with the ingest.
string transactionId = 8;- Parameters:
value- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
-