public static final class ByzCoinProto.StateChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder> implements ByzCoinProto.StateChangeOrBuilder
StateChange is one new state that will be applied to the collection.Protobuf type
byzcoin.StateChange| Modifier and Type | Method and Description |
|---|---|
ByzCoinProto.StateChange.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.StateChange |
build() |
ByzCoinProto.StateChange |
buildPartial() |
ByzCoinProto.StateChange.Builder |
clear() |
ByzCoinProto.StateChange.Builder |
clearContractid()
ContractID points to the contract that can interpret the value
|
ByzCoinProto.StateChange.Builder |
clearDarcid()
DarcID is the Darc controlling access to this key.
|
ByzCoinProto.StateChange.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ByzCoinProto.StateChange.Builder |
clearInstanceid()
InstanceID of the state to change
|
ByzCoinProto.StateChange.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ByzCoinProto.StateChange.Builder |
clearStateaction()
StateAction can be any of Create, Update, Remove
|
ByzCoinProto.StateChange.Builder |
clearValue()
Value is the data needed by the contract
|
ByzCoinProto.StateChange.Builder |
clearVersion()
Version is the monotonically increasing version of the instance
|
ByzCoinProto.StateChange.Builder |
clone() |
String |
getContractid()
ContractID points to the contract that can interpret the value
|
com.google.protobuf.ByteString |
getContractidBytes()
ContractID points to the contract that can interpret the value
|
com.google.protobuf.ByteString |
getDarcid()
DarcID is the Darc controlling access to this key.
|
ByzCoinProto.StateChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getInstanceid()
InstanceID of the state to change
|
int |
getStateaction()
StateAction can be any of Create, Update, Remove
|
com.google.protobuf.ByteString |
getValue()
Value is the data needed by the contract
|
long |
getVersion()
Version is the monotonically increasing version of the instance
|
boolean |
hasContractid()
ContractID points to the contract that can interpret the value
|
boolean |
hasDarcid()
DarcID is the Darc controlling access to this key.
|
boolean |
hasInstanceid()
InstanceID of the state to change
|
boolean |
hasStateaction()
StateAction can be any of Create, Update, Remove
|
boolean |
hasValue()
Value is the data needed by the contract
|
boolean |
hasVersion()
Version is the monotonically increasing version of the instance
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ByzCoinProto.StateChange.Builder |
mergeFrom(ByzCoinProto.StateChange other) |
ByzCoinProto.StateChange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ByzCoinProto.StateChange.Builder |
mergeFrom(com.google.protobuf.Message other) |
ByzCoinProto.StateChange.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByzCoinProto.StateChange.Builder |
setContractid(String value)
ContractID points to the contract that can interpret the value
|
ByzCoinProto.StateChange.Builder |
setContractidBytes(com.google.protobuf.ByteString value)
ContractID points to the contract that can interpret the value
|
ByzCoinProto.StateChange.Builder |
setDarcid(com.google.protobuf.ByteString value)
DarcID is the Darc controlling access to this key.
|
ByzCoinProto.StateChange.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ByzCoinProto.StateChange.Builder |
setInstanceid(com.google.protobuf.ByteString value)
InstanceID of the state to change
|
ByzCoinProto.StateChange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ByzCoinProto.StateChange.Builder |
setStateaction(int value)
StateAction can be any of Create, Update, Remove
|
ByzCoinProto.StateChange.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ByzCoinProto.StateChange.Builder |
setValue(com.google.protobuf.ByteString value)
Value is the data needed by the contract
|
ByzCoinProto.StateChange.Builder |
setVersion(long value)
Version is the monotonically increasing version of the instance
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ByzCoinProto.StateChange build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.StateChange buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ByzCoinProto.StateChange.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder mergeFrom(ByzCoinProto.StateChange other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public ByzCoinProto.StateChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ByzCoinProto.StateChange.Builder>IOExceptionpublic boolean hasStateaction()
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;hasStateaction in interface ByzCoinProto.StateChangeOrBuilderpublic int getStateaction()
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;getStateaction in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setStateaction(int value)
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;public ByzCoinProto.StateChange.Builder clearStateaction()
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;public boolean hasInstanceid()
InstanceID of the state to change
required bytes instanceid = 2;hasInstanceid in interface ByzCoinProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getInstanceid()
InstanceID of the state to change
required bytes instanceid = 2;getInstanceid in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setInstanceid(com.google.protobuf.ByteString value)
InstanceID of the state to change
required bytes instanceid = 2;public ByzCoinProto.StateChange.Builder clearInstanceid()
InstanceID of the state to change
required bytes instanceid = 2;public boolean hasContractid()
ContractID points to the contract that can interpret the value
required string contractid = 3;hasContractid in interface ByzCoinProto.StateChangeOrBuilderpublic String getContractid()
ContractID points to the contract that can interpret the value
required string contractid = 3;getContractid in interface ByzCoinProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getContractidBytes()
ContractID points to the contract that can interpret the value
required string contractid = 3;getContractidBytes in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setContractid(String value)
ContractID points to the contract that can interpret the value
required string contractid = 3;public ByzCoinProto.StateChange.Builder clearContractid()
ContractID points to the contract that can interpret the value
required string contractid = 3;public ByzCoinProto.StateChange.Builder setContractidBytes(com.google.protobuf.ByteString value)
ContractID points to the contract that can interpret the value
required string contractid = 3;public boolean hasValue()
Value is the data needed by the contract
required bytes value = 4;hasValue in interface ByzCoinProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getValue()
Value is the data needed by the contract
required bytes value = 4;getValue in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setValue(com.google.protobuf.ByteString value)
Value is the data needed by the contract
required bytes value = 4;public ByzCoinProto.StateChange.Builder clearValue()
Value is the data needed by the contract
required bytes value = 4;public boolean hasDarcid()
DarcID is the Darc controlling access to this key.
required bytes darcid = 5;hasDarcid in interface ByzCoinProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getDarcid()
DarcID is the Darc controlling access to this key.
required bytes darcid = 5;getDarcid in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setDarcid(com.google.protobuf.ByteString value)
DarcID is the Darc controlling access to this key.
required bytes darcid = 5;public ByzCoinProto.StateChange.Builder clearDarcid()
DarcID is the Darc controlling access to this key.
required bytes darcid = 5;public boolean hasVersion()
Version is the monotonically increasing version of the instance
required uint64 version = 6;hasVersion in interface ByzCoinProto.StateChangeOrBuilderpublic long getVersion()
Version is the monotonically increasing version of the instance
required uint64 version = 6;getVersion in interface ByzCoinProto.StateChangeOrBuilderpublic ByzCoinProto.StateChange.Builder setVersion(long value)
Version is the monotonically increasing version of the instance
required uint64 version = 6;public ByzCoinProto.StateChange.Builder clearVersion()
Version is the monotonically increasing version of the instance
required uint64 version = 6;public final ByzCoinProto.StateChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>public final ByzCoinProto.StateChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ByzCoinProto.StateChange.Builder>Copyright © 2019. All rights reserved.