Class Contracts.ConsiderationProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
io.provenance.scope.contract.proto.Contracts.ConsiderationProto.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Contracts.ConsiderationProtoOrBuilder,Cloneable
- Enclosing class:
- Contracts.ConsiderationProto
public static final class Contracts.ConsiderationProto.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
implements Contracts.ConsiderationProtoOrBuilder
Protobuf type
io.provenance.scope.contract.ConsiderationProto-
Method Summary
Modifier and TypeMethodDescriptionaddAllInputs(Iterable<? extends Contracts.ProposedRecord> values) Data pushed to a consideration that will ultimately match the output_spec of the considerationaddInputs(int index, Contracts.ProposedRecord value) Data pushed to a consideration that will ultimately match the output_spec of the considerationaddInputs(int index, Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the considerationData pushed to a consideration that will ultimately match the output_spec of the considerationaddInputs(Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the considerationData pushed to a consideration that will ultimately match the output_spec of the considerationaddInputsBuilder(int index) Data pushed to a consideration that will ultimately match the output_spec of the considerationaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string consideration_name = 1;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Data pushed to a consideration that will ultimately match the output_spec of the considerationclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .io.provenance.scope.contract.ExecutionResult result = 3;clone()string consideration_name = 1;com.google.protobuf.ByteStringstring consideration_name = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInputs(int index) Data pushed to a consideration that will ultimately match the output_spec of the considerationgetInputsBuilder(int index) Data pushed to a consideration that will ultimately match the output_spec of the considerationData pushed to a consideration that will ultimately match the output_spec of the considerationintData pushed to a consideration that will ultimately match the output_spec of the considerationData pushed to a consideration that will ultimately match the output_spec of the considerationgetInputsOrBuilder(int index) Data pushed to a consideration that will ultimately match the output_spec of the considerationList<? extends Contracts.ProposedRecordOrBuilder>Data pushed to a consideration that will ultimately match the output_spec of the consideration.io.provenance.scope.contract.ExecutionResult result = 3;.io.provenance.scope.contract.ExecutionResult result = 3;.io.provenance.scope.contract.ExecutionResult result = 3;boolean.io.provenance.scope.contract.ExecutionResult result = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .io.provenance.scope.contract.ExecutionResult result = 3;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInputs(int index) Data pushed to a consideration that will ultimately match the output_spec of the considerationsetConsiderationName(String value) string consideration_name = 1;setConsiderationNameBytes(com.google.protobuf.ByteString value) string consideration_name = 1;setInputs(int index, Contracts.ProposedRecord value) Data pushed to a consideration that will ultimately match the output_spec of the considerationsetInputs(int index, Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the considerationsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .io.provenance.scope.contract.ExecutionResult result = 3;setResult(Contracts.ExecutionResult.Builder builderForValue) .io.provenance.scope.contract.ExecutionResult result = 3;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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<Contracts.ConsiderationProto.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<Contracts.ConsiderationProto.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<Contracts.ConsiderationProto.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<Contracts.ConsiderationProto.Builder>
-
setField
public Contracts.ConsiderationProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
clearField
public Contracts.ConsiderationProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
clearOneof
public Contracts.ConsiderationProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
setRepeatedField
public Contracts.ConsiderationProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
addRepeatedField
public Contracts.ConsiderationProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Contracts.ConsiderationProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
mergeFrom
public Contracts.ConsiderationProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Contracts.ConsiderationProto.Builder>- Throws:
IOException
-
getConsiderationName
string consideration_name = 1;- Specified by:
getConsiderationNamein interfaceContracts.ConsiderationProtoOrBuilder- Returns:
- The considerationName.
-
getConsiderationNameBytes
public com.google.protobuf.ByteString getConsiderationNameBytes()string consideration_name = 1;- Specified by:
getConsiderationNameBytesin interfaceContracts.ConsiderationProtoOrBuilder- Returns:
- The bytes for considerationName.
-
setConsiderationName
string consideration_name = 1;- Parameters:
value- The considerationName to set.- Returns:
- This builder for chaining.
-
clearConsiderationName
string consideration_name = 1;- Returns:
- This builder for chaining.
-
setConsiderationNameBytes
public Contracts.ConsiderationProto.Builder setConsiderationNameBytes(com.google.protobuf.ByteString value) string consideration_name = 1;- Parameters:
value- The bytes for considerationName to set.- Returns:
- This builder for chaining.
-
getInputsList
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2;- Specified by:
getInputsListin interfaceContracts.ConsiderationProtoOrBuilder
-
getInputsCount
public int getInputsCount()Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2;- Specified by:
getInputsCountin interfaceContracts.ConsiderationProtoOrBuilder
-
getInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2;- Specified by:
getInputsin interfaceContracts.ConsiderationProtoOrBuilder
-
setInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
setInputs
public Contracts.ConsiderationProto.Builder setInputs(int index, Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addInputs
public Contracts.ConsiderationProto.Builder addInputs(Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addInputs
public Contracts.ConsiderationProto.Builder addInputs(int index, Contracts.ProposedRecord.Builder builderForValue) Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addAllInputs
public Contracts.ConsiderationProto.Builder addAllInputs(Iterable<? extends Contracts.ProposedRecord> values) Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
clearInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
removeInputs
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
getInputsBuilder
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
getInputsOrBuilder
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2;- Specified by:
getInputsOrBuilderin interfaceContracts.ConsiderationProtoOrBuilder
-
getInputsOrBuilderList
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2;- Specified by:
getInputsOrBuilderListin interfaceContracts.ConsiderationProtoOrBuilder
-
addInputsBuilder
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
addInputsBuilder
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
getInputsBuilderList
Data pushed to a consideration that will ultimately match the output_spec of the consideration
repeated .io.provenance.scope.contract.ProposedRecord inputs = 2; -
hasResult
public boolean hasResult().io.provenance.scope.contract.ExecutionResult result = 3;- Specified by:
hasResultin interfaceContracts.ConsiderationProtoOrBuilder- Returns:
- Whether the result field is set.
-
getResult
.io.provenance.scope.contract.ExecutionResult result = 3;- Specified by:
getResultin interfaceContracts.ConsiderationProtoOrBuilder- Returns:
- The result.
-
setResult
.io.provenance.scope.contract.ExecutionResult result = 3; -
setResult
public Contracts.ConsiderationProto.Builder setResult(Contracts.ExecutionResult.Builder builderForValue) .io.provenance.scope.contract.ExecutionResult result = 3; -
mergeResult
.io.provenance.scope.contract.ExecutionResult result = 3; -
clearResult
.io.provenance.scope.contract.ExecutionResult result = 3; -
getResultBuilder
.io.provenance.scope.contract.ExecutionResult result = 3; -
getResultOrBuilder
.io.provenance.scope.contract.ExecutionResult result = 3;- Specified by:
getResultOrBuilderin interfaceContracts.ConsiderationProtoOrBuilder
-
setUnknownFields
public final Contracts.ConsiderationProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-
mergeUnknownFields
public final Contracts.ConsiderationProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Contracts.ConsiderationProto.Builder>
-