Class Mdb.HistoryInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
org.yamcs.protobuf.Mdb.HistoryInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Mdb.HistoryInfoOrBuilder
Enclosing class:
Mdb.HistoryInfo

public static final class Mdb.HistoryInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder> implements Mdb.HistoryInfoOrBuilder
Protobuf type yamcs.protobuf.mdb.HistoryInfo
  • 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<Mdb.HistoryInfo.Builder>
    • clear

      public Mdb.HistoryInfo.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<Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • setField

      public Mdb.HistoryInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
    • clearField

      public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • clearOneof

      public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • setRepeatedField

      public Mdb.HistoryInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
    • addRepeatedField

      public Mdb.HistoryInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
    • mergeFrom

      public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • mergeFrom

      public Mdb.HistoryInfo.Builder mergeFrom(Mdb.HistoryInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
    • mergeFrom

      public Mdb.HistoryInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Mdb.HistoryInfo.Builder>
      Throws:
      IOException
    • hasVersion

      public boolean hasVersion()
      optional string version = 1;
      Specified by:
      hasVersion in interface Mdb.HistoryInfoOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public String getVersion()
      optional string version = 1;
      Specified by:
      getVersion in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
      optional string version = 1;
      Specified by:
      getVersionBytes in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Mdb.HistoryInfo.Builder setVersion(String value)
      optional string version = 1;
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Mdb.HistoryInfo.Builder clearVersion()
      optional string version = 1;
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Mdb.HistoryInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
      optional string version = 1;
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • hasDate

      public boolean hasDate()
      optional string date = 2;
      Specified by:
      hasDate in interface Mdb.HistoryInfoOrBuilder
      Returns:
      Whether the date field is set.
    • getDate

      public String getDate()
      optional string date = 2;
      Specified by:
      getDate in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The date.
    • getDateBytes

      public com.google.protobuf.ByteString getDateBytes()
      optional string date = 2;
      Specified by:
      getDateBytes in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The bytes for date.
    • setDate

      public Mdb.HistoryInfo.Builder setDate(String value)
      optional string date = 2;
      Parameters:
      value - The date to set.
      Returns:
      This builder for chaining.
    • clearDate

      public Mdb.HistoryInfo.Builder clearDate()
      optional string date = 2;
      Returns:
      This builder for chaining.
    • setDateBytes

      public Mdb.HistoryInfo.Builder setDateBytes(com.google.protobuf.ByteString value)
      optional string date = 2;
      Parameters:
      value - The bytes for date to set.
      Returns:
      This builder for chaining.
    • hasMessage

      public boolean hasMessage()
      optional string message = 3;
      Specified by:
      hasMessage in interface Mdb.HistoryInfoOrBuilder
      Returns:
      Whether the message field is set.
    • getMessage

      public String getMessage()
      optional string message = 3;
      Specified by:
      getMessage in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      optional string message = 3;
      Specified by:
      getMessageBytes in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public Mdb.HistoryInfo.Builder setMessage(String value)
      optional string message = 3;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Mdb.HistoryInfo.Builder clearMessage()
      optional string message = 3;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Mdb.HistoryInfo.Builder setMessageBytes(com.google.protobuf.ByteString value)
      optional string message = 3;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • hasAuthor

      public boolean hasAuthor()
      optional string author = 4;
      Specified by:
      hasAuthor in interface Mdb.HistoryInfoOrBuilder
      Returns:
      Whether the author field is set.
    • getAuthor

      public String getAuthor()
      optional string author = 4;
      Specified by:
      getAuthor in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The author.
    • getAuthorBytes

      public com.google.protobuf.ByteString getAuthorBytes()
      optional string author = 4;
      Specified by:
      getAuthorBytes in interface Mdb.HistoryInfoOrBuilder
      Returns:
      The bytes for author.
    • setAuthor

      public Mdb.HistoryInfo.Builder setAuthor(String value)
      optional string author = 4;
      Parameters:
      value - The author to set.
      Returns:
      This builder for chaining.
    • clearAuthor

      public Mdb.HistoryInfo.Builder clearAuthor()
      optional string author = 4;
      Returns:
      This builder for chaining.
    • setAuthorBytes

      public Mdb.HistoryInfo.Builder setAuthorBytes(com.google.protobuf.ByteString value)
      optional string author = 4;
      Parameters:
      value - The bytes for author to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
    • mergeUnknownFields

      public final Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>