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

com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult Maven / Gradle / Ivy

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult}
 */
public final class DescribeVodSpaceEditDetailDataResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult)
    DescribeVodSpaceEditDetailDataResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use DescribeVodSpaceEditDetailDataResult.newBuilder() to construct.
  private DescribeVodSpaceEditDetailDataResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private DescribeVodSpaceEditDetailDataResult() {
    region_ = "";
    space_ = "";
    startTime_ = "";
    endTime_ = "";
    editDetailData_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private DescribeVodSpaceEditDetailDataResult(
      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();

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

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

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

            endTime_ = s;
            break;
          }
          case 40: {

            pageSize_ = input.readInt64();
            break;
          }
          case 48: {

            pageNum_ = input.readInt64();
            break;
          }
          case 56: {

            total_ = input.readInt64();
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              editDetailData_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            editDetailData_.add(
                input.readMessage(com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.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)) {
        editDetailData_ = java.util.Collections.unmodifiableList(editDetailData_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceEditDetailDataResult_descriptor;
  }

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

  public static final int REGION_FIELD_NUMBER = 1;
  private volatile java.lang.Object region_;
  /**
   * 
   *地区,如:cn-north-1
   * 
* * string Region = 1; * @return The region. */ @java.lang.Override public java.lang.String getRegion() { java.lang.Object ref = region_; 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(); region_ = s; return s; } } /** *
   *地区,如:cn-north-1
   * 
* * string Region = 1; * @return The bytes for region. */ @java.lang.Override public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPACE_FIELD_NUMBER = 2; private volatile java.lang.Object space_; /** *
   * 空间
   * 
* * string Space = 2; * @return The space. */ @java.lang.Override public java.lang.String getSpace() { java.lang.Object ref = space_; 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(); space_ = s; return s; } } /** *
   * 空间
   * 
* * string Space = 2; * @return The bytes for space. */ @java.lang.Override public com.google.protobuf.ByteString getSpaceBytes() { java.lang.Object ref = space_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); space_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTTIME_FIELD_NUMBER = 3; private volatile java.lang.Object startTime_; /** *
   * 查询的起始时间, rfc3339
   * 
* * string StartTime = 3; * @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 = 3; * @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 = 4; private volatile java.lang.Object endTime_; /** *
   * 查询的结束时间, rfc3339;起止时间间隔不超过1天
   * 
* * string EndTime = 4; * @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;起止时间间隔不超过1天
   * 
* * string EndTime = 4; * @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 PAGESIZE_FIELD_NUMBER = 5; private long pageSize_; /** *
   * 分页查询的页大小,默认100
   * 
* * int64 PageSize = 5; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } public static final int PAGENUM_FIELD_NUMBER = 6; private long pageNum_; /** *
   * 分页查询的页号,默认1
   * 
* * int64 PageNum = 6; * @return The pageNum. */ @java.lang.Override public long getPageNum() { return pageNum_; } public static final int TOTAL_FIELD_NUMBER = 7; private long total_; /** *
   * 数据总条数
   * 
* * int64 Total = 7; * @return The total. */ @java.lang.Override public long getTotal() { return total_; } public static final int EDITDETAILDATA_FIELD_NUMBER = 8; private java.util.List editDetailData_; /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ @java.lang.Override public java.util.List getEditDetailDataList() { return editDetailData_; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ @java.lang.Override public java.util.List getEditDetailDataOrBuilderList() { return editDetailData_; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ @java.lang.Override public int getEditDetailDataCount() { return editDetailData_.size(); } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ @java.lang.Override public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail getEditDetailData(int index) { return editDetailData_.get(index); } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ @java.lang.Override public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailOrBuilder getEditDetailDataOrBuilder( int index) { return editDetailData_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, region_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(space_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, space_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endTime_); } if (pageSize_ != 0L) { output.writeInt64(5, pageSize_); } if (pageNum_ != 0L) { output.writeInt64(6, pageNum_); } if (total_ != 0L) { output.writeInt64(7, total_); } for (int i = 0; i < editDetailData_.size(); i++) { output.writeMessage(8, editDetailData_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, region_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(space_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, space_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, startTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endTime_); } if (pageSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, pageSize_); } if (pageNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, pageNum_); } if (total_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, total_); } for (int i = 0; i < editDetailData_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, editDetailData_.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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult)) { return super.equals(obj); } com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult other = (com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult) obj; if (!getRegion() .equals(other.getRegion())) return false; if (!getSpace() .equals(other.getSpace())) return false; if (!getStartTime() .equals(other.getStartTime())) return false; if (!getEndTime() .equals(other.getEndTime())) return false; if (getPageSize() != other.getPageSize()) return false; if (getPageNum() != other.getPageNum()) return false; if (getTotal() != other.getTotal()) return false; if (!getEditDetailDataList() .equals(other.getEditDetailDataList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); hash = (37 * hash) + SPACE_FIELD_NUMBER; hash = (53 * hash) + getSpace().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) + PAGESIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageSize()); hash = (37 * hash) + PAGENUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPageNum()); hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotal()); if (getEditDetailDataCount() > 0) { hash = (37 * hash) + EDITDETAILDATA_FIELD_NUMBER; hash = (53 * hash) + getEditDetailDataList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult 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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult 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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult 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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult 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 Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult) com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceEditDetailDataResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceEditDetailDataResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult.class, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult.Builder.class); } // Construct using com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEditDetailDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); region_ = ""; space_ = ""; startTime_ = ""; endTime_ = ""; pageSize_ = 0L; pageNum_ = 0L; total_ = 0L; if (editDetailDataBuilder_ == null) { editDetailData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { editDetailDataBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceEditDetailDataResult_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult build() { com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult buildPartial() { com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult result = new com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult(this); int from_bitField0_ = bitField0_; result.region_ = region_; result.space_ = space_; result.startTime_ = startTime_; result.endTime_ = endTime_; result.pageSize_ = pageSize_; result.pageNum_ = pageNum_; result.total_ = total_; if (editDetailDataBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { editDetailData_ = java.util.Collections.unmodifiableList(editDetailData_); bitField0_ = (bitField0_ & ~0x00000001); } result.editDetailData_ = editDetailData_; } else { result.editDetailData_ = editDetailDataBuilder_.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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult) { return mergeFrom((com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult other) { if (other == com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult.getDefaultInstance()) return this; if (!other.getRegion().isEmpty()) { region_ = other.region_; onChanged(); } if (!other.getSpace().isEmpty()) { space_ = other.space_; onChanged(); } if (!other.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); } if (!other.getEndTime().isEmpty()) { endTime_ = other.endTime_; onChanged(); } if (other.getPageSize() != 0L) { setPageSize(other.getPageSize()); } if (other.getPageNum() != 0L) { setPageNum(other.getPageNum()); } if (other.getTotal() != 0L) { setTotal(other.getTotal()); } if (editDetailDataBuilder_ == null) { if (!other.editDetailData_.isEmpty()) { if (editDetailData_.isEmpty()) { editDetailData_ = other.editDetailData_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEditDetailDataIsMutable(); editDetailData_.addAll(other.editDetailData_); } onChanged(); } } else { if (!other.editDetailData_.isEmpty()) { if (editDetailDataBuilder_.isEmpty()) { editDetailDataBuilder_.dispose(); editDetailDataBuilder_ = null; editDetailData_ = other.editDetailData_; bitField0_ = (bitField0_ & ~0x00000001); editDetailDataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEditDetailDataFieldBuilder() : null; } else { editDetailDataBuilder_.addAllMessages(other.editDetailData_); } } } 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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object region_ = ""; /** *
     *地区,如:cn-north-1
     * 
