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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • clear

      public Base.ArtifactId.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • getDefaultInstanceForType

      public Base.ArtifactId getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Base.ArtifactId build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Base.ArtifactId buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Base.ArtifactId.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • clearField

      public Base.ArtifactId.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • clearOneof

      public Base.ArtifactId.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • mergeFrom

      public Base.ArtifactId.Builder mergeFrom​(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Base.ArtifactId.Builder>
    • mergeFrom

      public Base.ArtifactId.Builder mergeFrom​(Base.ArtifactId other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface Base.ArtifactIdOrBuilder
      Returns:
      The runtimeId.
    • setRuntimeId

      public Base.ArtifactId.Builder setRuntimeId​(int value)
       Runtime identifier.
       
      uint32 runtime_id = 1;
      Parameters:
      value - The runtimeId to set.
      Returns:
      This builder for chaining.
    • clearRuntimeId

      public Base.ArtifactId.Builder 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 interface Base.ArtifactIdOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Artifact name.
       
      string name = 2;
      Specified by:
      getNameBytes in interface Base.ArtifactIdOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Base.ArtifactId.Builder setName​(java.lang.String value)
       Artifact name.
       
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Base.ArtifactId.Builder clearName()
       Artifact name.
       
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Base.ArtifactId.Builder setNameBytes​(com.google.protobuf.ByteString value)
       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 interface Base.ArtifactIdOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Semantic version of the artifact.
       
      string version = 3;
      Specified by:
      getVersionBytes in interface Base.ArtifactIdOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Base.ArtifactId.Builder setVersion​(java.lang.String value)
       Semantic version of the artifact.
       
      string version = 3;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Base.ArtifactId.Builder clearVersion()
       Semantic version of the artifact.
       
      string version = 3;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Base.ArtifactId.Builder setVersionBytes​(com.google.protobuf.ByteString value)
       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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>
    • mergeUnknownFields

      public final Base.ArtifactId.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.ArtifactId.Builder>