public static final class OmniLedgerProto.StateChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder> implements OmniLedgerProto.StateChangeOrBuilder
StateChange is one new state that will be applied to the collection.Protobuf type
omniledger.StateChange| Modifier and Type | Method and Description |
|---|---|
OmniLedgerProto.StateChange.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.StateChange |
build() |
OmniLedgerProto.StateChange |
buildPartial() |
OmniLedgerProto.StateChange.Builder |
clear() |
OmniLedgerProto.StateChange.Builder |
clearContractid()
ContractID points to the contract that can interpret the value
|
OmniLedgerProto.StateChange.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OmniLedgerProto.StateChange.Builder |
clearInstanceid()
InstanceID of the state to change
|
OmniLedgerProto.StateChange.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OmniLedgerProto.StateChange.Builder |
clearStateaction()
StateAction can be any of Create, Update, Remove
|
OmniLedgerProto.StateChange.Builder |
clearValue()
Value is the data needed by the contract
|
OmniLedgerProto.StateChange.Builder |
clone() |
com.google.protobuf.ByteString |
getContractid()
ContractID points to the contract that can interpret the value
|
OmniLedgerProto.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
|
boolean |
hasContractid()
ContractID points to the contract that can interpret the value
|
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OmniLedgerProto.StateChange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OmniLedgerProto.StateChange.Builder |
mergeFrom(com.google.protobuf.Message other) |
OmniLedgerProto.StateChange.Builder |
mergeFrom(OmniLedgerProto.StateChange other) |
OmniLedgerProto.StateChange.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OmniLedgerProto.StateChange.Builder |
setContractid(com.google.protobuf.ByteString value)
ContractID points to the contract that can interpret the value
|
OmniLedgerProto.StateChange.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OmniLedgerProto.StateChange.Builder |
setInstanceid(com.google.protobuf.ByteString value)
InstanceID of the state to change
|
OmniLedgerProto.StateChange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OmniLedgerProto.StateChange.Builder |
setStateaction(int value)
StateAction can be any of Create, Update, Remove
|
OmniLedgerProto.StateChange.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OmniLedgerProto.StateChange.Builder |
setValue(com.google.protobuf.ByteString value)
Value is the data needed by the contract
|
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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.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<OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.StateChange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OmniLedgerProto.StateChange build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.StateChange buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.StateChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.StateChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.StateChange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.StateChange.Builder mergeFrom(OmniLedgerProto.StateChange other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder>public OmniLedgerProto.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<OmniLedgerProto.StateChange.Builder>IOExceptionpublic boolean hasStateaction()
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;hasStateaction in interface OmniLedgerProto.StateChangeOrBuilderpublic int getStateaction()
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;getStateaction in interface OmniLedgerProto.StateChangeOrBuilderpublic OmniLedgerProto.StateChange.Builder setStateaction(int value)
StateAction can be any of Create, Update, Remove
required sint32 stateaction = 1;public OmniLedgerProto.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 OmniLedgerProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getInstanceid()
InstanceID of the state to change
required bytes instanceid = 2;getInstanceid in interface OmniLedgerProto.StateChangeOrBuilderpublic OmniLedgerProto.StateChange.Builder setInstanceid(com.google.protobuf.ByteString value)
InstanceID of the state to change
required bytes instanceid = 2;public OmniLedgerProto.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 bytes contractid = 3;hasContractid in interface OmniLedgerProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getContractid()
ContractID points to the contract that can interpret the value
required bytes contractid = 3;getContractid in interface OmniLedgerProto.StateChangeOrBuilderpublic OmniLedgerProto.StateChange.Builder setContractid(com.google.protobuf.ByteString value)
ContractID points to the contract that can interpret the value
required bytes contractid = 3;public OmniLedgerProto.StateChange.Builder clearContractid()
ContractID points to the contract that can interpret the value
required bytes contractid = 3;public boolean hasValue()
Value is the data needed by the contract
required bytes value = 4;hasValue in interface OmniLedgerProto.StateChangeOrBuilderpublic com.google.protobuf.ByteString getValue()
Value is the data needed by the contract
required bytes value = 4;getValue in interface OmniLedgerProto.StateChangeOrBuilderpublic OmniLedgerProto.StateChange.Builder setValue(com.google.protobuf.ByteString value)
Value is the data needed by the contract
required bytes value = 4;public OmniLedgerProto.StateChange.Builder clearValue()
Value is the data needed by the contract
required bytes value = 4;public final OmniLedgerProto.StateChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder>public final OmniLedgerProto.StateChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OmniLedgerProto.StateChange.Builder>Copyright © 2018. All rights reserved.