* * string Region = 1; * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *地区,如:cn-north-1
     * 
* * string Region = 1; * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *地区,如:cn-north-1
     * 
* * string Region = 1; * @param value The region to set. * @return This builder for chaining. */ public Builder setRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } region_ = value; onChanged(); return this; } /** *
     *地区,如:cn-north-1
     * 
* * string Region = 1; * @return This builder for chaining. */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); onChanged(); return this; } /** *
     *地区,如:cn-north-1
     * 
* * string Region = 1; * @param value The bytes for region to set. * @return This builder for chaining. */ public Builder setRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; onChanged(); return this; } private java.lang.Object space_ = ""; /** *
     * 空间
     * 
* * string Space = 2; * @return The space. */ public java.lang.String getSpace() { java.lang.Object ref = space_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); space_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 空间
     * 
* * string Space = 2; * @return The bytes for space. */ public com.google.protobuf.ByteString getSpaceBytes() { java.lang.Object ref = space_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); space_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 空间
     * 
* * string Space = 2; * @param value The space to set. * @return This builder for chaining. */ public Builder setSpace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } space_ = value; onChanged(); return this; } /** *
     * 空间
     * 
* * string Space = 2; * @return This builder for chaining. */ public Builder clearSpace() { space_ = getDefaultInstance().getSpace(); onChanged(); return this; } /** *
     * 空间
     * 
* * string Space = 2; * @param value The bytes for space to set. * @return This builder for chaining. */ public Builder setSpaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); space_ = value; onChanged(); return this; } private java.lang.Object startTime_ = ""; /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** *
     * 查询的起始时间, rfc3339
     * 
