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

com.volcengine.service.vod.model.business.VodMediaInfo 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.VodMediaInfo}
 */
public final class VodMediaInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodMediaInfo)
    VodMediaInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodMediaInfo.newBuilder() to construct.
  private VodMediaInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodMediaInfo() {
    transcodeInfos_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodMediaInfo(
      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: {
            com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder subBuilder = null;
            if (basicInfo_ != null) {
              subBuilder = basicInfo_.toBuilder();
            }
            basicInfo_ = input.readMessage(com.volcengine.service.vod.model.business.VodMediaBasicInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(basicInfo_);
              basicInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            com.volcengine.service.vod.model.business.VodSourceInfo.Builder subBuilder = null;
            if (sourceInfo_ != null) {
              subBuilder = sourceInfo_.toBuilder();
            }
            sourceInfo_ = input.readMessage(com.volcengine.service.vod.model.business.VodSourceInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(sourceInfo_);
              sourceInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              transcodeInfos_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            transcodeInfos_.add(
                input.readMessage(com.volcengine.service.vod.model.business.VodTranscodeInfo.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)) {
        transcodeInfos_ = java.util.Collections.unmodifiableList(transcodeInfos_);
      }
      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_VodMediaInfo_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_VodMediaInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodMediaInfo.class, com.volcengine.service.vod.model.business.VodMediaInfo.Builder.class);
  }

  public static final int BASICINFO_FIELD_NUMBER = 1;
  private com.volcengine.service.vod.model.business.VodMediaBasicInfo basicInfo_;
  /**
   * 
   *视频基础信息
   * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; * @return Whether the basicInfo field is set. */ @java.lang.Override public boolean hasBasicInfo() { return basicInfo_ != null; } /** *
   *视频基础信息
   * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; * @return The basicInfo. */ @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfo getBasicInfo() { return basicInfo_ == null ? com.volcengine.service.vod.model.business.VodMediaBasicInfo.getDefaultInstance() : basicInfo_; } /** *
   *视频基础信息
   * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder getBasicInfoOrBuilder() { return getBasicInfo(); } public static final int SOURCEINFO_FIELD_NUMBER = 2; private com.volcengine.service.vod.model.business.VodSourceInfo sourceInfo_; /** *
   *原视频信息
   * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return Whether the sourceInfo field is set. */ @java.lang.Override public boolean hasSourceInfo() { return sourceInfo_ != null; } /** *
   *原视频信息
   * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return The sourceInfo. */ @java.lang.Override public com.volcengine.service.vod.model.business.VodSourceInfo getSourceInfo() { return sourceInfo_ == null ? com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } /** *
   *原视频信息
   * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() { return getSourceInfo(); } public static final int TRANSCODEINFOS_FIELD_NUMBER = 3; private java.util.List transcodeInfos_; /** *
   *转码视频信息列表
   * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ @java.lang.Override public java.util.List getTranscodeInfosList() { return transcodeInfos_; } /** *
   *转码视频信息列表
   * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ @java.lang.Override public java.util.List getTranscodeInfosOrBuilderList() { return transcodeInfos_; } /** *
   *转码视频信息列表
   * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ @java.lang.Override public int getTranscodeInfosCount() { return transcodeInfos_.size(); } /** *
   *转码视频信息列表
   * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodTranscodeInfo getTranscodeInfos(int index) { return transcodeInfos_.get(index); } /** *
   *转码视频信息列表
   * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodTranscodeInfoOrBuilder getTranscodeInfosOrBuilder( int index) { return transcodeInfos_.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 (basicInfo_ != null) { output.writeMessage(1, getBasicInfo()); } if (sourceInfo_ != null) { output.writeMessage(2, getSourceInfo()); } for (int i = 0; i < transcodeInfos_.size(); i++) { output.writeMessage(3, transcodeInfos_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (basicInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBasicInfo()); } if (sourceInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSourceInfo()); } for (int i = 0; i < transcodeInfos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, transcodeInfos_.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.VodMediaInfo)) { return super.equals(obj); } com.volcengine.service.vod.model.business.VodMediaInfo other = (com.volcengine.service.vod.model.business.VodMediaInfo) obj; if (hasBasicInfo() != other.hasBasicInfo()) return false; if (hasBasicInfo()) { if (!getBasicInfo() .equals(other.getBasicInfo())) return false; } if (hasSourceInfo() != other.hasSourceInfo()) return false; if (hasSourceInfo()) { if (!getSourceInfo() .equals(other.getSourceInfo())) return false; } if (!getTranscodeInfosList() .equals(other.getTranscodeInfosList())) 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 (hasBasicInfo()) { hash = (37 * hash) + BASICINFO_FIELD_NUMBER; hash = (53 * hash) + getBasicInfo().hashCode(); } if (hasSourceInfo()) { hash = (37 * hash) + SOURCEINFO_FIELD_NUMBER; hash = (53 * hash) + getSourceInfo().hashCode(); } if (getTranscodeInfosCount() > 0) { hash = (37 * hash) + TRANSCODEINFOS_FIELD_NUMBER; hash = (53 * hash) + getTranscodeInfosList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.VodMediaInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaInfo 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.VodMediaInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaInfo 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.VodMediaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo 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.VodMediaInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodMediaInfo) com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaInfo_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_VodMediaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.VodMediaInfo.class, com.volcengine.service.vod.model.business.VodMediaInfo.Builder.class); } // Construct using com.volcengine.service.vod.model.business.VodMediaInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTranscodeInfosFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (basicInfoBuilder_ == null) { basicInfo_ = null; } else { basicInfo_ = null; basicInfoBuilder_ = null; } if (sourceInfoBuilder_ == null) { sourceInfo_ = null; } else { sourceInfo_ = null; sourceInfoBuilder_ = null; } if (transcodeInfosBuilder_ == null) { transcodeInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { transcodeInfosBuilder_.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_VodMediaInfo_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaInfo getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.VodMediaInfo.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaInfo build() { com.volcengine.service.vod.model.business.VodMediaInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaInfo buildPartial() { com.volcengine.service.vod.model.business.VodMediaInfo result = new com.volcengine.service.vod.model.business.VodMediaInfo(this); int from_bitField0_ = bitField0_; if (basicInfoBuilder_ == null) { result.basicInfo_ = basicInfo_; } else { result.basicInfo_ = basicInfoBuilder_.build(); } if (sourceInfoBuilder_ == null) { result.sourceInfo_ = sourceInfo_; } else { result.sourceInfo_ = sourceInfoBuilder_.build(); } if (transcodeInfosBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { transcodeInfos_ = java.util.Collections.unmodifiableList(transcodeInfos_); bitField0_ = (bitField0_ & ~0x00000001); } result.transcodeInfos_ = transcodeInfos_; } else { result.transcodeInfos_ = transcodeInfosBuilder_.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.VodMediaInfo) { return mergeFrom((com.volcengine.service.vod.model.business.VodMediaInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.VodMediaInfo other) { if (other == com.volcengine.service.vod.model.business.VodMediaInfo.getDefaultInstance()) return this; if (other.hasBasicInfo()) { mergeBasicInfo(other.getBasicInfo()); } if (other.hasSourceInfo()) { mergeSourceInfo(other.getSourceInfo()); } if (transcodeInfosBuilder_ == null) { if (!other.transcodeInfos_.isEmpty()) { if (transcodeInfos_.isEmpty()) { transcodeInfos_ = other.transcodeInfos_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTranscodeInfosIsMutable(); transcodeInfos_.addAll(other.transcodeInfos_); } onChanged(); } } else { if (!other.transcodeInfos_.isEmpty()) { if (transcodeInfosBuilder_.isEmpty()) { transcodeInfosBuilder_.dispose(); transcodeInfosBuilder_ = null; transcodeInfos_ = other.transcodeInfos_; bitField0_ = (bitField0_ & ~0x00000001); transcodeInfosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTranscodeInfosFieldBuilder() : null; } else { transcodeInfosBuilder_.addAllMessages(other.transcodeInfos_); } } } 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.VodMediaInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.VodMediaInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.volcengine.service.vod.model.business.VodMediaBasicInfo basicInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodMediaBasicInfo, com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder, com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder> basicInfoBuilder_; /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; * @return Whether the basicInfo field is set. */ public boolean hasBasicInfo() { return basicInfoBuilder_ != null || basicInfo_ != null; } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; * @return The basicInfo. */ public com.volcengine.service.vod.model.business.VodMediaBasicInfo getBasicInfo() { if (basicInfoBuilder_ == null) { return basicInfo_ == null ? com.volcengine.service.vod.model.business.VodMediaBasicInfo.getDefaultInstance() : basicInfo_; } else { return basicInfoBuilder_.getMessage(); } } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public Builder setBasicInfo(com.volcengine.service.vod.model.business.VodMediaBasicInfo value) { if (basicInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } basicInfo_ = value; onChanged(); } else { basicInfoBuilder_.setMessage(value); } return this; } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public Builder setBasicInfo( com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder builderForValue) { if (basicInfoBuilder_ == null) { basicInfo_ = builderForValue.build(); onChanged(); } else { basicInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public Builder mergeBasicInfo(com.volcengine.service.vod.model.business.VodMediaBasicInfo value) { if (basicInfoBuilder_ == null) { if (basicInfo_ != null) { basicInfo_ = com.volcengine.service.vod.model.business.VodMediaBasicInfo.newBuilder(basicInfo_).mergeFrom(value).buildPartial(); } else { basicInfo_ = value; } onChanged(); } else { basicInfoBuilder_.mergeFrom(value); } return this; } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public Builder clearBasicInfo() { if (basicInfoBuilder_ == null) { basicInfo_ = null; onChanged(); } else { basicInfo_ = null; basicInfoBuilder_ = null; } return this; } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder getBasicInfoBuilder() { onChanged(); return getBasicInfoFieldBuilder().getBuilder(); } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ public com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder getBasicInfoOrBuilder() { if (basicInfoBuilder_ != null) { return basicInfoBuilder_.getMessageOrBuilder(); } else { return basicInfo_ == null ? com.volcengine.service.vod.model.business.VodMediaBasicInfo.getDefaultInstance() : basicInfo_; } } /** *
     *视频基础信息
     * 
* * .Volcengine.Vod.Models.Business.VodMediaBasicInfo BasicInfo = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodMediaBasicInfo, com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder, com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder> getBasicInfoFieldBuilder() { if (basicInfoBuilder_ == null) { basicInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodMediaBasicInfo, com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder, com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder>( getBasicInfo(), getParentForChildren(), isClean()); basicInfo_ = null; } return basicInfoBuilder_; } private com.volcengine.service.vod.model.business.VodSourceInfo sourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder> sourceInfoBuilder_; /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return Whether the sourceInfo field is set. */ public boolean hasSourceInfo() { return sourceInfoBuilder_ != null || sourceInfo_ != null; } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return The sourceInfo. */ public com.volcengine.service.vod.model.business.VodSourceInfo getSourceInfo() { if (sourceInfoBuilder_ == null) { return sourceInfo_ == null ? com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } else { return sourceInfoBuilder_.getMessage(); } } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder setSourceInfo(com.volcengine.service.vod.model.business.VodSourceInfo value) { if (sourceInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sourceInfo_ = value; onChanged(); } else { sourceInfoBuilder_.setMessage(value); } return this; } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder setSourceInfo( com.volcengine.service.vod.model.business.VodSourceInfo.Builder builderForValue) { if (sourceInfoBuilder_ == null) { sourceInfo_ = builderForValue.build(); onChanged(); } else { sourceInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder mergeSourceInfo(com.volcengine.service.vod.model.business.VodSourceInfo value) { if (sourceInfoBuilder_ == null) { if (sourceInfo_ != null) { sourceInfo_ = com.volcengine.service.vod.model.business.VodSourceInfo.newBuilder(sourceInfo_).mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } onChanged(); } else { sourceInfoBuilder_.mergeFrom(value); } return this; } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder clearSourceInfo() { if (sourceInfoBuilder_ == null) { sourceInfo_ = null; onChanged(); } else { sourceInfo_ = null; sourceInfoBuilder_ = null; } return this; } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public com.volcengine.service.vod.model.business.VodSourceInfo.Builder getSourceInfoBuilder() { onChanged(); return getSourceInfoFieldBuilder().getBuilder(); } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() { if (sourceInfoBuilder_ != null) { return sourceInfoBuilder_.getMessageOrBuilder(); } else { return sourceInfo_ == null ? com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } } /** *
     *原视频信息
     * 
* * .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder> getSourceInfoFieldBuilder() { if (sourceInfoBuilder_ == null) { sourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder>( getSourceInfo(), getParentForChildren(), isClean()); sourceInfo_ = null; } return sourceInfoBuilder_; } private java.util.List transcodeInfos_ = java.util.Collections.emptyList(); private void ensureTranscodeInfosIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { transcodeInfos_ = new java.util.ArrayList(transcodeInfos_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodTranscodeInfo, com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder, com.volcengine.service.vod.model.business.VodTranscodeInfoOrBuilder> transcodeInfosBuilder_; /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public java.util.List getTranscodeInfosList() { if (transcodeInfosBuilder_ == null) { return java.util.Collections.unmodifiableList(transcodeInfos_); } else { return transcodeInfosBuilder_.getMessageList(); } } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public int getTranscodeInfosCount() { if (transcodeInfosBuilder_ == null) { return transcodeInfos_.size(); } else { return transcodeInfosBuilder_.getCount(); } } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public com.volcengine.service.vod.model.business.VodTranscodeInfo getTranscodeInfos(int index) { if (transcodeInfosBuilder_ == null) { return transcodeInfos_.get(index); } else { return transcodeInfosBuilder_.getMessage(index); } } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder setTranscodeInfos( int index, com.volcengine.service.vod.model.business.VodTranscodeInfo value) { if (transcodeInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeInfosIsMutable(); transcodeInfos_.set(index, value); onChanged(); } else { transcodeInfosBuilder_.setMessage(index, value); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder setTranscodeInfos( int index, com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) { if (transcodeInfosBuilder_ == null) { ensureTranscodeInfosIsMutable(); transcodeInfos_.set(index, builderForValue.build()); onChanged(); } else { transcodeInfosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder addTranscodeInfos(com.volcengine.service.vod.model.business.VodTranscodeInfo value) { if (transcodeInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeInfosIsMutable(); transcodeInfos_.add(value); onChanged(); } else { transcodeInfosBuilder_.addMessage(value); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder addTranscodeInfos( int index, com.volcengine.service.vod.model.business.VodTranscodeInfo value) { if (transcodeInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeInfosIsMutable(); transcodeInfos_.add(index, value); onChanged(); } else { transcodeInfosBuilder_.addMessage(index, value); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder addTranscodeInfos( com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) { if (transcodeInfosBuilder_ == null) { ensureTranscodeInfosIsMutable(); transcodeInfos_.add(builderForValue.build()); onChanged(); } else { transcodeInfosBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder addTranscodeInfos( int index, com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder builderForValue) { if (transcodeInfosBuilder_ == null) { ensureTranscodeInfosIsMutable(); transcodeInfos_.add(index, builderForValue.build()); onChanged(); } else { transcodeInfosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder addAllTranscodeInfos( java.lang.Iterable values) { if (transcodeInfosBuilder_ == null) { ensureTranscodeInfosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transcodeInfos_); onChanged(); } else { transcodeInfosBuilder_.addAllMessages(values); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder clearTranscodeInfos() { if (transcodeInfosBuilder_ == null) { transcodeInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { transcodeInfosBuilder_.clear(); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public Builder removeTranscodeInfos(int index) { if (transcodeInfosBuilder_ == null) { ensureTranscodeInfosIsMutable(); transcodeInfos_.remove(index); onChanged(); } else { transcodeInfosBuilder_.remove(index); } return this; } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder getTranscodeInfosBuilder( int index) { return getTranscodeInfosFieldBuilder().getBuilder(index); } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public com.volcengine.service.vod.model.business.VodTranscodeInfoOrBuilder getTranscodeInfosOrBuilder( int index) { if (transcodeInfosBuilder_ == null) { return transcodeInfos_.get(index); } else { return transcodeInfosBuilder_.getMessageOrBuilder(index); } } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public java.util.List getTranscodeInfosOrBuilderList() { if (transcodeInfosBuilder_ != null) { return transcodeInfosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transcodeInfos_); } } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder addTranscodeInfosBuilder() { return getTranscodeInfosFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.VodTranscodeInfo.getDefaultInstance()); } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder addTranscodeInfosBuilder( int index) { return getTranscodeInfosFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.VodTranscodeInfo.getDefaultInstance()); } /** *
     *转码视频信息列表
     * 
* * repeated .Volcengine.Vod.Models.Business.VodTranscodeInfo TranscodeInfos = 3; */ public java.util.List getTranscodeInfosBuilderList() { return getTranscodeInfosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodTranscodeInfo, com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder, com.volcengine.service.vod.model.business.VodTranscodeInfoOrBuilder> getTranscodeInfosFieldBuilder() { if (transcodeInfosBuilder_ == null) { transcodeInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodTranscodeInfo, com.volcengine.service.vod.model.business.VodTranscodeInfo.Builder, com.volcengine.service.vod.model.business.VodTranscodeInfoOrBuilder>( transcodeInfos_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); transcodeInfos_ = null; } return transcodeInfosBuilder_; } @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.VodMediaInfo) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodMediaInfo) private static final com.volcengine.service.vod.model.business.VodMediaInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodMediaInfo(); } public static com.volcengine.service.vod.model.business.VodMediaInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodMediaInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodMediaInfo(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.VodMediaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy