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

com.volcengine.service.live.model.business.CDNSnapshotHistoryInfo Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: live/business/snapshot_manage.proto

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

/**
 * Protobuf type {@code Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo}
 */
public final class CDNSnapshotHistoryInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo)
    CDNSnapshotHistoryInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CDNSnapshotHistoryInfo.newBuilder() to construct.
  private CDNSnapshotHistoryInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private CDNSnapshotHistoryInfo() {
    data_ = java.util.Collections.emptyList();
  }

  @Override
  @SuppressWarnings({"unused"})
  protected Object newInstance(
      UnusedPrivateParameter unused) {
    return new CDNSnapshotHistoryInfo();
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private CDNSnapshotHistoryInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new 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)) {
              data_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            data_.add(
                input.readMessage(CDNSnapshotHistory.parser(), extensionRegistry));
            break;
          }
          case 18: {
            Pagination.Builder subBuilder = null;
            if (pagination_ != null) {
              subBuilder = pagination_.toBuilder();
            }
            pagination_ = input.readMessage(Pagination.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(pagination_);
              pagination_ = subBuilder.buildPartial();
            }

            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)) {
        data_ = java.util.Collections.unmodifiableList(data_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return SnapshotManage.internal_static_Volcengine_Live_Models_Business_CDNSnapshotHistoryInfo_descriptor;
  }

  @Override
  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return SnapshotManage.internal_static_Volcengine_Live_Models_Business_CDNSnapshotHistoryInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            CDNSnapshotHistoryInfo.class, Builder.class);
  }

  public static final int DATA_FIELD_NUMBER = 1;
  private java.util.List data_;
  /**
   * 
   * 截图历史列表记录
   * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ @Override public java.util.List getDataList() { return data_; } /** *
   * 截图历史列表记录
   * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ @Override public java.util.List getDataOrBuilderList() { return data_; } /** *
   * 截图历史列表记录
   * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ @Override public int getDataCount() { return data_.size(); } /** *
   * 截图历史列表记录
   * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ @Override public CDNSnapshotHistory getData(int index) { return data_.get(index); } /** *
   * 截图历史列表记录
   * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ @Override public CDNSnapshotHistoryOrBuilder getDataOrBuilder( int index) { return data_.get(index); } public static final int PAGINATION_FIELD_NUMBER = 2; private Pagination pagination_; /** *
   * 分页信息
   * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; * @return Whether the pagination field is set. */ @Override public boolean hasPagination() { return pagination_ != null; } /** *
   * 分页信息
   * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; * @return The pagination. */ @Override public Pagination getPagination() { return pagination_ == null ? Pagination.getDefaultInstance() : pagination_; } /** *
   * 分页信息
   * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ @Override public PaginationOrBuilder getPaginationOrBuilder() { return getPagination(); } private byte memoizedIsInitialized = -1; @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < data_.size(); i++) { output.writeMessage(1, data_.get(i)); } if (pagination_ != null) { output.writeMessage(2, getPagination()); } unknownFields.writeTo(output); } @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < data_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, data_.get(i)); } if (pagination_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPagination()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof CDNSnapshotHistoryInfo)) { return super.equals(obj); } CDNSnapshotHistoryInfo other = (CDNSnapshotHistoryInfo) obj; if (!getDataList() .equals(other.getDataList())) return false; if (hasPagination() != other.hasPagination()) return false; if (hasPagination()) { if (!getPagination() .equals(other.getPagination())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getDataCount() > 0) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getDataList().hashCode(); } if (hasPagination()) { hash = (37 * hash) + PAGINATION_FIELD_NUMBER; hash = (53 * hash) + getPagination().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static CDNSnapshotHistoryInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static CDNSnapshotHistoryInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static CDNSnapshotHistoryInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static CDNSnapshotHistoryInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static CDNSnapshotHistoryInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static CDNSnapshotHistoryInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static CDNSnapshotHistoryInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static CDNSnapshotHistoryInfo 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 CDNSnapshotHistoryInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static CDNSnapshotHistoryInfo 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 CDNSnapshotHistoryInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static CDNSnapshotHistoryInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(CDNSnapshotHistoryInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @Override protected Builder newBuilderForType( BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo) CDNSnapshotHistoryInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return SnapshotManage.internal_static_Volcengine_Live_Models_Business_CDNSnapshotHistoryInfo_descriptor; } @Override protected FieldAccessorTable internalGetFieldAccessorTable() { return SnapshotManage.internal_static_Volcengine_Live_Models_Business_CDNSnapshotHistoryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( CDNSnapshotHistoryInfo.class, Builder.class); } // Construct using com.volcengine.service.live.model.business.CDNSnapshotHistoryInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldBuilder(); } } @Override public Builder clear() { super.clear(); if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataBuilder_.clear(); } if (paginationBuilder_ == null) { pagination_ = null; } else { pagination_ = null; paginationBuilder_ = null; } return this; } @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return SnapshotManage.internal_static_Volcengine_Live_Models_Business_CDNSnapshotHistoryInfo_descriptor; } @Override public CDNSnapshotHistoryInfo getDefaultInstanceForType() { return CDNSnapshotHistoryInfo.getDefaultInstance(); } @Override public CDNSnapshotHistoryInfo build() { CDNSnapshotHistoryInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @Override public CDNSnapshotHistoryInfo buildPartial() { CDNSnapshotHistoryInfo result = new CDNSnapshotHistoryInfo(this); int from_bitField0_ = bitField0_; if (dataBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); bitField0_ = (bitField0_ & ~0x00000001); } result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } if (paginationBuilder_ == null) { result.pagination_ = pagination_; } else { result.pagination_ = paginationBuilder_.build(); } onBuilt(); return result; } @Override public Builder clone() { return super.clone(); } @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.setField(field, value); } @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return super.setRepeatedField(field, index, value); } @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return super.addRepeatedField(field, value); } @Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof CDNSnapshotHistoryInfo) { return mergeFrom((CDNSnapshotHistoryInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(CDNSnapshotHistoryInfo other) { if (other == CDNSnapshotHistoryInfo.getDefaultInstance()) return this; if (dataBuilder_ == null) { if (!other.data_.isEmpty()) { if (data_.isEmpty()) { data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataIsMutable(); data_.addAll(other.data_); } onChanged(); } } else { if (!other.data_.isEmpty()) { if (dataBuilder_.isEmpty()) { dataBuilder_.dispose(); dataBuilder_ = null; data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000001); dataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldBuilder() : null; } else { dataBuilder_.addAllMessages(other.data_); } } } if (other.hasPagination()) { mergePagination(other.getPagination()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @Override public final boolean isInitialized() { return true; } @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { CDNSnapshotHistoryInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (CDNSnapshotHistoryInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { data_ = new java.util.ArrayList(data_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< CDNSnapshotHistory, CDNSnapshotHistory.Builder, CDNSnapshotHistoryOrBuilder> dataBuilder_; /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public java.util.List getDataList() { if (dataBuilder_ == null) { return java.util.Collections.unmodifiableList(data_); } else { return dataBuilder_.getMessageList(); } } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public int getDataCount() { if (dataBuilder_ == null) { return data_.size(); } else { return dataBuilder_.getCount(); } } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public CDNSnapshotHistory getData(int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessage(index); } } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder setData( int index, CDNSnapshotHistory value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.set(index, value); onChanged(); } else { dataBuilder_.setMessage(index, value); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder setData( int index, CDNSnapshotHistory.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.set(index, builderForValue.build()); onChanged(); } else { dataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder addData(CDNSnapshotHistory value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(value); onChanged(); } else { dataBuilder_.addMessage(value); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder addData( int index, CDNSnapshotHistory value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(index, value); onChanged(); } else { dataBuilder_.addMessage(index, value); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder addData( CDNSnapshotHistory.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder addData( int index, CDNSnapshotHistory.Builder builderForValue) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.add(index, builderForValue.build()); onChanged(); } else { dataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder addAllData( Iterable values) { if (dataBuilder_ == null) { ensureDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, data_); onChanged(); } else { dataBuilder_.addAllMessages(values); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataBuilder_.clear(); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public Builder removeData(int index) { if (dataBuilder_ == null) { ensureDataIsMutable(); data_.remove(index); onChanged(); } else { dataBuilder_.remove(index); } return this; } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public CDNSnapshotHistory.Builder getDataBuilder( int index) { return getDataFieldBuilder().getBuilder(index); } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public CDNSnapshotHistoryOrBuilder getDataOrBuilder( int index) { if (dataBuilder_ == null) { return data_.get(index); } else { return dataBuilder_.getMessageOrBuilder(index); } } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public java.util.List getDataOrBuilderList() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(data_); } } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public CDNSnapshotHistory.Builder addDataBuilder() { return getDataFieldBuilder().addBuilder( CDNSnapshotHistory.getDefaultInstance()); } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public CDNSnapshotHistory.Builder addDataBuilder( int index) { return getDataFieldBuilder().addBuilder( index, CDNSnapshotHistory.getDefaultInstance()); } /** *
     * 截图历史列表记录
     * 
* * repeated .Volcengine.Live.Models.Business.CDNSnapshotHistory Data = 1; */ public java.util.List getDataBuilderList() { return getDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< CDNSnapshotHistory, CDNSnapshotHistory.Builder, CDNSnapshotHistoryOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< CDNSnapshotHistory, CDNSnapshotHistory.Builder, CDNSnapshotHistoryOrBuilder>( data_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private Pagination pagination_; private com.google.protobuf.SingleFieldBuilderV3< Pagination, Pagination.Builder, PaginationOrBuilder> paginationBuilder_; /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; * @return Whether the pagination field is set. */ public boolean hasPagination() { return paginationBuilder_ != null || pagination_ != null; } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; * @return The pagination. */ public Pagination getPagination() { if (paginationBuilder_ == null) { return pagination_ == null ? Pagination.getDefaultInstance() : pagination_; } else { return paginationBuilder_.getMessage(); } } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public Builder setPagination(Pagination value) { if (paginationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pagination_ = value; onChanged(); } else { paginationBuilder_.setMessage(value); } return this; } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public Builder setPagination( Pagination.Builder builderForValue) { if (paginationBuilder_ == null) { pagination_ = builderForValue.build(); onChanged(); } else { paginationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public Builder mergePagination(Pagination value) { if (paginationBuilder_ == null) { if (pagination_ != null) { pagination_ = Pagination.newBuilder(pagination_).mergeFrom(value).buildPartial(); } else { pagination_ = value; } onChanged(); } else { paginationBuilder_.mergeFrom(value); } return this; } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public Builder clearPagination() { if (paginationBuilder_ == null) { pagination_ = null; onChanged(); } else { pagination_ = null; paginationBuilder_ = null; } return this; } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public Pagination.Builder getPaginationBuilder() { onChanged(); return getPaginationFieldBuilder().getBuilder(); } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ public PaginationOrBuilder getPaginationOrBuilder() { if (paginationBuilder_ != null) { return paginationBuilder_.getMessageOrBuilder(); } else { return pagination_ == null ? Pagination.getDefaultInstance() : pagination_; } } /** *
     * 分页信息
     * 
* * .Volcengine.Live.Models.Business.Pagination Pagination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< Pagination, Pagination.Builder, PaginationOrBuilder> getPaginationFieldBuilder() { if (paginationBuilder_ == null) { paginationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< Pagination, Pagination.Builder, PaginationOrBuilder>( getPagination(), getParentForChildren(), isClean()); pagination_ = null; } return paginationBuilder_; } @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo) } // @@protoc_insertion_point(class_scope:Volcengine.Live.Models.Business.CDNSnapshotHistoryInfo) private static final CDNSnapshotHistoryInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new CDNSnapshotHistoryInfo(); } public static CDNSnapshotHistoryInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @Override public CDNSnapshotHistoryInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CDNSnapshotHistoryInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @Override public CDNSnapshotHistoryInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy