Package com.exonum.messages.core.runtime
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 Summary
Modifier and Type Method Description Auth.Caller.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Auth.Caller
build()
Auth.Caller
buildPartial()
Auth.Caller.Builder
clear()
Auth.Caller.Builder
clearBlockchain()
The call is invoked by one of the blockchain lifecycle events.Auth.Caller.Builder
clearCaller()
Auth.Caller.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Auth.Caller.Builder
clearInstanceId()
The call is invoked with the authority of a blockchain service with the specified identifier.Auth.Caller.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Auth.Caller.Builder
clearTransactionAuthor()
The caller is identified by the specified Ed25519 public key.Auth.Caller.Builder
clone()
com.google.protobuf.Empty
getBlockchain()
The call is invoked by one of the blockchain lifecycle events.com.google.protobuf.Empty.Builder
getBlockchainBuilder()
The call is invoked by one of the blockchain lifecycle events.com.google.protobuf.EmptyOrBuilder
getBlockchainOrBuilder()
The call is invoked by one of the blockchain lifecycle events.Auth.Caller.CallerCase
getCallerCase()
Auth.Caller
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getInstanceId()
The call is invoked with the authority of a blockchain service with the specified identifier.Types.PublicKey
getTransactionAuthor()
The caller is identified by the specified Ed25519 public key.Types.PublicKey.Builder
getTransactionAuthorBuilder()
The caller is identified by the specified Ed25519 public key.Types.PublicKeyOrBuilder
getTransactionAuthorOrBuilder()
The caller is identified by the specified Ed25519 public key.boolean
hasBlockchain()
The call is invoked by one of the blockchain lifecycle events.boolean
hasTransactionAuthor()
The caller is identified by the specified Ed25519 public key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Auth.Caller.Builder
mergeBlockchain(com.google.protobuf.Empty value)
The call is invoked by one of the blockchain lifecycle events.Auth.Caller.Builder
mergeFrom(Auth.Caller other)
Auth.Caller.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Auth.Caller.Builder
mergeFrom(com.google.protobuf.Message other)
Auth.Caller.Builder
mergeTransactionAuthor(Types.PublicKey value)
The caller is identified by the specified Ed25519 public key.Auth.Caller.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Auth.Caller.Builder
setBlockchain(com.google.protobuf.Empty value)
The call is invoked by one of the blockchain lifecycle events.Auth.Caller.Builder
setBlockchain(com.google.protobuf.Empty.Builder builderForValue)
The call is invoked by one of the blockchain lifecycle events.Auth.Caller.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Auth.Caller.Builder
setInstanceId(int value)
The call is invoked with the authority of a blockchain service with the specified identifier.Auth.Caller.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Auth.Caller.Builder
setTransactionAuthor(Types.PublicKey value)
The caller is identified by the specified Ed25519 public key.Auth.Caller.Builder
setTransactionAuthor(Types.PublicKey.Builder builderForValue)
The caller is identified by the specified Ed25519 public key.Auth.Caller.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Auth.Caller.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Auth.Caller.Builder>
- Throws:
java.io.IOException
-
getCallerCase
- Specified by:
getCallerCase
in interfaceAuth.CallerOrBuilder
-
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 interfaceAuth.CallerOrBuilder
- Returns:
- Whether the transactionAuthor field is set.
-
getTransactionAuthor
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
- Specified by:
getTransactionAuthor
in interfaceAuth.CallerOrBuilder
- Returns:
- The transactionAuthor.
-
setTransactionAuthor
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
-
setTransactionAuthor
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
-
mergeTransactionAuthor
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
-
clearTransactionAuthor
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
-
getTransactionAuthorBuilder
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
-
getTransactionAuthorOrBuilder
The caller is identified by the specified Ed25519 public key.
.exonum.crypto.PublicKey transaction_author = 1;
- Specified by:
getTransactionAuthorOrBuilder
in interfaceAuth.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 interfaceAuth.CallerOrBuilder
- Returns:
- The instanceId.
-
setInstanceId
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
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 interfaceAuth.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 interfaceAuth.CallerOrBuilder
- Returns:
- The blockchain.
-
setBlockchain
The call is invoked by one of the blockchain lifecycle events.
.google.protobuf.Empty blockchain = 3;
-
setBlockchain
The call is invoked by one of the blockchain lifecycle events.
.google.protobuf.Empty blockchain = 3;
-
mergeBlockchain
The call is invoked by one of the blockchain lifecycle events.
.google.protobuf.Empty blockchain = 3;
-
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 interfaceAuth.CallerOrBuilder
-
setUnknownFields
public final Auth.Caller.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
mergeUnknownFields
public final Auth.Caller.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-