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

com.volcengine.service.live.model.business.ClosedStream 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/stream_manage.proto

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

/**
 * Protobuf type {@code Volcengine.Live.Models.Business.ClosedStream}
 */
public final class ClosedStream extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Live.Models.Business.ClosedStream)
    ClosedStreamOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ClosedStream.newBuilder() to construct.
  private ClosedStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ClosedStream() {
    vhost_ = "";
    domain_ = "";
    app_ = "";
    stream_ = "";
    startTime_ = "";
    endTime_ = "";
    sourceType_ = "";
  }

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

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

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

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

            app_ = s;
            break;
          }
          case 34: {
            String s = input.readStringRequireUtf8();

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

            startTime_ = s;
            break;
          }
          case 50: {
            String s = input.readStringRequireUtf8();

            endTime_ = s;
            break;
          }
          case 58: {
            String s = input.readStringRequireUtf8();

            sourceType_ = 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 StreamManage.internal_static_Volcengine_Live_Models_Business_ClosedStream_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return StreamManage.internal_static_Volcengine_Live_Models_Business_ClosedStream_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ClosedStream.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 DOMAIN_FIELD_NUMBER = 2; private volatile Object domain_; /** *
   * 域名
   * 
* * string Domain = 2; * @return The domain. */ @Override public String getDomain() { Object ref = domain_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); domain_ = s; return s; } } /** *
   * 域名
   * 
* * string Domain = 2; * @return The bytes for domain. */ @Override public com.google.protobuf.ByteString getDomainBytes() { Object ref = domain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); domain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APP_FIELD_NUMBER = 3; private volatile Object app_; /** *
   * 应用名称
   * 
* * string App = 3; * @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 = 3; * @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 STREAM_FIELD_NUMBER = 4; private volatile Object stream_; /** *
   * 流名称
   * 
* * string Stream = 4; * @return The stream. */ @Override public String getStream() { Object ref = stream_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); stream_ = s; return s; } } /** *
   * 流名称
   * 
* * string Stream = 4; * @return The bytes for stream. */ @Override public com.google.protobuf.ByteString getStreamBytes() { Object ref = stream_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTTIME_FIELD_NUMBER = 5; private volatile Object startTime_; /** *
   * 直播流开始时间
   * 
* * string StartTime = 5; * @return The startTime. */ @Override public String getStartTime() { Object ref = startTime_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** *
   * 直播流开始时间
   * 
* * string StartTime = 5; * @return The bytes for startTime. */ @Override public com.google.protobuf.ByteString getStartTimeBytes() { Object ref = startTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIME_FIELD_NUMBER = 6; private volatile Object endTime_; /** *
   * 直播流结束时间
   * 
* * string EndTime = 6; * @return The endTime. */ @Override public String getEndTime() { Object ref = endTime_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); endTime_ = s; return s; } } /** *
   * 直播流结束时间
   * 
* * string EndTime = 6; * @return The bytes for endTime. */ @Override public com.google.protobuf.ByteString getEndTimeBytes() { Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCETYPE_FIELD_NUMBER = 7; private volatile Object sourceType_; /** *
   * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
   *<li>push:直推流;
   *<li>relay:回源流。
   * 
* * string SourceType = 7; * @return The sourceType. */ @Override public String getSourceType() { Object ref = sourceType_; if (ref instanceof String) { return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); sourceType_ = s; return s; } } /** *
   * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
   *<li>push:直推流;
   *<li>relay:回源流。
   * 
* * string SourceType = 7; * @return The bytes for sourceType. */ @Override public com.google.protobuf.ByteString getSourceTypeBytes() { Object ref = sourceType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); sourceType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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(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(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, endTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, sourceType_); } 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(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(startTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, sourceType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof ClosedStream)) { return super.equals(obj); } ClosedStream other = (ClosedStream) 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 (!getStartTime() .equals(other.getStartTime())) return false; if (!getEndTime() .equals(other.getEndTime())) return false; if (!getSourceType() .equals(other.getSourceType())) 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) + 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) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); hash = (37 * hash) + ENDTIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); hash = (37 * hash) + SOURCETYPE_FIELD_NUMBER; hash = (53 * hash) + getSourceType().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static ClosedStream parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ClosedStream parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ClosedStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ClosedStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ClosedStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ClosedStream parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ClosedStream parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ClosedStream 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 ClosedStream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ClosedStream 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 ClosedStream parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ClosedStream 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(ClosedStream 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.ClosedStream} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Business.ClosedStream) ClosedStreamOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return StreamManage.internal_static_Volcengine_Live_Models_Business_ClosedStream_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return StreamManage.internal_static_Volcengine_Live_Models_Business_ClosedStream_fieldAccessorTable .ensureFieldAccessorsInitialized( ClosedStream.class, Builder.class); } // Construct using com.volcengine.service.live.model.business.ClosedStream.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @Override public Builder clear() { super.clear(); vhost_ = ""; domain_ = ""; app_ = ""; stream_ = ""; startTime_ = ""; endTime_ = ""; sourceType_ = ""; return this; } @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return StreamManage.internal_static_Volcengine_Live_Models_Business_ClosedStream_descriptor; } @Override public ClosedStream getDefaultInstanceForType() { return ClosedStream.getDefaultInstance(); } @Override public ClosedStream build() { ClosedStream result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @Override public ClosedStream buildPartial() { ClosedStream result = new ClosedStream(this); result.vhost_ = vhost_; result.domain_ = domain_; result.app_ = app_; result.stream_ = stream_; result.startTime_ = startTime_; result.endTime_ = endTime_; result.sourceType_ = sourceType_; 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 ClosedStream) { return mergeFrom((ClosedStream)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ClosedStream other) { if (other == ClosedStream.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.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); } if (!other.getEndTime().isEmpty()) { endTime_ = other.endTime_; onChanged(); } if (!other.getSourceType().isEmpty()) { sourceType_ = other.sourceType_; onChanged(); } 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 { ClosedStream parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (ClosedStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } 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 domain_ = ""; /** *
     * 域名
     * 
* * string Domain = 2; * @return The domain. */ public String getDomain() { Object ref = domain_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); domain_ = s; return s; } else { return (String) ref; } } /** *
     * 域名
     * 
* * string Domain = 2; * @return The bytes for domain. */ public com.google.protobuf.ByteString getDomainBytes() { Object ref = domain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); domain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 域名
     * 
* * string Domain = 2; * @param value The domain to set. * @return This builder for chaining. */ public Builder setDomain( String value) { if (value == null) { throw new NullPointerException(); } domain_ = value; onChanged(); return this; } /** *
     * 域名
     * 
* * string Domain = 2; * @return This builder for chaining. */ public Builder clearDomain() { domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** *
     * 域名
     * 
* * 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 Object app_ = ""; /** *
     * 应用名称
     * 
* * string App = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearApp() { app_ = getDefaultInstance().getApp(); onChanged(); return this; } /** *
     * 应用名称
     * 
* * 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 Object stream_ = ""; /** *
     * 流名称
     * 
* * string Stream = 4; * @return The stream. */ public String getStream() { Object ref = stream_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); stream_ = s; return s; } else { return (String) ref; } } /** *
     * 流名称
     * 
* * string Stream = 4; * @return The bytes for stream. */ public com.google.protobuf.ByteString getStreamBytes() { Object ref = stream_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); stream_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 流名称
     * 
* * string Stream = 4; * @param value The stream to set. * @return This builder for chaining. */ public Builder setStream( String value) { if (value == null) { throw new NullPointerException(); } stream_ = value; onChanged(); return this; } /** *
     * 流名称
     * 
* * string Stream = 4; * @return This builder for chaining. */ public Builder clearStream() { stream_ = getDefaultInstance().getStream(); onChanged(); return this; } /** *
     * 流名称
     * 
* * 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 Object startTime_ = ""; /** *
     * 直播流开始时间
     * 
* * string StartTime = 5; * @return The startTime. */ public String getStartTime() { Object ref = startTime_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); startTime_ = s; return s; } else { return (String) ref; } } /** *
     * 直播流开始时间
     * 
* * string StartTime = 5; * @return The bytes for startTime. */ public com.google.protobuf.ByteString getStartTimeBytes() { Object ref = startTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 直播流开始时间
     * 
* * string StartTime = 5; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime( String value) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); return this; } /** *
     * 直播流开始时间
     * 
* * string StartTime = 5; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** *
     * 直播流开始时间
     * 
* * string StartTime = 5; * @param value The bytes for startTime to set. * @return This builder for chaining. */ public Builder setStartTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startTime_ = value; onChanged(); return this; } private Object endTime_ = ""; /** *
     * 直播流结束时间
     * 
* * string EndTime = 6; * @return The endTime. */ public String getEndTime() { Object ref = endTime_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); endTime_ = s; return s; } else { return (String) ref; } } /** *
     * 直播流结束时间
     * 
* * string EndTime = 6; * @return The bytes for endTime. */ public com.google.protobuf.ByteString getEndTimeBytes() { Object ref = endTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); endTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 直播流结束时间
     * 
* * string EndTime = 6; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime( String value) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); return this; } /** *
     * 直播流结束时间
     * 
* * string EndTime = 6; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
     * 直播流结束时间
     * 
* * string EndTime = 6; * @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; } private Object sourceType_ = ""; /** *
     * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
     *<li>push:直推流;
     *<li>relay:回源流。
     * 
* * string SourceType = 7; * @return The sourceType. */ public String getSourceType() { Object ref = sourceType_; if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; String s = bs.toStringUtf8(); sourceType_ = s; return s; } else { return (String) ref; } } /** *
     * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
     *<li>push:直推流;
     *<li>relay:回源流。
     * 
* * string SourceType = 7; * @return The bytes for sourceType. */ public com.google.protobuf.ByteString getSourceTypeBytes() { Object ref = sourceType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (String) ref); sourceType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
     *<li>push:直推流;
     *<li>relay:回源流。
     * 
* * string SourceType = 7; * @param value The sourceType to set. * @return This builder for chaining. */ public Builder setSourceType( String value) { if (value == null) { throw new NullPointerException(); } sourceType_ = value; onChanged(); return this; } /** *
     * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
     *<li>push:直推流;
     *<li>relay:回源流。
     * 
* * string SourceType = 7; * @return This builder for chaining. */ public Builder clearSourceType() { sourceType_ = getDefaultInstance().getSourceType(); onChanged(); return this; } /** *
     * 表示推流方式,缺省情况查询全部推流方式。支持如下取值。
     *<li>push:直推流;
     *<li>relay:回源流。
     * 
* * string SourceType = 7; * @param value The bytes for sourceType to set. * @return This builder for chaining. */ public Builder setSourceTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceType_ = value; onChanged(); return this; } @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.ClosedStream) } // @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Business.ClosedStream) private static final ClosedStream DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ClosedStream(); } public static ClosedStream getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @Override public ClosedStream parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClosedStream(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @Override public ClosedStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy