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

com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: volcengine/vod/request/request_vod.proto

package com.volcengine.service.vod.model.request;

/**
 * Protobuf type {@code Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest}
 */
public final class VodListCdnTopAccessRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest)
    VodListCdnTopAccessRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodListCdnTopAccessRequest.newBuilder() to construct.
  private VodListCdnTopAccessRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodListCdnTopAccessRequest() {
    domains_ = "";
    sortType_ = "";
    item_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new VodListCdnTopAccessRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodListCdnTopAccessRequest(
      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 16: {

            startTimestamp_ = input.readInt32();
            break;
          }
          case 24: {

            endTimestamp_ = input.readInt32();
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            sortType_ = s;
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            item_ = 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.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTopAccessRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTopAccessRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.class, com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.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 STARTTIMESTAMP_FIELD_NUMBER = 2; private int startTimestamp_; /** *
   * 查询起始时间戳,单位:Unix秒级时间戳 
   * 
* * int32 StartTimestamp = 2; * @return The startTimestamp. */ @java.lang.Override public int getStartTimestamp() { return startTimestamp_; } public static final int ENDTIMESTAMP_FIELD_NUMBER = 3; private int endTimestamp_; /** *
   * 查询结束时间戳,单位:Unix秒级时间戳 
   * 
* * int32 EndTimestamp = 3; * @return The endTimestamp. */ @java.lang.Override public int getEndTimestamp() { return endTimestamp_; } public static final int SORTTYPE_FIELD_NUMBER = 4; private volatile java.lang.Object sortType_; /** *
   * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
   * 
* * string SortType = 4; * @return The sortType. */ @java.lang.Override public java.lang.String getSortType() { java.lang.Object ref = sortType_; 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(); sortType_ = s; return s; } } /** *
   * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
   * 
* * string SortType = 4; * @return The bytes for sortType. */ @java.lang.Override public com.google.protobuf.ByteString getSortTypeBytes() { java.lang.Object ref = sortType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sortType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEM_FIELD_NUMBER = 5; private volatile java.lang.Object item_; /** *
   * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
   * Referer 
   * 
* * string Item = 5; * @return The item. */ @java.lang.Override public java.lang.String getItem() { java.lang.Object ref = item_; 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(); item_ = s; return s; } } /** *
   * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
   * Referer 
   * 
* * string Item = 5; * @return The bytes for item. */ @java.lang.Override public com.google.protobuf.ByteString getItemBytes() { java.lang.Object ref = item_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); item_ = 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 (startTimestamp_ != 0) { output.writeInt32(2, startTimestamp_); } if (endTimestamp_ != 0) { output.writeInt32(3, endTimestamp_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sortType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sortType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(item_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, item_); } 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 (startTimestamp_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, startTimestamp_); } if (endTimestamp_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, endTimestamp_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sortType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sortType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(item_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, item_); } 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest)) { return super.equals(obj); } com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest other = (com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest) obj; if (!getDomains() .equals(other.getDomains())) return false; if (getStartTimestamp() != other.getStartTimestamp()) return false; if (getEndTimestamp() != other.getEndTimestamp()) return false; if (!getSortType() .equals(other.getSortType())) return false; if (!getItem() .equals(other.getItem())) 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) + STARTTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getStartTimestamp(); hash = (37 * hash) + ENDTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getEndTimestamp(); hash = (37 * hash) + SORTTYPE_FIELD_NUMBER; hash = (53 * hash) + getSortType().hashCode(); hash = (37 * hash) + ITEM_FIELD_NUMBER; hash = (53 * hash) + getItem().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest 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 Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest) com.volcengine.service.vod.model.request.VodListCdnTopAccessRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTopAccessRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTopAccessRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.class, com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.Builder.class); } // Construct using com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.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_ = ""; startTimestamp_ = 0; endTimestamp_ = 0; sortType_ = ""; item_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodListCdnTopAccessRequest_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest getDefaultInstanceForType() { return com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest build() { com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest buildPartial() { com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest result = new com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest(this); result.domains_ = domains_; result.startTimestamp_ = startTimestamp_; result.endTimestamp_ = endTimestamp_; result.sortType_ = sortType_; result.item_ = item_; 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest) { return mergeFrom((com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest other) { if (other == com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest.getDefaultInstance()) return this; if (!other.getDomains().isEmpty()) { domains_ = other.domains_; onChanged(); } if (other.getStartTimestamp() != 0) { setStartTimestamp(other.getStartTimestamp()); } if (other.getEndTimestamp() != 0) { setEndTimestamp(other.getEndTimestamp()); } if (!other.getSortType().isEmpty()) { sortType_ = other.sortType_; onChanged(); } if (!other.getItem().isEmpty()) { item_ = other.item_; 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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest) 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 int startTimestamp_ ; /** *
     * 查询起始时间戳,单位:Unix秒级时间戳 
     * 
* * int32 StartTimestamp = 2; * @return The startTimestamp. */ @java.lang.Override public int getStartTimestamp() { return startTimestamp_; } /** *
     * 查询起始时间戳,单位:Unix秒级时间戳 
     * 
* * int32 StartTimestamp = 2; * @param value The startTimestamp to set. * @return This builder for chaining. */ public Builder setStartTimestamp(int value) { startTimestamp_ = value; onChanged(); return this; } /** *
     * 查询起始时间戳,单位:Unix秒级时间戳 
     * 
* * int32 StartTimestamp = 2; * @return This builder for chaining. */ public Builder clearStartTimestamp() { startTimestamp_ = 0; onChanged(); return this; } private int endTimestamp_ ; /** *
     * 查询结束时间戳,单位:Unix秒级时间戳 
     * 
* * int32 EndTimestamp = 3; * @return The endTimestamp. */ @java.lang.Override public int getEndTimestamp() { return endTimestamp_; } /** *
     * 查询结束时间戳,单位:Unix秒级时间戳 
     * 
* * int32 EndTimestamp = 3; * @param value The endTimestamp to set. * @return This builder for chaining. */ public Builder setEndTimestamp(int value) { endTimestamp_ = value; onChanged(); return this; } /** *
     * 查询结束时间戳,单位:Unix秒级时间戳 
     * 
* * int32 EndTimestamp = 3; * @return This builder for chaining. */ public Builder clearEndTimestamp() { endTimestamp_ = 0; onChanged(); return this; } private java.lang.Object sortType_ = ""; /** *
     * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
     * 
* * string SortType = 4; * @return The sortType. */ public java.lang.String getSortType() { java.lang.Object ref = sortType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sortType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
     * 
* * string SortType = 4; * @return The bytes for sortType. */ public com.google.protobuf.ByteString getSortTypeBytes() { java.lang.Object ref = sortType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sortType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
     * 
* * string SortType = 4; * @param value The sortType to set. * @return This builder for chaining. */ public Builder setSortType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sortType_ = value; onChanged(); return this; } /** *
     * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
     * 
* * string SortType = 4; * @return This builder for chaining. */ public Builder clearSortType() { sortType_ = getDefaultInstance().getSortType(); onChanged(); return this; } /** *
     * 排序方式,默认值为pv。取值:flux - 流量, pv -访问量 
     * 
* * string SortType = 4; * @param value The bytes for sortType to set. * @return This builder for chaining. */ public Builder setSortTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sortType_ = value; onChanged(); return this; } private java.lang.Object item_ = ""; /** *
     * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
     * Referer 
     * 
* * string Item = 5; * @return The item. */ public java.lang.String getItem() { java.lang.Object ref = item_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); item_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
     * Referer 
     * 
* * string Item = 5; * @return The bytes for item. */ public com.google.protobuf.ByteString getItemBytes() { java.lang.Object ref = item_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); item_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
     * Referer 
     * 
* * string Item = 5; * @param value The item to set. * @return This builder for chaining. */ public Builder setItem( java.lang.String value) { if (value == null) { throw new NullPointerException(); } item_ = value; onChanged(); return this; } /** *
     * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
     * Referer 
     * 
* * string Item = 5; * @return This builder for chaining. */ public Builder clearItem() { item_ = getDefaultInstance().getItem(); onChanged(); return this; } /** *
     * 指定一个统计字段,默认值为url。取值:url:表示请求 URL, referer:表示请求
     * Referer 
     * 
* * string Item = 5; * @param value The bytes for item to set. * @return This builder for chaining. */ public Builder setItemBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); item_ = 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:Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodListCdnTopAccessRequest) private static final com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest(); } public static com.volcengine.service.vod.model.request.VodListCdnTopAccessRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodListCdnTopAccessRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodListCdnTopAccessRequest(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.volcengine.service.vod.model.request.VodListCdnTopAccessRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy