Package com.exonum.messages.core.runtime
Class Lifecycle.InstanceInitParams.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
com.exonum.messages.core.runtime.Lifecycle.InstanceInitParams.Builder
- All Implemented Interfaces:
Lifecycle.InstanceInitParamsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Lifecycle.InstanceInitParams
public static final class Lifecycle.InstanceInitParams.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder> implements Lifecycle.InstanceInitParamsOrBuilder
Data that is required for initialization of a service instance.Protobuf type
exonum.runtime.InstanceInitParams-
Method Summary
Modifier and Type Method Description Lifecycle.InstanceInitParams.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.InstanceInitParamsbuild()Lifecycle.InstanceInitParamsbuildPartial()Lifecycle.InstanceInitParams.Builderclear()Lifecycle.InstanceInitParams.BuilderclearConstructor()Constructor argument for the instance.Lifecycle.InstanceInitParams.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Lifecycle.InstanceInitParams.BuilderclearInstanceSpec()Instance specification.Lifecycle.InstanceInitParams.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Lifecycle.InstanceInitParams.Builderclone()com.google.protobuf.ByteStringgetConstructor()Constructor argument for the instance.Lifecycle.InstanceInitParamsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Base.InstanceSpecgetInstanceSpec()Instance specification.Base.InstanceSpec.BuildergetInstanceSpecBuilder()Instance specification.Base.InstanceSpecOrBuildergetInstanceSpecOrBuilder()Instance specification.booleanhasInstanceSpec()Instance specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Lifecycle.InstanceInitParams.BuildermergeFrom(Lifecycle.InstanceInitParams other)Lifecycle.InstanceInitParams.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Lifecycle.InstanceInitParams.BuildermergeFrom(com.google.protobuf.Message other)Lifecycle.InstanceInitParams.BuildermergeInstanceSpec(Base.InstanceSpec value)Instance specification.Lifecycle.InstanceInitParams.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Lifecycle.InstanceInitParams.BuildersetConstructor(com.google.protobuf.ByteString value)Constructor argument for the instance.Lifecycle.InstanceInitParams.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.InstanceInitParams.BuildersetInstanceSpec(Base.InstanceSpec value)Instance specification.Lifecycle.InstanceInitParams.BuildersetInstanceSpec(Base.InstanceSpec.Builder builderForValue)Instance specification.Lifecycle.InstanceInitParams.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Lifecycle.InstanceInitParams.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.Builder>
-
setField
public Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.Builder>
-
clearField
public Lifecycle.InstanceInitParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
clearOneof
public Lifecycle.InstanceInitParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
setRepeatedField
public Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.Builder>
-
addRepeatedField
public Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeFrom
public Lifecycle.InstanceInitParams.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<Lifecycle.InstanceInitParams.Builder>- Throws:
java.io.IOException
-
hasInstanceSpec
public boolean hasInstanceSpec()Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1;- Specified by:
hasInstanceSpecin interfaceLifecycle.InstanceInitParamsOrBuilder- Returns:
- Whether the instanceSpec field is set.
-
getInstanceSpec
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1;- Specified by:
getInstanceSpecin interfaceLifecycle.InstanceInitParamsOrBuilder- Returns:
- The instanceSpec.
-
setInstanceSpec
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1; -
setInstanceSpec
public Lifecycle.InstanceInitParams.Builder setInstanceSpec(Base.InstanceSpec.Builder builderForValue)Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1; -
mergeInstanceSpec
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1; -
clearInstanceSpec
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1; -
getInstanceSpecBuilder
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1; -
getInstanceSpecOrBuilder
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1;- Specified by:
getInstanceSpecOrBuilderin interfaceLifecycle.InstanceInitParamsOrBuilder
-
getConstructor
public com.google.protobuf.ByteString getConstructor()Constructor argument for the instance.
bytes constructor = 2;- Specified by:
getConstructorin interfaceLifecycle.InstanceInitParamsOrBuilder- Returns:
- The constructor.
-
setConstructor
Constructor argument for the instance.
bytes constructor = 2;- Parameters:
value- The constructor to set.- Returns:
- This builder for chaining.
-
clearConstructor
Constructor argument for the instance.
bytes constructor = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Lifecycle.InstanceInitParams.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeUnknownFields
public final Lifecycle.InstanceInitParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-