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

main.java.com.streamlayer.sports.common.EventProgram 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/sports/sports_common.proto

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

/**
 * Protobuf type {@code streamlayer.sports.EventProgram}
 */
public  final class EventProgram extends
    com.google.protobuf.GeneratedMessageLite<
        EventProgram, EventProgram.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.EventProgram)
    EventProgramOrBuilder {
  private EventProgram() {
    id_ = "";
    title_ = "";
    startTime_ = "";
    endTime_ = "";
    thumbnailUrl_ = "";
    squareThumbnailUrl_ = "";
  }
  private int bitField0_;
  public static final int ID_FIELD_NUMBER = 1;
  private java.lang.String id_;
  /**
   * 
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return id_; } /** *
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return com.google.protobuf.ByteString.copyFromUtf8(id_); } /** *
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; * @param value The id to set. */ private void setId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000001; id_ = value; } /** *
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; */ private void clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); } /** *
   * show_id
   * 
* * optional string id = 1 [json_name = "id"]; * @param value The bytes for id to set. */ private void setIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); id_ = value.toStringUtf8(); bitField0_ |= 0x00000001; } public static final int TITLE_FIELD_NUMBER = 2; private java.lang.String title_; /** *
   * show_title
   * 
* * string title = 2 [json_name = "title"]; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { return title_; } /** *
   * show_title
   * 
* * string title = 2 [json_name = "title"]; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { return com.google.protobuf.ByteString.copyFromUtf8(title_); } /** *
   * show_title
   * 
* * string title = 2 [json_name = "title"]; * @param value The title to set. */ private void setTitle( java.lang.String value) { java.lang.Class valueClass = value.getClass(); title_ = value; } /** *
   * show_title
   * 
* * string title = 2 [json_name = "title"]; */ private void clearTitle() { title_ = getDefaultInstance().getTitle(); } /** *
   * show_title
   * 
* * string title = 2 [json_name = "title"]; * @param value The bytes for title to set. */ private void setTitleBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); title_ = value.toStringUtf8(); } public static final int START_TIME_FIELD_NUMBER = 3; private java.lang.String startTime_; /** *
   * utc ms
   * 
* * string start_time = 3 [json_name = "startTime"]; * @return The startTime. */ @java.lang.Override public java.lang.String getStartTime() { return startTime_; } /** *
   * utc ms
   * 
* * string start_time = 3 [json_name = "startTime"]; * @return The bytes for startTime. */ @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { return com.google.protobuf.ByteString.copyFromUtf8(startTime_); } /** *
   * utc ms
   * 
* * string start_time = 3 [json_name = "startTime"]; * @param value The startTime to set. */ private void setStartTime( java.lang.String value) { java.lang.Class valueClass = value.getClass(); startTime_ = value; } /** *
   * utc ms
   * 
* * string start_time = 3 [json_name = "startTime"]; */ private void clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); } /** *
   * utc ms
   * 
* * string start_time = 3 [json_name = "startTime"]; * @param value The bytes for startTime to set. */ private void setStartTimeBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); startTime_ = value.toStringUtf8(); } public static final int END_TIME_FIELD_NUMBER = 4; private java.lang.String endTime_; /** *
   * utc ms
   * 
* * string end_time = 4 [json_name = "endTime"]; * @return The endTime. */ @java.lang.Override public java.lang.String getEndTime() { return endTime_; } /** *
   * utc ms
   * 
* * string end_time = 4 [json_name = "endTime"]; * @return The bytes for endTime. */ @java.lang.Override public com.google.protobuf.ByteString getEndTimeBytes() { return com.google.protobuf.ByteString.copyFromUtf8(endTime_); } /** *
   * utc ms
   * 
* * string end_time = 4 [json_name = "endTime"]; * @param value The endTime to set. */ private void setEndTime( java.lang.String value) { java.lang.Class valueClass = value.getClass(); endTime_ = value; } /** *
   * utc ms
   * 
* * string end_time = 4 [json_name = "endTime"]; */ private void clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); } /** *
   * utc ms
   * 
* * string end_time = 4 [json_name = "endTime"]; * @param value The bytes for endTime to set. */ private void setEndTimeBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); endTime_ = value.toStringUtf8(); } public static final int THUMBNAIL_URL_FIELD_NUMBER = 5; private java.lang.String thumbnailUrl_; /** *
   * show thumbnail_file (thumbnail img url)
   * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @return The thumbnailUrl. */ @java.lang.Override public java.lang.String getThumbnailUrl() { return thumbnailUrl_; } /** *
   * show thumbnail_file (thumbnail img url)
   * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @return The bytes for thumbnailUrl. */ @java.lang.Override public com.google.protobuf.ByteString getThumbnailUrlBytes() { return com.google.protobuf.ByteString.copyFromUtf8(thumbnailUrl_); } /** *
   * show thumbnail_file (thumbnail img url)
   * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @param value The thumbnailUrl to set. */ private void setThumbnailUrl( java.lang.String value) { java.lang.Class valueClass = value.getClass(); thumbnailUrl_ = value; } /** *
   * show thumbnail_file (thumbnail img url)
   * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; */ private void clearThumbnailUrl() { thumbnailUrl_ = getDefaultInstance().getThumbnailUrl(); } /** *
   * show thumbnail_file (thumbnail img url)
   * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @param value The bytes for thumbnailUrl to set. */ private void setThumbnailUrlBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); thumbnailUrl_ = value.toStringUtf8(); } public static final int SQUARE_THUMBNAIL_URL_FIELD_NUMBER = 6; private java.lang.String squareThumbnailUrl_; /** *
   * show square_thumbnail (thumbnail square img url)
   * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @return The squareThumbnailUrl. */ @java.lang.Override public java.lang.String getSquareThumbnailUrl() { return squareThumbnailUrl_; } /** *
   * show square_thumbnail (thumbnail square img url)
   * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @return The bytes for squareThumbnailUrl. */ @java.lang.Override public com.google.protobuf.ByteString getSquareThumbnailUrlBytes() { return com.google.protobuf.ByteString.copyFromUtf8(squareThumbnailUrl_); } /** *
   * show square_thumbnail (thumbnail square img url)
   * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @param value The squareThumbnailUrl to set. */ private void setSquareThumbnailUrl( java.lang.String value) { java.lang.Class valueClass = value.getClass(); squareThumbnailUrl_ = value; } /** *
   * show square_thumbnail (thumbnail square img url)
   * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; */ private void clearSquareThumbnailUrl() { squareThumbnailUrl_ = getDefaultInstance().getSquareThumbnailUrl(); } /** *
   * show square_thumbnail (thumbnail square img url)
   * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @param value The bytes for squareThumbnailUrl to set. */ private void setSquareThumbnailUrlBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); squareThumbnailUrl_ = value.toStringUtf8(); } public static com.streamlayer.sports.common.EventProgram 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.EventProgram 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.EventProgram 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.EventProgram 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.EventProgram parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sports.common.EventProgram 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.EventProgram parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.common.EventProgram 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.EventProgram parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sports.common.EventProgram 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.EventProgram 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.EventProgram 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.EventProgram prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.sports.EventProgram} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sports.common.EventProgram, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sports.EventProgram) com.streamlayer.sports.common.EventProgramOrBuilder { // Construct using com.streamlayer.sports.common.EventProgram.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return instance.hasId(); } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @return The id. */ @java.lang.Override public java.lang.String getId() { return instance.getId(); } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { return instance.getIdBytes(); } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { copyOnWrite(); instance.setId(value); return this; } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @return This builder for chaining. */ public Builder clearId() { copyOnWrite(); instance.clearId(); return this; } /** *
     * show_id
     * 
* * optional string id = 1 [json_name = "id"]; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setIdBytes(value); return this; } /** *
     * show_title
     * 
* * string title = 2 [json_name = "title"]; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { return instance.getTitle(); } /** *
     * show_title
     * 
* * string title = 2 [json_name = "title"]; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { return instance.getTitleBytes(); } /** *
     * show_title
     * 
* * string title = 2 [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; } /** *
     * show_title
     * 
* * string title = 2 [json_name = "title"]; * @return This builder for chaining. */ public Builder clearTitle() { copyOnWrite(); instance.clearTitle(); return this; } /** *
     * show_title
     * 
* * string title = 2 [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; } /** *
     * utc ms
     * 
* * string start_time = 3 [json_name = "startTime"]; * @return The startTime. */ @java.lang.Override public java.lang.String getStartTime() { return instance.getStartTime(); } /** *
     * utc ms
     * 
* * string start_time = 3 [json_name = "startTime"]; * @return The bytes for startTime. */ @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { return instance.getStartTimeBytes(); } /** *
     * utc ms
     * 
* * string start_time = 3 [json_name = "startTime"]; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime( java.lang.String value) { copyOnWrite(); instance.setStartTime(value); return this; } /** *
     * utc ms
     * 
* * string start_time = 3 [json_name = "startTime"]; * @return This builder for chaining. */ public Builder clearStartTime() { copyOnWrite(); instance.clearStartTime(); return this; } /** *
     * utc ms
     * 
* * string start_time = 3 [json_name = "startTime"]; * @param value The bytes for startTime to set. * @return This builder for chaining. */ public Builder setStartTimeBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setStartTimeBytes(value); return this; } /** *
     * utc ms
     * 
* * string end_time = 4 [json_name = "endTime"]; * @return The endTime. */ @java.lang.Override public java.lang.String getEndTime() { return instance.getEndTime(); } /** *
     * utc ms
     * 
* * string end_time = 4 [json_name = "endTime"]; * @return The bytes for endTime. */ @java.lang.Override public com.google.protobuf.ByteString getEndTimeBytes() { return instance.getEndTimeBytes(); } /** *
     * utc ms
     * 
* * string end_time = 4 [json_name = "endTime"]; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime( java.lang.String value) { copyOnWrite(); instance.setEndTime(value); return this; } /** *
     * utc ms
     * 
* * string end_time = 4 [json_name = "endTime"]; * @return This builder for chaining. */ public Builder clearEndTime() { copyOnWrite(); instance.clearEndTime(); return this; } /** *
     * utc ms
     * 
* * string end_time = 4 [json_name = "endTime"]; * @param value The bytes for endTime to set. * @return This builder for chaining. */ public Builder setEndTimeBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEndTimeBytes(value); return this; } /** *
     * show thumbnail_file (thumbnail img url)
     * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @return The thumbnailUrl. */ @java.lang.Override public java.lang.String getThumbnailUrl() { return instance.getThumbnailUrl(); } /** *
     * show thumbnail_file (thumbnail img url)
     * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @return The bytes for thumbnailUrl. */ @java.lang.Override public com.google.protobuf.ByteString getThumbnailUrlBytes() { return instance.getThumbnailUrlBytes(); } /** *
     * show thumbnail_file (thumbnail img url)
     * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @param value The thumbnailUrl to set. * @return This builder for chaining. */ public Builder setThumbnailUrl( java.lang.String value) { copyOnWrite(); instance.setThumbnailUrl(value); return this; } /** *
     * show thumbnail_file (thumbnail img url)
     * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @return This builder for chaining. */ public Builder clearThumbnailUrl() { copyOnWrite(); instance.clearThumbnailUrl(); return this; } /** *
     * show thumbnail_file (thumbnail img url)
     * 
* * string thumbnail_url = 5 [json_name = "thumbnailUrl"]; * @param value The bytes for thumbnailUrl to set. * @return This builder for chaining. */ public Builder setThumbnailUrlBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setThumbnailUrlBytes(value); return this; } /** *
     * show square_thumbnail (thumbnail square img url)
     * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @return The squareThumbnailUrl. */ @java.lang.Override public java.lang.String getSquareThumbnailUrl() { return instance.getSquareThumbnailUrl(); } /** *
     * show square_thumbnail (thumbnail square img url)
     * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @return The bytes for squareThumbnailUrl. */ @java.lang.Override public com.google.protobuf.ByteString getSquareThumbnailUrlBytes() { return instance.getSquareThumbnailUrlBytes(); } /** *
     * show square_thumbnail (thumbnail square img url)
     * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @param value The squareThumbnailUrl to set. * @return This builder for chaining. */ public Builder setSquareThumbnailUrl( java.lang.String value) { copyOnWrite(); instance.setSquareThumbnailUrl(value); return this; } /** *
     * show square_thumbnail (thumbnail square img url)
     * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @return This builder for chaining. */ public Builder clearSquareThumbnailUrl() { copyOnWrite(); instance.clearSquareThumbnailUrl(); return this; } /** *
     * show square_thumbnail (thumbnail square img url)
     * 
* * string square_thumbnail_url = 6 [json_name = "squareThumbnailUrl"]; * @param value The bytes for squareThumbnailUrl to set. * @return This builder for chaining. */ public Builder setSquareThumbnailUrlBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setSquareThumbnailUrlBytes(value); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sports.EventProgram) } @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.EventProgram(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "id_", "title_", "startTime_", "endTime_", "thumbnailUrl_", "squareThumbnailUrl_", }; java.lang.String info = "\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u1208\u0000\u0002" + "\u0208\u0003\u0208\u0004\u0208\u0005\u0208\u0006\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.EventProgram.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.EventProgram) private static final com.streamlayer.sports.common.EventProgram DEFAULT_INSTANCE; static { EventProgram defaultInstance = new EventProgram(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( EventProgram.class, defaultInstance); } public static com.streamlayer.sports.common.EventProgram 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