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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.ArtifactSpec
build()
Base.ArtifactSpec
buildPartial()
Base.ArtifactSpec.Builder
clear()
Base.ArtifactSpec.Builder
clearArtifact()
Information uniquely identifying the artifact.Base.ArtifactSpec.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Base.ArtifactSpec.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Base.ArtifactSpec.Builder
clearPayload()
Runtime-specific artifact payload.Base.ArtifactSpec.Builder
clone()
Base.ArtifactId
getArtifact()
Information uniquely identifying the artifact.Base.ArtifactId.Builder
getArtifactBuilder()
Information uniquely identifying the artifact.Base.ArtifactIdOrBuilder
getArtifactOrBuilder()
Information uniquely identifying the artifact.Base.ArtifactSpec
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getPayload()
Runtime-specific artifact payload.boolean
hasArtifact()
Information uniquely identifying the artifact.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Base.ArtifactSpec.Builder
mergeArtifact(Base.ArtifactId value)
Information uniquely identifying the artifact.Base.ArtifactSpec.Builder
mergeFrom(Base.ArtifactSpec other)
Base.ArtifactSpec.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Base.ArtifactSpec.Builder
mergeFrom(com.google.protobuf.Message other)
Base.ArtifactSpec.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Base.ArtifactSpec.Builder
setArtifact(Base.ArtifactId value)
Information uniquely identifying the artifact.Base.ArtifactSpec.Builder
setArtifact(Base.ArtifactId.Builder builderForValue)
Information uniquely identifying the artifact.Base.ArtifactSpec.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.ArtifactSpec.Builder
setPayload(com.google.protobuf.ByteString value)
Runtime-specific artifact payload.Base.ArtifactSpec.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
setField
public Base.ArtifactSpec.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<Base.ArtifactSpec.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Base.ArtifactSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasArtifact
in interfaceBase.ArtifactSpecOrBuilder
- Returns:
- Whether the artifact field is set.
-
getArtifact
Information uniquely identifying the artifact.
.exonum.runtime.ArtifactId artifact = 1;
- Specified by:
getArtifact
in 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:
getArtifactOrBuilder
in interfaceBase.ArtifactSpecOrBuilder
-
getPayload
public com.google.protobuf.ByteString getPayload()Runtime-specific artifact payload.
bytes payload = 2;
- Specified by:
getPayload
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-
mergeUnknownFields
public final Base.ArtifactSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactSpec.Builder>
-