Class Auth.Caller.Builder

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

public static final class Auth.Caller.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
implements Auth.CallerOrBuilder
 The authorization information for a call to the service.
 
Protobuf type exonum.runtime.Caller
  • 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<Auth.Caller.Builder>
    • clear

      public Auth.Caller.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<Auth.Caller.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<Auth.Caller.Builder>
    • getDefaultInstanceForType

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

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

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

      public Auth.Caller.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<Auth.Caller.Builder>
    • setField

      public Auth.Caller.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<Auth.Caller.Builder>
    • clearField

      public Auth.Caller.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<Auth.Caller.Builder>
    • clearOneof

      public Auth.Caller.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<Auth.Caller.Builder>
    • setRepeatedField

      public Auth.Caller.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<Auth.Caller.Builder>
    • addRepeatedField

      public Auth.Caller.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<Auth.Caller.Builder>
    • mergeFrom

      public Auth.Caller.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<Auth.Caller.Builder>
    • mergeFrom

      public Auth.Caller.Builder mergeFrom​(Auth.Caller other)
    • isInitialized

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

      public Auth.Caller.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<Auth.Caller.Builder>
      Throws:
      java.io.IOException
    • getCallerCase

      public Auth.Caller.CallerCase getCallerCase()
      Specified by:
      getCallerCase in interface Auth.CallerOrBuilder
    • clearCaller

      public Auth.Caller.Builder clearCaller()
    • hasTransactionAuthor

      public boolean hasTransactionAuthor()
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
      Specified by:
      hasTransactionAuthor in interface Auth.CallerOrBuilder
      Returns:
      Whether the transactionAuthor field is set.
    • getTransactionAuthor

      public Types.PublicKey getTransactionAuthor()
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
      Specified by:
      getTransactionAuthor in interface Auth.CallerOrBuilder
      Returns:
      The transactionAuthor.
    • setTransactionAuthor

      public Auth.Caller.Builder setTransactionAuthor​(Types.PublicKey value)
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
    • setTransactionAuthor

      public Auth.Caller.Builder setTransactionAuthor​(Types.PublicKey.Builder builderForValue)
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
    • mergeTransactionAuthor

      public Auth.Caller.Builder mergeTransactionAuthor​(Types.PublicKey value)
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
    • clearTransactionAuthor

      public Auth.Caller.Builder clearTransactionAuthor()
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
    • getTransactionAuthorBuilder

      public Types.PublicKey.Builder getTransactionAuthorBuilder()
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
    • getTransactionAuthorOrBuilder

      public Types.PublicKeyOrBuilder getTransactionAuthorOrBuilder()
       The caller is identified by the specified Ed25519 public key.
       
      .exonum.crypto.PublicKey transaction_author = 1;
      Specified by:
      getTransactionAuthorOrBuilder in interface Auth.CallerOrBuilder
    • getInstanceId

      public int getInstanceId()
       The call is invoked with the authority of a blockchain service
       with the specified identifier.
       
      uint32 instance_id = 2;
      Specified by:
      getInstanceId in interface Auth.CallerOrBuilder
      Returns:
      The instanceId.
    • setInstanceId

      public Auth.Caller.Builder setInstanceId​(int value)
       The call is invoked with the authority of a blockchain service
       with the specified identifier.
       
      uint32 instance_id = 2;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public Auth.Caller.Builder clearInstanceId()
       The call is invoked with the authority of a blockchain service
       with the specified identifier.
       
      uint32 instance_id = 2;
      Returns:
      This builder for chaining.
    • hasBlockchain

      public boolean hasBlockchain()
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
      Specified by:
      hasBlockchain in interface Auth.CallerOrBuilder
      Returns:
      Whether the blockchain field is set.
    • getBlockchain

      public com.google.protobuf.Empty getBlockchain()
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
      Specified by:
      getBlockchain in interface Auth.CallerOrBuilder
      Returns:
      The blockchain.
    • setBlockchain

      public Auth.Caller.Builder setBlockchain​(com.google.protobuf.Empty value)
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
    • setBlockchain

      public Auth.Caller.Builder setBlockchain​(com.google.protobuf.Empty.Builder builderForValue)
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
    • mergeBlockchain

      public Auth.Caller.Builder mergeBlockchain​(com.google.protobuf.Empty value)
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
    • clearBlockchain

      public Auth.Caller.Builder clearBlockchain()
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
    • getBlockchainBuilder

      public com.google.protobuf.Empty.Builder getBlockchainBuilder()
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
    • getBlockchainOrBuilder

      public com.google.protobuf.EmptyOrBuilder getBlockchainOrBuilder()
       The call is invoked by one of the blockchain lifecycle events.
       
      .google.protobuf.Empty blockchain = 3;
      Specified by:
      getBlockchainOrBuilder in interface Auth.CallerOrBuilder
    • setUnknownFields

      public final Auth.Caller.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<Auth.Caller.Builder>
    • mergeUnknownFields

      public final Auth.Caller.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<Auth.Caller.Builder>