* * string StartTime = 3; * @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;起止时间间隔不超过1天
     * 
* * string EndTime = 4; * @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;起止时间间隔不超过1天
     * 
* * string EndTime = 4; * @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;起止时间间隔不超过1天
     * 
* * string EndTime = 4; * @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;起止时间间隔不超过1天
     * 
* * string EndTime = 4; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
     * 查询的结束时间, rfc3339;起止时间间隔不超过1天
     * 
* * string EndTime = 4; * @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 long pageSize_ ; /** *
     * 分页查询的页大小,默认100
     * 
* * int64 PageSize = 5; * @return The pageSize. */ @java.lang.Override public long getPageSize() { return pageSize_; } /** *
     * 分页查询的页大小,默认100
     * 
* * int64 PageSize = 5; * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(long value) { pageSize_ = value; onChanged(); return this; } /** *
     * 分页查询的页大小,默认100
     * 
* * int64 PageSize = 5; * @return This builder for chaining. */ public Builder clearPageSize() { pageSize_ = 0L; onChanged(); return this; } private long pageNum_ ; /** *
     * 分页查询的页号,默认1
     * 
* * int64 PageNum = 6; * @return The pageNum. */ @java.lang.Override public long getPageNum() { return pageNum_; } /** *
     * 分页查询的页号,默认1
     * 
* * int64 PageNum = 6; * @param value The pageNum to set. * @return This builder for chaining. */ public Builder setPageNum(long value) { pageNum_ = value; onChanged(); return this; } /** *
     * 分页查询的页号,默认1
     * 
* * int64 PageNum = 6; * @return This builder for chaining. */ public Builder clearPageNum() { pageNum_ = 0L; onChanged(); return this; } private long total_ ; /** *
     * 数据总条数
     * 
* * int64 Total = 7; * @return The total. */ @java.lang.Override public long getTotal() { return total_; } /** *
     * 数据总条数
     * 
* * int64 Total = 7; * @param value The total to set. * @return This builder for chaining. */ public Builder setTotal(long value) { total_ = value; onChanged(); return this; } /** *
     * 数据总条数
     * 
* * int64 Total = 7; * @return This builder for chaining. */ public Builder clearTotal() { total_ = 0L; onChanged(); return this; } private java.util.List editDetailData_ = java.util.Collections.emptyList(); private void ensureEditDetailDataIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { editDetailData_ = new java.util.ArrayList(editDetailData_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailOrBuilder> editDetailDataBuilder_; /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public java.util.List getEditDetailDataList() { if (editDetailDataBuilder_ == null) { return java.util.Collections.unmodifiableList(editDetailData_); } else { return editDetailDataBuilder_.getMessageList(); } } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public int getEditDetailDataCount() { if (editDetailDataBuilder_ == null) { return editDetailData_.size(); } else { return editDetailDataBuilder_.getCount(); } } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail getEditDetailData(int index) { if (editDetailDataBuilder_ == null) { return editDetailData_.get(index); } else { return editDetailDataBuilder_.getMessage(index); } } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder setEditDetailData( int index, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail value) { if (editDetailDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEditDetailDataIsMutable(); editDetailData_.set(index, value); onChanged(); } else { editDetailDataBuilder_.setMessage(index, value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder setEditDetailData( int index, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder builderForValue) { if (editDetailDataBuilder_ == null) { ensureEditDetailDataIsMutable(); editDetailData_.set(index, builderForValue.build()); onChanged(); } else { editDetailDataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder addEditDetailData(com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail value) { if (editDetailDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEditDetailDataIsMutable(); editDetailData_.add(value); onChanged(); } else { editDetailDataBuilder_.addMessage(value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder addEditDetailData( int index, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail value) { if (editDetailDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEditDetailDataIsMutable(); editDetailData_.add(index, value); onChanged(); } else { editDetailDataBuilder_.addMessage(index, value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder addEditDetailData( com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder builderForValue) { if (editDetailDataBuilder_ == null) { ensureEditDetailDataIsMutable(); editDetailData_.add(builderForValue.build()); onChanged(); } else { editDetailDataBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder addEditDetailData( int index, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder builderForValue) { if (editDetailDataBuilder_ == null) { ensureEditDetailDataIsMutable(); editDetailData_.add(index, builderForValue.build()); onChanged(); } else { editDetailDataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder addAllEditDetailData( java.lang.Iterable values) { if (editDetailDataBuilder_ == null) { ensureEditDetailDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, editDetailData_); onChanged(); } else { editDetailDataBuilder_.addAllMessages(values); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder clearEditDetailData() { if (editDetailDataBuilder_ == null) { editDetailData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { editDetailDataBuilder_.clear(); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public Builder removeEditDetailData(int index) { if (editDetailDataBuilder_ == null) { ensureEditDetailDataIsMutable(); editDetailData_.remove(index); onChanged(); } else { editDetailDataBuilder_.remove(index); } return this; } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder getEditDetailDataBuilder( int index) { return getEditDetailDataFieldBuilder().getBuilder(index); } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailOrBuilder getEditDetailDataOrBuilder( int index) { if (editDetailDataBuilder_ == null) { return editDetailData_.get(index); } else { return editDetailDataBuilder_.getMessageOrBuilder(index); } } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public java.util.List getEditDetailDataOrBuilderList() { if (editDetailDataBuilder_ != null) { return editDetailDataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(editDetailData_); } } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder addEditDetailDataBuilder() { return getEditDetailDataFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.getDefaultInstance()); } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder addEditDetailDataBuilder( int index) { return getEditDetailDataFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.getDefaultInstance()); } /** * repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetail EditDetailData = 8; */ public java.util.List getEditDetailDataBuilderList() { return getEditDetailDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailOrBuilder> getEditDetailDataFieldBuilder() { if (editDetailDataBuilder_ == null) { editDetailDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetail.Builder, com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailOrBuilder>( editDetailData_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); editDetailData_ = null; } return editDetailDataBuilder_; } @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:Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.DescribeVodSpaceEditDetailDataResult) private static final com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult(); } public static com.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DescribeVodSpaceEditDetailDataResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DescribeVodSpaceEditDetailDataResult(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.byteplus.service.vod.model.business.DescribeVodSpaceEditDetailDataResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy