Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// 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.DescribeVodSpaceDetectStatisDataResult}
*/
public final class DescribeVodSpaceDetectStatisDataResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataResult)
DescribeVodSpaceDetectStatisDataResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeVodSpaceDetectStatisDataResult.newBuilder() to construct.
private DescribeVodSpaceDetectStatisDataResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeVodSpaceDetectStatisDataResult() {
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
startTime_ = "";
endTime_ = "";
detectType_ = "";
taskStageList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
detectUsageDataList_ = java.util.Collections.emptyList();
detectUsageDataDetailList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeVodSpaceDetectStatisDataResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DescribeVodSpaceDetectStatisDataResult(
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();
detectType_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
taskStageList_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
taskStageList_.add(s);
break;
}
case 48: {
aggregation_ = input.readInt64();
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
detailFieldList_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
detailFieldList_.add(s);
break;
}
case 64: {
totalDetectUsageData_ = input.readInt64();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
detectUsageDataList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
detectUsageDataList_.add(
input.readMessage(com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataItem.parser(), extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
detectUsageDataDetailList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
detectUsageDataDetailList_.add(
input.readMessage(com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataDetail.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)) {
taskStageList_ = taskStageList_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
detailFieldList_ = detailFieldList_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
detectUsageDataList_ = java.util.Collections.unmodifiableList(detectUsageDataList_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
detectUsageDataDetailList_ = java.util.Collections.unmodifiableList(detectUsageDataDetailList_);
}
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_DescribeVodSpaceDetectStatisDataResult_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_DescribeVodSpaceDetectStatisDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.class, com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.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_;
/**
*
*
* string DetectType = 4;
* @return The bytes for detectType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDetectTypeBytes() {
java.lang.Object ref = detectType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
detectType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASKSTAGELIST_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList taskStageList_;
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @return A list containing the taskStageList.
*/
public com.google.protobuf.ProtocolStringList
getTaskStageListList() {
return taskStageList_;
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @return The count of taskStageList.
*/
public int getTaskStageListCount() {
return taskStageList_.size();
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param index The index of the element to return.
* @return The taskStageList at the given index.
*/
public java.lang.String getTaskStageList(int index) {
return taskStageList_.get(index);
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param index The index of the value to return.
* @return The bytes of the taskStageList at the given index.
*/
public com.google.protobuf.ByteString
getTaskStageListBytes(int index) {
return taskStageList_.getByteString(index);
}
public static final int AGGREGATION_FIELD_NUMBER = 6;
private long aggregation_;
/**
*
*聚合的时间粒度,单位秒,默认3600,支持3600和86400
*
*
* int64 Aggregation = 6;
* @return The aggregation.
*/
@java.lang.Override
public long getAggregation() {
return aggregation_;
}
public static final int DETAILFIELDLIST_FIELD_NUMBER = 7;
private com.google.protobuf.LazyStringList detailFieldList_;
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @return A list containing the detailFieldList.
*/
public com.google.protobuf.ProtocolStringList
getDetailFieldListList() {
return detailFieldList_;
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @return The count of detailFieldList.
*/
public int getDetailFieldListCount() {
return detailFieldList_.size();
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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);
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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 TOTALDETECTUSAGEDATA_FIELD_NUMBER = 8;
private long totalDetectUsageData_;
/**
* int64 TotalDetectUsageData = 8;
* @return The totalDetectUsageData.
*/
@java.lang.Override
public long getTotalDetectUsageData() {
return totalDetectUsageData_;
}
public static final int DETECTUSAGEDATALIST_FIELD_NUMBER = 9;
private java.util.List detectUsageDataList_;
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataItem DetectUsageDataList = 9;
*/
@java.lang.Override
public java.util.List getDetectUsageDataListList() {
return detectUsageDataList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataItem DetectUsageDataList = 9;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataItemOrBuilder>
getDetectUsageDataListOrBuilderList() {
return detectUsageDataList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataItem DetectUsageDataList = 9;
*/
@java.lang.Override
public int getDetectUsageDataListCount() {
return detectUsageDataList_.size();
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataItem DetectUsageDataList = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataItem getDetectUsageDataList(int index) {
return detectUsageDataList_.get(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataItem DetectUsageDataList = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataItemOrBuilder getDetectUsageDataListOrBuilder(
int index) {
return detectUsageDataList_.get(index);
}
public static final int DETECTUSAGEDATADETAILLIST_FIELD_NUMBER = 10;
private java.util.List detectUsageDataDetailList_;
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataDetail DetectUsageDataDetailList = 10;
*/
@java.lang.Override
public java.util.List getDetectUsageDataDetailListList() {
return detectUsageDataDetailList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataDetail DetectUsageDataDetailList = 10;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataDetailOrBuilder>
getDetectUsageDataDetailListOrBuilderList() {
return detectUsageDataDetailList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataDetail DetectUsageDataDetailList = 10;
*/
@java.lang.Override
public int getDetectUsageDataDetailListCount() {
return detectUsageDataDetailList_.size();
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataDetail DetectUsageDataDetailList = 10;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataDetail getDetectUsageDataDetailList(int index) {
return detectUsageDataDetailList_.get(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataDetail DetectUsageDataDetailList = 10;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataDetailOrBuilder getDetectUsageDataDetailListOrBuilder(
int index) {
return detectUsageDataDetailList_.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(detectType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, detectType_);
}
for (int i = 0; i < taskStageList_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, taskStageList_.getRaw(i));
}
if (aggregation_ != 0L) {
output.writeInt64(6, aggregation_);
}
for (int i = 0; i < detailFieldList_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, detailFieldList_.getRaw(i));
}
if (totalDetectUsageData_ != 0L) {
output.writeInt64(8, totalDetectUsageData_);
}
for (int i = 0; i < detectUsageDataList_.size(); i++) {
output.writeMessage(9, detectUsageDataList_.get(i));
}
for (int i = 0; i < detectUsageDataDetailList_.size(); i++) {
output.writeMessage(10, detectUsageDataDetailList_.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(detectType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, detectType_);
}
{
int dataSize = 0;
for (int i = 0; i < taskStageList_.size(); i++) {
dataSize += computeStringSizeNoTag(taskStageList_.getRaw(i));
}
size += dataSize;
size += 1 * getTaskStageListList().size();
}
if (aggregation_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, aggregation_);
}
{
int dataSize = 0;
for (int i = 0; i < detailFieldList_.size(); i++) {
dataSize += computeStringSizeNoTag(detailFieldList_.getRaw(i));
}
size += dataSize;
size += 1 * getDetailFieldListList().size();
}
if (totalDetectUsageData_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, totalDetectUsageData_);
}
for (int i = 0; i < detectUsageDataList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, detectUsageDataList_.get(i));
}
for (int i = 0; i < detectUsageDataDetailList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, detectUsageDataDetailList_.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.DescribeVodSpaceDetectStatisDataResult)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult other = (com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult) obj;
if (!getSpaceListList()
.equals(other.getSpaceListList())) return false;
if (!getStartTime()
.equals(other.getStartTime())) return false;
if (!getEndTime()
.equals(other.getEndTime())) return false;
if (!getDetectType()
.equals(other.getDetectType())) return false;
if (!getTaskStageListList()
.equals(other.getTaskStageListList())) return false;
if (getAggregation()
!= other.getAggregation()) return false;
if (!getDetailFieldListList()
.equals(other.getDetailFieldListList())) return false;
if (getTotalDetectUsageData()
!= other.getTotalDetectUsageData()) return false;
if (!getDetectUsageDataListList()
.equals(other.getDetectUsageDataListList())) return false;
if (!getDetectUsageDataDetailListList()
.equals(other.getDetectUsageDataDetailListList())) 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) + DETECTTYPE_FIELD_NUMBER;
hash = (53 * hash) + getDetectType().hashCode();
if (getTaskStageListCount() > 0) {
hash = (37 * hash) + TASKSTAGELIST_FIELD_NUMBER;
hash = (53 * hash) + getTaskStageListList().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) + TOTALDETECTUSAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalDetectUsageData());
if (getDetectUsageDataListCount() > 0) {
hash = (37 * hash) + DETECTUSAGEDATALIST_FIELD_NUMBER;
hash = (53 * hash) + getDetectUsageDataListList().hashCode();
}
if (getDetectUsageDataDetailListCount() > 0) {
hash = (37 * hash) + DETECTUSAGEDATADETAILLIST_FIELD_NUMBER;
hash = (53 * hash) + getDetectUsageDataDetailListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult 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.DescribeVodSpaceDetectStatisDataResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceDetectStatisDataResult)
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceDetectStatisDataResult_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_DescribeVodSpaceDetectStatisDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.class, com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDetectUsageDataListFieldBuilder();
getDetectUsageDataDetailListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
startTime_ = "";
endTime_ = "";
detectType_ = "";
taskStageList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
aggregation_ = 0L;
detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
totalDetectUsageData_ = 0L;
if (detectUsageDataListBuilder_ == null) {
detectUsageDataList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
detectUsageDataListBuilder_.clear();
}
if (detectUsageDataDetailListBuilder_ == null) {
detectUsageDataDetailList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
detectUsageDataDetailListBuilder_.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_DescribeVodSpaceDetectStatisDataResult_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult build() {
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult buildPartial() {
com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult result = new com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult(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.detectType_ = detectType_;
if (((bitField0_ & 0x00000002) != 0)) {
taskStageList_ = taskStageList_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.taskStageList_ = taskStageList_;
result.aggregation_ = aggregation_;
if (((bitField0_ & 0x00000004) != 0)) {
detailFieldList_ = detailFieldList_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.detailFieldList_ = detailFieldList_;
result.totalDetectUsageData_ = totalDetectUsageData_;
if (detectUsageDataListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
detectUsageDataList_ = java.util.Collections.unmodifiableList(detectUsageDataList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.detectUsageDataList_ = detectUsageDataList_;
} else {
result.detectUsageDataList_ = detectUsageDataListBuilder_.build();
}
if (detectUsageDataDetailListBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
detectUsageDataDetailList_ = java.util.Collections.unmodifiableList(detectUsageDataDetailList_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.detectUsageDataDetailList_ = detectUsageDataDetailList_;
} else {
result.detectUsageDataDetailList_ = detectUsageDataDetailListBuilder_.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.DescribeVodSpaceDetectStatisDataResult) {
return mergeFrom((com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult other) {
if (other == com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult.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.getDetectType().isEmpty()) {
detectType_ = other.detectType_;
onChanged();
}
if (!other.taskStageList_.isEmpty()) {
if (taskStageList_.isEmpty()) {
taskStageList_ = other.taskStageList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTaskStageListIsMutable();
taskStageList_.addAll(other.taskStageList_);
}
onChanged();
}
if (other.getAggregation() != 0L) {
setAggregation(other.getAggregation());
}
if (!other.detailFieldList_.isEmpty()) {
if (detailFieldList_.isEmpty()) {
detailFieldList_ = other.detailFieldList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDetailFieldListIsMutable();
detailFieldList_.addAll(other.detailFieldList_);
}
onChanged();
}
if (other.getTotalDetectUsageData() != 0L) {
setTotalDetectUsageData(other.getTotalDetectUsageData());
}
if (detectUsageDataListBuilder_ == null) {
if (!other.detectUsageDataList_.isEmpty()) {
if (detectUsageDataList_.isEmpty()) {
detectUsageDataList_ = other.detectUsageDataList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDetectUsageDataListIsMutable();
detectUsageDataList_.addAll(other.detectUsageDataList_);
}
onChanged();
}
} else {
if (!other.detectUsageDataList_.isEmpty()) {
if (detectUsageDataListBuilder_.isEmpty()) {
detectUsageDataListBuilder_.dispose();
detectUsageDataListBuilder_ = null;
detectUsageDataList_ = other.detectUsageDataList_;
bitField0_ = (bitField0_ & ~0x00000008);
detectUsageDataListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDetectUsageDataListFieldBuilder() : null;
} else {
detectUsageDataListBuilder_.addAllMessages(other.detectUsageDataList_);
}
}
}
if (detectUsageDataDetailListBuilder_ == null) {
if (!other.detectUsageDataDetailList_.isEmpty()) {
if (detectUsageDataDetailList_.isEmpty()) {
detectUsageDataDetailList_ = other.detectUsageDataDetailList_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureDetectUsageDataDetailListIsMutable();
detectUsageDataDetailList_.addAll(other.detectUsageDataDetailList_);
}
onChanged();
}
} else {
if (!other.detectUsageDataDetailList_.isEmpty()) {
if (detectUsageDataDetailListBuilder_.isEmpty()) {
detectUsageDataDetailListBuilder_.dispose();
detectUsageDataDetailListBuilder_ = null;
detectUsageDataDetailList_ = other.detectUsageDataDetailList_;
bitField0_ = (bitField0_ & ~0x00000010);
detectUsageDataDetailListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDetectUsageDataDetailListFieldBuilder() : null;
} else {
detectUsageDataDetailListBuilder_.addAllMessages(other.detectUsageDataDetailList_);
}
}
}
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.DescribeVodSpaceDetectStatisDataResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.DescribeVodSpaceDetectStatisDataResult) 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;
}
/**
*
*
* string DetectType = 4;
* @param value The bytes for detectType to set.
* @return This builder for chaining.
*/
public Builder setDetectTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
detectType_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList taskStageList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTaskStageListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
taskStageList_ = new com.google.protobuf.LazyStringArrayList(taskStageList_);
bitField0_ |= 0x00000002;
}
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @return A list containing the taskStageList.
*/
public com.google.protobuf.ProtocolStringList
getTaskStageListList() {
return taskStageList_.getUnmodifiableView();
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @return The count of taskStageList.
*/
public int getTaskStageListCount() {
return taskStageList_.size();
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param index The index of the element to return.
* @return The taskStageList at the given index.
*/
public java.lang.String getTaskStageList(int index) {
return taskStageList_.get(index);
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param index The index of the value to return.
* @return The bytes of the taskStageList at the given index.
*/
public com.google.protobuf.ByteString
getTaskStageListBytes(int index) {
return taskStageList_.getByteString(index);
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param index The index to set the value at.
* @param value The taskStageList to set.
* @return This builder for chaining.
*/
public Builder setTaskStageList(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTaskStageListIsMutable();
taskStageList_.set(index, value);
onChanged();
return this;
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param value The taskStageList to add.
* @return This builder for chaining.
*/
public Builder addTaskStageList(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTaskStageListIsMutable();
taskStageList_.add(value);
onChanged();
return this;
}
/**
*
* 闲忙时: busy/free
*
*
* repeated string TaskStageList = 5;
* @param values The taskStageList to add.
* @return This builder for chaining.
*/
public Builder addAllTaskStageList(
java.lang.Iterable values) {
ensureTaskStageListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, taskStageList_);
onChanged();
return this;
}
/**
*
*
* repeated string TaskStageList = 5;
* @param value The bytes of the taskStageList to add.
* @return This builder for chaining.
*/
public Builder addTaskStageListBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTaskStageListIsMutable();
taskStageList_.add(value);
onChanged();
return this;
}
private long aggregation_ ;
/**
*
*聚合的时间粒度,单位秒,默认3600,支持3600和86400
*
*
* int64 Aggregation = 6;
* @return The aggregation.
*/
@java.lang.Override
public long getAggregation() {
return aggregation_;
}
/**
*
*聚合的时间粒度,单位秒,默认3600,支持3600和86400
*
*
* int64 Aggregation = 6;
* @param value The aggregation to set.
* @return This builder for chaining.
*/
public Builder setAggregation(long value) {
aggregation_ = value;
onChanged();
return this;
}
/**
*
*
* repeated string DetailFieldList = 7;
* @return A list containing the detailFieldList.
*/
public com.google.protobuf.ProtocolStringList
getDetailFieldListList() {
return detailFieldList_.getUnmodifiableView();
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @return The count of detailFieldList.
*/
public int getDetailFieldListCount() {
return detailFieldList_.size();
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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);
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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);
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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;
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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;
}
/**
*
* 展示详细信息的维度,取值:TaskStage、Space
*
*
* repeated string DetailFieldList = 7;
* @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;
}
/**
*