Class Rpc.BeginTransactionRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Rpc.BeginTransactionRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Rpc.BeginTransactionRequest.Builder>
      • getDefaultInstanceForType

        public Rpc.BeginTransactionRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Rpc.BeginTransactionRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Rpc.BeginTransactionRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        getAttributesInvolvedList in interface Rpc.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:
        getAttributesInvolvedCount in interface Rpc.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:
        getAttributesInvolved in interface Rpc.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:
        getAttributesInvolvedOrBuilder in interface Rpc.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:
        getAttributesInvolvedOrBuilderList in interface Rpc.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:
        getTransactionId in interface Rpc.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:
        getTransactionIdBytes in interface Rpc.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.