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

com.volcengine.service.vod.model.business.VodGetFileListData 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/business/vod_media.proto

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.VodGetFileListData}
 */
public final class VodGetFileListData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodGetFileListData)
    VodGetFileListDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodGetFileListData.newBuilder() to construct.
  private VodGetFileListData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodGetFileListData() {
    commonPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    nextStarter_ = "";
    fileBasicInfos_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodGetFileListData(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 8: {

            isTruncated_ = input.readBool();
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              commonPrefixes_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            commonPrefixes_.add(s);
            break;
          }
          case 24: {

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

            nextStarter_ = s;
            break;
          }
          case 42: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              fileBasicInfos_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            fileBasicInfos_.add(
                input.readMessage(com.volcengine.service.vod.model.business.FileBasicInfo.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        commonPrefixes_ = commonPrefixes_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        fileBasicInfos_ = java.util.Collections.unmodifiableList(fileBasicInfos_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileListData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileListData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodGetFileListData.class, com.volcengine.service.vod.model.business.VodGetFileListData.Builder.class);
  }

  public static final int ISTRUNCATED_FIELD_NUMBER = 1;
  private boolean isTruncated_;
  /**
   * 
   *返回的结果是否已被截断
   * 
* * bool IsTruncated = 1; * @return The isTruncated. */ @java.lang.Override public boolean getIsTruncated() { return isTruncated_; } public static final int COMMONPREFIXES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList commonPrefixes_; /** *
   *文件夹项(当前目录下的一级文件夹)
   * 
* * repeated string CommonPrefixes = 2; * @return A list containing the commonPrefixes. */ public com.google.protobuf.ProtocolStringList getCommonPrefixesList() { return commonPrefixes_; } /** *
   *文件夹项(当前目录下的一级文件夹)
   * 
* * repeated string CommonPrefixes = 2; * @return The count of commonPrefixes. */ public int getCommonPrefixesCount() { return commonPrefixes_.size(); } /** *
   *文件夹项(当前目录下的一级文件夹)
   * 
* * repeated string CommonPrefixes = 2; * @param index The index of the element to return. * @return The commonPrefixes at the given index. */ public java.lang.String getCommonPrefixes(int index) { return commonPrefixes_.get(index); } /** *
   *文件夹项(当前目录下的一级文件夹)
   * 
* * repeated string CommonPrefixes = 2; * @param index The index of the value to return. * @return The bytes of the commonPrefixes at the given index. */ public com.google.protobuf.ByteString getCommonPrefixesBytes(int index) { return commonPrefixes_.getByteString(index); } public static final int FILESUM_FIELD_NUMBER = 3; private long fileSum_; /** *
   *对象数
   * 
* * int64 FileSum = 3; * @return The fileSum. */ @java.lang.Override public long getFileSum() { return fileSum_; } public static final int NEXTSTARTER_FIELD_NUMBER = 4; private volatile java.lang.Object nextStarter_; /** *
   *如果有截断的话,下一个列举对象的起始位置
   * 
* * string NextStarter = 4; * @return The nextStarter. */ @java.lang.Override public java.lang.String getNextStarter() { java.lang.Object ref = nextStarter_; 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(); nextStarter_ = s; return s; } } /** *
   *如果有截断的话,下一个列举对象的起始位置
   * 
* * string NextStarter = 4; * @return The bytes for nextStarter. */ @java.lang.Override public com.google.protobuf.ByteString getNextStarterBytes() { java.lang.Object ref = nextStarter_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextStarter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILEBASICINFOS_FIELD_NUMBER = 5; private java.util.List fileBasicInfos_; /** *
   *对象列表
   * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ @java.lang.Override public java.util.List getFileBasicInfosList() { return fileBasicInfos_; } /** *
   *对象列表
   * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ @java.lang.Override public java.util.List getFileBasicInfosOrBuilderList() { return fileBasicInfos_; } /** *
   *对象列表
   * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ @java.lang.Override public int getFileBasicInfosCount() { return fileBasicInfos_.size(); } /** *
   *对象列表
   * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ @java.lang.Override public com.volcengine.service.vod.model.business.FileBasicInfo getFileBasicInfos(int index) { return fileBasicInfos_.get(index); } /** *
   *对象列表
   * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ @java.lang.Override public com.volcengine.service.vod.model.business.FileBasicInfoOrBuilder getFileBasicInfosOrBuilder( int index) { return fileBasicInfos_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (isTruncated_ != false) { output.writeBool(1, isTruncated_); } for (int i = 0; i < commonPrefixes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, commonPrefixes_.getRaw(i)); } if (fileSum_ != 0L) { output.writeInt64(3, fileSum_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextStarter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, nextStarter_); } for (int i = 0; i < fileBasicInfos_.size(); i++) { output.writeMessage(5, fileBasicInfos_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (isTruncated_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, isTruncated_); } { int dataSize = 0; for (int i = 0; i < commonPrefixes_.size(); i++) { dataSize += computeStringSizeNoTag(commonPrefixes_.getRaw(i)); } size += dataSize; size += 1 * getCommonPrefixesList().size(); } if (fileSum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, fileSum_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextStarter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nextStarter_); } for (int i = 0; i < fileBasicInfos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, fileBasicInfos_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.volcengine.service.vod.model.business.VodGetFileListData)) { return super.equals(obj); } com.volcengine.service.vod.model.business.VodGetFileListData other = (com.volcengine.service.vod.model.business.VodGetFileListData) obj; if (getIsTruncated() != other.getIsTruncated()) return false; if (!getCommonPrefixesList() .equals(other.getCommonPrefixesList())) return false; if (getFileSum() != other.getFileSum()) return false; if (!getNextStarter() .equals(other.getNextStarter())) return false; if (!getFileBasicInfosList() .equals(other.getFileBasicInfosList())) 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) + ISTRUNCATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsTruncated()); if (getCommonPrefixesCount() > 0) { hash = (37 * hash) + COMMONPREFIXES_FIELD_NUMBER; hash = (53 * hash) + getCommonPrefixesList().hashCode(); } hash = (37 * hash) + FILESUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFileSum()); hash = (37 * hash) + NEXTSTARTER_FIELD_NUMBER; hash = (53 * hash) + getNextStarter().hashCode(); if (getFileBasicInfosCount() > 0) { hash = (37 * hash) + FILEBASICINFOS_FIELD_NUMBER; hash = (53 * hash) + getFileBasicInfosList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.VodGetFileListData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodGetFileListData 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.business.VodGetFileListData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodGetFileListData 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.business.VodGetFileListData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodGetFileListData 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.business.VodGetFileListData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.VodGetFileListData 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.business.VodGetFileListData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.VodGetFileListData 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.business.VodGetFileListData 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.business.VodGetFileListData 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.business.VodGetFileListData 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.Business.VodGetFileListData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodGetFileListData) com.volcengine.service.vod.model.business.VodGetFileListDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileListData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileListData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.VodGetFileListData.class, com.volcengine.service.vod.model.business.VodGetFileListData.Builder.class); } // Construct using com.volcengine.service.vod.model.business.VodGetFileListData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFileBasicInfosFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); isTruncated_ = false; commonPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); fileSum_ = 0L; nextStarter_ = ""; if (fileBasicInfosBuilder_ == null) { fileBasicInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { fileBasicInfosBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileListData_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.VodGetFileListData getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.VodGetFileListData.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.VodGetFileListData build() { com.volcengine.service.vod.model.business.VodGetFileListData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.VodGetFileListData buildPartial() { com.volcengine.service.vod.model.business.VodGetFileListData result = new com.volcengine.service.vod.model.business.VodGetFileListData(this); int from_bitField0_ = bitField0_; result.isTruncated_ = isTruncated_; if (((bitField0_ & 0x00000001) != 0)) { commonPrefixes_ = commonPrefixes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.commonPrefixes_ = commonPrefixes_; result.fileSum_ = fileSum_; result.nextStarter_ = nextStarter_; if (fileBasicInfosBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { fileBasicInfos_ = java.util.Collections.unmodifiableList(fileBasicInfos_); bitField0_ = (bitField0_ & ~0x00000002); } result.fileBasicInfos_ = fileBasicInfos_; } else { result.fileBasicInfos_ = fileBasicInfosBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.vod.model.business.VodGetFileListData) { return mergeFrom((com.volcengine.service.vod.model.business.VodGetFileListData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.VodGetFileListData other) { if (other == com.volcengine.service.vod.model.business.VodGetFileListData.getDefaultInstance()) return this; if (other.getIsTruncated() != false) { setIsTruncated(other.getIsTruncated()); } if (!other.commonPrefixes_.isEmpty()) { if (commonPrefixes_.isEmpty()) { commonPrefixes_ = other.commonPrefixes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCommonPrefixesIsMutable(); commonPrefixes_.addAll(other.commonPrefixes_); } onChanged(); } if (other.getFileSum() != 0L) { setFileSum(other.getFileSum()); } if (!other.getNextStarter().isEmpty()) { nextStarter_ = other.nextStarter_; onChanged(); } if (fileBasicInfosBuilder_ == null) { if (!other.fileBasicInfos_.isEmpty()) { if (fileBasicInfos_.isEmpty()) { fileBasicInfos_ = other.fileBasicInfos_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureFileBasicInfosIsMutable(); fileBasicInfos_.addAll(other.fileBasicInfos_); } onChanged(); } } else { if (!other.fileBasicInfos_.isEmpty()) { if (fileBasicInfosBuilder_.isEmpty()) { fileBasicInfosBuilder_.dispose(); fileBasicInfosBuilder_ = null; fileBasicInfos_ = other.fileBasicInfos_; bitField0_ = (bitField0_ & ~0x00000002); fileBasicInfosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFileBasicInfosFieldBuilder() : null; } else { fileBasicInfosBuilder_.addAllMessages(other.fileBasicInfos_); } } } 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.business.VodGetFileListData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.VodGetFileListData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean isTruncated_ ; /** *
     *返回的结果是否已被截断
     * 
* * bool IsTruncated = 1; * @return The isTruncated. */ @java.lang.Override public boolean getIsTruncated() { return isTruncated_; } /** *
     *返回的结果是否已被截断
     * 
* * bool IsTruncated = 1; * @param value The isTruncated to set. * @return This builder for chaining. */ public Builder setIsTruncated(boolean value) { isTruncated_ = value; onChanged(); return this; } /** *
     *返回的结果是否已被截断
     * 
* * bool IsTruncated = 1; * @return This builder for chaining. */ public Builder clearIsTruncated() { isTruncated_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList commonPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCommonPrefixesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { commonPrefixes_ = new com.google.protobuf.LazyStringArrayList(commonPrefixes_); bitField0_ |= 0x00000001; } } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @return A list containing the commonPrefixes. */ public com.google.protobuf.ProtocolStringList getCommonPrefixesList() { return commonPrefixes_.getUnmodifiableView(); } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @return The count of commonPrefixes. */ public int getCommonPrefixesCount() { return commonPrefixes_.size(); } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param index The index of the element to return. * @return The commonPrefixes at the given index. */ public java.lang.String getCommonPrefixes(int index) { return commonPrefixes_.get(index); } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param index The index of the value to return. * @return The bytes of the commonPrefixes at the given index. */ public com.google.protobuf.ByteString getCommonPrefixesBytes(int index) { return commonPrefixes_.getByteString(index); } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param index The index to set the value at. * @param value The commonPrefixes to set. * @return This builder for chaining. */ public Builder setCommonPrefixes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCommonPrefixesIsMutable(); commonPrefixes_.set(index, value); onChanged(); return this; } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param value The commonPrefixes to add. * @return This builder for chaining. */ public Builder addCommonPrefixes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCommonPrefixesIsMutable(); commonPrefixes_.add(value); onChanged(); return this; } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param values The commonPrefixes to add. * @return This builder for chaining. */ public Builder addAllCommonPrefixes( java.lang.Iterable values) { ensureCommonPrefixesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, commonPrefixes_); onChanged(); return this; } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @return This builder for chaining. */ public Builder clearCommonPrefixes() { commonPrefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     *文件夹项(当前目录下的一级文件夹)
     * 
* * repeated string CommonPrefixes = 2; * @param value The bytes of the commonPrefixes to add. * @return This builder for chaining. */ public Builder addCommonPrefixesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCommonPrefixesIsMutable(); commonPrefixes_.add(value); onChanged(); return this; } private long fileSum_ ; /** *
     *对象数
     * 
* * int64 FileSum = 3; * @return The fileSum. */ @java.lang.Override public long getFileSum() { return fileSum_; } /** *
     *对象数
     * 
* * int64 FileSum = 3; * @param value The fileSum to set. * @return This builder for chaining. */ public Builder setFileSum(long value) { fileSum_ = value; onChanged(); return this; } /** *
     *对象数
     * 
* * int64 FileSum = 3; * @return This builder for chaining. */ public Builder clearFileSum() { fileSum_ = 0L; onChanged(); return this; } private java.lang.Object nextStarter_ = ""; /** *
     *如果有截断的话,下一个列举对象的起始位置
     * 
* * string NextStarter = 4; * @return The nextStarter. */ public java.lang.String getNextStarter() { java.lang.Object ref = nextStarter_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextStarter_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *如果有截断的话,下一个列举对象的起始位置
     * 
* * string NextStarter = 4; * @return The bytes for nextStarter. */ public com.google.protobuf.ByteString getNextStarterBytes() { java.lang.Object ref = nextStarter_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nextStarter_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *如果有截断的话,下一个列举对象的起始位置
     * 
* * string NextStarter = 4; * @param value The nextStarter to set. * @return This builder for chaining. */ public Builder setNextStarter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextStarter_ = value; onChanged(); return this; } /** *
     *如果有截断的话,下一个列举对象的起始位置
     * 
* * string NextStarter = 4; * @return This builder for chaining. */ public Builder clearNextStarter() { nextStarter_ = getDefaultInstance().getNextStarter(); onChanged(); return this; } /** *
     *如果有截断的话,下一个列举对象的起始位置
     * 
* * string NextStarter = 4; * @param value The bytes for nextStarter to set. * @return This builder for chaining. */ public Builder setNextStarterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextStarter_ = value; onChanged(); return this; } private java.util.List fileBasicInfos_ = java.util.Collections.emptyList(); private void ensureFileBasicInfosIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { fileBasicInfos_ = new java.util.ArrayList(fileBasicInfos_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.FileBasicInfo, com.volcengine.service.vod.model.business.FileBasicInfo.Builder, com.volcengine.service.vod.model.business.FileBasicInfoOrBuilder> fileBasicInfosBuilder_; /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public java.util.List getFileBasicInfosList() { if (fileBasicInfosBuilder_ == null) { return java.util.Collections.unmodifiableList(fileBasicInfos_); } else { return fileBasicInfosBuilder_.getMessageList(); } } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public int getFileBasicInfosCount() { if (fileBasicInfosBuilder_ == null) { return fileBasicInfos_.size(); } else { return fileBasicInfosBuilder_.getCount(); } } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public com.volcengine.service.vod.model.business.FileBasicInfo getFileBasicInfos(int index) { if (fileBasicInfosBuilder_ == null) { return fileBasicInfos_.get(index); } else { return fileBasicInfosBuilder_.getMessage(index); } } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder setFileBasicInfos( int index, com.volcengine.service.vod.model.business.FileBasicInfo value) { if (fileBasicInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileBasicInfosIsMutable(); fileBasicInfos_.set(index, value); onChanged(); } else { fileBasicInfosBuilder_.setMessage(index, value); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder setFileBasicInfos( int index, com.volcengine.service.vod.model.business.FileBasicInfo.Builder builderForValue) { if (fileBasicInfosBuilder_ == null) { ensureFileBasicInfosIsMutable(); fileBasicInfos_.set(index, builderForValue.build()); onChanged(); } else { fileBasicInfosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder addFileBasicInfos(com.volcengine.service.vod.model.business.FileBasicInfo value) { if (fileBasicInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileBasicInfosIsMutable(); fileBasicInfos_.add(value); onChanged(); } else { fileBasicInfosBuilder_.addMessage(value); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder addFileBasicInfos( int index, com.volcengine.service.vod.model.business.FileBasicInfo value) { if (fileBasicInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileBasicInfosIsMutable(); fileBasicInfos_.add(index, value); onChanged(); } else { fileBasicInfosBuilder_.addMessage(index, value); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder addFileBasicInfos( com.volcengine.service.vod.model.business.FileBasicInfo.Builder builderForValue) { if (fileBasicInfosBuilder_ == null) { ensureFileBasicInfosIsMutable(); fileBasicInfos_.add(builderForValue.build()); onChanged(); } else { fileBasicInfosBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder addFileBasicInfos( int index, com.volcengine.service.vod.model.business.FileBasicInfo.Builder builderForValue) { if (fileBasicInfosBuilder_ == null) { ensureFileBasicInfosIsMutable(); fileBasicInfos_.add(index, builderForValue.build()); onChanged(); } else { fileBasicInfosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder addAllFileBasicInfos( java.lang.Iterable values) { if (fileBasicInfosBuilder_ == null) { ensureFileBasicInfosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fileBasicInfos_); onChanged(); } else { fileBasicInfosBuilder_.addAllMessages(values); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder clearFileBasicInfos() { if (fileBasicInfosBuilder_ == null) { fileBasicInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { fileBasicInfosBuilder_.clear(); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public Builder removeFileBasicInfos(int index) { if (fileBasicInfosBuilder_ == null) { ensureFileBasicInfosIsMutable(); fileBasicInfos_.remove(index); onChanged(); } else { fileBasicInfosBuilder_.remove(index); } return this; } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public com.volcengine.service.vod.model.business.FileBasicInfo.Builder getFileBasicInfosBuilder( int index) { return getFileBasicInfosFieldBuilder().getBuilder(index); } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public com.volcengine.service.vod.model.business.FileBasicInfoOrBuilder getFileBasicInfosOrBuilder( int index) { if (fileBasicInfosBuilder_ == null) { return fileBasicInfos_.get(index); } else { return fileBasicInfosBuilder_.getMessageOrBuilder(index); } } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public java.util.List getFileBasicInfosOrBuilderList() { if (fileBasicInfosBuilder_ != null) { return fileBasicInfosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fileBasicInfos_); } } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public com.volcengine.service.vod.model.business.FileBasicInfo.Builder addFileBasicInfosBuilder() { return getFileBasicInfosFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.FileBasicInfo.getDefaultInstance()); } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public com.volcengine.service.vod.model.business.FileBasicInfo.Builder addFileBasicInfosBuilder( int index) { return getFileBasicInfosFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.FileBasicInfo.getDefaultInstance()); } /** *
     *对象列表
     * 
* * repeated .Volcengine.Vod.Models.Business.FileBasicInfo FileBasicInfos = 5; */ public java.util.List getFileBasicInfosBuilderList() { return getFileBasicInfosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.FileBasicInfo, com.volcengine.service.vod.model.business.FileBasicInfo.Builder, com.volcengine.service.vod.model.business.FileBasicInfoOrBuilder> getFileBasicInfosFieldBuilder() { if (fileBasicInfosBuilder_ == null) { fileBasicInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.FileBasicInfo, com.volcengine.service.vod.model.business.FileBasicInfo.Builder, com.volcengine.service.vod.model.business.FileBasicInfoOrBuilder>( fileBasicInfos_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); fileBasicInfos_ = null; } return fileBasicInfosBuilder_; } @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.Business.VodGetFileListData) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodGetFileListData) private static final com.volcengine.service.vod.model.business.VodGetFileListData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodGetFileListData(); } public static com.volcengine.service.vod.model.business.VodGetFileListData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodGetFileListData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodGetFileListData(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.business.VodGetFileListData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy