Package com.exonum.messages.core.runtime
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 Summary
Modifier and Type Method Description Base.AnyTx.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.AnyTx
build()
Base.AnyTx
buildPartial()
Base.AnyTx.Builder
clear()
Base.AnyTx.Builder
clearArguments()
Serialized transaction arguments.Base.AnyTx.Builder
clearCallInfo()
Information required for the call of the corresponding executor.Base.AnyTx.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Base.AnyTx.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Base.AnyTx.Builder
clone()
com.google.protobuf.ByteString
getArguments()
Serialized transaction arguments.Base.CallInfo
getCallInfo()
Information required for the call of the corresponding executor.Base.CallInfo.Builder
getCallInfoBuilder()
Information required for the call of the corresponding executor.Base.CallInfoOrBuilder
getCallInfoOrBuilder()
Information required for the call of the corresponding executor.Base.AnyTx
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasCallInfo()
Information required for the call of the corresponding executor.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Base.AnyTx.Builder
mergeCallInfo(Base.CallInfo value)
Information required for the call of the corresponding executor.Base.AnyTx.Builder
mergeFrom(Base.AnyTx other)
Base.AnyTx.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Base.AnyTx.Builder
mergeFrom(com.google.protobuf.Message other)
Base.AnyTx.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Base.AnyTx.Builder
setArguments(com.google.protobuf.ByteString value)
Serialized transaction arguments.Base.AnyTx.Builder
setCallInfo(Base.CallInfo value)
Information required for the call of the corresponding executor.Base.AnyTx.Builder
setCallInfo(Base.CallInfo.Builder builderForValue)
Information required for the call of the corresponding executor.Base.AnyTx.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.AnyTx.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Base.AnyTx.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<Base.AnyTx.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<Base.AnyTx.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<Base.AnyTx.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<Base.AnyTx.Builder>
-
setField
public Base.AnyTx.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<Base.AnyTx.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Base.AnyTx.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceBase.AnyTxOrBuilder
- Returns:
- Whether the callInfo field is set.
-
getCallInfo
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
- Specified by:
getCallInfo
in interfaceBase.AnyTxOrBuilder
- Returns:
- The callInfo.
-
setCallInfo
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
-
setCallInfo
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
-
mergeCallInfo
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
-
clearCallInfo
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
-
getCallInfoBuilder
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
-
getCallInfoOrBuilder
Information required for the call of the corresponding executor.
.exonum.runtime.CallInfo call_info = 1;
- Specified by:
getCallInfoOrBuilder
in interfaceBase.AnyTxOrBuilder
-
getArguments
public com.google.protobuf.ByteString getArguments()Serialized transaction arguments.
bytes arguments = 2;
- Specified by:
getArguments
in interfaceBase.AnyTxOrBuilder
- Returns:
- The arguments.
-
setArguments
Serialized transaction arguments.
bytes arguments = 2;
- Parameters:
value
- The arguments to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
-
mergeUnknownFields
public final Base.AnyTx.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.AnyTx.Builder>
-