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

com.byteplus.service.vod.model.business.CdnUsageDataItem Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: byteplus/vod/business/vod_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_; /** *
   * https请求数
   * 
* * int64 HttpsConn = 8; * @return The httpsConn. */ @java.lang.Override public long getHttpsConn() { return httpsConn_; } 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 (time_ != 0L) { output.writeInt64(1, time_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, area_); } if (flow_ != 0L) { output.writeInt64(3, flow_); } if (httpFlow_ != 0L) { output.writeInt64(4, httpFlow_); } if (httpsFlow_ != 0L) { output.writeInt64(5, httpsFlow_); } if (conn_ != 0L) { output.writeInt64(6, conn_); } if (httpConn_ != 0L) { output.writeInt64(7, httpConn_); } if (httpsConn_ != 0L) { output.writeInt64(8, httpsConn_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (time_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, time_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, area_); } if (flow_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, flow_); } if (httpFlow_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, httpFlow_); } if (httpsFlow_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, httpsFlow_); } if (conn_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, conn_); } if (httpConn_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, httpConn_); } if (httpsConn_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, httpsConn_); } 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.CdnUsageDataItem)) { return super.equals(obj); } com.byteplus.service.vod.model.business.CdnUsageDataItem other = (com.byteplus.service.vod.model.business.CdnUsageDataItem) obj; if (getTime() != other.getTime()) return false; if (!getArea() .equals(other.getArea())) return false; if (getFlow() != other.getFlow()) return false; if (getHttpFlow() != other.getHttpFlow()) return false; if (getHttpsFlow() != other.getHttpsFlow()) return false; if (getConn() != other.getConn()) return false; if (getHttpConn() != other.getHttpConn()) return false; if (getHttpsConn() != other.getHttpsConn()) 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) + TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTime()); hash = (37 * hash) + AREA_FIELD_NUMBER; hash = (53 * hash) + getArea().hashCode(); hash = (37 * hash) + FLOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFlow()); hash = (37 * hash) + HTTPFLOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHttpFlow()); hash = (37 * hash) + HTTPSFLOW_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHttpsFlow()); hash = (37 * hash) + CONN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getConn()); hash = (37 * hash) + HTTPCONN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHttpConn()); hash = (37 * hash) + HTTPSCONN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHttpsConn()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.CdnUsageDataItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.CdnUsageDataItem 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.CdnUsageDataItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.CdnUsageDataItem 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.CdnUsageDataItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem 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.CdnUsageDataItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.CdnUsageDataItem) com.byteplus.service.vod.model.business.CdnUsageDataItemOrBuilder { 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); } // Construct using com.byteplus.service.vod.model.business.CdnUsageDataItem.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(); time_ = 0L; area_ = ""; flow_ = 0L; httpFlow_ = 0L; httpsFlow_ = 0L; conn_ = 0L; httpConn_ = 0L; httpsConn_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_CdnUsageDataItem_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.CdnUsageDataItem getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.CdnUsageDataItem.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.CdnUsageDataItem build() { com.byteplus.service.vod.model.business.CdnUsageDataItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.CdnUsageDataItem buildPartial() { com.byteplus.service.vod.model.business.CdnUsageDataItem result = new com.byteplus.service.vod.model.business.CdnUsageDataItem(this); result.time_ = time_; result.area_ = area_; result.flow_ = flow_; result.httpFlow_ = httpFlow_; result.httpsFlow_ = httpsFlow_; result.conn_ = conn_; result.httpConn_ = httpConn_; result.httpsConn_ = httpsConn_; 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.CdnUsageDataItem) { return mergeFrom((com.byteplus.service.vod.model.business.CdnUsageDataItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.CdnUsageDataItem other) { if (other == com.byteplus.service.vod.model.business.CdnUsageDataItem.getDefaultInstance()) return this; if (other.getTime() != 0L) { setTime(other.getTime()); } if (!other.getArea().isEmpty()) { area_ = other.area_; onChanged(); } if (other.getFlow() != 0L) { setFlow(other.getFlow()); } if (other.getHttpFlow() != 0L) { setHttpFlow(other.getHttpFlow()); } if (other.getHttpsFlow() != 0L) { setHttpsFlow(other.getHttpsFlow()); } if (other.getConn() != 0L) { setConn(other.getConn()); } if (other.getHttpConn() != 0L) { setHttpConn(other.getHttpConn()); } if (other.getHttpsConn() != 0L) { setHttpsConn(other.getHttpsConn()); } 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.CdnUsageDataItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.CdnUsageDataItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long time_ ; /** *
     * 时间戳
     * 
* * 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy