Package com.exonum.messages.core.runtime
Class Lifecycle.ArtifactState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.ArtifactState.Builder>
com.exonum.messages.core.runtime.Lifecycle.ArtifactState.Builder
- All Implemented Interfaces:
Lifecycle.ArtifactStateOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Lifecycle.ArtifactState
public static final class Lifecycle.ArtifactState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.ArtifactState.Builder> implements Lifecycle.ArtifactStateOrBuilder
Current state of the artifact in dispatcher.Protobuf type
exonum.runtime.ArtifactState
-
Method Summary
Modifier and Type Method Description Lifecycle.ArtifactState.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.ArtifactState
build()
Lifecycle.ArtifactState
buildPartial()
Lifecycle.ArtifactState.Builder
clear()
Lifecycle.ArtifactState.Builder
clearDeploySpec()
Runtime-specific artifact specification.Lifecycle.ArtifactState.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Lifecycle.ArtifactState.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Lifecycle.ArtifactState.Builder
clearStatus()
Artifact deployment status.Lifecycle.ArtifactState.Builder
clone()
Lifecycle.ArtifactState
getDefaultInstanceForType()
com.google.protobuf.ByteString
getDeploySpec()
Runtime-specific artifact specification.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Lifecycle.ArtifactState.Status
getStatus()
Artifact deployment status.int
getStatusValue()
Artifact deployment status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Lifecycle.ArtifactState.Builder
mergeFrom(Lifecycle.ArtifactState other)
Lifecycle.ArtifactState.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lifecycle.ArtifactState.Builder
mergeFrom(com.google.protobuf.Message other)
Lifecycle.ArtifactState.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Lifecycle.ArtifactState.Builder
setDeploySpec(com.google.protobuf.ByteString value)
Runtime-specific artifact specification.Lifecycle.ArtifactState.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Lifecycle.ArtifactState.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Lifecycle.ArtifactState.Builder
setStatus(Lifecycle.ArtifactState.Status value)
Artifact deployment status.Lifecycle.ArtifactState.Builder
setStatusValue(int value)
Artifact deployment status.Lifecycle.ArtifactState.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.ArtifactState.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.ArtifactState.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.ArtifactState.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.ArtifactState.Builder>
-
setField
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
clearField
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
clearOneof
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
setRepeatedField
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
addRepeatedField
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lifecycle.ArtifactState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lifecycle.ArtifactState.Builder>
-
mergeFrom
public Lifecycle.ArtifactState.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.ArtifactState.Builder>
- Throws:
java.io.IOException
-
getDeploySpec
public com.google.protobuf.ByteString getDeploySpec()Runtime-specific artifact specification.
bytes deploy_spec = 1;
- Specified by:
getDeploySpec
in interfaceLifecycle.ArtifactStateOrBuilder
- Returns:
- The deploySpec.
-
setDeploySpec
Runtime-specific artifact specification.
bytes deploy_spec = 1;
- Parameters:
value
- The deploySpec to set.- Returns:
- This builder for chaining.
-
clearDeploySpec
Runtime-specific artifact specification.
bytes deploy_spec = 1;
- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Artifact deployment status.
.exonum.runtime.ArtifactState.Status status = 2;
- Specified by:
getStatusValue
in interfaceLifecycle.ArtifactStateOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Artifact deployment status.
.exonum.runtime.ArtifactState.Status status = 2;
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Artifact deployment status.
.exonum.runtime.ArtifactState.Status status = 2;
- Specified by:
getStatus
in interfaceLifecycle.ArtifactStateOrBuilder
- Returns:
- The status.
-
setStatus
Artifact deployment status.
.exonum.runtime.ArtifactState.Status status = 2;
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Artifact deployment status.
.exonum.runtime.ArtifactState.Status status = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Lifecycle.ArtifactState.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.ArtifactState.Builder>
-
mergeUnknownFields
public final Lifecycle.ArtifactState.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.ArtifactState.Builder>
-