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.DescribeVodSpaceAIStatisDataResult}
*/
public final class DescribeVodSpaceAIStatisDataResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataResult)
DescribeVodSpaceAIStatisDataResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeVodSpaceAIStatisDataResult.newBuilder() to construct.
private DescribeVodSpaceAIStatisDataResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeVodSpaceAIStatisDataResult() {
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
startTime_ = "";
endTime_ = "";
mediaAiType_ = "";
taskStageList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
aiUsageDataList_ = java.util.Collections.emptyList();
aiUsageDataDetailList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeVodSpaceAIStatisDataResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DescribeVodSpaceAIStatisDataResult(
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();
mediaAiType_ = 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: {
totalAiUsageData_ = input.readInt64();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
aiUsageDataList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
aiUsageDataList_.add(
input.readMessage(com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataItem.parser(), extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
aiUsageDataDetailList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
aiUsageDataDetailList_.add(
input.readMessage(com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataDetail.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)) {
aiUsageDataList_ = java.util.Collections.unmodifiableList(aiUsageDataList_);
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
aiUsageDataDetailList_ = java.util.Collections.unmodifiableList(aiUsageDataDetailList_);
}
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_DescribeVodSpaceAIStatisDataResult_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_DescribeVodSpaceAIStatisDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.class, com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.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 MediaAiType = 4;
* @return The bytes for mediaAiType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMediaAiTypeBytes() {
java.lang.Object ref = mediaAiType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mediaAiType_ = 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 TOTALAIUSAGEDATA_FIELD_NUMBER = 8;
private long totalAiUsageData_;
/**
* int64 TotalAiUsageData = 8;
* @return The totalAiUsageData.
*/
@java.lang.Override
public long getTotalAiUsageData() {
return totalAiUsageData_;
}
public static final int AIUSAGEDATALIST_FIELD_NUMBER = 9;
private java.util.List aiUsageDataList_;
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataItem AiUsageDataList = 9;
*/
@java.lang.Override
public java.util.List getAiUsageDataListList() {
return aiUsageDataList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataItem AiUsageDataList = 9;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataItemOrBuilder>
getAiUsageDataListOrBuilderList() {
return aiUsageDataList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataItem AiUsageDataList = 9;
*/
@java.lang.Override
public int getAiUsageDataListCount() {
return aiUsageDataList_.size();
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataItem AiUsageDataList = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataItem getAiUsageDataList(int index) {
return aiUsageDataList_.get(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataItem AiUsageDataList = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataItemOrBuilder getAiUsageDataListOrBuilder(
int index) {
return aiUsageDataList_.get(index);
}
public static final int AIUSAGEDATADETAILLIST_FIELD_NUMBER = 10;
private java.util.List aiUsageDataDetailList_;
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataDetail AiUsageDataDetailList = 10;
*/
@java.lang.Override
public java.util.List getAiUsageDataDetailListList() {
return aiUsageDataDetailList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataDetail AiUsageDataDetailList = 10;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataDetailOrBuilder>
getAiUsageDataDetailListOrBuilderList() {
return aiUsageDataDetailList_;
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataDetail AiUsageDataDetailList = 10;
*/
@java.lang.Override
public int getAiUsageDataDetailListCount() {
return aiUsageDataDetailList_.size();
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataDetail AiUsageDataDetailList = 10;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataDetail getAiUsageDataDetailList(int index) {
return aiUsageDataDetailList_.get(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataDetail AiUsageDataDetailList = 10;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataDetailOrBuilder getAiUsageDataDetailListOrBuilder(
int index) {
return aiUsageDataDetailList_.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(mediaAiType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, mediaAiType_);
}
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 (totalAiUsageData_ != 0L) {
output.writeInt64(8, totalAiUsageData_);
}
for (int i = 0; i < aiUsageDataList_.size(); i++) {
output.writeMessage(9, aiUsageDataList_.get(i));
}
for (int i = 0; i < aiUsageDataDetailList_.size(); i++) {
output.writeMessage(10, aiUsageDataDetailList_.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(mediaAiType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mediaAiType_);
}
{
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 (totalAiUsageData_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, totalAiUsageData_);
}
for (int i = 0; i < aiUsageDataList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, aiUsageDataList_.get(i));
}
for (int i = 0; i < aiUsageDataDetailList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, aiUsageDataDetailList_.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.DescribeVodSpaceAIStatisDataResult)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult other = (com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult) obj;
if (!getSpaceListList()
.equals(other.getSpaceListList())) return false;
if (!getStartTime()
.equals(other.getStartTime())) return false;
if (!getEndTime()
.equals(other.getEndTime())) return false;
if (!getMediaAiType()
.equals(other.getMediaAiType())) return false;
if (!getTaskStageListList()
.equals(other.getTaskStageListList())) return false;
if (getAggregation()
!= other.getAggregation()) return false;
if (!getDetailFieldListList()
.equals(other.getDetailFieldListList())) return false;
if (getTotalAiUsageData()
!= other.getTotalAiUsageData()) return false;
if (!getAiUsageDataListList()
.equals(other.getAiUsageDataListList())) return false;
if (!getAiUsageDataDetailListList()
.equals(other.getAiUsageDataDetailListList())) 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) + MEDIAAITYPE_FIELD_NUMBER;
hash = (53 * hash) + getMediaAiType().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) + TOTALAIUSAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalAiUsageData());
if (getAiUsageDataListCount() > 0) {
hash = (37 * hash) + AIUSAGEDATALIST_FIELD_NUMBER;
hash = (53 * hash) + getAiUsageDataListList().hashCode();
}
if (getAiUsageDataDetailListCount() > 0) {
hash = (37 * hash) + AIUSAGEDATADETAILLIST_FIELD_NUMBER;
hash = (53 * hash) + getAiUsageDataDetailListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult 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.DescribeVodSpaceAIStatisDataResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceAIStatisDataResult)
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceAIStatisDataResult_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_DescribeVodSpaceAIStatisDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.class, com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAiUsageDataListFieldBuilder();
getAiUsageDataDetailListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
startTime_ = "";
endTime_ = "";
mediaAiType_ = "";
taskStageList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
aggregation_ = 0L;
detailFieldList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
totalAiUsageData_ = 0L;
if (aiUsageDataListBuilder_ == null) {
aiUsageDataList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
aiUsageDataListBuilder_.clear();
}
if (aiUsageDataDetailListBuilder_ == null) {
aiUsageDataDetailList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
aiUsageDataDetailListBuilder_.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_DescribeVodSpaceAIStatisDataResult_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult build() {
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult buildPartial() {
com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult result = new com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult(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.mediaAiType_ = mediaAiType_;
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.totalAiUsageData_ = totalAiUsageData_;
if (aiUsageDataListBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
aiUsageDataList_ = java.util.Collections.unmodifiableList(aiUsageDataList_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.aiUsageDataList_ = aiUsageDataList_;
} else {
result.aiUsageDataList_ = aiUsageDataListBuilder_.build();
}
if (aiUsageDataDetailListBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
aiUsageDataDetailList_ = java.util.Collections.unmodifiableList(aiUsageDataDetailList_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.aiUsageDataDetailList_ = aiUsageDataDetailList_;
} else {
result.aiUsageDataDetailList_ = aiUsageDataDetailListBuilder_.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.DescribeVodSpaceAIStatisDataResult) {
return mergeFrom((com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult other) {
if (other == com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult.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.getMediaAiType().isEmpty()) {
mediaAiType_ = other.mediaAiType_;
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.getTotalAiUsageData() != 0L) {
setTotalAiUsageData(other.getTotalAiUsageData());
}
if (aiUsageDataListBuilder_ == null) {
if (!other.aiUsageDataList_.isEmpty()) {
if (aiUsageDataList_.isEmpty()) {
aiUsageDataList_ = other.aiUsageDataList_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureAiUsageDataListIsMutable();
aiUsageDataList_.addAll(other.aiUsageDataList_);
}
onChanged();
}
} else {
if (!other.aiUsageDataList_.isEmpty()) {
if (aiUsageDataListBuilder_.isEmpty()) {
aiUsageDataListBuilder_.dispose();
aiUsageDataListBuilder_ = null;
aiUsageDataList_ = other.aiUsageDataList_;
bitField0_ = (bitField0_ & ~0x00000008);
aiUsageDataListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAiUsageDataListFieldBuilder() : null;
} else {
aiUsageDataListBuilder_.addAllMessages(other.aiUsageDataList_);
}
}
}
if (aiUsageDataDetailListBuilder_ == null) {
if (!other.aiUsageDataDetailList_.isEmpty()) {
if (aiUsageDataDetailList_.isEmpty()) {
aiUsageDataDetailList_ = other.aiUsageDataDetailList_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureAiUsageDataDetailListIsMutable();
aiUsageDataDetailList_.addAll(other.aiUsageDataDetailList_);
}
onChanged();
}
} else {
if (!other.aiUsageDataDetailList_.isEmpty()) {
if (aiUsageDataDetailListBuilder_.isEmpty()) {
aiUsageDataDetailListBuilder_.dispose();
aiUsageDataDetailListBuilder_ = null;
aiUsageDataDetailList_ = other.aiUsageDataDetailList_;
bitField0_ = (bitField0_ & ~0x00000010);
aiUsageDataDetailListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAiUsageDataDetailListFieldBuilder() : null;
} else {
aiUsageDataDetailListBuilder_.addAllMessages(other.aiUsageDataDetailList_);
}
}
}
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.DescribeVodSpaceAIStatisDataResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.DescribeVodSpaceAIStatisDataResult) 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 MediaAiType = 4;
* @param value The bytes for mediaAiType to set.
* @return This builder for chaining.
*/
public Builder setMediaAiTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
mediaAiType_ = 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;
}
/**
*