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

com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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_space.proto

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

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

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

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

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

            type_ = s;
            break;
          }
          case 48: {

            latestStorageData_ = input.readInt64();
            break;
          }
          case 58: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              storageDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            storageDataList_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodStorageData.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)) {
        storageDataList_ = java.util.Collections.unmodifiableList(storageDataList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor;
  }

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

  public static final int SPACELIST_FIELD_NUMBER = 1;
  private com.google.protobuf.LazyStringList spaceList_;
  /**
   * 
   * Space Name list
   * 
* * repeated string SpaceList = 1; * @return A list containing the spaceList. */ public com.google.protobuf.ProtocolStringList getSpaceListList() { return spaceList_; } /** *
   * Space Name list
   * 
* * repeated string SpaceList = 1; * @return The count of spaceList. */ public int getSpaceListCount() { return spaceList_.size(); } /** *
   * Space Name list
   * 
* * 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); } /** *
   * Space Name list
   * 
* * 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_; /** *
   * start time of query
   * 
* * 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; } } /** *
   * start time of query
   * 
* * 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_; /** *
   * End time of query
   * 
* * 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; } } /** *
   * End time of query
   * 
* * 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 AGGREGATION_FIELD_NUMBER = 4; private int aggregation_; /** *
   * Time granularity of aggregation
   * 
* * int32 Aggregation = 4; * @return The aggregation. */ @java.lang.Override public int getAggregation() { return aggregation_; } public static final int TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object type_; /** *
   * hot, lowfreq, punish
   * 
* * string Type = 5; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
   * hot, lowfreq, punish
   * 
* * string Type = 5; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LATESTSTORAGEDATA_FIELD_NUMBER = 6; private long latestStorageData_; /** *
   * Byte of latest storage
   * 
* * int64 LatestStorageData = 6; * @return The latestStorageData. */ @java.lang.Override public long getLatestStorageData() { return latestStorageData_; } public static final int STORAGEDATALIST_FIELD_NUMBER = 7; private java.util.List storageDataList_; /** *
   * list of Storage Data
   * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ @java.lang.Override public java.util.List getStorageDataListList() { return storageDataList_; } /** *
   * list of Storage Data
   * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ @java.lang.Override public java.util.List getStorageDataListOrBuilderList() { return storageDataList_; } /** *
   * list of Storage Data
   * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ @java.lang.Override public int getStorageDataListCount() { return storageDataList_.size(); } /** *
   * list of Storage Data
   * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodStorageData getStorageDataList(int index) { return storageDataList_.get(index); } /** *
   * list of Storage Data
   * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodStorageDataOrBuilder getStorageDataListOrBuilder( int index) { return storageDataList_.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 (aggregation_ != 0) { output.writeInt32(4, aggregation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_); } if (latestStorageData_ != 0L) { output.writeInt64(6, latestStorageData_); } for (int i = 0; i < storageDataList_.size(); i++) { output.writeMessage(7, storageDataList_.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 (aggregation_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, aggregation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, type_); } if (latestStorageData_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, latestStorageData_); } for (int i = 0; i < storageDataList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, storageDataList_.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.VodDescribeVodSpaceStorageDataResult)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult other = (com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult) obj; if (!getSpaceListList() .equals(other.getSpaceListList())) return false; if (!getStartTime() .equals(other.getStartTime())) return false; if (!getEndTime() .equals(other.getEndTime())) return false; if (getAggregation() != other.getAggregation()) return false; if (!getType() .equals(other.getType())) return false; if (getLatestStorageData() != other.getLatestStorageData()) return false; if (!getStorageDataListList() .equals(other.getStorageDataListList())) 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) + AGGREGATION_FIELD_NUMBER; hash = (53 * hash) + getAggregation(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + LATESTSTORAGEDATA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLatestStorageData()); if (getStorageDataListCount() > 0) { hash = (37 * hash) + STORAGEDATALIST_FIELD_NUMBER; hash = (53 * hash) + getStorageDataListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult) com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.class, com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStorageDataListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); startTime_ = ""; endTime_ = ""; aggregation_ = 0; type_ = ""; latestStorageData_ = 0L; if (storageDataListBuilder_ == null) { storageDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { storageDataListBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult build() { com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult buildPartial() { com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult result = new com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult(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.aggregation_ = aggregation_; result.type_ = type_; result.latestStorageData_ = latestStorageData_; if (storageDataListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { storageDataList_ = java.util.Collections.unmodifiableList(storageDataList_); bitField0_ = (bitField0_ & ~0x00000002); } result.storageDataList_ = storageDataList_; } else { result.storageDataList_ = storageDataListBuilder_.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.VodDescribeVodSpaceStorageDataResult) { return mergeFrom((com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult other) { if (other == com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.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.getAggregation() != 0) { setAggregation(other.getAggregation()); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (other.getLatestStorageData() != 0L) { setLatestStorageData(other.getLatestStorageData()); } if (storageDataListBuilder_ == null) { if (!other.storageDataList_.isEmpty()) { if (storageDataList_.isEmpty()) { storageDataList_ = other.storageDataList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStorageDataListIsMutable(); storageDataList_.addAll(other.storageDataList_); } onChanged(); } } else { if (!other.storageDataList_.isEmpty()) { if (storageDataListBuilder_.isEmpty()) { storageDataListBuilder_.dispose(); storageDataListBuilder_ = null; storageDataList_ = other.storageDataList_; bitField0_ = (bitField0_ & ~0x00000002); storageDataListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStorageDataListFieldBuilder() : null; } else { storageDataListBuilder_.addAllMessages(other.storageDataList_); } } } 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.VodDescribeVodSpaceStorageDataResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult) 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; } } /** *
     * Space Name list
     * 
* * repeated string SpaceList = 1; * @return A list containing the spaceList. */ public com.google.protobuf.ProtocolStringList getSpaceListList() { return spaceList_.getUnmodifiableView(); } /** *
     * Space Name list
     * 
* * repeated string SpaceList = 1; * @return The count of spaceList. */ public int getSpaceListCount() { return spaceList_.size(); } /** *
     * Space Name list
     * 
* * 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); } /** *
     * Space Name list
     * 
* * 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); } /** *
     * Space Name list
     * 
* * 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; } /** *
     * Space Name list
     * 
* * 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; } /** *
     * Space Name list
     * 
* * 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; } /** *
     * Space Name list
     * 
* * repeated string SpaceList = 1; * @return This builder for chaining. */ public Builder clearSpaceList() { spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Space Name list
     * 
* * 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_ = ""; /** *
     * start time of query
     * 
* * 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; } } /** *
     * start time of query
     * 
* * 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; } } /** *
     * start time of query
     * 
* * 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; } /** *
     * start time of query
     * 
* * string StartTime = 2; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** *
     * start time of query
     * 
* * 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_ = ""; /** *
     * End time of query
     * 
* * 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; } } /** *
     * End time of query
     * 
* * 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; } } /** *
     * End time of query
     * 
* * 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; } /** *
     * End time of query
     * 
* * string EndTime = 3; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** *
     * End time of query
     * 
* * 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 int aggregation_ ; /** *
     * Time granularity of aggregation
     * 
* * int32 Aggregation = 4; * @return The aggregation. */ @java.lang.Override public int getAggregation() { return aggregation_; } /** *
     * Time granularity of aggregation
     * 
* * int32 Aggregation = 4; * @param value The aggregation to set. * @return This builder for chaining. */ public Builder setAggregation(int value) { aggregation_ = value; onChanged(); return this; } /** *
     * Time granularity of aggregation
     * 
* * int32 Aggregation = 4; * @return This builder for chaining. */ public Builder clearAggregation() { aggregation_ = 0; onChanged(); return this; } private java.lang.Object type_ = ""; /** *
     * hot, lowfreq, punish
     * 
* * string Type = 5; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * hot, lowfreq, punish
     * 
* * string Type = 5; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * hot, lowfreq, punish
     * 
* * string Type = 5; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
     * hot, lowfreq, punish
     * 
* * string Type = 5; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
     * hot, lowfreq, punish
     * 
* * string Type = 5; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private long latestStorageData_ ; /** *
     * Byte of latest storage
     * 
* * int64 LatestStorageData = 6; * @return The latestStorageData. */ @java.lang.Override public long getLatestStorageData() { return latestStorageData_; } /** *
     * Byte of latest storage
     * 
* * int64 LatestStorageData = 6; * @param value The latestStorageData to set. * @return This builder for chaining. */ public Builder setLatestStorageData(long value) { latestStorageData_ = value; onChanged(); return this; } /** *
     * Byte of latest storage
     * 
* * int64 LatestStorageData = 6; * @return This builder for chaining. */ public Builder clearLatestStorageData() { latestStorageData_ = 0L; onChanged(); return this; } private java.util.List storageDataList_ = java.util.Collections.emptyList(); private void ensureStorageDataListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { storageDataList_ = new java.util.ArrayList(storageDataList_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodStorageData, com.byteplus.service.vod.model.business.VodStorageData.Builder, com.byteplus.service.vod.model.business.VodStorageDataOrBuilder> storageDataListBuilder_; /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public java.util.List getStorageDataListList() { if (storageDataListBuilder_ == null) { return java.util.Collections.unmodifiableList(storageDataList_); } else { return storageDataListBuilder_.getMessageList(); } } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public int getStorageDataListCount() { if (storageDataListBuilder_ == null) { return storageDataList_.size(); } else { return storageDataListBuilder_.getCount(); } } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public com.byteplus.service.vod.model.business.VodStorageData getStorageDataList(int index) { if (storageDataListBuilder_ == null) { return storageDataList_.get(index); } else { return storageDataListBuilder_.getMessage(index); } } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder setStorageDataList( int index, com.byteplus.service.vod.model.business.VodStorageData value) { if (storageDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStorageDataListIsMutable(); storageDataList_.set(index, value); onChanged(); } else { storageDataListBuilder_.setMessage(index, value); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder setStorageDataList( int index, com.byteplus.service.vod.model.business.VodStorageData.Builder builderForValue) { if (storageDataListBuilder_ == null) { ensureStorageDataListIsMutable(); storageDataList_.set(index, builderForValue.build()); onChanged(); } else { storageDataListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder addStorageDataList(com.byteplus.service.vod.model.business.VodStorageData value) { if (storageDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStorageDataListIsMutable(); storageDataList_.add(value); onChanged(); } else { storageDataListBuilder_.addMessage(value); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder addStorageDataList( int index, com.byteplus.service.vod.model.business.VodStorageData value) { if (storageDataListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStorageDataListIsMutable(); storageDataList_.add(index, value); onChanged(); } else { storageDataListBuilder_.addMessage(index, value); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder addStorageDataList( com.byteplus.service.vod.model.business.VodStorageData.Builder builderForValue) { if (storageDataListBuilder_ == null) { ensureStorageDataListIsMutable(); storageDataList_.add(builderForValue.build()); onChanged(); } else { storageDataListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder addStorageDataList( int index, com.byteplus.service.vod.model.business.VodStorageData.Builder builderForValue) { if (storageDataListBuilder_ == null) { ensureStorageDataListIsMutable(); storageDataList_.add(index, builderForValue.build()); onChanged(); } else { storageDataListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder addAllStorageDataList( java.lang.Iterable values) { if (storageDataListBuilder_ == null) { ensureStorageDataListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, storageDataList_); onChanged(); } else { storageDataListBuilder_.addAllMessages(values); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder clearStorageDataList() { if (storageDataListBuilder_ == null) { storageDataList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { storageDataListBuilder_.clear(); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public Builder removeStorageDataList(int index) { if (storageDataListBuilder_ == null) { ensureStorageDataListIsMutable(); storageDataList_.remove(index); onChanged(); } else { storageDataListBuilder_.remove(index); } return this; } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public com.byteplus.service.vod.model.business.VodStorageData.Builder getStorageDataListBuilder( int index) { return getStorageDataListFieldBuilder().getBuilder(index); } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public com.byteplus.service.vod.model.business.VodStorageDataOrBuilder getStorageDataListOrBuilder( int index) { if (storageDataListBuilder_ == null) { return storageDataList_.get(index); } else { return storageDataListBuilder_.getMessageOrBuilder(index); } } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public java.util.List getStorageDataListOrBuilderList() { if (storageDataListBuilder_ != null) { return storageDataListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(storageDataList_); } } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public com.byteplus.service.vod.model.business.VodStorageData.Builder addStorageDataListBuilder() { return getStorageDataListFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodStorageData.getDefaultInstance()); } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public com.byteplus.service.vod.model.business.VodStorageData.Builder addStorageDataListBuilder( int index) { return getStorageDataListFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodStorageData.getDefaultInstance()); } /** *
     * list of Storage Data
     * 
* * repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7; */ public java.util.List getStorageDataListBuilderList() { return getStorageDataListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodStorageData, com.byteplus.service.vod.model.business.VodStorageData.Builder, com.byteplus.service.vod.model.business.VodStorageDataOrBuilder> getStorageDataListFieldBuilder() { if (storageDataListBuilder_ == null) { storageDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodStorageData, com.byteplus.service.vod.model.business.VodStorageData.Builder, com.byteplus.service.vod.model.business.VodStorageDataOrBuilder>( storageDataList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); storageDataList_ = null; } return storageDataListBuilder_; } @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.VodDescribeVodSpaceStorageDataResult) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult) private static final com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult(); } public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodDescribeVodSpaceStorageDataResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodDescribeVodSpaceStorageDataResult(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.VodDescribeVodSpaceStorageDataResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy