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

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.SnapshotOverride}
 */
public final class SnapshotOverride extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.SnapshotOverride)
    SnapshotOverrideOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SnapshotOverride.newBuilder() to construct.
  private SnapshotOverride(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SnapshotOverride() {
    templateId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    offsetTimeList_ = emptyIntList();
    fileName_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SnapshotOverride(
      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: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              templateId_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            templateId_.add(s);
            break;
          }
          case 16: {

            offsetTime_ = input.readInt32();
            break;
          }
          case 24: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              offsetTimeList_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            offsetTimeList_.addInt(input.readInt32());
            break;
          }
          case 26: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
              offsetTimeList_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            while (input.getBytesUntilLimit() > 0) {
              offsetTimeList_.addInt(input.readInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            fileName_ = 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)) {
        templateId_ = templateId_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        offsetTimeList_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_SnapshotOverride_descriptor;
  }

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

  public static final int TEMPLATEID_FIELD_NUMBER = 1;
  private com.google.protobuf.LazyStringList templateId_;
  /**
   * 
   * 被覆盖的截图模板Id, 支持ALL
   * 
* * repeated string TemplateId = 1; * @return A list containing the templateId. */ public com.google.protobuf.ProtocolStringList getTemplateIdList() { return templateId_; } /** *
   * 被覆盖的截图模板Id, 支持ALL
   * 
* * repeated string TemplateId = 1; * @return The count of templateId. */ public int getTemplateIdCount() { return templateId_.size(); } /** *
   * 被覆盖的截图模板Id, 支持ALL
   * 
* * repeated string TemplateId = 1; * @param index The index of the element to return. * @return The templateId at the given index. */ public java.lang.String getTemplateId(int index) { return templateId_.get(index); } /** *
   * 被覆盖的截图模板Id, 支持ALL
   * 
* * repeated string TemplateId = 1; * @param index The index of the value to return. * @return The bytes of the templateId at the given index. */ public com.google.protobuf.ByteString getTemplateIdBytes(int index) { return templateId_.getByteString(index); } public static final int OFFSETTIME_FIELD_NUMBER = 2; private int offsetTime_; /** *
   * 截图时间, 单位ms, AIDynpost和Sprite类型不支持
   * 
* * int32 OffsetTime = 2; * @return The offsetTime. */ @java.lang.Override public int getOffsetTime() { return offsetTime_; } public static final int OFFSETTIMELIST_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList offsetTimeList_; /** *
   * 多Dynpost类型截取时间,单位ms
   * 
* * repeated int32 OffsetTimeList = 3; * @return A list containing the offsetTimeList. */ @java.lang.Override public java.util.List getOffsetTimeListList() { return offsetTimeList_; } /** *
   * 多Dynpost类型截取时间,单位ms
   * 
* * repeated int32 OffsetTimeList = 3; * @return The count of offsetTimeList. */ public int getOffsetTimeListCount() { return offsetTimeList_.size(); } /** *
   * 多Dynpost类型截取时间,单位ms
   * 
* * repeated int32 OffsetTimeList = 3; * @param index The index of the element to return. * @return The offsetTimeList at the given index. */ public int getOffsetTimeList(int index) { return offsetTimeList_.getInt(index); } private int offsetTimeListMemoizedSerializedSize = -1; public static final int FILENAME_FIELD_NUMBER = 4; private volatile java.lang.Object fileName_; /** *
   * 文件名
   * 
* * string FileName = 4; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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(); fileName_ = s; return s; } } /** *
   * 文件名
   * 
* * string FileName = 4; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < templateId_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, templateId_.getRaw(i)); } if (offsetTime_ != 0) { output.writeInt32(2, offsetTime_); } if (getOffsetTimeListList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(offsetTimeListMemoizedSerializedSize); } for (int i = 0; i < offsetTimeList_.size(); i++) { output.writeInt32NoTag(offsetTimeList_.getInt(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fileName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < templateId_.size(); i++) { dataSize += computeStringSizeNoTag(templateId_.getRaw(i)); } size += dataSize; size += 1 * getTemplateIdList().size(); } if (offsetTime_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, offsetTime_); } { int dataSize = 0; for (int i = 0; i < offsetTimeList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(offsetTimeList_.getInt(i)); } size += dataSize; if (!getOffsetTimeListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } offsetTimeListMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fileName_); } 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.SnapshotOverride)) { return super.equals(obj); } com.byteplus.service.vod.model.business.SnapshotOverride other = (com.byteplus.service.vod.model.business.SnapshotOverride) obj; if (!getTemplateIdList() .equals(other.getTemplateIdList())) return false; if (getOffsetTime() != other.getOffsetTime()) return false; if (!getOffsetTimeListList() .equals(other.getOffsetTimeListList())) return false; if (!getFileName() .equals(other.getFileName())) 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 (getTemplateIdCount() > 0) { hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER; hash = (53 * hash) + getTemplateIdList().hashCode(); } hash = (37 * hash) + OFFSETTIME_FIELD_NUMBER; hash = (53 * hash) + getOffsetTime(); if (getOffsetTimeListCount() > 0) { hash = (37 * hash) + OFFSETTIMELIST_FIELD_NUMBER; hash = (53 * hash) + getOffsetTimeListList().hashCode(); } hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.SnapshotOverride parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.SnapshotOverride 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.SnapshotOverride parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.SnapshotOverride 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.SnapshotOverride parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride 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.SnapshotOverride} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.SnapshotOverride) com.byteplus.service.vod.model.business.SnapshotOverrideOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_SnapshotOverride_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_SnapshotOverride_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.SnapshotOverride.class, com.byteplus.service.vod.model.business.SnapshotOverride.Builder.class); } // Construct using com.byteplus.service.vod.model.business.SnapshotOverride.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); templateId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); offsetTime_ = 0; offsetTimeList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); fileName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodWorkflow.internal_static_Byteplus_Vod_Models_Business_SnapshotOverride_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.SnapshotOverride getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.SnapshotOverride.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.SnapshotOverride build() { com.byteplus.service.vod.model.business.SnapshotOverride result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.SnapshotOverride buildPartial() { com.byteplus.service.vod.model.business.SnapshotOverride result = new com.byteplus.service.vod.model.business.SnapshotOverride(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { templateId_ = templateId_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.templateId_ = templateId_; result.offsetTime_ = offsetTime_; if (((bitField0_ & 0x00000002) != 0)) { offsetTimeList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.offsetTimeList_ = offsetTimeList_; result.fileName_ = fileName_; 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.SnapshotOverride) { return mergeFrom((com.byteplus.service.vod.model.business.SnapshotOverride)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.SnapshotOverride other) { if (other == com.byteplus.service.vod.model.business.SnapshotOverride.getDefaultInstance()) return this; if (!other.templateId_.isEmpty()) { if (templateId_.isEmpty()) { templateId_ = other.templateId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTemplateIdIsMutable(); templateId_.addAll(other.templateId_); } onChanged(); } if (other.getOffsetTime() != 0) { setOffsetTime(other.getOffsetTime()); } if (!other.offsetTimeList_.isEmpty()) { if (offsetTimeList_.isEmpty()) { offsetTimeList_ = other.offsetTimeList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureOffsetTimeListIsMutable(); offsetTimeList_.addAll(other.offsetTimeList_); } onChanged(); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; 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.SnapshotOverride parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.SnapshotOverride) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList templateId_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTemplateIdIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { templateId_ = new com.google.protobuf.LazyStringArrayList(templateId_); bitField0_ |= 0x00000001; } } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @return A list containing the templateId. */ public com.google.protobuf.ProtocolStringList getTemplateIdList() { return templateId_.getUnmodifiableView(); } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @return The count of templateId. */ public int getTemplateIdCount() { return templateId_.size(); } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param index The index of the element to return. * @return The templateId at the given index. */ public java.lang.String getTemplateId(int index) { return templateId_.get(index); } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param index The index of the value to return. * @return The bytes of the templateId at the given index. */ public com.google.protobuf.ByteString getTemplateIdBytes(int index) { return templateId_.getByteString(index); } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param index The index to set the value at. * @param value The templateId to set. * @return This builder for chaining. */ public Builder setTemplateId( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTemplateIdIsMutable(); templateId_.set(index, value); onChanged(); return this; } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param value The templateId to add. * @return This builder for chaining. */ public Builder addTemplateId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTemplateIdIsMutable(); templateId_.add(value); onChanged(); return this; } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param values The templateId to add. * @return This builder for chaining. */ public Builder addAllTemplateId( java.lang.Iterable values) { ensureTemplateIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, templateId_); onChanged(); return this; } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @return This builder for chaining. */ public Builder clearTemplateId() { templateId_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * 被覆盖的截图模板Id, 支持ALL
     * 
* * repeated string TemplateId = 1; * @param value The bytes of the templateId to add. * @return This builder for chaining. */ public Builder addTemplateIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTemplateIdIsMutable(); templateId_.add(value); onChanged(); return this; } private int offsetTime_ ; /** *
     * 截图时间, 单位ms, AIDynpost和Sprite类型不支持
     * 
* * int32 OffsetTime = 2; * @return The offsetTime. */ @java.lang.Override public int getOffsetTime() { return offsetTime_; } /** *
     * 截图时间, 单位ms, AIDynpost和Sprite类型不支持
     * 
* * int32 OffsetTime = 2; * @param value The offsetTime to set. * @return This builder for chaining. */ public Builder setOffsetTime(int value) { offsetTime_ = value; onChanged(); return this; } /** *
     * 截图时间, 单位ms, AIDynpost和Sprite类型不支持
     * 
* * int32 OffsetTime = 2; * @return This builder for chaining. */ public Builder clearOffsetTime() { offsetTime_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList offsetTimeList_ = emptyIntList(); private void ensureOffsetTimeListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { offsetTimeList_ = mutableCopy(offsetTimeList_); bitField0_ |= 0x00000002; } } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @return A list containing the offsetTimeList. */ public java.util.List getOffsetTimeListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(offsetTimeList_) : offsetTimeList_; } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @return The count of offsetTimeList. */ public int getOffsetTimeListCount() { return offsetTimeList_.size(); } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @param index The index of the element to return. * @return The offsetTimeList at the given index. */ public int getOffsetTimeList(int index) { return offsetTimeList_.getInt(index); } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @param index The index to set the value at. * @param value The offsetTimeList to set. * @return This builder for chaining. */ public Builder setOffsetTimeList( int index, int value) { ensureOffsetTimeListIsMutable(); offsetTimeList_.setInt(index, value); onChanged(); return this; } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @param value The offsetTimeList to add. * @return This builder for chaining. */ public Builder addOffsetTimeList(int value) { ensureOffsetTimeListIsMutable(); offsetTimeList_.addInt(value); onChanged(); return this; } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @param values The offsetTimeList to add. * @return This builder for chaining. */ public Builder addAllOffsetTimeList( java.lang.Iterable values) { ensureOffsetTimeListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, offsetTimeList_); onChanged(); return this; } /** *
     * 多Dynpost类型截取时间,单位ms
     * 
* * repeated int32 OffsetTimeList = 3; * @return This builder for chaining. */ public Builder clearOffsetTimeList() { offsetTimeList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private java.lang.Object fileName_ = ""; /** *
     * 文件名
     * 
* * string FileName = 4; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 文件名
     * 
* * string FileName = 4; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 文件名
     * 
* * string FileName = 4; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; onChanged(); return this; } /** *
     * 文件名
     * 
* * string FileName = 4; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** *
     * 文件名
     * 
* * string FileName = 4; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = 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.SnapshotOverride) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.SnapshotOverride) private static final com.byteplus.service.vod.model.business.SnapshotOverride DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.SnapshotOverride(); } public static com.byteplus.service.vod.model.business.SnapshotOverride getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnapshotOverride parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SnapshotOverride(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.SnapshotOverride getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy