Please wait. This can take some minutes ...
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.
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/request/request_vod.proto
package com.byteplus.service.vod.model.request;
/**
* Protobuf type {@code Byteplus.Vod.Models.Request.VodListCdnUsageDataRequest}
*/
public final class VodListCdnUsageDataRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Request.VodListCdnUsageDataRequest)
VodListCdnUsageDataRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodListCdnUsageDataRequest.newBuilder() to construct.
private VodListCdnUsageDataRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodListCdnUsageDataRequest() {
domains_ = "";
interval_ = "";
dataType_ = "";
metric_ = "";
area_ = "";
region_ = "";
isp_ = "";
protocol_ = "";
ipVersion_ = "";
billingRegion_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodListCdnUsageDataRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodListCdnUsageDataRequest(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
domains_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
interval_ = s;
break;
}
case 24: {
startTimestamp_ = input.readInt64();
break;
}
case 32: {
endTimestamp_ = input.readInt64();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
dataType_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
metric_ = s;
break;
}
case 56: {
needDetail_ = input.readBool();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
area_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
region_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
isp_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
protocol_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
ipVersion_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
billingRegion_ = s;
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.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodListCdnUsageDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodListCdnUsageDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.class, com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.Builder.class);
}
public static final int DOMAINS_FIELD_NUMBER = 1;
private volatile java.lang.Object domains_;
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @return The domains.
*/
@java.lang.Override
public java.lang.String getDomains() {
java.lang.Object ref = domains_;
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();
domains_ = s;
return s;
}
}
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @return The bytes for domains.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainsBytes() {
java.lang.Object ref = domains_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domains_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERVAL_FIELD_NUMBER = 2;
private volatile java.lang.Object interval_;
/**
*
* 聚合度
*
*
* string Interval = 2;
* @return The interval.
*/
@java.lang.Override
public java.lang.String getInterval() {
java.lang.Object ref = interval_;
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();
interval_ = s;
return s;
}
}
/**
*
* 聚合度
*
*
* string Interval = 2;
* @return The bytes for interval.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIntervalBytes() {
java.lang.Object ref = interval_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
interval_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIMESTAMP_FIELD_NUMBER = 3;
private long startTimestamp_;
/**
*
* 查询范围起始时间
*
*
* int64 StartTimestamp = 3;
* @return The startTimestamp.
*/
@java.lang.Override
public long getStartTimestamp() {
return startTimestamp_;
}
public static final int ENDTIMESTAMP_FIELD_NUMBER = 4;
private long endTimestamp_;
/**
*
* 查询范围截止时间
*
*
* int64 EndTimestamp = 4;
* @return The endTimestamp.
*/
@java.lang.Override
public long getEndTimestamp() {
return endTimestamp_;
}
public static final int DATATYPE_FIELD_NUMBER = 5;
private volatile java.lang.Object dataType_;
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @return The dataType.
*/
@java.lang.Override
public java.lang.String getDataType() {
java.lang.Object ref = dataType_;
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();
dataType_ = s;
return s;
}
}
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @return The bytes for dataType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataTypeBytes() {
java.lang.Object ref = dataType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int METRIC_FIELD_NUMBER = 6;
private volatile java.lang.Object metric_;
/**
*
* 指标类别
*
*
* string Metric = 6;
* @return The metric.
*/
@java.lang.Override
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
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();
metric_ = s;
return s;
}
}
/**
*
* 指标类别
*
*
* string Metric = 6;
* @return The bytes for metric.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDDETAIL_FIELD_NUMBER = 7;
private boolean needDetail_;
/**
* bool NeedDetail = 7;
* @return The needDetail.
*/
@java.lang.Override
public boolean getNeedDetail() {
return needDetail_;
}
public static final int AREA_FIELD_NUMBER = 8;
private volatile java.lang.Object area_;
/**
* string Area = 8;
* @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 = 8;
* @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 REGION_FIELD_NUMBER = 9;
private volatile java.lang.Object region_;
/**
* string Region = 9;
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
region_ = s;
return s;
}
}
/**
* string Region = 9;
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISP_FIELD_NUMBER = 10;
private volatile java.lang.Object isp_;
/**
* string Isp = 10;
* @return The isp.
*/
@java.lang.Override
public java.lang.String getIsp() {
java.lang.Object ref = isp_;
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();
isp_ = s;
return s;
}
}
/**
* string Isp = 10;
* @return The bytes for isp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIspBytes() {
java.lang.Object ref = isp_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROTOCOL_FIELD_NUMBER = 11;
private volatile java.lang.Object protocol_;
/**
* string Protocol = 11;
* @return The protocol.
*/
@java.lang.Override
public java.lang.String getProtocol() {
java.lang.Object ref = protocol_;
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();
protocol_ = s;
return s;
}
}
/**
* string Protocol = 11;
* @return The bytes for protocol.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getProtocolBytes() {
java.lang.Object ref = protocol_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
protocol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IPVERSION_FIELD_NUMBER = 12;
private volatile java.lang.Object ipVersion_;
/**
* string IpVersion = 12;
* @return The ipVersion.
*/
@java.lang.Override
public java.lang.String getIpVersion() {
java.lang.Object ref = ipVersion_;
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();
ipVersion_ = s;
return s;
}
}
/**
* string IpVersion = 12;
* @return The bytes for ipVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpVersionBytes() {
java.lang.Object ref = ipVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ipVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BILLINGREGION_FIELD_NUMBER = 13;
private volatile java.lang.Object billingRegion_;
/**
* string BillingRegion = 13;
* @return The billingRegion.
*/
@java.lang.Override
public java.lang.String getBillingRegion() {
java.lang.Object ref = billingRegion_;
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();
billingRegion_ = s;
return s;
}
}
/**
* string BillingRegion = 13;
* @return The bytes for billingRegion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBillingRegionBytes() {
java.lang.Object ref = billingRegion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
billingRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domains_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domains_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interval_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, interval_);
}
if (startTimestamp_ != 0L) {
output.writeInt64(3, startTimestamp_);
}
if (endTimestamp_ != 0L) {
output.writeInt64(4, endTimestamp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, metric_);
}
if (needDetail_ != false) {
output.writeBool(7, needDetail_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, area_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, region_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, isp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, protocol_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipVersion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, ipVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billingRegion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, billingRegion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domains_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domains_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interval_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, interval_);
}
if (startTimestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, startTimestamp_);
}
if (endTimestamp_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, endTimestamp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, metric_);
}
if (needDetail_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, needDetail_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, area_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, region_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, isp_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, protocol_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipVersion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, ipVersion_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billingRegion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, billingRegion_);
}
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.request.VodListCdnUsageDataRequest)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest other = (com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest) obj;
if (!getDomains()
.equals(other.getDomains())) return false;
if (!getInterval()
.equals(other.getInterval())) return false;
if (getStartTimestamp()
!= other.getStartTimestamp()) return false;
if (getEndTimestamp()
!= other.getEndTimestamp()) return false;
if (!getDataType()
.equals(other.getDataType())) return false;
if (!getMetric()
.equals(other.getMetric())) return false;
if (getNeedDetail()
!= other.getNeedDetail()) return false;
if (!getArea()
.equals(other.getArea())) return false;
if (!getRegion()
.equals(other.getRegion())) return false;
if (!getIsp()
.equals(other.getIsp())) return false;
if (!getProtocol()
.equals(other.getProtocol())) return false;
if (!getIpVersion()
.equals(other.getIpVersion())) return false;
if (!getBillingRegion()
.equals(other.getBillingRegion())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DOMAINS_FIELD_NUMBER;
hash = (53 * hash) + getDomains().hashCode();
hash = (37 * hash) + INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getInterval().hashCode();
hash = (37 * hash) + STARTTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimestamp());
hash = (37 * hash) + ENDTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTimestamp());
hash = (37 * hash) + DATATYPE_FIELD_NUMBER;
hash = (53 * hash) + getDataType().hashCode();
hash = (37 * hash) + METRIC_FIELD_NUMBER;
hash = (53 * hash) + getMetric().hashCode();
hash = (37 * hash) + NEEDDETAIL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNeedDetail());
hash = (37 * hash) + AREA_FIELD_NUMBER;
hash = (53 * hash) + getArea().hashCode();
hash = (37 * hash) + REGION_FIELD_NUMBER;
hash = (53 * hash) + getRegion().hashCode();
hash = (37 * hash) + ISP_FIELD_NUMBER;
hash = (53 * hash) + getIsp().hashCode();
hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
hash = (53 * hash) + getProtocol().hashCode();
hash = (37 * hash) + IPVERSION_FIELD_NUMBER;
hash = (53 * hash) + getIpVersion().hashCode();
hash = (37 * hash) + BILLINGREGION_FIELD_NUMBER;
hash = (53 * hash) + getBillingRegion().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest 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.request.VodListCdnUsageDataRequest 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.Request.VodListCdnUsageDataRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Request.VodListCdnUsageDataRequest)
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodListCdnUsageDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodListCdnUsageDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.class, com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.Builder.class);
}
// Construct using com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
domains_ = "";
interval_ = "";
startTimestamp_ = 0L;
endTimestamp_ = 0L;
dataType_ = "";
metric_ = "";
needDetail_ = false;
area_ = "";
region_ = "";
isp_ = "";
protocol_ = "";
ipVersion_ = "";
billingRegion_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodListCdnUsageDataRequest_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest getDefaultInstanceForType() {
return com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest build() {
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest buildPartial() {
com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest result = new com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest(this);
result.domains_ = domains_;
result.interval_ = interval_;
result.startTimestamp_ = startTimestamp_;
result.endTimestamp_ = endTimestamp_;
result.dataType_ = dataType_;
result.metric_ = metric_;
result.needDetail_ = needDetail_;
result.area_ = area_;
result.region_ = region_;
result.isp_ = isp_;
result.protocol_ = protocol_;
result.ipVersion_ = ipVersion_;
result.billingRegion_ = billingRegion_;
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.request.VodListCdnUsageDataRequest) {
return mergeFrom((com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest other) {
if (other == com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest.getDefaultInstance()) return this;
if (!other.getDomains().isEmpty()) {
domains_ = other.domains_;
onChanged();
}
if (!other.getInterval().isEmpty()) {
interval_ = other.interval_;
onChanged();
}
if (other.getStartTimestamp() != 0L) {
setStartTimestamp(other.getStartTimestamp());
}
if (other.getEndTimestamp() != 0L) {
setEndTimestamp(other.getEndTimestamp());
}
if (!other.getDataType().isEmpty()) {
dataType_ = other.dataType_;
onChanged();
}
if (!other.getMetric().isEmpty()) {
metric_ = other.metric_;
onChanged();
}
if (other.getNeedDetail() != false) {
setNeedDetail(other.getNeedDetail());
}
if (!other.getArea().isEmpty()) {
area_ = other.area_;
onChanged();
}
if (!other.getRegion().isEmpty()) {
region_ = other.region_;
onChanged();
}
if (!other.getIsp().isEmpty()) {
isp_ = other.isp_;
onChanged();
}
if (!other.getProtocol().isEmpty()) {
protocol_ = other.protocol_;
onChanged();
}
if (!other.getIpVersion().isEmpty()) {
ipVersion_ = other.ipVersion_;
onChanged();
}
if (!other.getBillingRegion().isEmpty()) {
billingRegion_ = other.billingRegion_;
onChanged();
}
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.request.VodListCdnUsageDataRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object domains_ = "";
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @return The domains.
*/
public java.lang.String getDomains() {
java.lang.Object ref = domains_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domains_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @return The bytes for domains.
*/
public com.google.protobuf.ByteString
getDomainsBytes() {
java.lang.Object ref = domains_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domains_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @param value The domains to set.
* @return This builder for chaining.
*/
public Builder setDomains(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domains_ = value;
onChanged();
return this;
}
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @return This builder for chaining.
*/
public Builder clearDomains() {
domains_ = getDefaultInstance().getDomains();
onChanged();
return this;
}
/**
*
* 域名,多个用逗号隔开
*
*
* string Domains = 1;
* @param value The bytes for domains to set.
* @return This builder for chaining.
*/
public Builder setDomainsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domains_ = value;
onChanged();
return this;
}
private java.lang.Object interval_ = "";
/**
*
* 聚合度
*
*
* string Interval = 2;
* @return The interval.
*/
public java.lang.String getInterval() {
java.lang.Object ref = interval_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
interval_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 聚合度
*
*
* string Interval = 2;
* @return The bytes for interval.
*/
public com.google.protobuf.ByteString
getIntervalBytes() {
java.lang.Object ref = interval_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
interval_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 聚合度
*
*
* string Interval = 2;
* @param value The interval to set.
* @return This builder for chaining.
*/
public Builder setInterval(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
interval_ = value;
onChanged();
return this;
}
/**
*
* 聚合度
*
*
* string Interval = 2;
* @return This builder for chaining.
*/
public Builder clearInterval() {
interval_ = getDefaultInstance().getInterval();
onChanged();
return this;
}
/**
*
* 聚合度
*
*
* string Interval = 2;
* @param value The bytes for interval to set.
* @return This builder for chaining.
*/
public Builder setIntervalBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
interval_ = value;
onChanged();
return this;
}
private long startTimestamp_ ;
/**
*
* 查询范围起始时间
*
*
* int64 StartTimestamp = 3;
* @return The startTimestamp.
*/
@java.lang.Override
public long getStartTimestamp() {
return startTimestamp_;
}
/**
*
* 查询范围起始时间
*
*
* int64 StartTimestamp = 3;
* @param value The startTimestamp to set.
* @return This builder for chaining.
*/
public Builder setStartTimestamp(long value) {
startTimestamp_ = value;
onChanged();
return this;
}
/**
*
* 查询范围起始时间
*
*
* int64 StartTimestamp = 3;
* @return This builder for chaining.
*/
public Builder clearStartTimestamp() {
startTimestamp_ = 0L;
onChanged();
return this;
}
private long endTimestamp_ ;
/**
*
* 查询范围截止时间
*
*
* int64 EndTimestamp = 4;
* @return The endTimestamp.
*/
@java.lang.Override
public long getEndTimestamp() {
return endTimestamp_;
}
/**
*
* 查询范围截止时间
*
*
* int64 EndTimestamp = 4;
* @param value The endTimestamp to set.
* @return This builder for chaining.
*/
public Builder setEndTimestamp(long value) {
endTimestamp_ = value;
onChanged();
return this;
}
/**
*
* 查询范围截止时间
*
*
* int64 EndTimestamp = 4;
* @return This builder for chaining.
*/
public Builder clearEndTimestamp() {
endTimestamp_ = 0L;
onChanged();
return this;
}
private java.lang.Object dataType_ = "";
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @return The dataType.
*/
public java.lang.String getDataType() {
java.lang.Object ref = dataType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @return The bytes for dataType.
*/
public com.google.protobuf.ByteString
getDataTypeBytes() {
java.lang.Object ref = dataType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @param value The dataType to set.
* @return This builder for chaining.
*/
public Builder setDataType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataType_ = value;
onChanged();
return this;
}
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @return This builder for chaining.
*/
public Builder clearDataType() {
dataType_ = getDefaultInstance().getDataType();
onChanged();
return this;
}
/**
*
* 统计数据类别
*
*
* string DataType = 5;
* @param value The bytes for dataType to set.
* @return This builder for chaining.
*/
public Builder setDataTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataType_ = value;
onChanged();
return this;
}
private java.lang.Object metric_ = "";
/**
*
* 指标类别
*
*
* string Metric = 6;
* @return The metric.
*/
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metric_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 指标类别
*
*
* string Metric = 6;
* @return The bytes for metric.
*/
public com.google.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 指标类别
*
*
* string Metric = 6;
* @param value The metric to set.
* @return This builder for chaining.
*/
public Builder setMetric(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
metric_ = value;
onChanged();
return this;
}
/**
*
* 指标类别
*
*
* string Metric = 6;
* @return This builder for chaining.
*/
public Builder clearMetric() {
metric_ = getDefaultInstance().getMetric();
onChanged();
return this;
}
/**
*
* 指标类别
*
*
* string Metric = 6;
* @param value The bytes for metric to set.
* @return This builder for chaining.
*/
public Builder setMetricBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
metric_ = value;
onChanged();
return this;
}
private boolean needDetail_ ;
/**
* bool NeedDetail = 7;
* @return The needDetail.
*/
@java.lang.Override
public boolean getNeedDetail() {
return needDetail_;
}
/**
* bool NeedDetail = 7;
* @param value The needDetail to set.
* @return This builder for chaining.
*/
public Builder setNeedDetail(boolean value) {
needDetail_ = value;
onChanged();
return this;
}
/**
* bool NeedDetail = 7;
* @return This builder for chaining.
*/
public Builder clearNeedDetail() {
needDetail_ = false;
onChanged();
return this;
}
private java.lang.Object area_ = "";
/**
* string Area = 8;
* @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 = 8;
* @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 = 8;
* @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 = 8;
* @return This builder for chaining.
*/
public Builder clearArea() {
area_ = getDefaultInstance().getArea();
onChanged();
return this;
}
/**
* string Area = 8;
* @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 java.lang.Object region_ = "";
/**
* string Region = 9;
* @return The region.
*/
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
region_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Region = 9;
* @return The bytes for region.
*/
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Region = 9;
* @param value The region to set.
* @return This builder for chaining.
*/
public Builder setRegion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
region_ = value;
onChanged();
return this;
}
/**
* string Region = 9;
* @return This builder for chaining.
*/
public Builder clearRegion() {
region_ = getDefaultInstance().getRegion();
onChanged();
return this;
}
/**
* string Region = 9;
* @param value The bytes for region to set.
* @return This builder for chaining.
*/
public Builder setRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
region_ = value;
onChanged();
return this;
}
private java.lang.Object isp_ = "";
/**
* string Isp = 10;
* @return The isp.
*/
public java.lang.String getIsp() {
java.lang.Object ref = isp_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
isp_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Isp = 10;
* @return The bytes for isp.
*/
public com.google.protobuf.ByteString
getIspBytes() {
java.lang.Object ref = isp_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Isp = 10;
* @param value The isp to set.
* @return This builder for chaining.
*/
public Builder setIsp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
isp_ = value;
onChanged();
return this;
}
/**
* string Isp = 10;
* @return This builder for chaining.
*/
public Builder clearIsp() {
isp_ = getDefaultInstance().getIsp();
onChanged();
return this;
}
/**
* string Isp = 10;
* @param value The bytes for isp to set.
* @return This builder for chaining.
*/
public Builder setIspBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
isp_ = value;
onChanged();
return this;
}
private java.lang.Object protocol_ = "";
/**
* string Protocol = 11;
* @return The protocol.
*/
public java.lang.String getProtocol() {
java.lang.Object ref = protocol_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
protocol_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Protocol = 11;
* @return The bytes for protocol.
*/
public com.google.protobuf.ByteString
getProtocolBytes() {
java.lang.Object ref = protocol_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
protocol_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Protocol = 11;
* @param value The protocol to set.
* @return This builder for chaining.
*/
public Builder setProtocol(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
protocol_ = value;
onChanged();
return this;
}
/**
* string Protocol = 11;
* @return This builder for chaining.
*/
public Builder clearProtocol() {
protocol_ = getDefaultInstance().getProtocol();
onChanged();
return this;
}
/**
* string Protocol = 11;
* @param value The bytes for protocol to set.
* @return This builder for chaining.
*/
public Builder setProtocolBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
protocol_ = value;
onChanged();
return this;
}
private java.lang.Object ipVersion_ = "";
/**
* string IpVersion = 12;
* @return The ipVersion.
*/
public java.lang.String getIpVersion() {
java.lang.Object ref = ipVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ipVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string IpVersion = 12;
* @return The bytes for ipVersion.
*/
public com.google.protobuf.ByteString
getIpVersionBytes() {
java.lang.Object ref = ipVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ipVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string IpVersion = 12;
* @param value The ipVersion to set.
* @return This builder for chaining.
*/
public Builder setIpVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ipVersion_ = value;
onChanged();
return this;
}
/**
* string IpVersion = 12;
* @return This builder for chaining.
*/
public Builder clearIpVersion() {
ipVersion_ = getDefaultInstance().getIpVersion();
onChanged();
return this;
}
/**
* string IpVersion = 12;
* @param value The bytes for ipVersion to set.
* @return This builder for chaining.
*/
public Builder setIpVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ipVersion_ = value;
onChanged();
return this;
}
private java.lang.Object billingRegion_ = "";
/**
* string BillingRegion = 13;
* @return The billingRegion.
*/
public java.lang.String getBillingRegion() {
java.lang.Object ref = billingRegion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
billingRegion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string BillingRegion = 13;
* @return The bytes for billingRegion.
*/
public com.google.protobuf.ByteString
getBillingRegionBytes() {
java.lang.Object ref = billingRegion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
billingRegion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string BillingRegion = 13;
* @param value The billingRegion to set.
* @return This builder for chaining.
*/
public Builder setBillingRegion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
billingRegion_ = value;
onChanged();
return this;
}
/**
* string BillingRegion = 13;
* @return This builder for chaining.
*/
public Builder clearBillingRegion() {
billingRegion_ = getDefaultInstance().getBillingRegion();
onChanged();
return this;
}
/**
* string BillingRegion = 13;
* @param value The bytes for billingRegion to set.
* @return This builder for chaining.
*/
public Builder setBillingRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
billingRegion_ = value;
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.Request.VodListCdnUsageDataRequest)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Request.VodListCdnUsageDataRequest)
private static final com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest();
}
public static com.byteplus.service.vod.model.request.VodListCdnUsageDataRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodListCdnUsageDataRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodListCdnUsageDataRequest(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.request.VodListCdnUsageDataRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}