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

com.volcengine.service.live.model.request.ForbidStreamRequest 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.ForbidStreamRequest}
 */
public final class ForbidStreamRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Live.Models.Request.ForbidStreamRequest)
    ForbidStreamRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ForbidStreamRequest.newBuilder() to construct.
  private ForbidStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ForbidStreamRequest() {
    vhost_ = "";
    domain_ = "";
    app_ = "";
    stream_ = "";
    endTime_ = "";
  }

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

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

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

            endTime_ = s;
            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 {
      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_ForbidStreamRequest_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_ForbidStreamRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.live.model.request.ForbidStreamRequest.class, com.volcengine.service.live.model.request.ForbidStreamRequest.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` 和 `Vhost`传且仅传一个。
   * 
* * 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` 和 `Vhost`传且仅传一个。
   * 
* * 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_; /** *
   * 应用名称,默认查询所有应用名称,由 1 到 30
   * 位数字、字母、下划线及"-"和"."组成。
   * 
* * 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; } } /** *
   * 应用名称,默认查询所有应用名称,由 1 到 30
   * 位数字、字母、下划线及"-"和"."组成。
   * 
* * 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 STREAM_FIELD_NUMBER = 4; private volatile java.lang.Object stream_; /** *
   * 流名称,缺省情况下,查询所有流名称,由 1 到
   * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
   * App的值
   * 
* * string Stream = 4; * @return The stream. */ @java.lang.Override public java.lang.String getStream() { java.lang.Object ref = stream_; 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(); stream_ = s; return s; } } /** *
   * 流名称,缺省情况下,查询所有流名称,由 1 到
   * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
   * App的值
   * 
* * string Stream = 4; * @return The bytes for stream. */ @java.lang.Override public com.google.protobuf.ByteString getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIME_FIELD_NUMBER = 5; private volatile java.lang.Object endTime_; /** *
   * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
   * 
* * string EndTime = 5; * @return The endTime. */ @java.lang.Override public java.lang.String getEndTime() { java.lang.Object ref = endTime_; 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(); endTime_ = s; return s; } } /** *
   * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
   * 
* * string EndTime = 5; * @return The bytes for endTime. */ @java.lang.Override public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stream_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, endTime_); } 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_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stream_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, endTime_); } 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.ForbidStreamRequest)) { return super.equals(obj); } com.volcengine.service.live.model.request.ForbidStreamRequest other = (com.volcengine.service.live.model.request.ForbidStreamRequest) obj; if (!getVhost() .equals(other.getVhost())) return false; if (!getDomain() .equals(other.getDomain())) return false; if (!getApp() .equals(other.getApp())) return false; if (!getStream() .equals(other.getStream())) return false; if (!getEndTime() .equals(other.getEndTime())) 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(); hash = (37 * hash) + STREAM_FIELD_NUMBER; hash = (53 * hash) + getStream().hashCode(); hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.live.model.request.ForbidStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.ForbidStreamRequest 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.ForbidStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.ForbidStreamRequest 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.ForbidStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.live.model.request.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest 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.ForbidStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Request.ForbidStreamRequest) com.volcengine.service.live.model.request.ForbidStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.live.model.request.LiveRequest.internal_static_Volcengine_Live_Models_Request_ForbidStreamRequest_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_ForbidStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.live.model.request.ForbidStreamRequest.class, com.volcengine.service.live.model.request.ForbidStreamRequest.Builder.class); } // Construct using com.volcengine.service.live.model.request.ForbidStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); vhost_ = ""; domain_ = ""; app_ = ""; stream_ = ""; endTime_ = ""; 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_ForbidStreamRequest_descriptor; } @java.lang.Override public com.volcengine.service.live.model.request.ForbidStreamRequest getDefaultInstanceForType() { return com.volcengine.service.live.model.request.ForbidStreamRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.live.model.request.ForbidStreamRequest build() { com.volcengine.service.live.model.request.ForbidStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.live.model.request.ForbidStreamRequest buildPartial() { com.volcengine.service.live.model.request.ForbidStreamRequest result = new com.volcengine.service.live.model.request.ForbidStreamRequest(this); result.vhost_ = vhost_; result.domain_ = domain_; result.app_ = app_; result.stream_ = stream_; result.endTime_ = endTime_; 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.ForbidStreamRequest) { return mergeFrom((com.volcengine.service.live.model.request.ForbidStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.live.model.request.ForbidStreamRequest other) { if (other == com.volcengine.service.live.model.request.ForbidStreamRequest.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 (!other.getStream().isEmpty()) { stream_ = other.stream_; onChanged(); } if (!other.getEndTime().isEmpty()) { endTime_ = other.endTime_; onChanged(); } 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.ForbidStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.live.model.request.ForbidStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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` 和 `Vhost`传且仅传一个。
     * 
