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

com.volcengine.service.live.model.business.RelaySourceConfig Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: live/business/relay_source.proto

package com.volcengine.service.live.model.business;

/**
 * Protobuf type {@code Volcengine.Live.Models.Business.RelaySourceConfig}
 */
public final class RelaySourceConfig extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Live.Models.Business.RelaySourceConfig)
    RelaySourceConfigOrBuilder {
private static final long serialVersionUID = 0L;
  // Use RelaySourceConfig.newBuilder() to construct.
  private RelaySourceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private RelaySourceConfig() {
    vhost_ = "";
    app_ = "";
    groupList_ = java.util.Collections.emptyList();
  }

  @Override
  @SuppressWarnings({"unused"})
  protected Object newInstance(
      UnusedPrivateParameter unused) {
    return new RelaySourceConfig();
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private RelaySourceConfig(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            String s = input.readStringRequireUtf8();

            vhost_ = s;
            break;
          }
          case 18: {
            String s = input.readStringRequireUtf8();

            app_ = s;
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              groupList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            groupList_.add(
                input.readMessage(RelaySourceGroupItemV2.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        groupList_ = java.util.Collections.unmodifiableList(groupList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return RelaySource.internal_static_Volcengine_Live_Models_Business_RelaySourceConfig_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return RelaySource.internal_static_Volcengine_Live_Models_Business_RelaySourceConfig_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            RelaySourceConfig.class, Builder.class);
  }

  public static final int VHOST_FIELD_NUMBER = 1;
  private volatile Object vhost_;
  /**
   * 
   * 对应的 Vhost。
   * 
* * string Vhost = 1; * @return The vhost. */ @Override public String getVhost() { Object ref = vhost_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); vhost_ = s; return s; } } /** *
   * 对应的 Vhost。
   * 
* * string Vhost = 1; * @return The bytes for vhost. */ @Override public com.google.protobuf.ByteString getVhostBytes() { Object ref = vhost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); vhost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APP_FIELD_NUMBER = 2; private volatile Object app_; /** *
   * 应用名称。
   * 
* * string App = 2; * @return The app. */ @Override public String getApp() { Object ref = app_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); app_ = s; return s; } } /** *
   * 应用名称。
   * 
* * string App = 2; * @return The bytes for app. */ @Override public com.google.protobuf.ByteString getAppBytes() { Object ref = app_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); app_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GROUPLIST_FIELD_NUMBER = 3; private java.util.List groupList_; /** *
   * 分组列表
   * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ @Override public java.util.List getGroupListList() { return groupList_; } /** *
   * 分组列表
   * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ @Override public java.util.List getGroupListOrBuilderList() { return groupList_; } /** *
   * 分组列表
   * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ @Override public int getGroupListCount() { return groupList_.size(); } /** *
   * 分组列表
   * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ @Override public RelaySourceGroupItemV2 getGroupList(int index) { return groupList_.get(index); } /** *
   * 分组列表
   * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ @Override public RelaySourceGroupItemV2OrBuilder getGroupListOrBuilder( int index) { return groupList_.get(index); } private byte memoizedIsInitialized = -1; @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vhost_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, app_); } for (int i = 0; i < groupList_.size(); i++) { output.writeMessage(3, groupList_.get(i)); } unknownFields.writeTo(output); } @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vhost_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, app_); } for (int i = 0; i < groupList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, groupList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof RelaySourceConfig)) { return super.equals(obj); } RelaySourceConfig other = (RelaySourceConfig) obj; if (!getVhost() .equals(other.getVhost())) return false; if (!getApp() .equals(other.getApp())) return false; if (!getGroupListList() .equals(other.getGroupListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VHOST_FIELD_NUMBER; hash = (53 * hash) + getVhost().hashCode(); hash = (37 * hash) + APP_FIELD_NUMBER; hash = (53 * hash) + getApp().hashCode(); if (getGroupListCount() > 0) { hash = (37 * hash) + GROUPLIST_FIELD_NUMBER; hash = (53 * hash) + getGroupListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static RelaySourceConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static RelaySourceConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static RelaySourceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static RelaySourceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static RelaySourceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static RelaySourceConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static RelaySourceConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static RelaySourceConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static RelaySourceConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static RelaySourceConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static RelaySourceConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static RelaySourceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(RelaySourceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @Override protected Builder newBuilderForType( BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Live.Models.Business.RelaySourceConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Business.RelaySourceConfig) RelaySourceConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return RelaySource.internal_static_Volcengine_Live_Models_Business_RelaySourceConfig_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return RelaySource.internal_static_Volcengine_Live_Models_Business_RelaySourceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( RelaySourceConfig.class, Builder.class); } // Construct using com.volcengine.service.live.model.business.RelaySourceConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getGroupListFieldBuilder(); } } @Override public Builder clear() { super.clear(); vhost_ = ""; app_ = ""; if (groupListBuilder_ == null) { groupList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { groupListBuilder_.clear(); } return this; } @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return RelaySource.internal_static_Volcengine_Live_Models_Business_RelaySourceConfig_descriptor; } @Override public RelaySourceConfig getDefaultInstanceForType() { return RelaySourceConfig.getDefaultInstance(); } @Override public RelaySourceConfig build() { RelaySourceConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @Override public RelaySourceConfig buildPartial() { RelaySourceConfig result = new RelaySourceConfig(this); int from_bitField0_ = bitField0_; result.vhost_ = vhost_; result.app_ = app_; if (groupListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { groupList_ = java.util.Collections.unmodifiableList(groupList_); bitField0_ = (bitField0_ & ~0x00000001); } result.groupList_ = groupList_; } else { result.groupList_ = groupListBuilder_.build(); } onBuilt(); return result; } @Override public Builder clone() { return super.clone(); } @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.setField(field, value); } @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return super.setRepeatedField(field, index, value); } @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.addRepeatedField(field, value); } @Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof RelaySourceConfig) { return mergeFrom((RelaySourceConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(RelaySourceConfig other) { if (other == RelaySourceConfig.getDefaultInstance()) return this; if (!other.getVhost().isEmpty()) { vhost_ = other.vhost_; onChanged(); } if (!other.getApp().isEmpty()) { app_ = other.app_; onChanged(); } if (groupListBuilder_ == null) { if (!other.groupList_.isEmpty()) { if (groupList_.isEmpty()) { groupList_ = other.groupList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupListIsMutable(); groupList_.addAll(other.groupList_); } onChanged(); } } else { if (!other.groupList_.isEmpty()) { if (groupListBuilder_.isEmpty()) { groupListBuilder_.dispose(); groupListBuilder_ = null; groupList_ = other.groupList_; bitField0_ = (bitField0_ & ~0x00000001); groupListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGroupListFieldBuilder() : null; } else { groupListBuilder_.addAllMessages(other.groupList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @Override public final boolean isInitialized() { return true; } @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { RelaySourceConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (RelaySourceConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private Object vhost_ = ""; /** *
     * 对应的 Vhost。
     * 
* * string Vhost = 1; * @return The vhost. */ public String getVhost() { Object ref = vhost_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); vhost_ = s; return s; } else { return (String) ref; } } /** *
     * 对应的 Vhost。
     * 
* * string Vhost = 1; * @return The bytes for vhost. */ public com.google.protobuf.ByteString getVhostBytes() { Object ref = vhost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); vhost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 对应的 Vhost。
     * 
* * string Vhost = 1; * @param value The vhost to set. * @return This builder for chaining. */ public Builder setVhost( String value) { if (value == null) { throw new NullPointerException(); } vhost_ = value; onChanged(); return this; } /** *
     * 对应的 Vhost。
     * 
* * string Vhost = 1; * @return This builder for chaining. */ public Builder clearVhost() { vhost_ = getDefaultInstance().getVhost(); onChanged(); return this; } /** *
     * 对应的 Vhost。
     * 
* * string Vhost = 1; * @param value The bytes for vhost to set. * @return This builder for chaining. */ public Builder setVhostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vhost_ = value; onChanged(); return this; } private Object app_ = ""; /** *
     * 应用名称。
     * 
* * string App = 2; * @return The app. */ public String getApp() { Object ref = app_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); app_ = s; return s; } else { return (String) ref; } } /** *
     * 应用名称。
     * 
* * string App = 2; * @return The bytes for app. */ public com.google.protobuf.ByteString getAppBytes() { Object ref = app_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); app_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 应用名称。
     * 
* * string App = 2; * @param value The app to set. * @return This builder for chaining. */ public Builder setApp( String value) { if (value == null) { throw new NullPointerException(); } app_ = value; onChanged(); return this; } /** *
     * 应用名称。
     * 
* * string App = 2; * @return This builder for chaining. */ public Builder clearApp() { app_ = getDefaultInstance().getApp(); onChanged(); return this; } /** *
     * 应用名称。
     * 
* * string App = 2; * @param value The bytes for app to set. * @return This builder for chaining. */ public Builder setAppBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); app_ = value; onChanged(); return this; } private java.util.List groupList_ = java.util.Collections.emptyList(); private void ensureGroupListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { groupList_ = new java.util.ArrayList(groupList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< RelaySourceGroupItemV2, RelaySourceGroupItemV2.Builder, RelaySourceGroupItemV2OrBuilder> groupListBuilder_; /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public java.util.List getGroupListList() { if (groupListBuilder_ == null) { return java.util.Collections.unmodifiableList(groupList_); } else { return groupListBuilder_.getMessageList(); } } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public int getGroupListCount() { if (groupListBuilder_ == null) { return groupList_.size(); } else { return groupListBuilder_.getCount(); } } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public RelaySourceGroupItemV2 getGroupList(int index) { if (groupListBuilder_ == null) { return groupList_.get(index); } else { return groupListBuilder_.getMessage(index); } } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder setGroupList( int index, RelaySourceGroupItemV2 value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.set(index, value); onChanged(); } else { groupListBuilder_.setMessage(index, value); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder setGroupList( int index, RelaySourceGroupItemV2.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.set(index, builderForValue.build()); onChanged(); } else { groupListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder addGroupList(RelaySourceGroupItemV2 value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.add(value); onChanged(); } else { groupListBuilder_.addMessage(value); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder addGroupList( int index, RelaySourceGroupItemV2 value) { if (groupListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupListIsMutable(); groupList_.add(index, value); onChanged(); } else { groupListBuilder_.addMessage(index, value); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder addGroupList( RelaySourceGroupItemV2.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.add(builderForValue.build()); onChanged(); } else { groupListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder addGroupList( int index, RelaySourceGroupItemV2.Builder builderForValue) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.add(index, builderForValue.build()); onChanged(); } else { groupListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder addAllGroupList( Iterable values) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupList_); onChanged(); } else { groupListBuilder_.addAllMessages(values); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder clearGroupList() { if (groupListBuilder_ == null) { groupList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { groupListBuilder_.clear(); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public Builder removeGroupList(int index) { if (groupListBuilder_ == null) { ensureGroupListIsMutable(); groupList_.remove(index); onChanged(); } else { groupListBuilder_.remove(index); } return this; } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public RelaySourceGroupItemV2.Builder getGroupListBuilder( int index) { return getGroupListFieldBuilder().getBuilder(index); } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public RelaySourceGroupItemV2OrBuilder getGroupListOrBuilder( int index) { if (groupListBuilder_ == null) { return groupList_.get(index); } else { return groupListBuilder_.getMessageOrBuilder(index); } } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public java.util.List getGroupListOrBuilderList() { if (groupListBuilder_ != null) { return groupListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(groupList_); } } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public RelaySourceGroupItemV2.Builder addGroupListBuilder() { return getGroupListFieldBuilder().addBuilder( RelaySourceGroupItemV2.getDefaultInstance()); } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public RelaySourceGroupItemV2.Builder addGroupListBuilder( int index) { return getGroupListFieldBuilder().addBuilder( index, RelaySourceGroupItemV2.getDefaultInstance()); } /** *
     * 分组列表
     * 
* * repeated .Volcengine.Live.Models.Business.RelaySourceGroupItemV2 GroupList = 3; */ public java.util.List getGroupListBuilderList() { return getGroupListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< RelaySourceGroupItemV2, RelaySourceGroupItemV2.Builder, RelaySourceGroupItemV2OrBuilder> getGroupListFieldBuilder() { if (groupListBuilder_ == null) { groupListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< RelaySourceGroupItemV2, RelaySourceGroupItemV2.Builder, RelaySourceGroupItemV2OrBuilder>( groupList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); groupList_ = null; } return groupListBuilder_; } @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Live.Models.Business.RelaySourceConfig) } // @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Business.RelaySourceConfig) private static final RelaySourceConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new RelaySourceConfig(); } public static RelaySourceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @Override public RelaySourceConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RelaySourceConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @Override public RelaySourceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy