Package com.exonum.messages.core.runtime
Class Base.ArtifactSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
com.exonum.messages.core.runtime.Base.ArtifactSpec.Builder
- All Implemented Interfaces:
Base.ArtifactSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Base.ArtifactSpec
public static final class Base.ArtifactSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder> implements Base.ArtifactSpecOrBuilder
Exhaustive artifact specification. This information is enough to deploy an artifact.Protobuf type
exonum.runtime.ArtifactSpec-
Method Summary
Modifier and Type Method Description Base.ArtifactSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Base.ArtifactSpecbuild()Base.ArtifactSpecbuildPartial()Base.ArtifactSpec.Builderclear()Base.ArtifactSpec.BuilderclearArtifact()Information uniquely identifying the artifact.Base.ArtifactSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Base.ArtifactSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Base.ArtifactSpec.BuilderclearPayload()Runtime-specific artifact payload.Base.ArtifactSpec.Builderclone()Base.ArtifactIdgetArtifact()Information uniquely identifying the artifact.Base.ArtifactId.BuildergetArtifactBuilder()Information uniquely identifying the artifact.Base.ArtifactIdOrBuildergetArtifactOrBuilder()Information uniquely identifying the artifact.Base.ArtifactSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetPayload()Runtime-specific artifact payload.booleanhasArtifact()Information uniquely identifying the artifact.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Base.ArtifactSpec.BuildermergeArtifact(Base.ArtifactId value)Information uniquely identifying the artifact.Base.ArtifactSpec.BuildermergeFrom(Base.ArtifactSpec other)Base.ArtifactSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Base.ArtifactSpec.BuildermergeFrom(com.google.protobuf.Message other)Base.ArtifactSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Base.ArtifactSpec.BuildersetArtifact(Base.ArtifactId value)Information uniquely identifying the artifact.Base.ArtifactSpec.BuildersetArtifact(Base.ArtifactId.Builder builderForValue)Information uniquely identifying the artifact.Base.ArtifactSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Base.ArtifactSpec.BuildersetPayload(com.google.protobuf.ByteString value)Runtime-specific artifact payload.Base.ArtifactSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
setField
public Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
setRepeatedField
public Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
addRepeatedField
public Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Base.ArtifactSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
mergeFrom
public Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>- Throws:
java.io.IOException
-
hasArtifact
public boolean hasArtifact()Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1;- Specified by:
hasArtifactin interfaceBase.ArtifactSpecOrBuilder- Returns:
- Whether the artifact field is set.
-
getArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1;- Specified by:
getArtifactin interfaceBase.ArtifactSpecOrBuilder- Returns:
- The artifact.
-
setArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1; -
setArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1; -
mergeArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1; -
clearArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1; -
getArtifactBuilder
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1; -
getArtifactOrBuilder
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1;- Specified by:
getArtifactOrBuilderin interfaceBase.ArtifactSpecOrBuilder
-
getPayload
public com.google.protobuf.ByteString getPayload()Runtime-specific artifact payload.
bytes payload = 2;- Specified by:
getPayloadin interfaceBase.ArtifactSpecOrBuilder- Returns:
- The payload.
-
setPayload
Runtime-specific artifact payload.
bytes payload = 2;- Parameters:
value- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
Runtime-specific artifact payload.
bytes payload = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Base.ArtifactSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
mergeUnknownFields
public final Base.ArtifactSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-