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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.InstanceInitParams
build()
Lifecycle.InstanceInitParams
buildPartial()
Lifecycle.InstanceInitParams.Builder
clear()
Lifecycle.InstanceInitParams.Builder
clearConstructor()
Constructor argument for the instance.Lifecycle.InstanceInitParams.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Lifecycle.InstanceInitParams.Builder
clearInstanceSpec()
Instance specification.Lifecycle.InstanceInitParams.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Lifecycle.InstanceInitParams.Builder
clone()
com.google.protobuf.ByteString
getConstructor()
Constructor argument for the instance.Lifecycle.InstanceInitParams
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Base.InstanceSpec
getInstanceSpec()
Instance specification.Base.InstanceSpec.Builder
getInstanceSpecBuilder()
Instance specification.Base.InstanceSpecOrBuilder
getInstanceSpecOrBuilder()
Instance specification.boolean
hasInstanceSpec()
Instance specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Lifecycle.InstanceInitParams.Builder
mergeFrom(Lifecycle.InstanceInitParams other)
Lifecycle.InstanceInitParams.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lifecycle.InstanceInitParams.Builder
mergeFrom(com.google.protobuf.Message other)
Lifecycle.InstanceInitParams.Builder
mergeInstanceSpec(Base.InstanceSpec value)
Instance specification.Lifecycle.InstanceInitParams.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Lifecycle.InstanceInitParams.Builder
setConstructor(com.google.protobuf.ByteString value)
Constructor argument for the instance.Lifecycle.InstanceInitParams.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.InstanceInitParams.Builder
setInstanceSpec(Base.InstanceSpec value)
Instance specification.Lifecycle.InstanceInitParams.Builder
setInstanceSpec(Base.InstanceSpec.Builder builderForValue)
Instance specification.Lifecycle.InstanceInitParams.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Lifecycle.InstanceInitParams.Builder
setUnknownFields(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 Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
clearField
public Lifecycle.InstanceInitParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
clearOneof
public Lifecycle.InstanceInitParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasInstanceSpec
in interfaceLifecycle.InstanceInitParamsOrBuilder
- Returns:
- Whether the instanceSpec field is set.
-
getInstanceSpec
Instance specification.
.exonum.runtime.InstanceSpec instance_spec = 1;
- Specified by:
getInstanceSpec
in 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:
getInstanceSpecOrBuilder
in interfaceLifecycle.InstanceInitParamsOrBuilder
-
getConstructor
public com.google.protobuf.ByteString getConstructor()Constructor argument for the instance.
bytes constructor = 2;
- Specified by:
getConstructor
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-
mergeUnknownFields
public final Lifecycle.InstanceInitParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceInitParams.Builder>
-