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

com.volcengine.service.live.model.request.UpdateDenyConfigRequest 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/request/request_live.proto

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

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

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new UpdateDenyConfigRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private UpdateDenyConfigRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.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: {
            java.lang.String s = input.readStringRequireUtf8();

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

            domain_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            app_ = s;
            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              denyConfigList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            denyConfigList_.add(
                input.readMessage(com.volcengine.service.live.model.business.DenyConfigDetail.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)) {
        denyConfigList_ = java.util.Collections.unmodifiableList(denyConfigList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_UpdateDenyConfigRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_UpdateDenyConfigRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.live.model.request.UpdateDenyConfigRequest.class, com.volcengine.service.live.model.request.UpdateDenyConfigRequest.Builder.class);
  }

  public static final int VHOST_FIELD_NUMBER = 1;
  private volatile java.lang.Object vhost_;
  /**
   * 
   *域名空间名称
   * 
* * string Vhost = 1; * @return The vhost. */ @java.lang.Override public java.lang.String getVhost() { java.lang.Object ref = vhost_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vhost_ = s; return s; } } /** *
   *域名空间名称
   * 
* * string Vhost = 1; * @return The bytes for vhost. */ @java.lang.Override public com.google.protobuf.ByteString getVhostBytes() { java.lang.Object ref = vhost_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vhost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOMAIN_FIELD_NUMBER = 2; private volatile java.lang.Object domain_; /** *
   *推拉流域名,domain和app二选一填
   * 
* * string Domain = 2; * @return The domain. */ @java.lang.Override public java.lang.String getDomain() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** *
   *推拉流域名,domain和app二选一填
   * 
* * string Domain = 2; * @return The bytes for domain. */ @java.lang.Override public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); domain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APP_FIELD_NUMBER = 3; private volatile java.lang.Object app_; /** *
   * App的名称,由 1 到 30
   * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
   * 
* * string App = 3; * @return The app. */ @java.lang.Override public java.lang.String getApp() { java.lang.Object ref = app_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); app_ = s; return s; } } /** *
   * App的名称,由 1 到 30
   * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
   * 
* * string App = 3; * @return The bytes for app. */ @java.lang.Override public com.google.protobuf.ByteString getAppBytes() { java.lang.Object ref = app_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); app_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DENYCONFIGLIST_FIELD_NUMBER = 4; private java.util.List denyConfigList_; /** *
   *黑白名称配置列表
   * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ @java.lang.Override public java.util.List getDenyConfigListList() { return denyConfigList_; } /** *
   *黑白名称配置列表
   * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ @java.lang.Override public java.util.List getDenyConfigListOrBuilderList() { return denyConfigList_; } /** *
   *黑白名称配置列表
   * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ @java.lang.Override public int getDenyConfigListCount() { return denyConfigList_.size(); } /** *
   *黑白名称配置列表
   * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ @java.lang.Override public com.volcengine.service.live.model.business.DenyConfigDetail getDenyConfigList(int index) { return denyConfigList_.get(index); } /** *
   *黑白名称配置列表
   * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ @java.lang.Override public com.volcengine.service.live.model.business.DenyConfigDetailOrBuilder getDenyConfigListOrBuilder( int index) { return denyConfigList_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.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(domain_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, app_); } for (int i = 0; i < denyConfigList_.size(); i++) { output.writeMessage(4, denyConfigList_.get(i)); } unknownFields.writeTo(output); } @java.lang.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(domain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(app_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, app_); } for (int i = 0; i < denyConfigList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, denyConfigList_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.volcengine.service.live.model.request.UpdateDenyConfigRequest)) { return super.equals(obj); } com.volcengine.service.live.model.request.UpdateDenyConfigRequest other = (com.volcengine.service.live.model.request.UpdateDenyConfigRequest) obj; if (!getVhost() .equals(other.getVhost())) return false; if (!getDomain() .equals(other.getDomain())) return false; if (!getApp() .equals(other.getApp())) return false; if (!getDenyConfigListList() .equals(other.getDenyConfigListList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.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) + DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getDomain().hashCode(); hash = (37 * hash) + APP_FIELD_NUMBER; hash = (53 * hash) + getApp().hashCode(); if (getDenyConfigListCount() > 0) { hash = (37 * hash) + DENYCONFIGLIST_FIELD_NUMBER; hash = (53 * hash) + getDenyConfigListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest 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 com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest 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 com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.volcengine.service.live.model.request.UpdateDenyConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Live.Models.Request.UpdateDenyConfigRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Request.UpdateDenyConfigRequest) com.volcengine.service.live.model.request.UpdateDenyConfigRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_UpdateDenyConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_UpdateDenyConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.live.model.request.UpdateDenyConfigRequest.class, com.volcengine.service.live.model.request.UpdateDenyConfigRequest.Builder.class); } // Construct using com.volcengine.service.live.model.request.UpdateDenyConfigRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDenyConfigListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); vhost_ = ""; domain_ = ""; app_ = ""; if (denyConfigListBuilder_ == null) { denyConfigList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { denyConfigListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_UpdateDenyConfigRequest_descriptor; } @java.lang.Override public com.volcengine.service.live.model.request.UpdateDenyConfigRequest getDefaultInstanceForType() { return com.volcengine.service.live.model.request.UpdateDenyConfigRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.live.model.request.UpdateDenyConfigRequest build() { com.volcengine.service.live.model.request.UpdateDenyConfigRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.live.model.request.UpdateDenyConfigRequest buildPartial() { com.volcengine.service.live.model.request.UpdateDenyConfigRequest result = new com.volcengine.service.live.model.request.UpdateDenyConfigRequest(this); int from_bitField0_ = bitField0_; result.vhost_ = vhost_; result.domain_ = domain_; result.app_ = app_; if (denyConfigListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { denyConfigList_ = java.util.Collections.unmodifiableList(denyConfigList_); bitField0_ = (bitField0_ & ~0x00000001); } result.denyConfigList_ = denyConfigList_; } else { result.denyConfigList_ = denyConfigListBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.live.model.request.UpdateDenyConfigRequest) { return mergeFrom((com.volcengine.service.live.model.request.UpdateDenyConfigRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.live.model.request.UpdateDenyConfigRequest other) { if (other == com.volcengine.service.live.model.request.UpdateDenyConfigRequest.getDefaultInstance()) return this; if (!other.getVhost().isEmpty()) { vhost_ = other.vhost_; onChanged(); } if (!other.getDomain().isEmpty()) { domain_ = other.domain_; onChanged(); } if (!other.getApp().isEmpty()) { app_ = other.app_; onChanged(); } if (denyConfigListBuilder_ == null) { if (!other.denyConfigList_.isEmpty()) { if (denyConfigList_.isEmpty()) { denyConfigList_ = other.denyConfigList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDenyConfigListIsMutable(); denyConfigList_.addAll(other.denyConfigList_); } onChanged(); } } else { if (!other.denyConfigList_.isEmpty()) { if (denyConfigListBuilder_.isEmpty()) { denyConfigListBuilder_.dispose(); denyConfigListBuilder_ = null; denyConfigList_ = other.denyConfigList_; bitField0_ = (bitField0_ & ~0x00000001); denyConfigListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDenyConfigListFieldBuilder() : null; } else { denyConfigListBuilder_.addAllMessages(other.denyConfigList_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.volcengine.service.live.model.request.UpdateDenyConfigRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.live.model.request.UpdateDenyConfigRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object vhost_ = ""; /** *
     *域名空间名称
     * 
* * string Vhost = 1; * @return The vhost. */ public java.lang.String getVhost() { java.lang.Object ref = vhost_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vhost_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *域名空间名称
     * 
* * string Vhost = 1; * @return The bytes for vhost. */ public com.google.protobuf.ByteString getVhostBytes() { java.lang.Object ref = vhost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vhost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *域名空间名称
     * 
* * string Vhost = 1; * @param value The vhost to set. * @return This builder for chaining. */ public Builder setVhost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vhost_ = value; onChanged(); return this; } /** *
     *域名空间名称
     * 
* * string Vhost = 1; * @return This builder for chaining. */ public Builder clearVhost() { vhost_ = getDefaultInstance().getVhost(); onChanged(); return this; } /** *
     *域名空间名称
     * 
* * 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 java.lang.Object domain_ = ""; /** *
     *推拉流域名,domain和app二选一填
     * 
* * string Domain = 2; * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *推拉流域名,domain和app二选一填
     * 
* * string Domain = 2; * @return The bytes for domain. */ public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); domain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *推拉流域名,domain和app二选一填
     * 
* * string Domain = 2; * @param value The domain to set. * @return This builder for chaining. */ public Builder setDomain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } domain_ = value; onChanged(); return this; } /** *
     *推拉流域名,domain和app二选一填
     * 
* * string Domain = 2; * @return This builder for chaining. */ public Builder clearDomain() { domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** *
     *推拉流域名,domain和app二选一填
     * 
* * string Domain = 2; * @param value The bytes for domain to set. * @return This builder for chaining. */ public Builder setDomainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); domain_ = value; onChanged(); return this; } private java.lang.Object app_ = ""; /** *
     * App的名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
     * 
* * string App = 3; * @return The app. */ public java.lang.String getApp() { java.lang.Object ref = app_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); app_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * App的名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
     * 
* * string App = 3; * @return The bytes for app. */ public com.google.protobuf.ByteString getAppBytes() { java.lang.Object ref = app_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); app_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * App的名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
     * 
* * string App = 3; * @param value The app to set. * @return This builder for chaining. */ public Builder setApp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } app_ = value; onChanged(); return this; } /** *
     * App的名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
     * 
* * string App = 3; * @return This builder for chaining. */ public Builder clearApp() { app_ = getDefaultInstance().getApp(); onChanged(); return this; } /** *
     * App的名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。domain和app二选一填。
     * 
* * string App = 3; * @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 denyConfigList_ = java.util.Collections.emptyList(); private void ensureDenyConfigListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { denyConfigList_ = new java.util.ArrayList(denyConfigList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.live.model.business.DenyConfigDetail, com.volcengine.service.live.model.business.DenyConfigDetail.Builder, com.volcengine.service.live.model.business.DenyConfigDetailOrBuilder> denyConfigListBuilder_; /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public java.util.List getDenyConfigListList() { if (denyConfigListBuilder_ == null) { return java.util.Collections.unmodifiableList(denyConfigList_); } else { return denyConfigListBuilder_.getMessageList(); } } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public int getDenyConfigListCount() { if (denyConfigListBuilder_ == null) { return denyConfigList_.size(); } else { return denyConfigListBuilder_.getCount(); } } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public com.volcengine.service.live.model.business.DenyConfigDetail getDenyConfigList(int index) { if (denyConfigListBuilder_ == null) { return denyConfigList_.get(index); } else { return denyConfigListBuilder_.getMessage(index); } } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder setDenyConfigList( int index, com.volcengine.service.live.model.business.DenyConfigDetail value) { if (denyConfigListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenyConfigListIsMutable(); denyConfigList_.set(index, value); onChanged(); } else { denyConfigListBuilder_.setMessage(index, value); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder setDenyConfigList( int index, com.volcengine.service.live.model.business.DenyConfigDetail.Builder builderForValue) { if (denyConfigListBuilder_ == null) { ensureDenyConfigListIsMutable(); denyConfigList_.set(index, builderForValue.build()); onChanged(); } else { denyConfigListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder addDenyConfigList(com.volcengine.service.live.model.business.DenyConfigDetail value) { if (denyConfigListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenyConfigListIsMutable(); denyConfigList_.add(value); onChanged(); } else { denyConfigListBuilder_.addMessage(value); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder addDenyConfigList( int index, com.volcengine.service.live.model.business.DenyConfigDetail value) { if (denyConfigListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDenyConfigListIsMutable(); denyConfigList_.add(index, value); onChanged(); } else { denyConfigListBuilder_.addMessage(index, value); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder addDenyConfigList( com.volcengine.service.live.model.business.DenyConfigDetail.Builder builderForValue) { if (denyConfigListBuilder_ == null) { ensureDenyConfigListIsMutable(); denyConfigList_.add(builderForValue.build()); onChanged(); } else { denyConfigListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder addDenyConfigList( int index, com.volcengine.service.live.model.business.DenyConfigDetail.Builder builderForValue) { if (denyConfigListBuilder_ == null) { ensureDenyConfigListIsMutable(); denyConfigList_.add(index, builderForValue.build()); onChanged(); } else { denyConfigListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder addAllDenyConfigList( java.lang.Iterable values) { if (denyConfigListBuilder_ == null) { ensureDenyConfigListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, denyConfigList_); onChanged(); } else { denyConfigListBuilder_.addAllMessages(values); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder clearDenyConfigList() { if (denyConfigListBuilder_ == null) { denyConfigList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { denyConfigListBuilder_.clear(); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public Builder removeDenyConfigList(int index) { if (denyConfigListBuilder_ == null) { ensureDenyConfigListIsMutable(); denyConfigList_.remove(index); onChanged(); } else { denyConfigListBuilder_.remove(index); } return this; } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public com.volcengine.service.live.model.business.DenyConfigDetail.Builder getDenyConfigListBuilder( int index) { return getDenyConfigListFieldBuilder().getBuilder(index); } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public com.volcengine.service.live.model.business.DenyConfigDetailOrBuilder getDenyConfigListOrBuilder( int index) { if (denyConfigListBuilder_ == null) { return denyConfigList_.get(index); } else { return denyConfigListBuilder_.getMessageOrBuilder(index); } } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public java.util.List getDenyConfigListOrBuilderList() { if (denyConfigListBuilder_ != null) { return denyConfigListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(denyConfigList_); } } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public com.volcengine.service.live.model.business.DenyConfigDetail.Builder addDenyConfigListBuilder() { return getDenyConfigListFieldBuilder().addBuilder( com.volcengine.service.live.model.business.DenyConfigDetail.getDefaultInstance()); } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public com.volcengine.service.live.model.business.DenyConfigDetail.Builder addDenyConfigListBuilder( int index) { return getDenyConfigListFieldBuilder().addBuilder( index, com.volcengine.service.live.model.business.DenyConfigDetail.getDefaultInstance()); } /** *
     *黑白名称配置列表
     * 
* * repeated .Volcengine.Live.Models.Business.DenyConfigDetail DenyConfigList = 4; */ public java.util.List getDenyConfigListBuilderList() { return getDenyConfigListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.live.model.business.DenyConfigDetail, com.volcengine.service.live.model.business.DenyConfigDetail.Builder, com.volcengine.service.live.model.business.DenyConfigDetailOrBuilder> getDenyConfigListFieldBuilder() { if (denyConfigListBuilder_ == null) { denyConfigListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.live.model.business.DenyConfigDetail, com.volcengine.service.live.model.business.DenyConfigDetail.Builder, com.volcengine.service.live.model.business.DenyConfigDetailOrBuilder>( denyConfigList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); denyConfigList_ = null; } return denyConfigListBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Live.Models.Request.UpdateDenyConfigRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Request.UpdateDenyConfigRequest) private static final com.volcengine.service.live.model.request.UpdateDenyConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.live.model.request.UpdateDenyConfigRequest(); } public static com.volcengine.service.live.model.request.UpdateDenyConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateDenyConfigRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateDenyConfigRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.volcengine.service.live.model.request.UpdateDenyConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy