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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Auth.Callerbuild()Auth.CallerbuildPartial()Auth.Caller.Builderclear()Auth.Caller.BuilderclearBlockchain()The call is invoked by one of the blockchain lifecycle events.Auth.Caller.BuilderclearCaller()Auth.Caller.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Auth.Caller.BuilderclearInstanceId()The call is invoked with the authority of a blockchain service with the specified identifier.Auth.Caller.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Auth.Caller.BuilderclearTransactionAuthor()The caller is identified by the specified Ed25519 public key.Auth.Caller.Builderclone()com.google.protobuf.EmptygetBlockchain()The call is invoked by one of the blockchain lifecycle events.com.google.protobuf.Empty.BuildergetBlockchainBuilder()The call is invoked by one of the blockchain lifecycle events.com.google.protobuf.EmptyOrBuildergetBlockchainOrBuilder()The call is invoked by one of the blockchain lifecycle events.Auth.Caller.CallerCasegetCallerCase()Auth.CallergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetInstanceId()The call is invoked with the authority of a blockchain service with the specified identifier.Types.PublicKeygetTransactionAuthor()The caller is identified by the specified Ed25519 public key.Types.PublicKey.BuildergetTransactionAuthorBuilder()The caller is identified by the specified Ed25519 public key.Types.PublicKeyOrBuildergetTransactionAuthorOrBuilder()The caller is identified by the specified Ed25519 public key.booleanhasBlockchain()The call is invoked by one of the blockchain lifecycle events.booleanhasTransactionAuthor()The caller is identified by the specified Ed25519 public key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Auth.Caller.BuildermergeBlockchain(com.google.protobuf.Empty value)The call is invoked by one of the blockchain lifecycle events.Auth.Caller.BuildermergeFrom(Auth.Caller other)Auth.Caller.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Auth.Caller.BuildermergeFrom(com.google.protobuf.Message other)Auth.Caller.BuildermergeTransactionAuthor(Types.PublicKey value)The caller is identified by the specified Ed25519 public key.Auth.Caller.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Auth.Caller.BuildersetBlockchain(com.google.protobuf.Empty value)The call is invoked by one of the blockchain lifecycle events.Auth.Caller.BuildersetBlockchain(com.google.protobuf.Empty.Builder builderForValue)The call is invoked by one of the blockchain lifecycle events.Auth.Caller.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Auth.Caller.BuildersetInstanceId(int value)The call is invoked with the authority of a blockchain service with the specified identifier.Auth.Caller.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Auth.Caller.BuildersetTransactionAuthor(Types.PublicKey value)The caller is identified by the specified Ed25519 public key.Auth.Caller.BuildersetTransactionAuthor(Types.PublicKey.Builder builderForValue)The caller is identified by the specified Ed25519 public key.Auth.Caller.BuildersetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.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.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein 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:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Auth.Caller.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Auth.Caller.Builder>- Throws:
java.io.IOException
-
getCallerCase
- Specified by:
getCallerCasein 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:
hasTransactionAuthorin 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:
getTransactionAuthorin 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:
getTransactionAuthorOrBuilderin 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:
getInstanceIdin 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:
hasBlockchainin 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:
getBlockchainin 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:
getBlockchainOrBuilderin interfaceAuth.CallerOrBuilder
-
setUnknownFields
public final Auth.Caller.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-
mergeUnknownFields
public final Auth.Caller.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Auth.Caller.Builder>
-