Class Base.AnyTx.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
com.exonum.messages.core.runtime.Base.AnyTx.Builder
All Implemented Interfaces:
Base.AnyTxOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
Enclosing class:
Base.AnyTx

public static final class Base.AnyTx.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
implements Base.AnyTxOrBuilder
 Transaction with the information required to dispatch it to a service.
 
Protobuf type exonum.runtime.AnyTx
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • clear

      public Base.AnyTx.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.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.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • getDefaultInstanceForType

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

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

      public Base.AnyTx buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Base.AnyTx.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • setField

      public Base.AnyTx.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • clearField

      public Base.AnyTx.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • clearOneof

      public Base.AnyTx.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • setRepeatedField

      public Base.AnyTx.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • addRepeatedField

      public Base.AnyTx.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • mergeFrom

      public Base.AnyTx.Builder mergeFrom​(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Base.AnyTx.Builder>
    • mergeFrom

      public Base.AnyTx.Builder mergeFrom​(Base.AnyTx other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • mergeFrom

      public Base.AnyTx.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<Base.AnyTx.Builder>
      Throws:
      java.io.IOException
    • hasCallInfo

      public boolean hasCallInfo()
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
      Specified by:
      hasCallInfo in interface Base.AnyTxOrBuilder
      Returns:
      Whether the callInfo field is set.
    • getCallInfo

      public Base.CallInfo getCallInfo()
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
      Specified by:
      getCallInfo in interface Base.AnyTxOrBuilder
      Returns:
      The callInfo.
    • setCallInfo

      public Base.AnyTx.Builder setCallInfo​(Base.CallInfo value)
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
    • setCallInfo

      public Base.AnyTx.Builder setCallInfo​(Base.CallInfo.Builder builderForValue)
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
    • mergeCallInfo

      public Base.AnyTx.Builder mergeCallInfo​(Base.CallInfo value)
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
    • clearCallInfo

      public Base.AnyTx.Builder clearCallInfo()
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
    • getCallInfoBuilder

      public Base.CallInfo.Builder getCallInfoBuilder()
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
    • getCallInfoOrBuilder

      public Base.CallInfoOrBuilder getCallInfoOrBuilder()
       Information required for the call of the corresponding executor.
       
      .exonum.runtime.CallInfo call_info = 1;
      Specified by:
      getCallInfoOrBuilder in interface Base.AnyTxOrBuilder
    • getArguments

      public com.google.protobuf.ByteString getArguments()
       Serialized transaction arguments.
       
      bytes arguments = 2;
      Specified by:
      getArguments in interface Base.AnyTxOrBuilder
      Returns:
      The arguments.
    • setArguments

      public Base.AnyTx.Builder setArguments​(com.google.protobuf.ByteString value)
       Serialized transaction arguments.
       
      bytes arguments = 2;
      Parameters:
      value - The arguments to set.
      Returns:
      This builder for chaining.
    • clearArguments

      public Base.AnyTx.Builder clearArguments()
       Serialized transaction arguments.
       
      bytes arguments = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Base.AnyTx.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
    • mergeUnknownFields

      public final Base.AnyTx.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>