Class Specifications.FunctionSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
- io.provenance.scope.contract.proto.Specifications.FunctionSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Specifications.FunctionSpecOrBuilder,java.lang.Cloneable
- Enclosing class:
- Specifications.FunctionSpec
public static final class Specifications.FunctionSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder> implements Specifications.FunctionSpecOrBuilder
Protobuf typeio.provenance.scope.contract.FunctionSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Specifications.FunctionSpec.BuilderaddAllInputSpecs(java.lang.Iterable<? extends Commons.DefinitionSpec> values)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderaddInputSpecs(int index, Commons.DefinitionSpec value)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderaddInputSpecs(int index, Commons.DefinitionSpec.Builder builderForValue)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderaddInputSpecs(Commons.DefinitionSpec value)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderaddInputSpecs(Commons.DefinitionSpec.Builder builderForValue)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Commons.DefinitionSpec.BuilderaddInputSpecsBuilder()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Commons.DefinitionSpec.BuilderaddInputSpecsBuilder(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Specifications.FunctionSpecbuild()Specifications.FunctionSpecbuildPartial()Specifications.FunctionSpec.Builderclear()Specifications.FunctionSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Specifications.FunctionSpec.BuilderclearFuncName()string func_name = 1;Specifications.FunctionSpec.BuilderclearInputSpecs()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuilderclearInvokerParty().io.provenance.scope.contract.PartyType invoker_party = 5;Specifications.FunctionSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Specifications.FunctionSpec.BuilderclearOutputSpec().io.provenance.scope.contract.OutputSpec output_spec = 4;Specifications.FunctionSpec.Builderclone()Specifications.FunctionSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFuncName()string func_name = 1;com.google.protobuf.ByteStringgetFuncNameBytes()string func_name = 1;Commons.DefinitionSpecgetInputSpecs(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Commons.DefinitionSpec.BuildergetInputSpecsBuilder(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;java.util.List<Commons.DefinitionSpec.Builder>getInputSpecsBuilderList()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;intgetInputSpecsCount()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;java.util.List<Commons.DefinitionSpec>getInputSpecsList()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Commons.DefinitionSpecOrBuildergetInputSpecsOrBuilder(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;java.util.List<? extends Commons.DefinitionSpecOrBuilder>getInputSpecsOrBuilderList()repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.PartyTypegetInvokerParty().io.provenance.scope.contract.PartyType invoker_party = 5;intgetInvokerPartyValue().io.provenance.scope.contract.PartyType invoker_party = 5;Commons.OutputSpecgetOutputSpec().io.provenance.scope.contract.OutputSpec output_spec = 4;Commons.OutputSpec.BuildergetOutputSpecBuilder().io.provenance.scope.contract.OutputSpec output_spec = 4;Commons.OutputSpecOrBuildergetOutputSpecOrBuilder().io.provenance.scope.contract.OutputSpec output_spec = 4;booleanhasOutputSpec().io.provenance.scope.contract.OutputSpec output_spec = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Specifications.FunctionSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Specifications.FunctionSpec.BuildermergeFrom(com.google.protobuf.Message other)Specifications.FunctionSpec.BuildermergeFrom(Specifications.FunctionSpec other)Specifications.FunctionSpec.BuildermergeOutputSpec(Commons.OutputSpec value).io.provenance.scope.contract.OutputSpec output_spec = 4;Specifications.FunctionSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Specifications.FunctionSpec.BuilderremoveInputSpecs(int index)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Specifications.FunctionSpec.BuildersetFuncName(java.lang.String value)string func_name = 1;Specifications.FunctionSpec.BuildersetFuncNameBytes(com.google.protobuf.ByteString value)string func_name = 1;Specifications.FunctionSpec.BuildersetInputSpecs(int index, Commons.DefinitionSpec value)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuildersetInputSpecs(int index, Commons.DefinitionSpec.Builder builderForValue)repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;Specifications.FunctionSpec.BuildersetInvokerParty(Specifications.PartyType value).io.provenance.scope.contract.PartyType invoker_party = 5;Specifications.FunctionSpec.BuildersetInvokerPartyValue(int value).io.provenance.scope.contract.PartyType invoker_party = 5;Specifications.FunctionSpec.BuildersetOutputSpec(Commons.OutputSpec value).io.provenance.scope.contract.OutputSpec output_spec = 4;Specifications.FunctionSpec.BuildersetOutputSpec(Commons.OutputSpec.Builder builderForValue).io.provenance.scope.contract.OutputSpec output_spec = 4;Specifications.FunctionSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Specifications.FunctionSpec.BuildersetUnknownFields(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 Detail
-
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<Specifications.FunctionSpec.Builder>
-
clear
public Specifications.FunctionSpec.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<Specifications.FunctionSpec.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<Specifications.FunctionSpec.Builder>
-
getDefaultInstanceForType
public Specifications.FunctionSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Specifications.FunctionSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Specifications.FunctionSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Specifications.FunctionSpec.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<Specifications.FunctionSpec.Builder>
-
setField
public Specifications.FunctionSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
clearField
public Specifications.FunctionSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
clearOneof
public Specifications.FunctionSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
setRepeatedField
public Specifications.FunctionSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
addRepeatedField
public Specifications.FunctionSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
mergeFrom
public Specifications.FunctionSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Specifications.FunctionSpec.Builder>
-
mergeFrom
public Specifications.FunctionSpec.Builder mergeFrom(Specifications.FunctionSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
mergeFrom
public Specifications.FunctionSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Specifications.FunctionSpec.Builder>- Throws:
java.io.IOException
-
getFuncName
public java.lang.String getFuncName()
string func_name = 1;- Specified by:
getFuncNamein interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- The funcName.
-
getFuncNameBytes
public com.google.protobuf.ByteString getFuncNameBytes()
string func_name = 1;- Specified by:
getFuncNameBytesin interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- The bytes for funcName.
-
setFuncName
public Specifications.FunctionSpec.Builder setFuncName(java.lang.String value)
string func_name = 1;- Parameters:
value- The funcName to set.- Returns:
- This builder for chaining.
-
clearFuncName
public Specifications.FunctionSpec.Builder clearFuncName()
string func_name = 1;- Returns:
- This builder for chaining.
-
setFuncNameBytes
public Specifications.FunctionSpec.Builder setFuncNameBytes(com.google.protobuf.ByteString value)
string func_name = 1;- Parameters:
value- The bytes for funcName to set.- Returns:
- This builder for chaining.
-
getInvokerPartyValue
public int getInvokerPartyValue()
.io.provenance.scope.contract.PartyType invoker_party = 5;- Specified by:
getInvokerPartyValuein interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- The enum numeric value on the wire for invokerParty.
-
setInvokerPartyValue
public Specifications.FunctionSpec.Builder setInvokerPartyValue(int value)
.io.provenance.scope.contract.PartyType invoker_party = 5;- Parameters:
value- The enum numeric value on the wire for invokerParty to set.- Returns:
- This builder for chaining.
-
getInvokerParty
public Specifications.PartyType getInvokerParty()
.io.provenance.scope.contract.PartyType invoker_party = 5;- Specified by:
getInvokerPartyin interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- The invokerParty.
-
setInvokerParty
public Specifications.FunctionSpec.Builder setInvokerParty(Specifications.PartyType value)
.io.provenance.scope.contract.PartyType invoker_party = 5;- Parameters:
value- The invokerParty to set.- Returns:
- This builder for chaining.
-
clearInvokerParty
public Specifications.FunctionSpec.Builder clearInvokerParty()
.io.provenance.scope.contract.PartyType invoker_party = 5;- Returns:
- This builder for chaining.
-
getInputSpecsList
public java.util.List<Commons.DefinitionSpec> getInputSpecsList()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;- Specified by:
getInputSpecsListin interfaceSpecifications.FunctionSpecOrBuilder
-
getInputSpecsCount
public int getInputSpecsCount()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;- Specified by:
getInputSpecsCountin interfaceSpecifications.FunctionSpecOrBuilder
-
getInputSpecs
public Commons.DefinitionSpec getInputSpecs(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;- Specified by:
getInputSpecsin interfaceSpecifications.FunctionSpecOrBuilder
-
setInputSpecs
public Specifications.FunctionSpec.Builder setInputSpecs(int index, Commons.DefinitionSpec value)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
setInputSpecs
public Specifications.FunctionSpec.Builder setInputSpecs(int index, Commons.DefinitionSpec.Builder builderForValue)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addInputSpecs
public Specifications.FunctionSpec.Builder addInputSpecs(Commons.DefinitionSpec value)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addInputSpecs
public Specifications.FunctionSpec.Builder addInputSpecs(int index, Commons.DefinitionSpec value)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addInputSpecs
public Specifications.FunctionSpec.Builder addInputSpecs(Commons.DefinitionSpec.Builder builderForValue)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addInputSpecs
public Specifications.FunctionSpec.Builder addInputSpecs(int index, Commons.DefinitionSpec.Builder builderForValue)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addAllInputSpecs
public Specifications.FunctionSpec.Builder addAllInputSpecs(java.lang.Iterable<? extends Commons.DefinitionSpec> values)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
clearInputSpecs
public Specifications.FunctionSpec.Builder clearInputSpecs()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
removeInputSpecs
public Specifications.FunctionSpec.Builder removeInputSpecs(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
getInputSpecsBuilder
public Commons.DefinitionSpec.Builder getInputSpecsBuilder(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
getInputSpecsOrBuilder
public Commons.DefinitionSpecOrBuilder getInputSpecsOrBuilder(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;- Specified by:
getInputSpecsOrBuilderin interfaceSpecifications.FunctionSpecOrBuilder
-
getInputSpecsOrBuilderList
public java.util.List<? extends Commons.DefinitionSpecOrBuilder> getInputSpecsOrBuilderList()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;- Specified by:
getInputSpecsOrBuilderListin interfaceSpecifications.FunctionSpecOrBuilder
-
addInputSpecsBuilder
public Commons.DefinitionSpec.Builder addInputSpecsBuilder()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
addInputSpecsBuilder
public Commons.DefinitionSpec.Builder addInputSpecsBuilder(int index)
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
getInputSpecsBuilderList
public java.util.List<Commons.DefinitionSpec.Builder> getInputSpecsBuilderList()
repeated .io.provenance.scope.contract.DefinitionSpec input_specs = 3;
-
hasOutputSpec
public boolean hasOutputSpec()
.io.provenance.scope.contract.OutputSpec output_spec = 4;- Specified by:
hasOutputSpecin interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- Whether the outputSpec field is set.
-
getOutputSpec
public Commons.OutputSpec getOutputSpec()
.io.provenance.scope.contract.OutputSpec output_spec = 4;- Specified by:
getOutputSpecin interfaceSpecifications.FunctionSpecOrBuilder- Returns:
- The outputSpec.
-
setOutputSpec
public Specifications.FunctionSpec.Builder setOutputSpec(Commons.OutputSpec value)
.io.provenance.scope.contract.OutputSpec output_spec = 4;
-
setOutputSpec
public Specifications.FunctionSpec.Builder setOutputSpec(Commons.OutputSpec.Builder builderForValue)
.io.provenance.scope.contract.OutputSpec output_spec = 4;
-
mergeOutputSpec
public Specifications.FunctionSpec.Builder mergeOutputSpec(Commons.OutputSpec value)
.io.provenance.scope.contract.OutputSpec output_spec = 4;
-
clearOutputSpec
public Specifications.FunctionSpec.Builder clearOutputSpec()
.io.provenance.scope.contract.OutputSpec output_spec = 4;
-
getOutputSpecBuilder
public Commons.OutputSpec.Builder getOutputSpecBuilder()
.io.provenance.scope.contract.OutputSpec output_spec = 4;
-
getOutputSpecOrBuilder
public Commons.OutputSpecOrBuilder getOutputSpecOrBuilder()
.io.provenance.scope.contract.OutputSpec output_spec = 4;- Specified by:
getOutputSpecOrBuilderin interfaceSpecifications.FunctionSpecOrBuilder
-
setUnknownFields
public final Specifications.FunctionSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
mergeUnknownFields
public final Specifications.FunctionSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Specifications.FunctionSpec.Builder>
-
-