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

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

There is a newer version: 5.133.1
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;

/**
 * Protobuf type {@code streamlayer.interactive.Banner}
 */
public  final class Banner extends
    com.google.protobuf.GeneratedMessageLite<
        Banner, Banner.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.interactive.Banner)
    BannerOrBuilder {
  private Banner() {
    imageUrl_ = "";
    url_ = "";
    body_ = "";
    title_ = "";
  }
  private int bitField0_;
  public static final int IMAGE_URL_FIELD_NUMBER = 1;
  private java.lang.String imageUrl_;
  /**
   * string image_url = 1 [json_name = "imageUrl"];
   * @return The imageUrl.
   */
  @java.lang.Override
  public java.lang.String getImageUrl() {
    return imageUrl_;
  }
  /**
   * string image_url = 1 [json_name = "imageUrl"];
   * @return The bytes for imageUrl.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getImageUrlBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(imageUrl_);
  }
  /**
   * string image_url = 1 [json_name = "imageUrl"];
   * @param value The imageUrl to set.
   */
  private void setImageUrl(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    imageUrl_ = value;
  }
  /**
   * string image_url = 1 [json_name = "imageUrl"];
   */
  private void clearImageUrl() {

    imageUrl_ = getDefaultInstance().getImageUrl();
  }
  /**
   * string image_url = 1 [json_name = "imageUrl"];
   * @param value The bytes for imageUrl to set.
   */
  private void setImageUrlBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    imageUrl_ = value.toStringUtf8();

  }

  public static final int URL_FIELD_NUMBER = 2;
  private java.lang.String url_;
  /**
   * string url = 2 [json_name = "url"];
   * @return The url.
   */
  @java.lang.Override
  public java.lang.String getUrl() {
    return url_;
  }
  /**
   * string url = 2 [json_name = "url"];
   * @return The bytes for url.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUrlBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(url_);
  }
  /**
   * string url = 2 [json_name = "url"];
   * @param value The url to set.
   */
  private void setUrl(
      java.lang.String value) {
    java.lang.Class valueClass = value.getClass();
  
    url_ = value;
  }
  /**
   * string url = 2 [json_name = "url"];
   */
  private void clearUrl() {

    url_ = getDefaultInstance().getUrl();
  }
  /**
   * string url = 2 [json_name = "url"];
   * @param value The bytes for url to set.
   */
  private void setUrlBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    url_ = value.toStringUtf8();

  }

  public static final int CTA_BUTTON_FIELD_NUMBER = 3;
  private com.streamlayer.interactive.common.CTAButton ctaButton_;
  /**
   * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
   */
  @java.lang.Override
  public boolean hasCtaButton() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
   */
  @java.lang.Override
  public com.streamlayer.interactive.common.CTAButton getCtaButton() {
    return ctaButton_ == null ? com.streamlayer.interactive.common.CTAButton.getDefaultInstance() : ctaButton_;
  }
  /**
   * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
   */
  private void setCtaButton(com.streamlayer.interactive.common.CTAButton value) {
    value.getClass();
  ctaButton_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeCtaButton(com.streamlayer.interactive.common.CTAButton value) {
    value.getClass();
  if (ctaButton_ != null &&
        ctaButton_ != com.streamlayer.interactive.common.CTAButton.getDefaultInstance()) {
      ctaButton_ =
        com.streamlayer.interactive.common.CTAButton.newBuilder(ctaButton_).mergeFrom(value).buildPartial();
    } else {
      ctaButton_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
   */
  private void clearCtaButton() {  ctaButton_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int VIDEO_FIELD_NUMBER = 4;
  private com.streamlayer.interactive.common.FileLink video_;
  /**
   * 
   * in L-Bar only
   * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ @java.lang.Override public boolean hasVideo() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * in L-Bar only
   * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ @java.lang.Override public com.streamlayer.interactive.common.FileLink getVideo() { return video_ == null ? com.streamlayer.interactive.common.FileLink.getDefaultInstance() : video_; } /** *
   * in L-Bar only
   * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ private void setVideo(com.streamlayer.interactive.common.FileLink value) { value.getClass(); video_ = value; bitField0_ |= 0x00000002; } /** *
   * in L-Bar only
   * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeVideo(com.streamlayer.interactive.common.FileLink value) { value.getClass(); if (video_ != null && video_ != com.streamlayer.interactive.common.FileLink.getDefaultInstance()) { video_ = com.streamlayer.interactive.common.FileLink.newBuilder(video_).mergeFrom(value).buildPartial(); } else { video_ = value; } bitField0_ |= 0x00000002; } /** *
   * in L-Bar only
   * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ private void clearVideo() { video_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int BODY_FIELD_NUMBER = 5; private java.lang.String body_; /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; * @return The body. */ @java.lang.Override public java.lang.String getBody() { return body_; } /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; * @return The bytes for body. */ @java.lang.Override public com.google.protobuf.ByteString getBodyBytes() { return com.google.protobuf.ByteString.copyFromUtf8(body_); } /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; * @param value The body to set. */ private void setBody( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000004; body_ = value; } /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; */ private void clearBody() { bitField0_ = (bitField0_ & ~0x00000004); body_ = getDefaultInstance().getBody(); } /** *
   * in L-Bar only
   * 
* * optional string body = 5 [json_name = "body"]; * @param value The bytes for body to set. */ private void setBodyBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); body_ = value.toStringUtf8(); bitField0_ |= 0x00000004; } public static final int ANALYTICS_TOPIC_SUB_TYPE_FIELD_NUMBER = 6; private int analyticsTopicSubType_; /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return Whether the analyticsTopicSubType field is set. */ @java.lang.Override public boolean hasAnalyticsTopicSubType() { return ((bitField0_ & 0x00000008) != 0); } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return The enum numeric value on the wire for analyticsTopicSubType. */ @java.lang.Override public int getAnalyticsTopicSubTypeValue() { return analyticsTopicSubType_; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return The analyticsTopicSubType. */ @java.lang.Override public com.streamlayer.analytics.common.v1.TopicSubType getAnalyticsTopicSubType() { com.streamlayer.analytics.common.v1.TopicSubType result = com.streamlayer.analytics.common.v1.TopicSubType.forNumber(analyticsTopicSubType_); return result == null ? com.streamlayer.analytics.common.v1.TopicSubType.UNRECOGNIZED : result; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @param value The enum numeric value on the wire for analyticsTopicSubType to set. */ private void setAnalyticsTopicSubTypeValue(int value) { bitField0_ |= 0x00000008; analyticsTopicSubType_ = value; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @param value The analyticsTopicSubType to set. */ private void setAnalyticsTopicSubType(com.streamlayer.analytics.common.v1.TopicSubType value) { analyticsTopicSubType_ = value.getNumber(); bitField0_ |= 0x00000008; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; */ private void clearAnalyticsTopicSubType() { bitField0_ = (bitField0_ & ~0x00000008); analyticsTopicSubType_ = 0; } public static final int TITLE_FIELD_NUMBER = 7; private java.lang.String title_; /** * optional string title = 7 [json_name = "title"]; * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string title = 7 [json_name = "title"]; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { return title_; } /** * optional string title = 7 [json_name = "title"]; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { return com.google.protobuf.ByteString.copyFromUtf8(title_); } /** * optional string title = 7 [json_name = "title"]; * @param value The title to set. */ private void setTitle( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000010; title_ = value; } /** * optional string title = 7 [json_name = "title"]; */ private void clearTitle() { bitField0_ = (bitField0_ & ~0x00000010); title_ = getDefaultInstance().getTitle(); } /** * optional string title = 7 [json_name = "title"]; * @param value The bytes for title to set. */ private void setTitleBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); title_ = value.toStringUtf8(); bitField0_ |= 0x00000010; } public static com.streamlayer.interactive.common.Banner parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.Banner parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.Banner parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.Banner parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.Banner parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.interactive.common.Banner parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.interactive.common.Banner parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.Banner parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.Banner parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.Banner parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.interactive.common.Banner parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.interactive.common.Banner parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.interactive.common.Banner prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.interactive.Banner} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.interactive.common.Banner, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.interactive.Banner) com.streamlayer.interactive.common.BannerOrBuilder { // Construct using com.streamlayer.interactive.common.Banner.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * string image_url = 1 [json_name = "imageUrl"]; * @return The imageUrl. */ @java.lang.Override public java.lang.String getImageUrl() { return instance.getImageUrl(); } /** * string image_url = 1 [json_name = "imageUrl"]; * @return The bytes for imageUrl. */ @java.lang.Override public com.google.protobuf.ByteString getImageUrlBytes() { return instance.getImageUrlBytes(); } /** * string image_url = 1 [json_name = "imageUrl"]; * @param value The imageUrl to set. * @return This builder for chaining. */ public Builder setImageUrl( java.lang.String value) { copyOnWrite(); instance.setImageUrl(value); return this; } /** * string image_url = 1 [json_name = "imageUrl"]; * @return This builder for chaining. */ public Builder clearImageUrl() { copyOnWrite(); instance.clearImageUrl(); return this; } /** * string image_url = 1 [json_name = "imageUrl"]; * @param value The bytes for imageUrl to set. * @return This builder for chaining. */ public Builder setImageUrlBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setImageUrlBytes(value); return this; } /** * string url = 2 [json_name = "url"]; * @return The url. */ @java.lang.Override public java.lang.String getUrl() { return instance.getUrl(); } /** * string url = 2 [json_name = "url"]; * @return The bytes for url. */ @java.lang.Override public com.google.protobuf.ByteString getUrlBytes() { return instance.getUrlBytes(); } /** * string url = 2 [json_name = "url"]; * @param value The url to set. * @return This builder for chaining. */ public Builder setUrl( java.lang.String value) { copyOnWrite(); instance.setUrl(value); return this; } /** * string url = 2 [json_name = "url"]; * @return This builder for chaining. */ public Builder clearUrl() { copyOnWrite(); instance.clearUrl(); return this; } /** * string url = 2 [json_name = "url"]; * @param value The bytes for url to set. * @return This builder for chaining. */ public Builder setUrlBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setUrlBytes(value); return this; } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ @java.lang.Override public boolean hasCtaButton() { return instance.hasCtaButton(); } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ @java.lang.Override public com.streamlayer.interactive.common.CTAButton getCtaButton() { return instance.getCtaButton(); } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ public Builder setCtaButton(com.streamlayer.interactive.common.CTAButton value) { copyOnWrite(); instance.setCtaButton(value); return this; } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ public Builder setCtaButton( com.streamlayer.interactive.common.CTAButton.Builder builderForValue) { copyOnWrite(); instance.setCtaButton(builderForValue.build()); return this; } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ public Builder mergeCtaButton(com.streamlayer.interactive.common.CTAButton value) { copyOnWrite(); instance.mergeCtaButton(value); return this; } /** * .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"]; */ public Builder clearCtaButton() { copyOnWrite(); instance.clearCtaButton(); return this; } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ @java.lang.Override public boolean hasVideo() { return instance.hasVideo(); } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ @java.lang.Override public com.streamlayer.interactive.common.FileLink getVideo() { return instance.getVideo(); } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ public Builder setVideo(com.streamlayer.interactive.common.FileLink value) { copyOnWrite(); instance.setVideo(value); return this; } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ public Builder setVideo( com.streamlayer.interactive.common.FileLink.Builder builderForValue) { copyOnWrite(); instance.setVideo(builderForValue.build()); return this; } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ public Builder mergeVideo(com.streamlayer.interactive.common.FileLink value) { copyOnWrite(); instance.mergeVideo(value); return this; } /** *
     * in L-Bar only
     * 
* * .streamlayer.interactive.FileLink video = 4 [json_name = "video"]; */ public Builder clearVideo() { copyOnWrite(); instance.clearVideo(); return this; } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @return Whether the body field is set. */ @java.lang.Override public boolean hasBody() { return instance.hasBody(); } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @return The body. */ @java.lang.Override public java.lang.String getBody() { return instance.getBody(); } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @return The bytes for body. */ @java.lang.Override public com.google.protobuf.ByteString getBodyBytes() { return instance.getBodyBytes(); } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @param value The body to set. * @return This builder for chaining. */ public Builder setBody( java.lang.String value) { copyOnWrite(); instance.setBody(value); return this; } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @return This builder for chaining. */ public Builder clearBody() { copyOnWrite(); instance.clearBody(); return this; } /** *
     * in L-Bar only
     * 
* * optional string body = 5 [json_name = "body"]; * @param value The bytes for body to set. * @return This builder for chaining. */ public Builder setBodyBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setBodyBytes(value); return this; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return Whether the analyticsTopicSubType field is set. */ @java.lang.Override public boolean hasAnalyticsTopicSubType() { return instance.hasAnalyticsTopicSubType(); } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return The enum numeric value on the wire for analyticsTopicSubType. */ @java.lang.Override public int getAnalyticsTopicSubTypeValue() { return instance.getAnalyticsTopicSubTypeValue(); } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @param value The analyticsTopicSubType to set. * @return This builder for chaining. */ public Builder setAnalyticsTopicSubTypeValue(int value) { copyOnWrite(); instance.setAnalyticsTopicSubTypeValue(value); return this; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return The analyticsTopicSubType. */ @java.lang.Override public com.streamlayer.analytics.common.v1.TopicSubType getAnalyticsTopicSubType() { return instance.getAnalyticsTopicSubType(); } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @param value The enum numeric value on the wire for analyticsTopicSubType to set. * @return This builder for chaining. */ public Builder setAnalyticsTopicSubType(com.streamlayer.analytics.common.v1.TopicSubType value) { copyOnWrite(); instance.setAnalyticsTopicSubType(value); return this; } /** * optional .streamlayer.analytics.v1.common.TopicSubType analytics_topic_sub_type = 6 [json_name = "analyticsTopicSubType"]; * @return This builder for chaining. */ public Builder clearAnalyticsTopicSubType() { copyOnWrite(); instance.clearAnalyticsTopicSubType(); return this; } /** * optional string title = 7 [json_name = "title"]; * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return instance.hasTitle(); } /** * optional string title = 7 [json_name = "title"]; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { return instance.getTitle(); } /** * optional string title = 7 [json_name = "title"]; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { return instance.getTitleBytes(); } /** * optional string title = 7 [json_name = "title"]; * @param value The title to set. * @return This builder for chaining. */ public Builder setTitle( java.lang.String value) { copyOnWrite(); instance.setTitle(value); return this; } /** * optional string title = 7 [json_name = "title"]; * @return This builder for chaining. */ public Builder clearTitle() { copyOnWrite(); instance.clearTitle(); return this; } /** * optional string title = 7 [json_name = "title"]; * @param value The bytes for title to set. * @return This builder for chaining. */ public Builder setTitleBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTitleBytes(value); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.interactive.Banner) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.interactive.common.Banner(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "imageUrl_", "url_", "ctaButton_", "video_", "body_", "analyticsTopicSubType_", "title_", }; java.lang.String info = "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + "\u0003\u1009\u0000\u0004\u1009\u0001\u0005\u1208\u0002\u0006\u100c\u0003\u0007\u1208" + "\u0004"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.interactive.common.Banner.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.interactive.Banner) private static final com.streamlayer.interactive.common.Banner DEFAULT_INSTANCE; static { Banner defaultInstance = new Banner(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( Banner.class, defaultInstance); } public static com.streamlayer.interactive.common.Banner getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy