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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.InstanceStatus
build()
Lifecycle.InstanceStatus
buildPartial()
Lifecycle.InstanceStatus.Builder
clear()
Lifecycle.InstanceStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Lifecycle.InstanceStatus.Builder
clearMigration()
Service is in process of migration.Lifecycle.InstanceStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Lifecycle.InstanceStatus.Builder
clearSimple()
Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.Builder
clearStatus()
Lifecycle.InstanceStatus.Builder
clone()
Lifecycle.InstanceStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Lifecycle.InstanceMigration
getMigration()
Service is in process of migration.Lifecycle.InstanceMigration.Builder
getMigrationBuilder()
Service is in process of migration.Lifecycle.InstanceMigrationOrBuilder
getMigrationOrBuilder()
Service is in process of migration.Lifecycle.InstanceStatus.Simple
getSimple()
Service has a status from the `Simple` enum.int
getSimpleValue()
Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.StatusCase
getStatusCase()
boolean
hasMigration()
Service is in process of migration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Lifecycle.InstanceStatus.Builder
mergeFrom(Lifecycle.InstanceStatus other)
Lifecycle.InstanceStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lifecycle.InstanceStatus.Builder
mergeFrom(com.google.protobuf.Message other)
Lifecycle.InstanceStatus.Builder
mergeMigration(Lifecycle.InstanceMigration value)
Service is in process of migration.Lifecycle.InstanceStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Lifecycle.InstanceStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.InstanceStatus.Builder
setMigration(Lifecycle.InstanceMigration value)
Service is in process of migration.Lifecycle.InstanceStatus.Builder
setMigration(Lifecycle.InstanceMigration.Builder builderForValue)
Service is in process of migration.Lifecycle.InstanceStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Lifecycle.InstanceStatus.Builder
setSimple(Lifecycle.InstanceStatus.Simple value)
Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.Builder
setSimpleValue(int value)
Service has a status from the `Simple` enum.Lifecycle.InstanceStatus.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.InstanceStatus.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.InstanceStatus.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.InstanceStatus.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.InstanceStatus.Builder>
-
setField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
clearField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
clearOneof
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
setRepeatedField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
addRepeatedField
public Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.InstanceStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.InstanceStatus.Builder>
- Throws:
java.io.IOException
-
getStatusCase
- Specified by:
getStatusCase
in interfaceLifecycle.InstanceStatusOrBuilder
-
clearStatus
-
getSimpleValue
public int getSimpleValue()Service has a status from the `Simple` enum.
.exonum.runtime.InstanceStatus.Simple simple = 1;
- Specified by:
getSimpleValue
in 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:
getSimple
in 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:
hasMigration
in interfaceLifecycle.InstanceStatusOrBuilder
- Returns:
- Whether the migration field is set.
-
getMigration
Service is in process of migration.
.exonum.runtime.InstanceMigration migration = 2;
- Specified by:
getMigration
in 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:
getMigrationOrBuilder
in interfaceLifecycle.InstanceStatusOrBuilder
-
setUnknownFields
public final Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-
mergeUnknownFields
public final Lifecycle.InstanceStatus.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.InstanceStatus.Builder>
-