Package com.exonum.messages.core.runtime
Class Lifecycle.InstanceStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
com.exonum.messages.core.runtime.Lifecycle.InstanceStatus.Builder
- All Implemented Interfaces:
Lifecycle.InstanceStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Lifecycle.InstanceStatus
public static final class Lifecycle.InstanceStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder> implements Lifecycle.InstanceStatusOrBuilder
Protobuf type
exonum.runtime.InstanceStatus-
Method Summary
Modifier and Type Method Description Lifecycle.InstanceStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.InstanceStatusbuild()Lifecycle.InstanceStatusbuildPartial()Lifecycle.InstanceStatus.Builderclear()Lifecycle.InstanceStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Lifecycle.InstanceStatus.BuilderclearMigration()Service is in process of migration.Lifecycle.InstanceStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Lifecycle.InstanceStatus.BuilderclearSimple()Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.BuilderclearStatus()Lifecycle.InstanceStatus.Builderclone()Lifecycle.InstanceStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Lifecycle.InstanceMigrationgetMigration()Service is in process of migration.Lifecycle.InstanceMigration.BuildergetMigrationBuilder()Service is in process of migration.Lifecycle.InstanceMigrationOrBuildergetMigrationOrBuilder()Service is in process of migration.Lifecycle.InstanceStatus.SimplegetSimple()Service has a status from the `Simple` enum.intgetSimpleValue()Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.StatusCasegetStatusCase()booleanhasMigration()Service is in process of migration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Lifecycle.InstanceStatus.BuildermergeFrom(Lifecycle.InstanceStatus other)Lifecycle.InstanceStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Lifecycle.InstanceStatus.BuildermergeFrom(com.google.protobuf.Message other)Lifecycle.InstanceStatus.BuildermergeMigration(Lifecycle.InstanceMigration value)Service is in process of migration.Lifecycle.InstanceStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Lifecycle.InstanceStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Lifecycle.InstanceStatus.BuildersetMigration(Lifecycle.InstanceMigration value)Service is in process of migration.Lifecycle.InstanceStatus.BuildersetMigration(Lifecycle.InstanceMigration.Builder builderForValue)Service is in process of migration.Lifecycle.InstanceStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Lifecycle.InstanceStatus.BuildersetSimple(Lifecycle.InstanceStatus.Simple value)Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.BuildersetSimpleValue(int value)Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.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.InstanceStatus.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.InstanceStatus.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.InstanceStatus.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.InstanceStatus.Builder>
-
setField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
clearField
public Lifecycle.InstanceStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
-
clearOneof
public Lifecycle.InstanceStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
-
setRepeatedField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
addRepeatedField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.InstanceStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
-
mergeFrom
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>- Throws:
java.io.IOException
-
getStatusCase
- Specified by:
getStatusCasein interfaceLifecycle.InstanceStatusOrBuilder
-
clearStatus
-
getSimpleValue
public int getSimpleValue()Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;- Specified by:
getSimpleValuein interfaceLifecycle.InstanceStatusOrBuilder- Returns:
- The enum numeric value on the wire for simple.
-
setSimpleValue
Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;- Parameters:
value- The enum numeric value on the wire for simple to set.- Returns:
- This builder for chaining.
-
getSimple
Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;- Specified by:
getSimplein interfaceLifecycle.InstanceStatusOrBuilder- Returns:
- The simple.
-
setSimple
Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;- Parameters:
value- The simple to set.- Returns:
- This builder for chaining.
-
clearSimple
Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;- Returns:
- This builder for chaining.
-
hasMigration
public boolean hasMigration()Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;- Specified by:
hasMigrationin interfaceLifecycle.InstanceStatusOrBuilder- Returns:
- Whether the migration field is set.
-
getMigration
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;- Specified by:
getMigrationin interfaceLifecycle.InstanceStatusOrBuilder- Returns:
- The migration.
-
setMigration
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2; -
setMigration
public Lifecycle.InstanceStatus.Builder setMigration(Lifecycle.InstanceMigration.Builder builderForValue)Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2; -
mergeMigration
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2; -
clearMigration
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2; -
getMigrationBuilder
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2; -
getMigrationOrBuilder
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;- Specified by:
getMigrationOrBuilderin interfaceLifecycle.InstanceStatusOrBuilder
-
setUnknownFields
public final Lifecycle.InstanceStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
-
mergeUnknownFields
public final Lifecycle.InstanceStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.InstanceStatus.Builder>
-