Package com.exonum.messages.core
Class Blockchain.CallInBlock.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
com.exonum.messages.core.Blockchain.CallInBlock.Builder
- All Implemented Interfaces:
Blockchain.CallInBlockOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Blockchain.CallInBlock
public static final class Blockchain.CallInBlock.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder> implements Blockchain.CallInBlockOrBuilder
Location of an isolated call within a block.Protobuf type
exonum.CallInBlock
-
Method Summary
Modifier and Type Method Description Blockchain.CallInBlock.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Blockchain.CallInBlock
build()
Blockchain.CallInBlock
buildPartial()
Blockchain.CallInBlock.Builder
clear()
Blockchain.CallInBlock.Builder
clearAfterTransactions()
Call of `after_transactions` hook in a service.Blockchain.CallInBlock.Builder
clearBeforeTransactions()
Call of `before_transactions` hook in a service.Blockchain.CallInBlock.Builder
clearCall()
Blockchain.CallInBlock.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Blockchain.CallInBlock.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Blockchain.CallInBlock.Builder
clearTransaction()
Call of a transaction within the block.Blockchain.CallInBlock.Builder
clone()
int
getAfterTransactions()
Call of `after_transactions` hook in a service.int
getBeforeTransactions()
Call of `before_transactions` hook in a service.Blockchain.CallInBlock.CallCase
getCallCase()
Blockchain.CallInBlock
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getTransaction()
Call of a transaction within the block.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Blockchain.CallInBlock.Builder
mergeFrom(Blockchain.CallInBlock other)
Blockchain.CallInBlock.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Blockchain.CallInBlock.Builder
mergeFrom(com.google.protobuf.Message other)
Blockchain.CallInBlock.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Blockchain.CallInBlock.Builder
setAfterTransactions(int value)
Call of `after_transactions` hook in a service.Blockchain.CallInBlock.Builder
setBeforeTransactions(int value)
Call of `before_transactions` hook in a service.Blockchain.CallInBlock.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Blockchain.CallInBlock.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Blockchain.CallInBlock.Builder
setTransaction(int value)
Call of a transaction within the block.Blockchain.CallInBlock.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<Blockchain.CallInBlock.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<Blockchain.CallInBlock.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<Blockchain.CallInBlock.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<Blockchain.CallInBlock.Builder>
-
setField
public Blockchain.CallInBlock.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<Blockchain.CallInBlock.Builder>
-
clearField
public Blockchain.CallInBlock.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
-
clearOneof
public Blockchain.CallInBlock.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
-
setRepeatedField
public Blockchain.CallInBlock.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<Blockchain.CallInBlock.Builder>
-
addRepeatedField
public Blockchain.CallInBlock.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<Blockchain.CallInBlock.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Blockchain.CallInBlock.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
-
mergeFrom
public Blockchain.CallInBlock.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<Blockchain.CallInBlock.Builder>
- Throws:
java.io.IOException
-
getCallCase
- Specified by:
getCallCase
in interfaceBlockchain.CallInBlockOrBuilder
-
clearCall
-
getTransaction
public int getTransaction()Call of a transaction within the block. The value is the zero-based transaction index.
uint32 transaction = 1;
- Specified by:
getTransaction
in interfaceBlockchain.CallInBlockOrBuilder
- Returns:
- The transaction.
-
setTransaction
Call of a transaction within the block. The value is the zero-based transaction index.
uint32 transaction = 1;
- Parameters:
value
- The transaction to set.- Returns:
- This builder for chaining.
-
clearTransaction
Call of a transaction within the block. The value is the zero-based transaction index.
uint32 transaction = 1;
- Returns:
- This builder for chaining.
-
getBeforeTransactions
public int getBeforeTransactions()Call of `before_transactions` hook in a service. The value is the service identifier.
uint32 before_transactions = 2;
- Specified by:
getBeforeTransactions
in interfaceBlockchain.CallInBlockOrBuilder
- Returns:
- The beforeTransactions.
-
setBeforeTransactions
Call of `before_transactions` hook in a service. The value is the service identifier.
uint32 before_transactions = 2;
- Parameters:
value
- The beforeTransactions to set.- Returns:
- This builder for chaining.
-
clearBeforeTransactions
Call of `before_transactions` hook in a service. The value is the service identifier.
uint32 before_transactions = 2;
- Returns:
- This builder for chaining.
-
getAfterTransactions
public int getAfterTransactions()Call of `after_transactions` hook in a service. The value is the service identifier.
uint32 after_transactions = 3;
- Specified by:
getAfterTransactions
in interfaceBlockchain.CallInBlockOrBuilder
- Returns:
- The afterTransactions.
-
setAfterTransactions
Call of `after_transactions` hook in a service. The value is the service identifier.
uint32 after_transactions = 3;
- Parameters:
value
- The afterTransactions to set.- Returns:
- This builder for chaining.
-
clearAfterTransactions
Call of `after_transactions` hook in a service. The value is the service identifier.
uint32 after_transactions = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Blockchain.CallInBlock.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
-
mergeUnknownFields
public final Blockchain.CallInBlock.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Blockchain.CallInBlock.Builder>
-