All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.interactive.common.QuestionOrBuilder Maven / Gradle / Ivy

There is a newer version: 5.120.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/interactive/interactive.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;

public interface QuestionOrBuilder extends
    // @@protoc_insertion_point(interface_extends:streamlayer.interactive.Question)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * string id = 1 [json_name = "id"];
   * @return The id.
   */
  java.lang.String getId();
  /**
   * string id = 1 [json_name = "id"];
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString
      getIdBytes();

  /**
   * .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
   * @return The enum numeric value on the wire for type.
   */
  int getTypeValue();
  /**
   * .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
   * @return The type.
   */
  com.streamlayer.interactive.common.QuestionType getType();

  /**
   * optional string subject = 3 [json_name = "subject"];
   * @return Whether the subject field is set.
   */
  boolean hasSubject();
  /**
   * optional string subject = 3 [json_name = "subject"];
   * @return The subject.
   */
  java.lang.String getSubject();
  /**
   * optional string subject = 3 [json_name = "subject"];
   * @return The bytes for subject.
   */
  com.google.protobuf.ByteString
      getSubjectBytes();

  /**
   * .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
   * @return Whether the options field is set.
   */
  boolean hasOptions();
  /**
   * .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
   * @return The options.
   */
  com.streamlayer.interactive.common.QuestionOptions getOptions();

  /**
   * .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
   * @return Whether the appearance field is set.
   */
  boolean hasAppearance();
  /**
   * .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
   * @return The appearance.
   */
  com.streamlayer.interactive.common.QuestionAppearance getAppearance();

  /**
   * .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
   * @return Whether the sponsorship field is set.
   */
  boolean hasSponsorship();
  /**
   * .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
   * @return The sponsorship.
   */
  com.streamlayer.interactive.common.Sponsorship getSponsorship();

  /**
   * .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
   * @return Whether the notification field is set.
   */
  boolean hasNotification();
  /**
   * .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
   * @return The notification.
   */
  com.streamlayer.interactive.common.QuestionNotification getNotification();

  /**
   * repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
   */
  java.util.List 
      getAnswersList();
  /**
   * repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
   */
  com.streamlayer.interactive.common.QuestionAnswer getAnswers(int index);
  /**
   * repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
   */
  int getAnswersCount();

  /**
   * .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
   * @return The enum numeric value on the wire for status.
   */
  int getStatusValue();
  /**
   * .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
   * @return The status.
   */
  com.streamlayer.interactive.common.QuestionStatus getStatus();

  /**
   * optional uint32 position = 10 [json_name = "position"];
   * @return Whether the position field is set.
   */
  boolean hasPosition();
  /**
   * optional uint32 position = 10 [json_name = "position"];
   * @return The position.
   */
  int getPosition();

  /**
   * bool market_closed = 11 [json_name = "marketClosed"];
   * @return The marketClosed.
   */
  boolean getMarketClosed();

  /**
   * string activated_at = 12 [json_name = "activatedAt"];
   * @return The activatedAt.
   */
  java.lang.String getActivatedAt();
  /**
   * string activated_at = 12 [json_name = "activatedAt"];
   * @return The bytes for activatedAt.
   */
  com.google.protobuf.ByteString
      getActivatedAtBytes();

  /**
   * string answer_set_at = 13 [json_name = "answerSetAt"];
   * @return The answerSetAt.
   */
  java.lang.String getAnswerSetAt();
  /**
   * string answer_set_at = 13 [json_name = "answerSetAt"];
   * @return The bytes for answerSetAt.
   */
  com.google.protobuf.ByteString
      getAnswerSetAtBytes();

  /**
   * 
   * path, value
   * 
* * map<string, bool> overrides = 14 [json_name = "overrides"]; */ int getOverridesCount(); /** *
   * path, value
   * 
* * map<string, bool> overrides = 14 [json_name = "overrides"]; */ boolean containsOverrides( java.lang.String key); /** * Use {@link #getOverridesMap()} instead. */ @java.lang.Deprecated java.util.Map getOverrides(); /** *
   * path, value
   * 
* * map<string, bool> overrides = 14 [json_name = "overrides"]; */ java.util.Map getOverridesMap(); /** *
   * path, value
   * 
* * map<string, bool> overrides = 14 [json_name = "overrides"]; */ boolean getOverridesOrDefault( java.lang.String key, boolean defaultValue); /** *
   * path, value
   * 
* * map<string, bool> overrides = 14 [json_name = "overrides"]; */ boolean getOverridesOrThrow( java.lang.String key); /** * string event_id = 15 [json_name = "eventId"]; * @return The eventId. */ java.lang.String getEventId(); /** * string event_id = 15 [json_name = "eventId"]; * @return The bytes for eventId. */ com.google.protobuf.ByteString getEventIdBytes(); /** * .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"]; * @return Whether the streamTimestamp field is set. */ boolean hasStreamTimestamp(); /** * .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"]; * @return The streamTimestamp. */ com.google.protobuf.Timestamp getStreamTimestamp(); /** * repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"]; */ java.util.List getTagsList(); /** * repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"]; */ com.streamlayer.interactive.common.Tag getTags(int index); /** * repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"]; */ int getTagsCount(); /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"]; * @return Whether the bypassNotifications field is set. */ boolean hasBypassNotifications(); /** * .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"]; * @return The bypassNotifications. */ com.streamlayer.interactive.common.BypassNotifications getBypassNotifications(); /** * string import_id = 19 [json_name = "importId"]; * @return The importId. */ java.lang.String getImportId(); /** * string import_id = 19 [json_name = "importId"]; * @return The bytes for importId. */ com.google.protobuf.ByteString getImportIdBytes(); /** *
   * numbers of activation subscriptions
   * 
* * optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"]; * @return Whether the activationTriggerCount field is set. */ boolean hasActivationTriggerCount(); /** *
   * numbers of activation subscriptions
   * 
* * optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"]; * @return The activationTriggerCount. */ int getActivationTriggerCount(); /** * .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"]; * @return The enum numeric value on the wire for source. */ int getSourceValue(); /** * .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"]; * @return The source. */ com.streamlayer.interactive.common.QuestionSource getSource(); /** * .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"]; * @return Whether the ai field is set. */ boolean hasAi(); /** * .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"]; * @return The ai. */ com.streamlayer.interactive.common.QuestionAi getAi(); /** * optional bool has_triggers = 23 [json_name = "hasTriggers"]; * @return Whether the hasTriggers field is set. */ boolean hasHasTriggers(); /** * optional bool has_triggers = 23 [json_name = "hasTriggers"]; * @return The hasTriggers. */ boolean getHasTriggers(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy