Class Rpc.BeginTransactionRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Rpc.BeginTransactionRequest.Builder>
-
- cz.o2.proxima.direct.server.rpc.proto.service.Rpc.BeginTransactionRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Rpc.BeginTransactionRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- Rpc.BeginTransactionRequest
public static final class Rpc.BeginTransactionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Rpc.BeginTransactionRequest.Builder> implements Rpc.BeginTransactionRequestOrBuilder
Protobuf typeBeginTransactionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rpc.BeginTransactionRequest.BuilderaddAllAttributesInvolved(java.lang.Iterable<? extends Rpc.KeyAttribute> values)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuilderaddAttributesInvolved(int index, Rpc.KeyAttribute value)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuilderaddAttributesInvolved(int index, Rpc.KeyAttribute.Builder builderForValue)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuilderaddAttributesInvolved(Rpc.KeyAttribute value)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuilderaddAttributesInvolved(Rpc.KeyAttribute.Builder builderForValue)* A list of entity-key-attributes that will be involved during the transaction.Rpc.KeyAttribute.BuilderaddAttributesInvolvedBuilder()* A list of entity-key-attributes that will be involved during the transaction.Rpc.KeyAttribute.BuilderaddAttributesInvolvedBuilder(int index)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequestbuild()Rpc.BeginTransactionRequestbuildPartial()Rpc.BeginTransactionRequest.Builderclear()Rpc.BeginTransactionRequest.BuilderclearAttributesInvolved()* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuilderclearTransactionId()* An optional transaction ID.Rpc.KeyAttributegetAttributesInvolved(int index)* A list of entity-key-attributes that will be involved during the transaction.Rpc.KeyAttribute.BuildergetAttributesInvolvedBuilder(int index)* A list of entity-key-attributes that will be involved during the transaction.java.util.List<Rpc.KeyAttribute.Builder>getAttributesInvolvedBuilderList()* A list of entity-key-attributes that will be involved during the transaction.intgetAttributesInvolvedCount()* A list of entity-key-attributes that will be involved during the transaction.java.util.List<Rpc.KeyAttribute>getAttributesInvolvedList()* A list of entity-key-attributes that will be involved during the transaction.Rpc.KeyAttributeOrBuildergetAttributesInvolvedOrBuilder(int index)* A list of entity-key-attributes that will be involved during the transaction.java.util.List<? extends Rpc.KeyAttributeOrBuilder>getAttributesInvolvedOrBuilderList()* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetTransactionId()* An optional transaction ID.com.google.protobuf.ByteStringgetTransactionIdBytes()* An optional transaction ID.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Rpc.BeginTransactionRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Rpc.BeginTransactionRequest.BuildermergeFrom(com.google.protobuf.Message other)Rpc.BeginTransactionRequest.BuildermergeFrom(Rpc.BeginTransactionRequest other)Rpc.BeginTransactionRequest.BuilderremoveAttributesInvolved(int index)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuildersetAttributesInvolved(int index, Rpc.KeyAttribute value)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuildersetAttributesInvolved(int index, Rpc.KeyAttribute.Builder builderForValue)* A list of entity-key-attributes that will be involved during the transaction.Rpc.BeginTransactionRequest.BuildersetTransactionId(java.lang.String value)* An optional transaction ID.Rpc.BeginTransactionRequest.BuildersetTransactionIdBytes(com.google.protobuf.ByteString value)* An optional transaction ID.-
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.BeginTransactionRequest.Builder>
-
clear
public Rpc.BeginTransactionRequest.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.BeginTransactionRequest.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.BeginTransactionRequest.Builder>
-
getDefaultInstanceForType
public Rpc.BeginTransactionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Rpc.BeginTransactionRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Rpc.BeginTransactionRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Rpc.BeginTransactionRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Rpc.BeginTransactionRequest.Builder>
-
mergeFrom
public Rpc.BeginTransactionRequest.Builder mergeFrom(Rpc.BeginTransactionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Rpc.BeginTransactionRequest.Builder>
-
mergeFrom
public Rpc.BeginTransactionRequest.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.BeginTransactionRequest.Builder>- Throws:
java.io.IOException
-
getAttributesInvolvedList
public java.util.List<Rpc.KeyAttribute> getAttributesInvolvedList()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;- Specified by:
getAttributesInvolvedListin interfaceRpc.BeginTransactionRequestOrBuilder
-
getAttributesInvolvedCount
public int getAttributesInvolvedCount()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;- Specified by:
getAttributesInvolvedCountin interfaceRpc.BeginTransactionRequestOrBuilder
-
getAttributesInvolved
public Rpc.KeyAttribute getAttributesInvolved(int index)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;- Specified by:
getAttributesInvolvedin interfaceRpc.BeginTransactionRequestOrBuilder
-
setAttributesInvolved
public Rpc.BeginTransactionRequest.Builder setAttributesInvolved(int index, Rpc.KeyAttribute value)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
setAttributesInvolved
public Rpc.BeginTransactionRequest.Builder setAttributesInvolved(int index, Rpc.KeyAttribute.Builder builderForValue)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAttributesInvolved
public Rpc.BeginTransactionRequest.Builder addAttributesInvolved(Rpc.KeyAttribute value)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAttributesInvolved
public Rpc.BeginTransactionRequest.Builder addAttributesInvolved(int index, Rpc.KeyAttribute value)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAttributesInvolved
public Rpc.BeginTransactionRequest.Builder addAttributesInvolved(Rpc.KeyAttribute.Builder builderForValue)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAttributesInvolved
public Rpc.BeginTransactionRequest.Builder addAttributesInvolved(int index, Rpc.KeyAttribute.Builder builderForValue)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAllAttributesInvolved
public Rpc.BeginTransactionRequest.Builder addAllAttributesInvolved(java.lang.Iterable<? extends Rpc.KeyAttribute> values)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
clearAttributesInvolved
public Rpc.BeginTransactionRequest.Builder clearAttributesInvolved()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
removeAttributesInvolved
public Rpc.BeginTransactionRequest.Builder removeAttributesInvolved(int index)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
getAttributesInvolvedBuilder
public Rpc.KeyAttribute.Builder getAttributesInvolvedBuilder(int index)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
getAttributesInvolvedOrBuilder
public Rpc.KeyAttributeOrBuilder getAttributesInvolvedOrBuilder(int index)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;- Specified by:
getAttributesInvolvedOrBuilderin interfaceRpc.BeginTransactionRequestOrBuilder
-
getAttributesInvolvedOrBuilderList
public java.util.List<? extends Rpc.KeyAttributeOrBuilder> getAttributesInvolvedOrBuilderList()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;- Specified by:
getAttributesInvolvedOrBuilderListin interfaceRpc.BeginTransactionRequestOrBuilder
-
addAttributesInvolvedBuilder
public Rpc.KeyAttribute.Builder addAttributesInvolvedBuilder()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
addAttributesInvolvedBuilder
public Rpc.KeyAttribute.Builder addAttributesInvolvedBuilder(int index)
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
getAttributesInvolvedBuilderList
public java.util.List<Rpc.KeyAttribute.Builder> getAttributesInvolvedBuilderList()
* A list of entity-key-attributes that will be involved during the transaction. The list will be automatically updated as new requests with the same transaction ID arrive, but at least the outputs need to be known in advance. An empty list will create a GLOBAL transaction, with resulting scalability concerns.
repeated .KeyAttribute attributesInvolved = 1;
-
getTransactionId
public java.lang.String getTransactionId()
* An optional transaction ID. When omitted a new transaction ID will be generated.
string transactionId = 2;- Specified by:
getTransactionIdin interfaceRpc.BeginTransactionRequestOrBuilder- Returns:
- The transactionId.
-
getTransactionIdBytes
public com.google.protobuf.ByteString getTransactionIdBytes()
* An optional transaction ID. When omitted a new transaction ID will be generated.
string transactionId = 2;- Specified by:
getTransactionIdBytesin interfaceRpc.BeginTransactionRequestOrBuilder- Returns:
- The bytes for transactionId.
-
setTransactionId
public Rpc.BeginTransactionRequest.Builder setTransactionId(java.lang.String value)
* An optional transaction ID. When omitted a new transaction ID will be generated.
string transactionId = 2;- Parameters:
value- The transactionId to set.- Returns:
- This builder for chaining.
-
clearTransactionId
public Rpc.BeginTransactionRequest.Builder clearTransactionId()
* An optional transaction ID. When omitted a new transaction ID will be generated.
string transactionId = 2;- Returns:
- This builder for chaining.
-
setTransactionIdBytes
public Rpc.BeginTransactionRequest.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
* An optional transaction ID. When omitted a new transaction ID will be generated.
string transactionId = 2;- Parameters:
value- The bytes for transactionId to set.- Returns:
- This builder for chaining.
-
-