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

main.java.com.streamlayer.sports.soccer.SoccerPerformers 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/soccer/soccer.proto

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

/**
 * Protobuf type {@code streamlayer.sports.soccer.SoccerPerformers}
 */
public  final class SoccerPerformers extends
    com.google.protobuf.GeneratedMessageLite<
        SoccerPerformers, SoccerPerformers.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sports.soccer.SoccerPerformers)
    SoccerPerformersOrBuilder {
  private SoccerPerformers() {
  }
  private int bitField0_;
  public static final int CATEGORY_FIELD_NUMBER = 1;
  private int category_;
  /**
   * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
   * @return The enum numeric value on the wire for category.
   */
  @java.lang.Override
  public int getCategoryValue() {
    return category_;
  }
  /**
   * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
   * @return The category.
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerPerformerCategory getCategory() {
    com.streamlayer.sports.soccer.SoccerPerformerCategory result = com.streamlayer.sports.soccer.SoccerPerformerCategory.forNumber(category_);
    return result == null ? com.streamlayer.sports.soccer.SoccerPerformerCategory.UNRECOGNIZED : result;
  }
  /**
   * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
   * @param value The enum numeric value on the wire for category to set.
   */
  private void setCategoryValue(int value) {
      category_ = value;
  }
  /**
   * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
   * @param value The category to set.
   */
  private void setCategory(com.streamlayer.sports.soccer.SoccerPerformerCategory value) {
    category_ = value.getNumber();

  }
  /**
   * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
   */
  private void clearCategory() {

    category_ = 0;
  }

  public static final int ATTACK_PERFORMER_FIELD_NUMBER = 2;
  private com.streamlayer.sports.soccer.SoccerAttackPerfomer attackPerformer_;
  /**
   * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
   */
  @java.lang.Override
  public boolean hasAttackPerformer() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerAttackPerfomer getAttackPerformer() {
    return attackPerformer_ == null ? com.streamlayer.sports.soccer.SoccerAttackPerfomer.getDefaultInstance() : attackPerformer_;
  }
  /**
   * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
   */
  private void setAttackPerformer(com.streamlayer.sports.soccer.SoccerAttackPerfomer value) {
    value.getClass();
  attackPerformer_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeAttackPerformer(com.streamlayer.sports.soccer.SoccerAttackPerfomer value) {
    value.getClass();
  if (attackPerformer_ != null &&
        attackPerformer_ != com.streamlayer.sports.soccer.SoccerAttackPerfomer.getDefaultInstance()) {
      attackPerformer_ =
        com.streamlayer.sports.soccer.SoccerAttackPerfomer.newBuilder(attackPerformer_).mergeFrom(value).buildPartial();
    } else {
      attackPerformer_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
   */
  private void clearAttackPerformer() {  attackPerformer_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int MIDFIELD_PERFORMER_FIELD_NUMBER = 3;
  private com.streamlayer.sports.soccer.SoccerMidfieldPerformer midfieldPerformer_;
  /**
   * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
   */
  @java.lang.Override
  public boolean hasMidfieldPerformer() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerMidfieldPerformer getMidfieldPerformer() {
    return midfieldPerformer_ == null ? com.streamlayer.sports.soccer.SoccerMidfieldPerformer.getDefaultInstance() : midfieldPerformer_;
  }
  /**
   * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
   */
  private void setMidfieldPerformer(com.streamlayer.sports.soccer.SoccerMidfieldPerformer value) {
    value.getClass();
  midfieldPerformer_ = value;
    bitField0_ |= 0x00000002;
    }
  /**
   * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeMidfieldPerformer(com.streamlayer.sports.soccer.SoccerMidfieldPerformer value) {
    value.getClass();
  if (midfieldPerformer_ != null &&
        midfieldPerformer_ != com.streamlayer.sports.soccer.SoccerMidfieldPerformer.getDefaultInstance()) {
      midfieldPerformer_ =
        com.streamlayer.sports.soccer.SoccerMidfieldPerformer.newBuilder(midfieldPerformer_).mergeFrom(value).buildPartial();
    } else {
      midfieldPerformer_ = value;
    }
    bitField0_ |= 0x00000002;
  }
  /**
   * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
   */
  private void clearMidfieldPerformer() {  midfieldPerformer_ = null;
    bitField0_ = (bitField0_ & ~0x00000002);
  }

  public static final int DEFENSE_PERFORMER_FIELD_NUMBER = 4;
  private com.streamlayer.sports.soccer.SoccerDefensePerfomer defensePerformer_;
  /**
   * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
   */
  @java.lang.Override
  public boolean hasDefensePerformer() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
   */
  @java.lang.Override
  public com.streamlayer.sports.soccer.SoccerDefensePerfomer getDefensePerformer() {
    return defensePerformer_ == null ? com.streamlayer.sports.soccer.SoccerDefensePerfomer.getDefaultInstance() : defensePerformer_;
  }
  /**
   * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
   */
  private void setDefensePerformer(com.streamlayer.sports.soccer.SoccerDefensePerfomer value) {
    value.getClass();
  defensePerformer_ = value;
    bitField0_ |= 0x00000004;
    }
  /**
   * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeDefensePerformer(com.streamlayer.sports.soccer.SoccerDefensePerfomer value) {
    value.getClass();
  if (defensePerformer_ != null &&
        defensePerformer_ != com.streamlayer.sports.soccer.SoccerDefensePerfomer.getDefaultInstance()) {
      defensePerformer_ =
        com.streamlayer.sports.soccer.SoccerDefensePerfomer.newBuilder(defensePerformer_).mergeFrom(value).buildPartial();
    } else {
      defensePerformer_ = value;
    }
    bitField0_ |= 0x00000004;
  }
  /**
   * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
   */
  private void clearDefensePerformer() {  defensePerformer_ = null;
    bitField0_ = (bitField0_ & ~0x00000004);
  }

  public static com.streamlayer.sports.soccer.SoccerPerformers parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sports.soccer.SoccerPerformers 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.soccer.SoccerPerformers 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.soccer.SoccerPerformers 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.soccer.SoccerPerformers parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.streamlayer.sports.soccer.SoccerPerformers 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.soccer.SoccerPerformers parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sports.soccer.SoccerPerformers 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.soccer.SoccerPerformers parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }

  public static com.streamlayer.sports.soccer.SoccerPerformers 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.soccer.SoccerPerformers parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sports.soccer.SoccerPerformers 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.soccer.SoccerPerformers prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code streamlayer.sports.soccer.SoccerPerformers}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.streamlayer.sports.soccer.SoccerPerformers, Builder> implements
      // @@protoc_insertion_point(builder_implements:streamlayer.sports.soccer.SoccerPerformers)
      com.streamlayer.sports.soccer.SoccerPerformersOrBuilder {
    // Construct using com.streamlayer.sports.soccer.SoccerPerformers.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
     * @return The enum numeric value on the wire for category.
     */
    @java.lang.Override
    public int getCategoryValue() {
      return instance.getCategoryValue();
    }
    /**
     * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
     * @param value The category to set.
     * @return This builder for chaining.
     */
    public Builder setCategoryValue(int value) {
      copyOnWrite();
      instance.setCategoryValue(value);
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
     * @return The category.
     */
    @java.lang.Override
    public com.streamlayer.sports.soccer.SoccerPerformerCategory getCategory() {
      return instance.getCategory();
    }
    /**
     * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
     * @param value The enum numeric value on the wire for category to set.
     * @return This builder for chaining.
     */
    public Builder setCategory(com.streamlayer.sports.soccer.SoccerPerformerCategory value) {
      copyOnWrite();
      instance.setCategory(value);
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerPerformerCategory category = 1 [json_name = "category"];
     * @return This builder for chaining.
     */
    public Builder clearCategory() {
      copyOnWrite();
      instance.clearCategory();
      return this;
    }

    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    @java.lang.Override
    public boolean hasAttackPerformer() {
      return instance.hasAttackPerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    @java.lang.Override
    public com.streamlayer.sports.soccer.SoccerAttackPerfomer getAttackPerformer() {
      return instance.getAttackPerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    public Builder setAttackPerformer(com.streamlayer.sports.soccer.SoccerAttackPerfomer value) {
      copyOnWrite();
      instance.setAttackPerformer(value);
      return this;
      }
    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    public Builder setAttackPerformer(
        com.streamlayer.sports.soccer.SoccerAttackPerfomer.Builder builderForValue) {
      copyOnWrite();
      instance.setAttackPerformer(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    public Builder mergeAttackPerformer(com.streamlayer.sports.soccer.SoccerAttackPerfomer value) {
      copyOnWrite();
      instance.mergeAttackPerformer(value);
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerAttackPerfomer attack_performer = 2 [json_name = "attackPerformer"];
     */
    public Builder clearAttackPerformer() {  copyOnWrite();
      instance.clearAttackPerformer();
      return this;
    }

    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    @java.lang.Override
    public boolean hasMidfieldPerformer() {
      return instance.hasMidfieldPerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    @java.lang.Override
    public com.streamlayer.sports.soccer.SoccerMidfieldPerformer getMidfieldPerformer() {
      return instance.getMidfieldPerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    public Builder setMidfieldPerformer(com.streamlayer.sports.soccer.SoccerMidfieldPerformer value) {
      copyOnWrite();
      instance.setMidfieldPerformer(value);
      return this;
      }
    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    public Builder setMidfieldPerformer(
        com.streamlayer.sports.soccer.SoccerMidfieldPerformer.Builder builderForValue) {
      copyOnWrite();
      instance.setMidfieldPerformer(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    public Builder mergeMidfieldPerformer(com.streamlayer.sports.soccer.SoccerMidfieldPerformer value) {
      copyOnWrite();
      instance.mergeMidfieldPerformer(value);
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerMidfieldPerformer midfield_performer = 3 [json_name = "midfieldPerformer"];
     */
    public Builder clearMidfieldPerformer() {  copyOnWrite();
      instance.clearMidfieldPerformer();
      return this;
    }

    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    @java.lang.Override
    public boolean hasDefensePerformer() {
      return instance.hasDefensePerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    @java.lang.Override
    public com.streamlayer.sports.soccer.SoccerDefensePerfomer getDefensePerformer() {
      return instance.getDefensePerformer();
    }
    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    public Builder setDefensePerformer(com.streamlayer.sports.soccer.SoccerDefensePerfomer value) {
      copyOnWrite();
      instance.setDefensePerformer(value);
      return this;
      }
    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    public Builder setDefensePerformer(
        com.streamlayer.sports.soccer.SoccerDefensePerfomer.Builder builderForValue) {
      copyOnWrite();
      instance.setDefensePerformer(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    public Builder mergeDefensePerformer(com.streamlayer.sports.soccer.SoccerDefensePerfomer value) {
      copyOnWrite();
      instance.mergeDefensePerformer(value);
      return this;
    }
    /**
     * .streamlayer.sports.soccer.SoccerDefensePerfomer defense_performer = 4 [json_name = "defensePerformer"];
     */
    public Builder clearDefensePerformer() {  copyOnWrite();
      instance.clearDefensePerformer();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sports.soccer.SoccerPerformers)
  }
  @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.soccer.SoccerPerformers();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "category_",
            "attackPerformer_",
            "midfieldPerformer_",
            "defensePerformer_",
          };
          java.lang.String info =
              "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\f\u0002\u1009" +
              "\u0000\u0003\u1009\u0001\u0004\u1009\u0002";
          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.soccer.SoccerPerformers.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.soccer.SoccerPerformers)
  private static final com.streamlayer.sports.soccer.SoccerPerformers DEFAULT_INSTANCE;
  static {
    SoccerPerformers defaultInstance = new SoccerPerformers();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      SoccerPerformers.class, defaultInstance);
  }

  public static com.streamlayer.sports.soccer.SoccerPerformers 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