Class ActivityLogInfo.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ActivityLogInfo.Builder mergeFrom(ActivityLogInfo other)
    • isInitialized

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

      public ActivityLogInfo.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<ActivityLogInfo.Builder>
      Throws:
      IOException
    • hasTime

      public boolean hasTime()
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      hasTime in interface ActivityLogInfoOrBuilder
      Returns:
      Whether the time field is set.
    • getTime

      public com.google.protobuf.Timestamp getTime()
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      getTime in interface ActivityLogInfoOrBuilder
      Returns:
      The time.
    • setTime

      public ActivityLogInfo.Builder setTime(com.google.protobuf.Timestamp value)
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
    • setTime

      public ActivityLogInfo.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
    • mergeTime

      public ActivityLogInfo.Builder mergeTime(com.google.protobuf.Timestamp value)
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
    • clearTime

      public ActivityLogInfo.Builder clearTime()
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
    • getTimeBuilder

      public com.google.protobuf.Timestamp.Builder getTimeBuilder()
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
    • getTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
       Log time
       
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      getTimeOrBuilder in interface ActivityLogInfoOrBuilder
    • hasSource

      public boolean hasSource()
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Specified by:
      hasSource in interface ActivityLogInfoOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Specified by:
      getSource in interface ActivityLogInfoOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Specified by:
      getSourceBytes in interface ActivityLogInfoOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public ActivityLogInfo.Builder setSource(String value)
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public ActivityLogInfo.Builder clearSource()
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public ActivityLogInfo.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Source of this log message. One of:
       - SERVICE: the log is generated by the activity service
       - ACTIVITY: the log is generated by the activity itself
       
      optional string source = 2;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • hasLevel

      public boolean hasLevel()
       Log level
       
      optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
      Specified by:
      hasLevel in interface ActivityLogInfoOrBuilder
      Returns:
      Whether the level field is set.
    • getLevel

      public ActivityLogLevel getLevel()
       Log level
       
      optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
      Specified by:
      getLevel in interface ActivityLogInfoOrBuilder
      Returns:
      The level.
    • setLevel

      public ActivityLogInfo.Builder setLevel(ActivityLogLevel value)
       Log level
       
      optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
      Parameters:
      value - The level to set.
      Returns:
      This builder for chaining.
    • clearLevel

      public ActivityLogInfo.Builder clearLevel()
       Log level
       
      optional .yamcs.protobuf.activities.ActivityLogLevel level = 3;
      Returns:
      This builder for chaining.
    • hasMessage

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

      public String getMessage()
       Log message
       
      optional string message = 4;
      Specified by:
      getMessage in interface ActivityLogInfoOrBuilder
      Returns:
      The message.
    • getMessageBytes

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

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

      public ActivityLogInfo.Builder clearMessage()
       Log message
       
      optional string message = 4;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public ActivityLogInfo.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Log message
       
      optional string message = 4;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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