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

main.java.com.streamlayer.sdkSettings.common.GetStreamOverlaySettings 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/sdkSettings/sdkSettings.common.proto

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

/**
 * Protobuf type {@code streamlayer.sdkSettings.GetStreamOverlaySettings}
 */
public  final class GetStreamOverlaySettings extends
    com.google.protobuf.GeneratedMessageLite<
        GetStreamOverlaySettings, GetStreamOverlaySettings.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.GetStreamOverlaySettings)
    GetStreamOverlaySettingsOrBuilder {
  private GetStreamOverlaySettings() {
    channels_ = emptyProtobufList();
  }
  private int bitField0_;
  public static final int DEFAULT_CHANNEL_FIELD_NUMBER = 1;
  private com.streamlayer.sdkSettings.common.GetStreamChannel defaultChannel_;
  /**
   * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
   */
  @java.lang.Override
  public boolean hasDefaultChannel() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
   */
  @java.lang.Override
  public com.streamlayer.sdkSettings.common.GetStreamChannel getDefaultChannel() {
    return defaultChannel_ == null ? com.streamlayer.sdkSettings.common.GetStreamChannel.getDefaultInstance() : defaultChannel_;
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
   */
  private void setDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
    value.getClass();
  defaultChannel_ = value;
    bitField0_ |= 0x00000001;
    }
  /**
   * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
   */
  @java.lang.SuppressWarnings({"ReferenceEquality"})
  private void mergeDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
    value.getClass();
  if (defaultChannel_ != null &&
        defaultChannel_ != com.streamlayer.sdkSettings.common.GetStreamChannel.getDefaultInstance()) {
      defaultChannel_ =
        com.streamlayer.sdkSettings.common.GetStreamChannel.newBuilder(defaultChannel_).mergeFrom(value).buildPartial();
    } else {
      defaultChannel_ = value;
    }
    bitField0_ |= 0x00000001;
  }
  /**
   * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
   */
  private void clearDefaultChannel() {  defaultChannel_ = null;
    bitField0_ = (bitField0_ & ~0x00000001);
  }

  public static final int CHANNELS_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.ProtobufList channels_;
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  @java.lang.Override
  public java.util.List getChannelsList() {
    return channels_;
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  public java.util.List 
      getChannelsOrBuilderList() {
    return channels_;
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  @java.lang.Override
  public int getChannelsCount() {
    return channels_.size();
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  @java.lang.Override
  public com.streamlayer.sdkSettings.common.GetStreamChannel getChannels(int index) {
    return channels_.get(index);
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  public com.streamlayer.sdkSettings.common.GetStreamChannelOrBuilder getChannelsOrBuilder(
      int index) {
    return channels_.get(index);
  }
  private void ensureChannelsIsMutable() {
    com.google.protobuf.Internal.ProtobufList tmp = channels_;
    if (!tmp.isModifiable()) {
      channels_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void setChannels(
      int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
    value.getClass();
  ensureChannelsIsMutable();
    channels_.set(index, value);
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void addChannels(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
    value.getClass();
  ensureChannelsIsMutable();
    channels_.add(value);
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void addChannels(
      int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
    value.getClass();
  ensureChannelsIsMutable();
    channels_.add(index, value);
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void addAllChannels(
      java.lang.Iterable values) {
    ensureChannelsIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, channels_);
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void clearChannels() {
    channels_ = emptyProtobufList();
  }
  /**
   * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
   */
  private void removeChannels(int index) {
    ensureChannelsIsMutable();
    channels_.remove(index);
  }

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

  public static com.streamlayer.sdkSettings.common.GetStreamOverlaySettings parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.streamlayer.sdkSettings.common.GetStreamOverlaySettings parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.streamlayer.sdkSettings.common.GetStreamOverlaySettings 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.sdkSettings.common.GetStreamOverlaySettings prototype) {
    return DEFAULT_INSTANCE.createBuilder(prototype);
  }

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


    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    @java.lang.Override
    public boolean hasDefaultChannel() {
      return instance.hasDefaultChannel();
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    @java.lang.Override
    public com.streamlayer.sdkSettings.common.GetStreamChannel getDefaultChannel() {
      return instance.getDefaultChannel();
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    public Builder setDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
      copyOnWrite();
      instance.setDefaultChannel(value);
      return this;
      }
    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    public Builder setDefaultChannel(
        com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
      copyOnWrite();
      instance.setDefaultChannel(builderForValue.build());
      return this;
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    public Builder mergeDefaultChannel(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
      copyOnWrite();
      instance.mergeDefaultChannel(value);
      return this;
    }
    /**
     * .streamlayer.sdkSettings.GetStreamChannel default_channel = 1 [json_name = "defaultChannel"];
     */
    public Builder clearDefaultChannel() {  copyOnWrite();
      instance.clearDefaultChannel();
      return this;
    }

    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    @java.lang.Override
    public java.util.List getChannelsList() {
      return java.util.Collections.unmodifiableList(
          instance.getChannelsList());
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    @java.lang.Override
    public int getChannelsCount() {
      return instance.getChannelsCount();
    }/**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    @java.lang.Override
    public com.streamlayer.sdkSettings.common.GetStreamChannel getChannels(int index) {
      return instance.getChannels(index);
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder setChannels(
        int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
      copyOnWrite();
      instance.setChannels(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder setChannels(
        int index, com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
      copyOnWrite();
      instance.setChannels(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder addChannels(com.streamlayer.sdkSettings.common.GetStreamChannel value) {
      copyOnWrite();
      instance.addChannels(value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder addChannels(
        int index, com.streamlayer.sdkSettings.common.GetStreamChannel value) {
      copyOnWrite();
      instance.addChannels(index, value);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder addChannels(
        com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
      copyOnWrite();
      instance.addChannels(builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder addChannels(
        int index, com.streamlayer.sdkSettings.common.GetStreamChannel.Builder builderForValue) {
      copyOnWrite();
      instance.addChannels(index,
          builderForValue.build());
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder addAllChannels(
        java.lang.Iterable values) {
      copyOnWrite();
      instance.addAllChannels(values);
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder clearChannels() {
      copyOnWrite();
      instance.clearChannels();
      return this;
    }
    /**
     * repeated .streamlayer.sdkSettings.GetStreamChannel channels = 2 [json_name = "channels"];
     */
    public Builder removeChannels(int index) {
      copyOnWrite();
      instance.removeChannels(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.GetStreamOverlaySettings)
  }
  @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.sdkSettings.common.GetStreamOverlaySettings();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "defaultChannel_",
            "channels_",
            com.streamlayer.sdkSettings.common.GetStreamChannel.class,
          };
          java.lang.String info =
              "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u1009\u0000\u0002" +
              "\u001b";
          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.sdkSettings.common.GetStreamOverlaySettings.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.sdkSettings.GetStreamOverlaySettings)
  private static final com.streamlayer.sdkSettings.common.GetStreamOverlaySettings DEFAULT_INSTANCE;
  static {
    GetStreamOverlaySettings defaultInstance = new GetStreamOverlaySettings();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      GetStreamOverlaySettings.class, defaultInstance);
  }

  public static com.streamlayer.sdkSettings.common.GetStreamOverlaySettings 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