Class NotificationInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<NotificationInfo.Builder>
org.yamcs.web.api.NotificationInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, NotificationInfoOrBuilder
Enclosing class:
NotificationInfo

public static final class NotificationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NotificationInfo.Builder> implements NotificationInfoOrBuilder
Protobuf type yamcs.protobuf.web.NotificationInfo
  • 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<NotificationInfo.Builder>
    • clear

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

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

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

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

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

      public NotificationInfo.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<NotificationInfo.Builder>
    • clearField

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

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

      public NotificationInfo.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<NotificationInfo.Builder>
    • addRepeatedField

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

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

      public NotificationInfo.Builder mergeFrom(NotificationInfo other)
    • isInitialized

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

      public NotificationInfo.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<NotificationInfo.Builder>
      Throws:
      IOException
    • hasTag

      public boolean hasTag()
      optional string tag = 1;
      Specified by:
      hasTag in interface NotificationInfoOrBuilder
      Returns:
      Whether the tag field is set.
    • getTag

      public String getTag()
      optional string tag = 1;
      Specified by:
      getTag in interface NotificationInfoOrBuilder
      Returns:
      The tag.
    • getTagBytes

      public com.google.protobuf.ByteString getTagBytes()
      optional string tag = 1;
      Specified by:
      getTagBytes in interface NotificationInfoOrBuilder
      Returns:
      The bytes for tag.
    • setTag

      public NotificationInfo.Builder setTag(String value)
      optional string tag = 1;
      Parameters:
      value - The tag to set.
      Returns:
      This builder for chaining.
    • clearTag

      public NotificationInfo.Builder clearTag()
      optional string tag = 1;
      Returns:
      This builder for chaining.
    • setTagBytes

      public NotificationInfo.Builder setTagBytes(com.google.protobuf.ByteString value)
      optional string tag = 1;
      Parameters:
      value - The bytes for tag to set.
      Returns:
      This builder for chaining.
    • hasInstance

      public boolean hasInstance()
      optional string instance = 2;
      Specified by:
      hasInstance in interface NotificationInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
      optional string instance = 2;
      Specified by:
      getInstance in interface NotificationInfoOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
      optional string instance = 2;
      Specified by:
      getInstanceBytes in interface NotificationInfoOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public NotificationInfo.Builder setInstance(String value)
      optional string instance = 2;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public NotificationInfo.Builder clearInstance()
      optional string instance = 2;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public NotificationInfo.Builder setInstanceBytes(com.google.protobuf.ByteString value)
      optional string instance = 2;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasSeq

      public boolean hasSeq()
      optional int32 seq = 3;
      Specified by:
      hasSeq in interface NotificationInfoOrBuilder
      Returns:
      Whether the seq field is set.
    • getSeq

      public int getSeq()
      optional int32 seq = 3;
      Specified by:
      getSeq in interface NotificationInfoOrBuilder
      Returns:
      The seq.
    • setSeq

      public NotificationInfo.Builder setSeq(int value)
      optional int32 seq = 3;
      Parameters:
      value - The seq to set.
      Returns:
      This builder for chaining.
    • clearSeq

      public NotificationInfo.Builder clearSeq()
      optional int32 seq = 3;
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
      optional .yamcs.protobuf.web.NotificationType type = 4;
      Specified by:
      hasType in interface NotificationInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public NotificationType getType()
      optional .yamcs.protobuf.web.NotificationType type = 4;
      Specified by:
      getType in interface NotificationInfoOrBuilder
      Returns:
      The type.
    • setType

      optional .yamcs.protobuf.web.NotificationType type = 4;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public NotificationInfo.Builder clearType()
      optional .yamcs.protobuf.web.NotificationType type = 4;
      Returns:
      This builder for chaining.
    • hasTitle

      public boolean hasTitle()
      optional string title = 5;
      Specified by:
      hasTitle in interface NotificationInfoOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
      optional string title = 5;
      Specified by:
      getTitle in interface NotificationInfoOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
      optional string title = 5;
      Specified by:
      getTitleBytes in interface NotificationInfoOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public NotificationInfo.Builder setTitle(String value)
      optional string title = 5;
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public NotificationInfo.Builder clearTitle()
      optional string title = 5;
      Returns:
      This builder for chaining.
    • setTitleBytes

      public NotificationInfo.Builder setTitleBytes(com.google.protobuf.ByteString value)
      optional string title = 5;
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
      optional string description = 6;
      Specified by:
      hasDescription in interface NotificationInfoOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 6;
      Specified by:
      getDescription in interface NotificationInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 6;
      Specified by:
      getDescriptionBytes in interface NotificationInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public NotificationInfo.Builder setDescription(String value)
      optional string description = 6;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public NotificationInfo.Builder clearDescription()
      optional string description = 6;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public NotificationInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 6;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasTimestamp

      public boolean hasTimestamp()
      optional .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      hasTimestamp in interface NotificationInfoOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
      optional .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      getTimestamp in interface NotificationInfoOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public NotificationInfo.Builder setTimestamp(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp timestamp = 7;
    • setTimestamp

      public NotificationInfo.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp timestamp = 7;
    • mergeTimestamp

      public NotificationInfo.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp timestamp = 7;
    • clearTimestamp

      public NotificationInfo.Builder clearTimestamp()
      optional .google.protobuf.Timestamp timestamp = 7;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
      optional .google.protobuf.Timestamp timestamp = 7;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      optional .google.protobuf.Timestamp timestamp = 7;
      Specified by:
      getTimestampOrBuilder in interface NotificationInfoOrBuilder
    • hasUrl

      public boolean hasUrl()
      optional string url = 8;
      Specified by:
      hasUrl in interface NotificationInfoOrBuilder
      Returns:
      Whether the url field is set.
    • getUrl

      public String getUrl()
      optional string url = 8;
      Specified by:
      getUrl in interface NotificationInfoOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
      optional string url = 8;
      Specified by:
      getUrlBytes in interface NotificationInfoOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public NotificationInfo.Builder setUrl(String value)
      optional string url = 8;
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

      public NotificationInfo.Builder clearUrl()
      optional string url = 8;
      Returns:
      This builder for chaining.
    • setUrlBytes

      public NotificationInfo.Builder setUrlBytes(com.google.protobuf.ByteString value)
      optional string url = 8;
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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