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_cdn.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.CdnUsageDataItem}
*/
public final class CdnUsageDataItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.CdnUsageDataItem)
CdnUsageDataItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use CdnUsageDataItem.newBuilder() to construct.
private CdnUsageDataItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private CdnUsageDataItem() {
area_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CdnUsageDataItem();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CdnUsageDataItem(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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 8: {
time_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
area_ = s;
break;
}
case 24: {
flow_ = input.readInt64();
break;
}
case 32: {
httpFlow_ = input.readInt64();
break;
}
case 40: {
httpsFlow_ = input.readInt64();
break;
}
case 48: {
conn_ = input.readInt64();
break;
}
case 56: {
httpConn_ = input.readInt64();
break;
}
case 64: {
httpsConn_ = input.readInt64();
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_CdnUsageDataItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_CdnUsageDataItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.CdnUsageDataItem.class, com.byteplus.service.vod.model.business.CdnUsageDataItem.Builder.class);
}
public static final int TIME_FIELD_NUMBER = 1;
private long time_;
/**
*
* 时间戳
*
*
* int64 Time = 1;
* @return The time.
*/
@java.lang.Override
public long getTime() {
return time_;
}
public static final int AREA_FIELD_NUMBER = 2;
private volatile java.lang.Object area_;
/**
*
* 国家/地区
*
*
* string Area = 2;
* @return The area.
*/
@java.lang.Override
public java.lang.String getArea() {
java.lang.Object ref = area_;
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();
area_ = s;
return s;
}
}
/**
*
* 国家/地区
*
*
* string Area = 2;
* @return The bytes for area.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAreaBytes() {
java.lang.Object ref = area_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
area_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLOW_FIELD_NUMBER = 3;
private long flow_;
/**
*
* 流量,单位:Byte
*
*
* int64 Flow = 3;
* @return The flow.
*/
@java.lang.Override
public long getFlow() {
return flow_;
}
public static final int HTTPFLOW_FIELD_NUMBER = 4;
private long httpFlow_;
/**
*
* http流量,单位: Byte
*
*
* int64 HttpFlow = 4;
* @return The httpFlow.
*/
@java.lang.Override
public long getHttpFlow() {
return httpFlow_;
}
public static final int HTTPSFLOW_FIELD_NUMBER = 5;
private long httpsFlow_;
/**
*
* https流量,单位: Byte
*
*
* int64 HttpsFlow = 5;
* @return The httpsFlow.
*/
@java.lang.Override
public long getHttpsFlow() {
return httpsFlow_;
}
public static final int CONN_FIELD_NUMBER = 6;
private long conn_;
/**
*
* 请求数
*
*
* int64 Conn = 6;
* @return The conn.
*/
@java.lang.Override
public long getConn() {
return conn_;
}
public static final int HTTPCONN_FIELD_NUMBER = 7;
private long httpConn_;
/**
*
* http请求数
*
*
* int64 HttpConn = 7;
* @return The httpConn.
*/
@java.lang.Override
public long getHttpConn() {
return httpConn_;
}
public static final int HTTPSCONN_FIELD_NUMBER = 8;
private long httpsConn_;
/**
*
*
* int64 Time = 1;
* @return The time.
*/
@java.lang.Override
public long getTime() {
return time_;
}
/**
*
* 时间戳
*
*
* int64 Time = 1;
* @param value The time to set.
* @return This builder for chaining.
*/
public Builder setTime(long value) {
time_ = value;
onChanged();
return this;
}
/**
*
* 时间戳
*
*
* int64 Time = 1;
* @return This builder for chaining.
*/
public Builder clearTime() {
time_ = 0L;
onChanged();
return this;
}
private java.lang.Object area_ = "";
/**
*
* 国家/地区
*
*
* string Area = 2;
* @return The area.
*/
public java.lang.String getArea() {
java.lang.Object ref = area_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
area_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 国家/地区
*
*
* string Area = 2;
* @return The bytes for area.
*/
public com.google.protobuf.ByteString
getAreaBytes() {
java.lang.Object ref = area_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
area_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 国家/地区
*
*
* string Area = 2;
* @param value The area to set.
* @return This builder for chaining.
*/
public Builder setArea(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
area_ = value;
onChanged();
return this;
}
/**
*
* 国家/地区
*
*
* string Area = 2;
* @return This builder for chaining.
*/
public Builder clearArea() {
area_ = getDefaultInstance().getArea();
onChanged();
return this;
}
/**
*
* 国家/地区
*
*
* string Area = 2;
* @param value The bytes for area to set.
* @return This builder for chaining.
*/
public Builder setAreaBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
area_ = value;
onChanged();
return this;
}
private long flow_ ;
/**
*
* 流量,单位:Byte
*
*
* int64 Flow = 3;
* @return The flow.
*/
@java.lang.Override
public long getFlow() {
return flow_;
}
/**
*
* 流量,单位:Byte
*
*
* int64 Flow = 3;
* @param value The flow to set.
* @return This builder for chaining.
*/
public Builder setFlow(long value) {
flow_ = value;
onChanged();
return this;
}
/**
*
* 流量,单位:Byte
*
*
* int64 Flow = 3;
* @return This builder for chaining.
*/
public Builder clearFlow() {
flow_ = 0L;
onChanged();
return this;
}
private long httpFlow_ ;
/**
*
* http流量,单位: Byte
*
*
* int64 HttpFlow = 4;
* @return The httpFlow.
*/
@java.lang.Override
public long getHttpFlow() {
return httpFlow_;
}
/**
*
* http流量,单位: Byte
*
*
* int64 HttpFlow = 4;
* @param value The httpFlow to set.
* @return This builder for chaining.
*/
public Builder setHttpFlow(long value) {
httpFlow_ = value;
onChanged();
return this;
}
/**
*
* http流量,单位: Byte
*
*
* int64 HttpFlow = 4;
* @return This builder for chaining.
*/
public Builder clearHttpFlow() {
httpFlow_ = 0L;
onChanged();
return this;
}
private long httpsFlow_ ;
/**
*
* https流量,单位: Byte
*
*
* int64 HttpsFlow = 5;
* @return The httpsFlow.
*/
@java.lang.Override
public long getHttpsFlow() {
return httpsFlow_;
}
/**
*
* https流量,单位: Byte
*
*
* int64 HttpsFlow = 5;
* @param value The httpsFlow to set.
* @return This builder for chaining.
*/
public Builder setHttpsFlow(long value) {
httpsFlow_ = value;
onChanged();
return this;
}
/**
*
* https流量,单位: Byte
*
*
* int64 HttpsFlow = 5;
* @return This builder for chaining.
*/
public Builder clearHttpsFlow() {
httpsFlow_ = 0L;
onChanged();
return this;
}
private long conn_ ;
/**
*
* 请求数
*
*
* int64 Conn = 6;
* @return The conn.
*/
@java.lang.Override
public long getConn() {
return conn_;
}
/**
*
* 请求数
*
*
* int64 Conn = 6;
* @param value The conn to set.
* @return This builder for chaining.
*/
public Builder setConn(long value) {
conn_ = value;
onChanged();
return this;
}
/**
*
* 请求数
*
*
* int64 Conn = 6;
* @return This builder for chaining.
*/
public Builder clearConn() {
conn_ = 0L;
onChanged();
return this;
}
private long httpConn_ ;
/**
*
* http请求数
*
*
* int64 HttpConn = 7;
* @return The httpConn.
*/
@java.lang.Override
public long getHttpConn() {
return httpConn_;
}
/**
*
* http请求数
*
*
* int64 HttpConn = 7;
* @param value The httpConn to set.
* @return This builder for chaining.
*/
public Builder setHttpConn(long value) {
httpConn_ = value;
onChanged();
return this;
}
/**
*
* http请求数
*
*
* int64 HttpConn = 7;
* @return This builder for chaining.
*/
public Builder clearHttpConn() {
httpConn_ = 0L;
onChanged();
return this;
}
private long httpsConn_ ;
/**
*
* https请求数
*
*
* int64 HttpsConn = 8;
* @return The httpsConn.
*/
@java.lang.Override
public long getHttpsConn() {
return httpsConn_;
}
/**
*
* https请求数
*
*
* int64 HttpsConn = 8;
* @param value The httpsConn to set.
* @return This builder for chaining.
*/
public Builder setHttpsConn(long value) {
httpsConn_ = value;
onChanged();
return this;
}
/**
*
* https请求数
*
*
* int64 HttpsConn = 8;
* @return This builder for chaining.
*/
public Builder clearHttpsConn() {
httpsConn_ = 0L;
onChanged();
return this;
}
@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.CdnUsageDataItem)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.CdnUsageDataItem)
private static final com.byteplus.service.vod.model.business.CdnUsageDataItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.CdnUsageDataItem();
}
public static com.byteplus.service.vod.model.business.CdnUsageDataItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CdnUsageDataItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CdnUsageDataItem(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.CdnUsageDataItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}