* * 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` 和 `Vhost`传且仅传一个。
     * 
* * 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` 和 `Vhost`传且仅传一个。
     * 
* * 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` 和 `Vhost`传且仅传一个。
     * 
* * string Domain = 2; * @return This builder for chaining. */ public Builder clearDomain() { domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** *
     *推流域名。
     *参数 `Domain` 和 `Vhost`传且仅传一个。
     * 
* * 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_ = ""; /** *
     * 应用名称,默认查询所有应用名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。
     * 
* * 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; } } /** *
     * 应用名称,默认查询所有应用名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。
     * 
* * 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; } } /** *
     * 应用名称,默认查询所有应用名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。
     * 
* * 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; } /** *
     * 应用名称,默认查询所有应用名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。
     * 
* * string App = 3; * @return This builder for chaining. */ public Builder clearApp() { app_ = getDefaultInstance().getApp(); onChanged(); return this; } /** *
     * 应用名称,默认查询所有应用名称,由 1 到 30
     * 位数字、字母、下划线及"-"和"."组成。
     * 
* * 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.lang.Object stream_ = ""; /** *
     * 流名称,缺省情况下,查询所有流名称,由 1 到
     * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
     * App的值
     * 
* * string Stream = 4; * @return The stream. */ public java.lang.String getStream() { java.lang.Object ref = stream_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stream_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 流名称,缺省情况下,查询所有流名称,由 1 到
     * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
     * App的值
     * 
* * string Stream = 4; * @return The bytes for stream. */ public com.google.protobuf.ByteString getStreamBytes() { java.lang.Object ref = stream_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 流名称,缺省情况下,查询所有流名称,由 1 到
     * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
     * App的值
     * 
* * string Stream = 4; * @param value The stream to set. * @return This builder for chaining. */ public Builder setStream( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stream_ = value; onChanged(); return this; } /** *
     * 流名称,缺省情况下,查询所有流名称,由 1 到
     * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
     * App的值
     * 
* * string Stream = 4; * @return This builder for chaining. */ public Builder clearStream() { stream_ = getDefaultInstance().getStream(); onChanged(); return this; } /** *
     * 流名称,缺省情况下,查询所有流名称,由 1 到
     * 100位数字、字母、下划线及"-"和"."组成,如果指定 Stream,必须同时指定
     * App的值
     * 
* * string Stream = 4; * @param value The bytes for stream to set. * @return This builder for chaining. */ public Builder setStreamBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stream_ = value; onChanged(); return this; } private java.lang.Object endTime_ = ""; /** *
     * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
     * 
* * string EndTime = 5; * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
     * 
* * string EndTime = 5; * @return The bytes for endTime. */ public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
     * 
* * string EndTime = 5; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); return this; } /** *
     * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
     * 
* * string EndTime = 5; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
     * 禁推的结束时间,禁推有效期最长为 90 天,默认为当前时间加 90 天
     * 
* * string EndTime = 5; * @param value The bytes for endTime to set. * @return This builder for chaining. */ public Builder setEndTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endTime_ = value; onChanged(); return this; } @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.ForbidStreamRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Request.ForbidStreamRequest) private static final com.volcengine.service.live.model.request.ForbidStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.live.model.request.ForbidStreamRequest(); } public static com.volcengine.service.live.model.request.ForbidStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ForbidStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ForbidStreamRequest(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.ForbidStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy