main.java.com.streamlayer.sports.common.EventCustomFields Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/sports/sports_common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.common;
/**
* Protobuf type {@code streamlayer.sports.EventCustomFields}
*/
public final class EventCustomFields extends
com.google.protobuf.GeneratedMessageLite<
EventCustomFields, EventCustomFields.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.sports.EventCustomFields)
EventCustomFieldsOrBuilder {
private EventCustomFields() {
preview_ = "";
stream_ = "";
name_ = "";
logo_ = "";
eventIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
subtitle_ = "";
promotitle_ = "";
slate_ = "";
horizontalPreview_ = "";
smallLogo_ = "";
description_ = "";
}
public static final int PREVIEW_FIELD_NUMBER = 1;
private java.lang.String preview_;
/**
* string preview = 1 [json_name = "preview"];
* @return The preview.
*/
@java.lang.Override
public java.lang.String getPreview() {
return preview_;
}
/**
* string preview = 1 [json_name = "preview"];
* @return The bytes for preview.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreviewBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(preview_);
}
/**
* string preview = 1 [json_name = "preview"];
* @param value The preview to set.
*/
private void setPreview(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
preview_ = value;
}
/**
* string preview = 1 [json_name = "preview"];
*/
private void clearPreview() {
preview_ = getDefaultInstance().getPreview();
}
/**
* string preview = 1 [json_name = "preview"];
* @param value The bytes for preview to set.
*/
private void setPreviewBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
preview_ = value.toStringUtf8();
}
public static final int STREAM_FIELD_NUMBER = 2;
private java.lang.String stream_;
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @return The stream.
*/
@java.lang.Override
public java.lang.String getStream() {
return stream_;
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @return The bytes for stream.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(stream_);
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @param value The stream to set.
*/
private void setStream(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
stream_ = value;
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
*/
private void clearStream() {
stream_ = getDefaultInstance().getStream();
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @param value The bytes for stream to set.
*/
private void setStreamBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
stream_ = value.toStringUtf8();
}
public static final int NAME_FIELD_NUMBER = 3;
private java.lang.String name_;
/**
* string name = 3 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* string name = 3 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* string name = 3 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
* string name = 3 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
* string name = 3 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int LOGO_FIELD_NUMBER = 4;
private java.lang.String logo_;
/**
* string logo = 4 [json_name = "logo"];
* @return The logo.
*/
@java.lang.Override
public java.lang.String getLogo() {
return logo_;
}
/**
* string logo = 4 [json_name = "logo"];
* @return The bytes for logo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(logo_);
}
/**
* string logo = 4 [json_name = "logo"];
* @param value The logo to set.
*/
private void setLogo(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
logo_ = value;
}
/**
* string logo = 4 [json_name = "logo"];
*/
private void clearLogo() {
logo_ = getDefaultInstance().getLogo();
}
/**
* string logo = 4 [json_name = "logo"];
* @param value The bytes for logo to set.
*/
private void setLogoBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
logo_ = value.toStringUtf8();
}
public static final int EVENT_IDS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList eventIds_;
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List getEventIdsList() {
return eventIds_;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return eventIds_.size();
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public java.lang.String getEventIds(int index) {
return eventIds_.get(index);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index of the value to return.
* @return The bytes of the eventIds at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventIdsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
eventIds_.get(index));
}
private void ensureEventIdsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
eventIds_; if (!tmp.isModifiable()) {
eventIds_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index to set the value at.
* @param value The eventIds to set.
*/
private void setEventIds(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureEventIdsIsMutable();
eventIds_.set(index, value);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param value The eventIds to add.
*/
private void addEventIds(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureEventIdsIsMutable();
eventIds_.add(value);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param values The eventIds to add.
*/
private void addAllEventIds(
java.lang.Iterable values) {
ensureEventIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eventIds_);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
*/
private void clearEventIds() {
eventIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param value The bytes of the eventIds to add.
*/
private void addEventIdsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureEventIdsIsMutable();
eventIds_.add(value.toStringUtf8());
}
public static final int SUBTITLE_FIELD_NUMBER = 6;
private java.lang.String subtitle_;
/**
* string subtitle = 6 [json_name = "subtitle"];
* @return The subtitle.
*/
@java.lang.Override
public java.lang.String getSubtitle() {
return subtitle_;
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @return The bytes for subtitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubtitleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(subtitle_);
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @param value The subtitle to set.
*/
private void setSubtitle(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
subtitle_ = value;
}
/**
* string subtitle = 6 [json_name = "subtitle"];
*/
private void clearSubtitle() {
subtitle_ = getDefaultInstance().getSubtitle();
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @param value The bytes for subtitle to set.
*/
private void setSubtitleBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
subtitle_ = value.toStringUtf8();
}
public static final int PROMOTITLE_FIELD_NUMBER = 7;
private java.lang.String promotitle_;
/**
* string promotitle = 7 [json_name = "promotitle"];
* @return The promotitle.
*/
@java.lang.Override
public java.lang.String getPromotitle() {
return promotitle_;
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @return The bytes for promotitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPromotitleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(promotitle_);
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @param value The promotitle to set.
*/
private void setPromotitle(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
promotitle_ = value;
}
/**
* string promotitle = 7 [json_name = "promotitle"];
*/
private void clearPromotitle() {
promotitle_ = getDefaultInstance().getPromotitle();
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @param value The bytes for promotitle to set.
*/
private void setPromotitleBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
promotitle_ = value.toStringUtf8();
}
public static final int SLATE_FIELD_NUMBER = 8;
private java.lang.String slate_;
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @return The slate.
*/
@java.lang.Override
public java.lang.String getSlate() {
return slate_;
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @return The bytes for slate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlateBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(slate_);
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @param value The slate to set.
*/
private void setSlate(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
slate_ = value;
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
*/
private void clearSlate() {
slate_ = getDefaultInstance().getSlate();
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @param value The bytes for slate to set.
*/
private void setSlateBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
slate_ = value.toStringUtf8();
}
public static final int HORIZONTAL_PREVIEW_FIELD_NUMBER = 9;
private java.lang.String horizontalPreview_;
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @return The horizontalPreview.
*/
@java.lang.Override
public java.lang.String getHorizontalPreview() {
return horizontalPreview_;
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @return The bytes for horizontalPreview.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHorizontalPreviewBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(horizontalPreview_);
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @param value The horizontalPreview to set.
*/
private void setHorizontalPreview(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
horizontalPreview_ = value;
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
*/
private void clearHorizontalPreview() {
horizontalPreview_ = getDefaultInstance().getHorizontalPreview();
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @param value The bytes for horizontalPreview to set.
*/
private void setHorizontalPreviewBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
horizontalPreview_ = value.toStringUtf8();
}
public static final int SMALL_LOGO_FIELD_NUMBER = 10;
private java.lang.String smallLogo_;
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @return The smallLogo.
*/
@java.lang.Override
public java.lang.String getSmallLogo() {
return smallLogo_;
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @return The bytes for smallLogo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSmallLogoBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(smallLogo_);
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @param value The smallLogo to set.
*/
private void setSmallLogo(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
smallLogo_ = value;
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
*/
private void clearSmallLogo() {
smallLogo_ = getDefaultInstance().getSmallLogo();
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @param value The bytes for smallLogo to set.
*/
private void setSmallLogoBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
smallLogo_ = value.toStringUtf8();
}
public static final int DESCRIPTION_FIELD_NUMBER = 11;
private java.lang.String description_;
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return description_;
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(description_);
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @param value The description to set.
*/
private void setDescription(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
description_ = value;
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
*/
private void clearDescription() {
description_ = getDefaultInstance().getDescription();
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @param value The bytes for description to set.
*/
private void setDescriptionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
description_ = value.toStringUtf8();
}
public static com.streamlayer.sports.common.EventCustomFields parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.EventCustomFields 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.sports.common.EventCustomFields parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.EventCustomFields 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.sports.common.EventCustomFields parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.sports.common.EventCustomFields 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.sports.common.EventCustomFields parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.EventCustomFields 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.sports.common.EventCustomFields parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.EventCustomFields parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.sports.common.EventCustomFields parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.sports.common.EventCustomFields 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.sports.common.EventCustomFields prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.sports.EventCustomFields}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.sports.common.EventCustomFields, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.sports.EventCustomFields)
com.streamlayer.sports.common.EventCustomFieldsOrBuilder {
// Construct using com.streamlayer.sports.common.EventCustomFields.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string preview = 1 [json_name = "preview"];
* @return The preview.
*/
@java.lang.Override
public java.lang.String getPreview() {
return instance.getPreview();
}
/**
* string preview = 1 [json_name = "preview"];
* @return The bytes for preview.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPreviewBytes() {
return instance.getPreviewBytes();
}
/**
* string preview = 1 [json_name = "preview"];
* @param value The preview to set.
* @return This builder for chaining.
*/
public Builder setPreview(
java.lang.String value) {
copyOnWrite();
instance.setPreview(value);
return this;
}
/**
* string preview = 1 [json_name = "preview"];
* @return This builder for chaining.
*/
public Builder clearPreview() {
copyOnWrite();
instance.clearPreview();
return this;
}
/**
* string preview = 1 [json_name = "preview"];
* @param value The bytes for preview to set.
* @return This builder for chaining.
*/
public Builder setPreviewBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPreviewBytes(value);
return this;
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @return The stream.
*/
@java.lang.Override
public java.lang.String getStream() {
return instance.getStream();
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @return The bytes for stream.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStreamBytes() {
return instance.getStreamBytes();
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @param value The stream to set.
* @return This builder for chaining.
*/
public Builder setStream(
java.lang.String value) {
copyOnWrite();
instance.setStream(value);
return this;
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @return This builder for chaining.
*/
public Builder clearStream() {
copyOnWrite();
instance.clearStream();
return this;
}
/**
*
* stream url
*
*
* string stream = 2 [json_name = "stream"];
* @param value The bytes for stream to set.
* @return This builder for chaining.
*/
public Builder setStreamBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setStreamBytes(value);
return this;
}
/**
* string name = 3 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* string name = 3 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* string name = 3 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* string name = 3 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* string name = 3 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* string logo = 4 [json_name = "logo"];
* @return The logo.
*/
@java.lang.Override
public java.lang.String getLogo() {
return instance.getLogo();
}
/**
* string logo = 4 [json_name = "logo"];
* @return The bytes for logo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoBytes() {
return instance.getLogoBytes();
}
/**
* string logo = 4 [json_name = "logo"];
* @param value The logo to set.
* @return This builder for chaining.
*/
public Builder setLogo(
java.lang.String value) {
copyOnWrite();
instance.setLogo(value);
return this;
}
/**
* string logo = 4 [json_name = "logo"];
* @return This builder for chaining.
*/
public Builder clearLogo() {
copyOnWrite();
instance.clearLogo();
return this;
}
/**
* string logo = 4 [json_name = "logo"];
* @param value The bytes for logo to set.
* @return This builder for chaining.
*/
public Builder setLogoBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLogoBytes(value);
return this;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List
getEventIdsList() {
return java.util.Collections.unmodifiableList(
instance.getEventIdsList());
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return instance.getEventIdsCount();
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public java.lang.String getEventIds(int index) {
return instance.getEventIds(index);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index of the value to return.
* @return The bytes of the eventIds at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventIdsBytes(int index) {
return instance.getEventIdsBytes(index);
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param index The index to set the value at.
* @param value The eventIds to set.
* @return This builder for chaining.
*/
public Builder setEventIds(
int index, java.lang.String value) {
copyOnWrite();
instance.setEventIds(index, value);
return this;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param value The eventIds to add.
* @return This builder for chaining.
*/
public Builder addEventIds(
java.lang.String value) {
copyOnWrite();
instance.addEventIds(value);
return this;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param values The eventIds to add.
* @return This builder for chaining.
*/
public Builder addAllEventIds(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllEventIds(values);
return this;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @return This builder for chaining.
*/
public Builder clearEventIds() {
copyOnWrite();
instance.clearEventIds();
return this;
}
/**
* repeated string event_ids = 5 [json_name = "eventIds"];
* @param value The bytes of the eventIds to add.
* @return This builder for chaining.
*/
public Builder addEventIdsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addEventIdsBytes(value);
return this;
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @return The subtitle.
*/
@java.lang.Override
public java.lang.String getSubtitle() {
return instance.getSubtitle();
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @return The bytes for subtitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubtitleBytes() {
return instance.getSubtitleBytes();
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @param value The subtitle to set.
* @return This builder for chaining.
*/
public Builder setSubtitle(
java.lang.String value) {
copyOnWrite();
instance.setSubtitle(value);
return this;
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @return This builder for chaining.
*/
public Builder clearSubtitle() {
copyOnWrite();
instance.clearSubtitle();
return this;
}
/**
* string subtitle = 6 [json_name = "subtitle"];
* @param value The bytes for subtitle to set.
* @return This builder for chaining.
*/
public Builder setSubtitleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSubtitleBytes(value);
return this;
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @return The promotitle.
*/
@java.lang.Override
public java.lang.String getPromotitle() {
return instance.getPromotitle();
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @return The bytes for promotitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPromotitleBytes() {
return instance.getPromotitleBytes();
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @param value The promotitle to set.
* @return This builder for chaining.
*/
public Builder setPromotitle(
java.lang.String value) {
copyOnWrite();
instance.setPromotitle(value);
return this;
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @return This builder for chaining.
*/
public Builder clearPromotitle() {
copyOnWrite();
instance.clearPromotitle();
return this;
}
/**
* string promotitle = 7 [json_name = "promotitle"];
* @param value The bytes for promotitle to set.
* @return This builder for chaining.
*/
public Builder setPromotitleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPromotitleBytes(value);
return this;
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @return The slate.
*/
@java.lang.Override
public java.lang.String getSlate() {
return instance.getSlate();
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @return The bytes for slate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlateBytes() {
return instance.getSlateBytes();
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @param value The slate to set.
* @return This builder for chaining.
*/
public Builder setSlate(
java.lang.String value) {
copyOnWrite();
instance.setSlate(value);
return this;
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @return This builder for chaining.
*/
public Builder clearSlate() {
copyOnWrite();
instance.clearSlate();
return this;
}
/**
*
* fallback url when stream is offline
*
*
* string slate = 8 [json_name = "slate"];
* @param value The bytes for slate to set.
* @return This builder for chaining.
*/
public Builder setSlateBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSlateBytes(value);
return this;
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @return The horizontalPreview.
*/
@java.lang.Override
public java.lang.String getHorizontalPreview() {
return instance.getHorizontalPreview();
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @return The bytes for horizontalPreview.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHorizontalPreviewBytes() {
return instance.getHorizontalPreviewBytes();
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @param value The horizontalPreview to set.
* @return This builder for chaining.
*/
public Builder setHorizontalPreview(
java.lang.String value) {
copyOnWrite();
instance.setHorizontalPreview(value);
return this;
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @return This builder for chaining.
*/
public Builder clearHorizontalPreview() {
copyOnWrite();
instance.clearHorizontalPreview();
return this;
}
/**
*
* Horizontal preview image
*
*
* string horizontal_preview = 9 [json_name = "horizontalPreview"];
* @param value The bytes for horizontalPreview to set.
* @return This builder for chaining.
*/
public Builder setHorizontalPreviewBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHorizontalPreviewBytes(value);
return this;
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @return The smallLogo.
*/
@java.lang.Override
public java.lang.String getSmallLogo() {
return instance.getSmallLogo();
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @return The bytes for smallLogo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSmallLogoBytes() {
return instance.getSmallLogoBytes();
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @param value The smallLogo to set.
* @return This builder for chaining.
*/
public Builder setSmallLogo(
java.lang.String value) {
copyOnWrite();
instance.setSmallLogo(value);
return this;
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @return This builder for chaining.
*/
public Builder clearSmallLogo() {
copyOnWrite();
instance.clearSmallLogo();
return this;
}
/**
* string small_logo = 10 [json_name = "smallLogo"];
* @param value The bytes for smallLogo to set.
* @return This builder for chaining.
*/
public Builder setSmallLogoBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSmallLogoBytes(value);
return this;
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return instance.getDescription();
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return instance.getDescriptionBytes();
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
copyOnWrite();
instance.setDescription(value);
return this;
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @return This builder for chaining.
*/
public Builder clearDescription() {
copyOnWrite();
instance.clearDescription();
return this;
}
/**
*
* additional description
*
*
* string description = 11 [json_name = "description"];
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDescriptionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.sports.EventCustomFields)
}
@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.sports.common.EventCustomFields();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"preview_",
"stream_",
"name_",
"logo_",
"eventIds_",
"subtitle_",
"promotitle_",
"slate_",
"horizontalPreview_",
"smallLogo_",
"description_",
};
java.lang.String info =
"\u0000\u000b\u0000\u0000\u0001\u000b\u000b\u0000\u0001\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\u0208\u0005\u021a\u0006\u0208\u0007\u0208\b\u0208\t\u0208\n\u0208" +
"\u000b\u0208";
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.sports.common.EventCustomFields.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.sports.EventCustomFields)
private static final com.streamlayer.sports.common.EventCustomFields DEFAULT_INSTANCE;
static {
EventCustomFields defaultInstance = new EventCustomFields();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EventCustomFields.class, defaultInstance);
}
public static com.streamlayer.sports.common.EventCustomFields getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}