Package com.exonum.messages.core.runtime
Class Base.ArtifactId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
com.exonum.messages.core.runtime.Base.ArtifactId.Builder
- All Implemented Interfaces:
Base.ArtifactIdOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Base.ArtifactId
public static final class Base.ArtifactId.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder> implements Base.ArtifactIdOrBuilder
The artifact identifier is required to construct service instances. In other words, an artifact identifier is similar to a class name, and a specific service instance is similar to a class instance.Protobuf type
exonum.runtime.ArtifactId
-
Method Summary
Modifier and Type Method Description Base.ArtifactId.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.ArtifactId
build()
Base.ArtifactId
buildPartial()
Base.ArtifactId.Builder
clear()
Base.ArtifactId.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Base.ArtifactId.Builder
clearName()
Artifact name.Base.ArtifactId.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Base.ArtifactId.Builder
clearRuntimeId()
Runtime identifier.Base.ArtifactId.Builder
clearVersion()
Semantic version of the artifact.Base.ArtifactId.Builder
clone()
Base.ArtifactId
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
Artifact name.com.google.protobuf.ByteString
getNameBytes()
Artifact name.int
getRuntimeId()
Runtime identifier.java.lang.String
getVersion()
Semantic version of the artifact.com.google.protobuf.ByteString
getVersionBytes()
Semantic version of the artifact.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Base.ArtifactId.Builder
mergeFrom(Base.ArtifactId other)
Base.ArtifactId.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Base.ArtifactId.Builder
mergeFrom(com.google.protobuf.Message other)
Base.ArtifactId.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Base.ArtifactId.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Base.ArtifactId.Builder
setName(java.lang.String value)
Artifact name.Base.ArtifactId.Builder
setNameBytes(com.google.protobuf.ByteString value)
Artifact name.Base.ArtifactId.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Base.ArtifactId.Builder
setRuntimeId(int value)
Runtime identifier.Base.ArtifactId.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Base.ArtifactId.Builder
setVersion(java.lang.String value)
Semantic version of the artifact.Base.ArtifactId.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Semantic version of the artifact.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.ArtifactId.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.ArtifactId.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.ArtifactId.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.ArtifactId.Builder>
-
setField
public Base.ArtifactId.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.ArtifactId.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
-
setRepeatedField
public Base.ArtifactId.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.ArtifactId.Builder>
-
addRepeatedField
public Base.ArtifactId.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.ArtifactId.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Base.ArtifactId.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
-
mergeFrom
public Base.ArtifactId.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.ArtifactId.Builder>
- Throws:
java.io.IOException
-
getRuntimeId
public int getRuntimeId()Runtime identifier.
uint32 runtime_id = 1;
- Specified by:
getRuntimeId
in interfaceBase.ArtifactIdOrBuilder
- Returns:
- The runtimeId.
-
setRuntimeId
Runtime identifier.
uint32 runtime_id = 1;
- Parameters:
value
- The runtimeId to set.- Returns:
- This builder for chaining.
-
clearRuntimeId
Runtime identifier.
uint32 runtime_id = 1;
- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()Artifact name.
string name = 2;
- Specified by:
getName
in interfaceBase.ArtifactIdOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Artifact name.
string name = 2;
- Specified by:
getNameBytes
in interfaceBase.ArtifactIdOrBuilder
- Returns:
- The bytes for name.
-
setName
Artifact name.
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Artifact name.
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
Artifact name.
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersion
public java.lang.String getVersion()Semantic version of the artifact.
string version = 3;
- Specified by:
getVersion
in interfaceBase.ArtifactIdOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Semantic version of the artifact.
string version = 3;
- Specified by:
getVersionBytes
in interfaceBase.ArtifactIdOrBuilder
- Returns:
- The bytes for version.
-
setVersion
Semantic version of the artifact.
string version = 3;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Semantic version of the artifact.
string version = 3;
- Returns:
- This builder for chaining.
-
setVersionBytes
Semantic version of the artifact.
string version = 3;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Base.ArtifactId.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.ArtifactId.Builder>
-
mergeUnknownFields
public final Base.ArtifactId.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.ArtifactId.Builder>
-