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

com.byteplus.service.vod.model.business.VodAllPlayInfoResult 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_common.proto

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.VodAllPlayInfoResult}
 */
public final class VodAllPlayInfoResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodAllPlayInfoResult)
    VodAllPlayInfoResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodAllPlayInfoResult.newBuilder() to construct.
  private VodAllPlayInfoResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodAllPlayInfoResult() {
    vodAllPlayInfoModelList_ = java.util.Collections.emptyList();
    notFoundVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodAllPlayInfoResult(
      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 10: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              vodAllPlayInfoModelList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            vodAllPlayInfoModelList_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodAllPlayInfoModel.parser(), extensionRegistry));
            break;
          }
          case 16: {

            totalCount_ = input.readInt32();
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              notFoundVids_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            notFoundVids_.add(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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        vodAllPlayInfoModelList_ = java.util.Collections.unmodifiableList(vodAllPlayInfoModelList_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        notFoundVids_ = notFoundVids_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodAllPlayInfoResult_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodAllPlayInfoResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.business.VodAllPlayInfoResult.class, com.byteplus.service.vod.model.business.VodAllPlayInfoResult.Builder.class);
  }

  public static final int VODALLPLAYINFOMODELLIST_FIELD_NUMBER = 1;
  private java.util.List vodAllPlayInfoModelList_;
  /**
   * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1;
   */
  @java.lang.Override
  public java.util.List getVodAllPlayInfoModelListList() {
    return vodAllPlayInfoModelList_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1;
   */
  @java.lang.Override
  public java.util.List 
      getVodAllPlayInfoModelListOrBuilderList() {
    return vodAllPlayInfoModelList_;
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1;
   */
  @java.lang.Override
  public int getVodAllPlayInfoModelListCount() {
    return vodAllPlayInfoModelList_.size();
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.VodAllPlayInfoModel getVodAllPlayInfoModelList(int index) {
    return vodAllPlayInfoModelList_.get(index);
  }
  /**
   * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1;
   */
  @java.lang.Override
  public com.byteplus.service.vod.model.business.VodAllPlayInfoModelOrBuilder getVodAllPlayInfoModelListOrBuilder(
      int index) {
    return vodAllPlayInfoModelList_.get(index);
  }

  public static final int TOTALCOUNT_FIELD_NUMBER = 2;
  private int totalCount_;
  /**
   * 
   * 查到多少个vid
   * 
* * int32 TotalCount = 2; * @return The totalCount. */ @java.lang.Override public int getTotalCount() { return totalCount_; } public static final int NOTFOUNDVIDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList notFoundVids_; /** *
   * 没有查询到任何信息的vid
   * 
* * repeated string NotFoundVids = 3; * @return A list containing the notFoundVids. */ public com.google.protobuf.ProtocolStringList getNotFoundVidsList() { return notFoundVids_; } /** *
   * 没有查询到任何信息的vid
   * 
* * repeated string NotFoundVids = 3; * @return The count of notFoundVids. */ public int getNotFoundVidsCount() { return notFoundVids_.size(); } /** *
   * 没有查询到任何信息的vid
   * 
* * repeated string NotFoundVids = 3; * @param index The index of the element to return. * @return The notFoundVids at the given index. */ public java.lang.String getNotFoundVids(int index) { return notFoundVids_.get(index); } /** *
   * 没有查询到任何信息的vid
   * 
* * repeated string NotFoundVids = 3; * @param index The index of the value to return. * @return The bytes of the notFoundVids at the given index. */ public com.google.protobuf.ByteString getNotFoundVidsBytes(int index) { return notFoundVids_.getByteString(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 { for (int i = 0; i < vodAllPlayInfoModelList_.size(); i++) { output.writeMessage(1, vodAllPlayInfoModelList_.get(i)); } if (totalCount_ != 0) { output.writeInt32(2, totalCount_); } for (int i = 0; i < notFoundVids_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, notFoundVids_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < vodAllPlayInfoModelList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, vodAllPlayInfoModelList_.get(i)); } if (totalCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, totalCount_); } { int dataSize = 0; for (int i = 0; i < notFoundVids_.size(); i++) { dataSize += computeStringSizeNoTag(notFoundVids_.getRaw(i)); } size += dataSize; size += 1 * getNotFoundVidsList().size(); } 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.VodAllPlayInfoResult)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodAllPlayInfoResult other = (com.byteplus.service.vod.model.business.VodAllPlayInfoResult) obj; if (!getVodAllPlayInfoModelListList() .equals(other.getVodAllPlayInfoModelListList())) return false; if (getTotalCount() != other.getTotalCount()) return false; if (!getNotFoundVidsList() .equals(other.getNotFoundVidsList())) 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(); if (getVodAllPlayInfoModelListCount() > 0) { hash = (37 * hash) + VODALLPLAYINFOMODELLIST_FIELD_NUMBER; hash = (53 * hash) + getVodAllPlayInfoModelListList().hashCode(); } hash = (37 * hash) + TOTALCOUNT_FIELD_NUMBER; hash = (53 * hash) + getTotalCount(); if (getNotFoundVidsCount() > 0) { hash = (37 * hash) + NOTFOUNDVIDS_FIELD_NUMBER; hash = (53 * hash) + getNotFoundVidsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodAllPlayInfoResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodAllPlayInfoResult 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.VodAllPlayInfoResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodAllPlayInfoResult 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.VodAllPlayInfoResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult 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.VodAllPlayInfoResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodAllPlayInfoResult) com.byteplus.service.vod.model.business.VodAllPlayInfoResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodAllPlayInfoResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodAllPlayInfoResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodAllPlayInfoResult.class, com.byteplus.service.vod.model.business.VodAllPlayInfoResult.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodAllPlayInfoResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getVodAllPlayInfoModelListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (vodAllPlayInfoModelListBuilder_ == null) { vodAllPlayInfoModelList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { vodAllPlayInfoModelListBuilder_.clear(); } totalCount_ = 0; notFoundVids_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodAllPlayInfoResult_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodAllPlayInfoResult getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodAllPlayInfoResult.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodAllPlayInfoResult build() { com.byteplus.service.vod.model.business.VodAllPlayInfoResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodAllPlayInfoResult buildPartial() { com.byteplus.service.vod.model.business.VodAllPlayInfoResult result = new com.byteplus.service.vod.model.business.VodAllPlayInfoResult(this); int from_bitField0_ = bitField0_; if (vodAllPlayInfoModelListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { vodAllPlayInfoModelList_ = java.util.Collections.unmodifiableList(vodAllPlayInfoModelList_); bitField0_ = (bitField0_ & ~0x00000001); } result.vodAllPlayInfoModelList_ = vodAllPlayInfoModelList_; } else { result.vodAllPlayInfoModelList_ = vodAllPlayInfoModelListBuilder_.build(); } result.totalCount_ = totalCount_; if (((bitField0_ & 0x00000002) != 0)) { notFoundVids_ = notFoundVids_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.notFoundVids_ = notFoundVids_; 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.VodAllPlayInfoResult) { return mergeFrom((com.byteplus.service.vod.model.business.VodAllPlayInfoResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodAllPlayInfoResult other) { if (other == com.byteplus.service.vod.model.business.VodAllPlayInfoResult.getDefaultInstance()) return this; if (vodAllPlayInfoModelListBuilder_ == null) { if (!other.vodAllPlayInfoModelList_.isEmpty()) { if (vodAllPlayInfoModelList_.isEmpty()) { vodAllPlayInfoModelList_ = other.vodAllPlayInfoModelList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.addAll(other.vodAllPlayInfoModelList_); } onChanged(); } } else { if (!other.vodAllPlayInfoModelList_.isEmpty()) { if (vodAllPlayInfoModelListBuilder_.isEmpty()) { vodAllPlayInfoModelListBuilder_.dispose(); vodAllPlayInfoModelListBuilder_ = null; vodAllPlayInfoModelList_ = other.vodAllPlayInfoModelList_; bitField0_ = (bitField0_ & ~0x00000001); vodAllPlayInfoModelListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getVodAllPlayInfoModelListFieldBuilder() : null; } else { vodAllPlayInfoModelListBuilder_.addAllMessages(other.vodAllPlayInfoModelList_); } } } if (other.getTotalCount() != 0) { setTotalCount(other.getTotalCount()); } if (!other.notFoundVids_.isEmpty()) { if (notFoundVids_.isEmpty()) { notFoundVids_ = other.notFoundVids_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureNotFoundVidsIsMutable(); notFoundVids_.addAll(other.notFoundVids_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.byteplus.service.vod.model.business.VodAllPlayInfoResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodAllPlayInfoResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List vodAllPlayInfoModelList_ = java.util.Collections.emptyList(); private void ensureVodAllPlayInfoModelListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { vodAllPlayInfoModelList_ = new java.util.ArrayList(vodAllPlayInfoModelList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodAllPlayInfoModel, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder, com.byteplus.service.vod.model.business.VodAllPlayInfoModelOrBuilder> vodAllPlayInfoModelListBuilder_; /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public java.util.List getVodAllPlayInfoModelListList() { if (vodAllPlayInfoModelListBuilder_ == null) { return java.util.Collections.unmodifiableList(vodAllPlayInfoModelList_); } else { return vodAllPlayInfoModelListBuilder_.getMessageList(); } } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public int getVodAllPlayInfoModelListCount() { if (vodAllPlayInfoModelListBuilder_ == null) { return vodAllPlayInfoModelList_.size(); } else { return vodAllPlayInfoModelListBuilder_.getCount(); } } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public com.byteplus.service.vod.model.business.VodAllPlayInfoModel getVodAllPlayInfoModelList(int index) { if (vodAllPlayInfoModelListBuilder_ == null) { return vodAllPlayInfoModelList_.get(index); } else { return vodAllPlayInfoModelListBuilder_.getMessage(index); } } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder setVodAllPlayInfoModelList( int index, com.byteplus.service.vod.model.business.VodAllPlayInfoModel value) { if (vodAllPlayInfoModelListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.set(index, value); onChanged(); } else { vodAllPlayInfoModelListBuilder_.setMessage(index, value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder setVodAllPlayInfoModelList( int index, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder builderForValue) { if (vodAllPlayInfoModelListBuilder_ == null) { ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.set(index, builderForValue.build()); onChanged(); } else { vodAllPlayInfoModelListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder addVodAllPlayInfoModelList(com.byteplus.service.vod.model.business.VodAllPlayInfoModel value) { if (vodAllPlayInfoModelListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.add(value); onChanged(); } else { vodAllPlayInfoModelListBuilder_.addMessage(value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder addVodAllPlayInfoModelList( int index, com.byteplus.service.vod.model.business.VodAllPlayInfoModel value) { if (vodAllPlayInfoModelListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.add(index, value); onChanged(); } else { vodAllPlayInfoModelListBuilder_.addMessage(index, value); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder addVodAllPlayInfoModelList( com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder builderForValue) { if (vodAllPlayInfoModelListBuilder_ == null) { ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.add(builderForValue.build()); onChanged(); } else { vodAllPlayInfoModelListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder addVodAllPlayInfoModelList( int index, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder builderForValue) { if (vodAllPlayInfoModelListBuilder_ == null) { ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.add(index, builderForValue.build()); onChanged(); } else { vodAllPlayInfoModelListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder addAllVodAllPlayInfoModelList( java.lang.Iterable values) { if (vodAllPlayInfoModelListBuilder_ == null) { ensureVodAllPlayInfoModelListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, vodAllPlayInfoModelList_); onChanged(); } else { vodAllPlayInfoModelListBuilder_.addAllMessages(values); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder clearVodAllPlayInfoModelList() { if (vodAllPlayInfoModelListBuilder_ == null) { vodAllPlayInfoModelList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { vodAllPlayInfoModelListBuilder_.clear(); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public Builder removeVodAllPlayInfoModelList(int index) { if (vodAllPlayInfoModelListBuilder_ == null) { ensureVodAllPlayInfoModelListIsMutable(); vodAllPlayInfoModelList_.remove(index); onChanged(); } else { vodAllPlayInfoModelListBuilder_.remove(index); } return this; } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder getVodAllPlayInfoModelListBuilder( int index) { return getVodAllPlayInfoModelListFieldBuilder().getBuilder(index); } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public com.byteplus.service.vod.model.business.VodAllPlayInfoModelOrBuilder getVodAllPlayInfoModelListOrBuilder( int index) { if (vodAllPlayInfoModelListBuilder_ == null) { return vodAllPlayInfoModelList_.get(index); } else { return vodAllPlayInfoModelListBuilder_.getMessageOrBuilder(index); } } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public java.util.List getVodAllPlayInfoModelListOrBuilderList() { if (vodAllPlayInfoModelListBuilder_ != null) { return vodAllPlayInfoModelListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(vodAllPlayInfoModelList_); } } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder addVodAllPlayInfoModelListBuilder() { return getVodAllPlayInfoModelListFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodAllPlayInfoModel.getDefaultInstance()); } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder addVodAllPlayInfoModelListBuilder( int index) { return getVodAllPlayInfoModelListFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.getDefaultInstance()); } /** * repeated .Byteplus.Vod.Models.Business.VodAllPlayInfoModel VodAllPlayInfoModelList = 1; */ public java.util.List getVodAllPlayInfoModelListBuilderList() { return getVodAllPlayInfoModelListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodAllPlayInfoModel, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder, com.byteplus.service.vod.model.business.VodAllPlayInfoModelOrBuilder> getVodAllPlayInfoModelListFieldBuilder() { if (vodAllPlayInfoModelListBuilder_ == null) { vodAllPlayInfoModelListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodAllPlayInfoModel, com.byteplus.service.vod.model.business.VodAllPlayInfoModel.Builder, com.byteplus.service.vod.model.business.VodAllPlayInfoModelOrBuilder>( vodAllPlayInfoModelList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); vodAllPlayInfoModelList_ = null; } return vodAllPlayInfoModelListBuilder_; } private int totalCount_ ; /** *
     * 查到多少个vid
     * 
* * int32 TotalCount = 2; * @return The totalCount. */ @java.lang.Override public int getTotalCount() { return totalCount_; } /** *
     * 查到多少个vid
     * 
* * int32 TotalCount = 2; * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { totalCount_ = value; onChanged(); return this; } /** *
     * 查到多少个vid
     * 
* * int32 TotalCount = 2; * @return This builder for chaining. */ public Builder clearTotalCount() { totalCount_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList notFoundVids_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNotFoundVidsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { notFoundVids_ = new com.google.protobuf.LazyStringArrayList(notFoundVids_); bitField0_ |= 0x00000002; } } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @return A list containing the notFoundVids. */ public com.google.protobuf.ProtocolStringList getNotFoundVidsList() { return notFoundVids_.getUnmodifiableView(); } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @return The count of notFoundVids. */ public int getNotFoundVidsCount() { return notFoundVids_.size(); } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param index The index of the element to return. * @return The notFoundVids at the given index. */ public java.lang.String getNotFoundVids(int index) { return notFoundVids_.get(index); } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param index The index of the value to return. * @return The bytes of the notFoundVids at the given index. */ public com.google.protobuf.ByteString getNotFoundVidsBytes(int index) { return notFoundVids_.getByteString(index); } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param index The index to set the value at. * @param value The notFoundVids to set. * @return This builder for chaining. */ public Builder setNotFoundVids( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotFoundVidsIsMutable(); notFoundVids_.set(index, value); onChanged(); return this; } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param value The notFoundVids to add. * @return This builder for chaining. */ public Builder addNotFoundVids( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotFoundVidsIsMutable(); notFoundVids_.add(value); onChanged(); return this; } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param values The notFoundVids to add. * @return This builder for chaining. */ public Builder addAllNotFoundVids( java.lang.Iterable values) { ensureNotFoundVidsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notFoundVids_); onChanged(); return this; } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @return This builder for chaining. */ public Builder clearNotFoundVids() { notFoundVids_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * 没有查询到任何信息的vid
     * 
* * repeated string NotFoundVids = 3; * @param value The bytes of the notFoundVids to add. * @return This builder for chaining. */ public Builder addNotFoundVidsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNotFoundVidsIsMutable(); notFoundVids_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Byteplus.Vod.Models.Business.VodAllPlayInfoResult) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodAllPlayInfoResult) private static final com.byteplus.service.vod.model.business.VodAllPlayInfoResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodAllPlayInfoResult(); } public static com.byteplus.service.vod.model.business.VodAllPlayInfoResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodAllPlayInfoResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodAllPlayInfoResult(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.VodAllPlayInfoResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy