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

com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult Maven / Gradle / Ivy

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

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataResult}
 */
public final class DescribeVodRealtimeMediaDataResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataResult)
    DescribeVodRealtimeMediaDataResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use DescribeVodRealtimeMediaDataResult.newBuilder() to construct.
  private DescribeVodRealtimeMediaDataResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private DescribeVodRealtimeMediaDataResult() {
    spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    startTime_ = "";
    endTime_ = "";
    processType_ = "";
    detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    realtimeMediaDataList_ = java.util.Collections.emptyList();
    realtimeMediaDetailDataList_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private DescribeVodRealtimeMediaDataResult(
      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();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              spaceList_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            spaceList_.add(s);
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

            processType_ = s;
            break;
          }
          case 40: {

            aggregation_ = input.readInt64();
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              detailFieldList_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            detailFieldList_.add(s);
            break;
          }
          case 56: {

            totalRealtimeMediaData_ = input.readInt64();
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              realtimeMediaDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000004;
            }
            realtimeMediaDataList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.parser(), extensionRegistry));
            break;
          }
          case 74: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              realtimeMediaDetailDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000008;
            }
            realtimeMediaDetailDataList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.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)) {
        spaceList_ = spaceList_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        detailFieldList_ = detailFieldList_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        realtimeMediaDataList_ = java.util.Collections.unmodifiableList(realtimeMediaDataList_);
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        realtimeMediaDetailDataList_ = java.util.Collections.unmodifiableList(realtimeMediaDetailDataList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodRealtimeMediaDataResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodRealtimeMediaDataResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.class, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.Builder.class);
  }

  public static final int SPACELIST_FIELD_NUMBER = 1;
  private com.google.protobuf.LazyStringList spaceList_;
  /**
   * 
   * 空间列表
   * 
* * repeated string SpaceList = 1; * @return A list containing the spaceList. */ public com.google.protobuf.ProtocolStringList getSpaceListList() { return spaceList_; } /** *
   * 空间列表
   * 
* * repeated string SpaceList = 1; * @return The count of spaceList. */ public int getSpaceListCount() { return spaceList_.size(); } /** *
   * 空间列表
   * 
* * repeated string SpaceList = 1; * @param index The index of the element to return. * @return The spaceList at the given index. */ public java.lang.String getSpaceList(int index) { return spaceList_.get(index); } /** *
   * 空间列表
   * 
* * repeated string SpaceList = 1; * @param index The index of the value to return. * @return The bytes of the spaceList at the given index. */ public com.google.protobuf.ByteString getSpaceListBytes(int index) { return spaceList_.getByteString(index); } public static final int STARTTIME_FIELD_NUMBER = 2; private volatile java.lang.Object startTime_; /** *
   * 查询的起始时间, rfc3339
   * 
* * string StartTime = 2; * @return The startTime. */ @java.lang.Override public java.lang.String getStartTime() { java.lang.Object ref = startTime_; 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(); startTime_ = s; return s; } } /** *
   * 查询的起始时间, rfc3339
   * 
* * string StartTime = 2; * @return The bytes for startTime. */ @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENDTIME_FIELD_NUMBER = 3; private volatile java.lang.Object endTime_; /** *
   * 查询的结束时间, rfc3339;查询时间跨度不超过93天
   * 
* * string EndTime = 3; * @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; } } /** *
   * 查询的结束时间, rfc3339;查询时间跨度不超过93天
   * 
* * string EndTime = 3; * @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; } } public static final int PROCESSTYPE_FIELD_NUMBER = 4; private volatile java.lang.Object processType_; /** *
   * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
   * 
* * string ProcessType = 4; * @return The processType. */ @java.lang.Override public java.lang.String getProcessType() { java.lang.Object ref = processType_; 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(); processType_ = s; return s; } } /** *
   * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
   * 
* * string ProcessType = 4; * @return The bytes for processType. */ @java.lang.Override public com.google.protobuf.ByteString getProcessTypeBytes() { java.lang.Object ref = processType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AGGREGATION_FIELD_NUMBER = 5; private long aggregation_; /** *
   *聚合的时间粒度,单位秒,默认3600,支持3600和86400
   * 
* * int64 Aggregation = 5; * @return The aggregation. */ @java.lang.Override public long getAggregation() { return aggregation_; } public static final int DETAILFIELDLIST_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList detailFieldList_; /** *
   * 展示详细信息的维度,取值:Space
   * 
* * repeated string DetailFieldList = 6; * @return A list containing the detailFieldList. */ public com.google.protobuf.ProtocolStringList getDetailFieldListList() { return detailFieldList_; } /** *
   * 展示详细信息的维度,取值:Space
   * 
* * repeated string DetailFieldList = 6; * @return The count of detailFieldList. */ public int getDetailFieldListCount() { return detailFieldList_.size(); } /** *
   * 展示详细信息的维度,取值:Space
   * 
* * repeated string DetailFieldList = 6; * @param index The index of the element to return. * @return The detailFieldList at the given index. */ public java.lang.String getDetailFieldList(int index) { return detailFieldList_.get(index); } /** *
   * 展示详细信息的维度,取值:Space
   * 
* * repeated string DetailFieldList = 6; * @param index The index of the value to return. * @return The bytes of the detailFieldList at the given index. */ public com.google.protobuf.ByteString getDetailFieldListBytes(int index) { return detailFieldList_.getByteString(index); } public static final int TOTALREALTIMEMEDIADATA_FIELD_NUMBER = 7; private long totalRealtimeMediaData_; /** * int64 TotalRealtimeMediaData = 7; * @return The totalRealtimeMediaData. */ @java.lang.Override public long getTotalRealtimeMediaData() { return totalRealtimeMediaData_; } public static final int REALTIMEMEDIADATALIST_FIELD_NUMBER = 8; private java.util.List realtimeMediaDataList_; /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ @java.lang.Override public java.util.List getRealtimeMediaDataListList() { return realtimeMediaDataList_; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ @java.lang.Override public java.util.List getRealtimeMediaDataListOrBuilderList() { return realtimeMediaDataList_; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ @java.lang.Override public int getRealtimeMediaDataListCount() { return realtimeMediaDataList_.size(); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem getRealtimeMediaDataList(int index) { return realtimeMediaDataList_.get(index); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder getRealtimeMediaDataListOrBuilder( int index) { return realtimeMediaDataList_.get(index); } public static final int REALTIMEMEDIADETAILDATALIST_FIELD_NUMBER = 9; private java.util.List realtimeMediaDetailDataList_; /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ @java.lang.Override public java.util.List getRealtimeMediaDetailDataListList() { return realtimeMediaDetailDataList_; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ @java.lang.Override public java.util.List getRealtimeMediaDetailDataListOrBuilderList() { return realtimeMediaDetailDataList_; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ @java.lang.Override public int getRealtimeMediaDetailDataListCount() { return realtimeMediaDetailDataList_.size(); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail getRealtimeMediaDetailDataList(int index) { return realtimeMediaDetailDataList_.get(index); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetailOrBuilder getRealtimeMediaDetailDataListOrBuilder( int index) { return realtimeMediaDetailDataList_.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 { for (int i = 0; i < spaceList_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceList_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(processType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, processType_); } if (aggregation_ != 0L) { output.writeInt64(5, aggregation_); } for (int i = 0; i < detailFieldList_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, detailFieldList_.getRaw(i)); } if (totalRealtimeMediaData_ != 0L) { output.writeInt64(7, totalRealtimeMediaData_); } for (int i = 0; i < realtimeMediaDataList_.size(); i++) { output.writeMessage(8, realtimeMediaDataList_.get(i)); } for (int i = 0; i < realtimeMediaDetailDataList_.size(); i++) { output.writeMessage(9, realtimeMediaDetailDataList_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < spaceList_.size(); i++) { dataSize += computeStringSizeNoTag(spaceList_.getRaw(i)); } size += dataSize; size += 1 * getSpaceListList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(processType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, processType_); } if (aggregation_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, aggregation_); } { int dataSize = 0; for (int i = 0; i < detailFieldList_.size(); i++) { dataSize += computeStringSizeNoTag(detailFieldList_.getRaw(i)); } size += dataSize; size += 1 * getDetailFieldListList().size(); } if (totalRealtimeMediaData_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, totalRealtimeMediaData_); } for (int i = 0; i < realtimeMediaDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, realtimeMediaDataList_.get(i)); } for (int i = 0; i < realtimeMediaDetailDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, realtimeMediaDetailDataList_.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.vod.model.business.DescribeVodRealtimeMediaDataResult)) { return super.equals(obj); } com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult other = (com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult) obj; if (!getSpaceListList() .equals(other.getSpaceListList())) return false; if (!getStartTime() .equals(other.getStartTime())) return false; if (!getEndTime() .equals(other.getEndTime())) return false; if (!getProcessType() .equals(other.getProcessType())) return false; if (getAggregation() != other.getAggregation()) return false; if (!getDetailFieldListList() .equals(other.getDetailFieldListList())) return false; if (getTotalRealtimeMediaData() != other.getTotalRealtimeMediaData()) return false; if (!getRealtimeMediaDataListList() .equals(other.getRealtimeMediaDataListList())) return false; if (!getRealtimeMediaDetailDataListList() .equals(other.getRealtimeMediaDetailDataListList())) 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(); if (getSpaceListCount() > 0) { hash = (37 * hash) + SPACELIST_FIELD_NUMBER; hash = (53 * hash) + getSpaceListList().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) + PROCESSTYPE_FIELD_NUMBER; hash = (53 * hash) + getProcessType().hashCode(); hash = (37 * hash) + AGGREGATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAggregation()); if (getDetailFieldListCount() > 0) { hash = (37 * hash) + DETAILFIELDLIST_FIELD_NUMBER; hash = (53 * hash) + getDetailFieldListList().hashCode(); } hash = (37 * hash) + TOTALREALTIMEMEDIADATA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalRealtimeMediaData()); if (getRealtimeMediaDataListCount() > 0) { hash = (37 * hash) + REALTIMEMEDIADATALIST_FIELD_NUMBER; hash = (53 * hash) + getRealtimeMediaDataListList().hashCode(); } if (getRealtimeMediaDetailDataListCount() > 0) { hash = (37 * hash) + REALTIMEMEDIADETAILDATALIST_FIELD_NUMBER; hash = (53 * hash) + getRealtimeMediaDetailDataListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult 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.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult 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.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult 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.vod.model.business.DescribeVodRealtimeMediaDataResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult 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.vod.model.business.DescribeVodRealtimeMediaDataResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult 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.vod.model.business.DescribeVodRealtimeMediaDataResult 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.Vod.Models.Business.DescribeVodRealtimeMediaDataResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataResult) com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodRealtimeMediaDataResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodRealtimeMediaDataResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.class, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.Builder.class); } // Construct using com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRealtimeMediaDataListFieldBuilder(); getRealtimeMediaDetailDataListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); startTime_ = ""; endTime_ = ""; processType_ = ""; aggregation_ = 0L; detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); totalRealtimeMediaData_ = 0L; if (realtimeMediaDataListBuilder_ == null) { realtimeMediaDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { realtimeMediaDataListBuilder_.clear(); } if (realtimeMediaDetailDataListBuilder_ == null) { realtimeMediaDetailDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { realtimeMediaDetailDataListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodRealtimeMediaDataResult_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult build() { com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult buildPartial() { com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult result = new com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { spaceList_ = spaceList_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.spaceList_ = spaceList_; result.startTime_ = startTime_; result.endTime_ = endTime_; result.processType_ = processType_; result.aggregation_ = aggregation_; if (((bitField0_ & 0x00000002) != 0)) { detailFieldList_ = detailFieldList_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.detailFieldList_ = detailFieldList_; result.totalRealtimeMediaData_ = totalRealtimeMediaData_; if (realtimeMediaDataListBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { realtimeMediaDataList_ = java.util.Collections.unmodifiableList(realtimeMediaDataList_); bitField0_ = (bitField0_ & ~0x00000004); } result.realtimeMediaDataList_ = realtimeMediaDataList_; } else { result.realtimeMediaDataList_ = realtimeMediaDataListBuilder_.build(); } if (realtimeMediaDetailDataListBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { realtimeMediaDetailDataList_ = java.util.Collections.unmodifiableList(realtimeMediaDetailDataList_); bitField0_ = (bitField0_ & ~0x00000008); } result.realtimeMediaDetailDataList_ = realtimeMediaDetailDataList_; } else { result.realtimeMediaDetailDataList_ = realtimeMediaDetailDataListBuilder_.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.vod.model.business.DescribeVodRealtimeMediaDataResult) { return mergeFrom((com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult other) { if (other == com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult.getDefaultInstance()) return this; if (!other.spaceList_.isEmpty()) { if (spaceList_.isEmpty()) { spaceList_ = other.spaceList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpaceListIsMutable(); spaceList_.addAll(other.spaceList_); } onChanged(); } if (!other.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); } if (!other.getEndTime().isEmpty()) { endTime_ = other.endTime_; onChanged(); } if (!other.getProcessType().isEmpty()) { processType_ = other.processType_; onChanged(); } if (other.getAggregation() != 0L) { setAggregation(other.getAggregation()); } if (!other.detailFieldList_.isEmpty()) { if (detailFieldList_.isEmpty()) { detailFieldList_ = other.detailFieldList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDetailFieldListIsMutable(); detailFieldList_.addAll(other.detailFieldList_); } onChanged(); } if (other.getTotalRealtimeMediaData() != 0L) { setTotalRealtimeMediaData(other.getTotalRealtimeMediaData()); } if (realtimeMediaDataListBuilder_ == null) { if (!other.realtimeMediaDataList_.isEmpty()) { if (realtimeMediaDataList_.isEmpty()) { realtimeMediaDataList_ = other.realtimeMediaDataList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.addAll(other.realtimeMediaDataList_); } onChanged(); } } else { if (!other.realtimeMediaDataList_.isEmpty()) { if (realtimeMediaDataListBuilder_.isEmpty()) { realtimeMediaDataListBuilder_.dispose(); realtimeMediaDataListBuilder_ = null; realtimeMediaDataList_ = other.realtimeMediaDataList_; bitField0_ = (bitField0_ & ~0x00000004); realtimeMediaDataListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRealtimeMediaDataListFieldBuilder() : null; } else { realtimeMediaDataListBuilder_.addAllMessages(other.realtimeMediaDataList_); } } } if (realtimeMediaDetailDataListBuilder_ == null) { if (!other.realtimeMediaDetailDataList_.isEmpty()) { if (realtimeMediaDetailDataList_.isEmpty()) { realtimeMediaDetailDataList_ = other.realtimeMediaDetailDataList_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.addAll(other.realtimeMediaDetailDataList_); } onChanged(); } } else { if (!other.realtimeMediaDetailDataList_.isEmpty()) { if (realtimeMediaDetailDataListBuilder_.isEmpty()) { realtimeMediaDetailDataListBuilder_.dispose(); realtimeMediaDetailDataListBuilder_ = null; realtimeMediaDetailDataList_ = other.realtimeMediaDetailDataList_; bitField0_ = (bitField0_ & ~0x00000008); realtimeMediaDetailDataListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRealtimeMediaDetailDataListFieldBuilder() : null; } else { realtimeMediaDetailDataListBuilder_.addAllMessages(other.realtimeMediaDetailDataList_); } } } 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.vod.model.business.DescribeVodRealtimeMediaDataResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSpaceListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { spaceList_ = new com.google.protobuf.LazyStringArrayList(spaceList_); bitField0_ |= 0x00000001; } } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @return A list containing the spaceList. */ public com.google.protobuf.ProtocolStringList getSpaceListList() { return spaceList_.getUnmodifiableView(); } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @return The count of spaceList. */ public int getSpaceListCount() { return spaceList_.size(); } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param index The index of the element to return. * @return The spaceList at the given index. */ public java.lang.String getSpaceList(int index) { return spaceList_.get(index); } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param index The index of the value to return. * @return The bytes of the spaceList at the given index. */ public com.google.protobuf.ByteString getSpaceListBytes(int index) { return spaceList_.getByteString(index); } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param index The index to set the value at. * @param value The spaceList to set. * @return This builder for chaining. */ public Builder setSpaceList( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceListIsMutable(); spaceList_.set(index, value); onChanged(); return this; } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param value The spaceList to add. * @return This builder for chaining. */ public Builder addSpaceList( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSpaceListIsMutable(); spaceList_.add(value); onChanged(); return this; } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param values The spaceList to add. * @return This builder for chaining. */ public Builder addAllSpaceList( java.lang.Iterable values) { ensureSpaceListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, spaceList_); onChanged(); return this; } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @return This builder for chaining. */ public Builder clearSpaceList() { spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * 空间列表
     * 
* * repeated string SpaceList = 1; * @param value The bytes of the spaceList to add. * @return This builder for chaining. */ public Builder addSpaceListBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSpaceListIsMutable(); spaceList_.add(value); onChanged(); return this; } private java.lang.Object startTime_ = ""; /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 2; * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 2; * @return The bytes for startTime. */ public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); startTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 2; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); return this; } /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 2; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 2; * @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 java.lang.Object endTime_ = ""; /** *
     * 查询的结束时间, rfc3339;查询时间跨度不超过93天
     * 
* * string EndTime = 3; * @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; } } /** *
     * 查询的结束时间, rfc3339;查询时间跨度不超过93天
     * 
* * string EndTime = 3; * @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; } } /** *
     * 查询的结束时间, rfc3339;查询时间跨度不超过93天
     * 
* * string EndTime = 3; * @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; } /** *
     * 查询的结束时间, rfc3339;查询时间跨度不超过93天
     * 
* * string EndTime = 3; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
     * 查询的结束时间, rfc3339;查询时间跨度不超过93天
     * 
* * string EndTime = 3; * @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 java.lang.Object processType_ = ""; /** *
     * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
     * 
* * string ProcessType = 4; * @return The processType. */ public java.lang.String getProcessType() { java.lang.Object ref = processType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); processType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
     * 
* * string ProcessType = 4; * @return The bytes for processType. */ public com.google.protobuf.ByteString getProcessTypeBytes() { java.lang.Object ref = processType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
     * 
* * string ProcessType = 4; * @param value The processType to set. * @return This builder for chaining. */ public Builder setProcessType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } processType_ = value; onChanged(); return this; } /** *
     * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
     * 
* * string ProcessType = 4; * @return This builder for chaining. */ public Builder clearProcessType() { processType_ = getDefaultInstance().getProcessType(); onChanged(); return this; } /** *
     * 实时处理类型。默认为全选。Snapshot(实时截图)、Metadata(实时获取音视频信息)
     * 
* * string ProcessType = 4; * @param value The bytes for processType to set. * @return This builder for chaining. */ public Builder setProcessTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); processType_ = value; onChanged(); return this; } private long aggregation_ ; /** *
     *聚合的时间粒度,单位秒,默认3600,支持3600和86400
     * 
* * int64 Aggregation = 5; * @return The aggregation. */ @java.lang.Override public long getAggregation() { return aggregation_; } /** *
     *聚合的时间粒度,单位秒,默认3600,支持3600和86400
     * 
* * int64 Aggregation = 5; * @param value The aggregation to set. * @return This builder for chaining. */ public Builder setAggregation(long value) { aggregation_ = value; onChanged(); return this; } /** *
     *聚合的时间粒度,单位秒,默认3600,支持3600和86400
     * 
* * int64 Aggregation = 5; * @return This builder for chaining. */ public Builder clearAggregation() { aggregation_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringList detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDetailFieldListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { detailFieldList_ = new com.google.protobuf.LazyStringArrayList(detailFieldList_); bitField0_ |= 0x00000002; } } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @return A list containing the detailFieldList. */ public com.google.protobuf.ProtocolStringList getDetailFieldListList() { return detailFieldList_.getUnmodifiableView(); } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @return The count of detailFieldList. */ public int getDetailFieldListCount() { return detailFieldList_.size(); } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param index The index of the element to return. * @return The detailFieldList at the given index. */ public java.lang.String getDetailFieldList(int index) { return detailFieldList_.get(index); } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param index The index of the value to return. * @return The bytes of the detailFieldList at the given index. */ public com.google.protobuf.ByteString getDetailFieldListBytes(int index) { return detailFieldList_.getByteString(index); } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param index The index to set the value at. * @param value The detailFieldList to set. * @return This builder for chaining. */ public Builder setDetailFieldList( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDetailFieldListIsMutable(); detailFieldList_.set(index, value); onChanged(); return this; } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param value The detailFieldList to add. * @return This builder for chaining. */ public Builder addDetailFieldList( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDetailFieldListIsMutable(); detailFieldList_.add(value); onChanged(); return this; } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param values The detailFieldList to add. * @return This builder for chaining. */ public Builder addAllDetailFieldList( java.lang.Iterable values) { ensureDetailFieldListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, detailFieldList_); onChanged(); return this; } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @return This builder for chaining. */ public Builder clearDetailFieldList() { detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * 展示详细信息的维度,取值:Space
     * 
* * repeated string DetailFieldList = 6; * @param value The bytes of the detailFieldList to add. * @return This builder for chaining. */ public Builder addDetailFieldListBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDetailFieldListIsMutable(); detailFieldList_.add(value); onChanged(); return this; } private long totalRealtimeMediaData_ ; /** * int64 TotalRealtimeMediaData = 7; * @return The totalRealtimeMediaData. */ @java.lang.Override public long getTotalRealtimeMediaData() { return totalRealtimeMediaData_; } /** * int64 TotalRealtimeMediaData = 7; * @param value The totalRealtimeMediaData to set. * @return This builder for chaining. */ public Builder setTotalRealtimeMediaData(long value) { totalRealtimeMediaData_ = value; onChanged(); return this; } /** * int64 TotalRealtimeMediaData = 7; * @return This builder for chaining. */ public Builder clearTotalRealtimeMediaData() { totalRealtimeMediaData_ = 0L; onChanged(); return this; } private java.util.List realtimeMediaDataList_ = java.util.Collections.emptyList(); private void ensureRealtimeMediaDataListIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { realtimeMediaDataList_ = new java.util.ArrayList(realtimeMediaDataList_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder> realtimeMediaDataListBuilder_; /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public java.util.List getRealtimeMediaDataListList() { if (realtimeMediaDataListBuilder_ == null) { return java.util.Collections.unmodifiableList(realtimeMediaDataList_); } else { return realtimeMediaDataListBuilder_.getMessageList(); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public int getRealtimeMediaDataListCount() { if (realtimeMediaDataListBuilder_ == null) { return realtimeMediaDataList_.size(); } else { return realtimeMediaDataListBuilder_.getCount(); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem getRealtimeMediaDataList(int index) { if (realtimeMediaDataListBuilder_ == null) { return realtimeMediaDataList_.get(index); } else { return realtimeMediaDataListBuilder_.getMessage(index); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder setRealtimeMediaDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) { if (realtimeMediaDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.set(index, value); onChanged(); } else { realtimeMediaDataListBuilder_.setMessage(index, value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder setRealtimeMediaDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) { if (realtimeMediaDataListBuilder_ == null) { ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.set(index, builderForValue.build()); onChanged(); } else { realtimeMediaDataListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder addRealtimeMediaDataList(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) { if (realtimeMediaDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.add(value); onChanged(); } else { realtimeMediaDataListBuilder_.addMessage(value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder addRealtimeMediaDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) { if (realtimeMediaDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.add(index, value); onChanged(); } else { realtimeMediaDataListBuilder_.addMessage(index, value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder addRealtimeMediaDataList( com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) { if (realtimeMediaDataListBuilder_ == null) { ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.add(builderForValue.build()); onChanged(); } else { realtimeMediaDataListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder addRealtimeMediaDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) { if (realtimeMediaDataListBuilder_ == null) { ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.add(index, builderForValue.build()); onChanged(); } else { realtimeMediaDataListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder addAllRealtimeMediaDataList( java.lang.Iterable values) { if (realtimeMediaDataListBuilder_ == null) { ensureRealtimeMediaDataListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, realtimeMediaDataList_); onChanged(); } else { realtimeMediaDataListBuilder_.addAllMessages(values); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder clearRealtimeMediaDataList() { if (realtimeMediaDataListBuilder_ == null) { realtimeMediaDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { realtimeMediaDataListBuilder_.clear(); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public Builder removeRealtimeMediaDataList(int index) { if (realtimeMediaDataListBuilder_ == null) { ensureRealtimeMediaDataListIsMutable(); realtimeMediaDataList_.remove(index); onChanged(); } else { realtimeMediaDataListBuilder_.remove(index); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder getRealtimeMediaDataListBuilder( int index) { return getRealtimeMediaDataListFieldBuilder().getBuilder(index); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder getRealtimeMediaDataListOrBuilder( int index) { if (realtimeMediaDataListBuilder_ == null) { return realtimeMediaDataList_.get(index); } else { return realtimeMediaDataListBuilder_.getMessageOrBuilder(index); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public java.util.List getRealtimeMediaDataListOrBuilderList() { if (realtimeMediaDataListBuilder_ != null) { return realtimeMediaDataListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(realtimeMediaDataList_); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder addRealtimeMediaDataListBuilder() { return getRealtimeMediaDataListFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.getDefaultInstance()); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder addRealtimeMediaDataListBuilder( int index) { return getRealtimeMediaDataListFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.getDefaultInstance()); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 8; */ public java.util.List getRealtimeMediaDataListBuilderList() { return getRealtimeMediaDataListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder> getRealtimeMediaDataListFieldBuilder() { if (realtimeMediaDataListBuilder_ == null) { realtimeMediaDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder>( realtimeMediaDataList_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); realtimeMediaDataList_ = null; } return realtimeMediaDataListBuilder_; } private java.util.List realtimeMediaDetailDataList_ = java.util.Collections.emptyList(); private void ensureRealtimeMediaDetailDataListIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { realtimeMediaDetailDataList_ = new java.util.ArrayList(realtimeMediaDetailDataList_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetailOrBuilder> realtimeMediaDetailDataListBuilder_; /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public java.util.List getRealtimeMediaDetailDataListList() { if (realtimeMediaDetailDataListBuilder_ == null) { return java.util.Collections.unmodifiableList(realtimeMediaDetailDataList_); } else { return realtimeMediaDetailDataListBuilder_.getMessageList(); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public int getRealtimeMediaDetailDataListCount() { if (realtimeMediaDetailDataListBuilder_ == null) { return realtimeMediaDetailDataList_.size(); } else { return realtimeMediaDetailDataListBuilder_.getCount(); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail getRealtimeMediaDetailDataList(int index) { if (realtimeMediaDetailDataListBuilder_ == null) { return realtimeMediaDetailDataList_.get(index); } else { return realtimeMediaDetailDataListBuilder_.getMessage(index); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder setRealtimeMediaDetailDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail value) { if (realtimeMediaDetailDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.set(index, value); onChanged(); } else { realtimeMediaDetailDataListBuilder_.setMessage(index, value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder setRealtimeMediaDetailDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder builderForValue) { if (realtimeMediaDetailDataListBuilder_ == null) { ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.set(index, builderForValue.build()); onChanged(); } else { realtimeMediaDetailDataListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder addRealtimeMediaDetailDataList(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail value) { if (realtimeMediaDetailDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.add(value); onChanged(); } else { realtimeMediaDetailDataListBuilder_.addMessage(value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder addRealtimeMediaDetailDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail value) { if (realtimeMediaDetailDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.add(index, value); onChanged(); } else { realtimeMediaDetailDataListBuilder_.addMessage(index, value); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder addRealtimeMediaDetailDataList( com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder builderForValue) { if (realtimeMediaDetailDataListBuilder_ == null) { ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.add(builderForValue.build()); onChanged(); } else { realtimeMediaDetailDataListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder addRealtimeMediaDetailDataList( int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder builderForValue) { if (realtimeMediaDetailDataListBuilder_ == null) { ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.add(index, builderForValue.build()); onChanged(); } else { realtimeMediaDetailDataListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder addAllRealtimeMediaDetailDataList( java.lang.Iterable values) { if (realtimeMediaDetailDataListBuilder_ == null) { ensureRealtimeMediaDetailDataListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, realtimeMediaDetailDataList_); onChanged(); } else { realtimeMediaDetailDataListBuilder_.addAllMessages(values); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder clearRealtimeMediaDetailDataList() { if (realtimeMediaDetailDataListBuilder_ == null) { realtimeMediaDetailDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { realtimeMediaDetailDataListBuilder_.clear(); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public Builder removeRealtimeMediaDetailDataList(int index) { if (realtimeMediaDetailDataListBuilder_ == null) { ensureRealtimeMediaDetailDataListIsMutable(); realtimeMediaDetailDataList_.remove(index); onChanged(); } else { realtimeMediaDetailDataListBuilder_.remove(index); } return this; } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder getRealtimeMediaDetailDataListBuilder( int index) { return getRealtimeMediaDetailDataListFieldBuilder().getBuilder(index); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetailOrBuilder getRealtimeMediaDetailDataListOrBuilder( int index) { if (realtimeMediaDetailDataListBuilder_ == null) { return realtimeMediaDetailDataList_.get(index); } else { return realtimeMediaDetailDataListBuilder_.getMessageOrBuilder(index); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public java.util.List getRealtimeMediaDetailDataListOrBuilderList() { if (realtimeMediaDetailDataListBuilder_ != null) { return realtimeMediaDetailDataListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(realtimeMediaDetailDataList_); } } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder addRealtimeMediaDetailDataListBuilder() { return getRealtimeMediaDetailDataListFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.getDefaultInstance()); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder addRealtimeMediaDetailDataListBuilder( int index) { return getRealtimeMediaDetailDataListFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.getDefaultInstance()); } /** * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataDetail RealtimeMediaDetailDataList = 9; */ public java.util.List getRealtimeMediaDetailDataListBuilderList() { return getRealtimeMediaDetailDataListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetailOrBuilder> getRealtimeMediaDetailDataListFieldBuilder() { if (realtimeMediaDetailDataListBuilder_ == null) { realtimeMediaDetailDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetailOrBuilder>( realtimeMediaDetailDataList_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); realtimeMediaDetailDataList_ = null; } return realtimeMediaDetailDataListBuilder_; } @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.Vod.Models.Business.DescribeVodRealtimeMediaDataResult) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataResult) private static final com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult(); } public static com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeVodRealtimeMediaDataResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DescribeVodRealtimeMediaDataResult(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.vod.model.business.DescribeVodRealtimeMediaDataResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy