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

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData}
 */
public final class VodCommitUploadInfoResponseData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData)
    VodCommitUploadInfoResponseDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodCommitUploadInfoResponseData.newBuilder() to construct.
  private VodCommitUploadInfoResponseData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodCommitUploadInfoResponseData() {
    vid_ = "";
    posterUri_ = "";
    callbackArgs_ = "";
    mid_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodCommitUploadInfoResponseData(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    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();

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

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

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

            callbackArgs_ = s;
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            mid_ = 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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_descriptor;
  }

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

  public static final int VID_FIELD_NUMBER = 1;
  private volatile java.lang.Object vid_;
  /**
   * 
   * 视频的 id 
   * 
* * string Vid = 1; * @return The vid. */ @java.lang.Override public java.lang.String getVid() { java.lang.Object ref = vid_; 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(); vid_ = s; return s; } } /** *
   * 视频的 id 
   * 
* * string Vid = 1; * @return The bytes for vid. */ @java.lang.Override public com.google.protobuf.ByteString getVidBytes() { java.lang.Object ref = vid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCEINFO_FIELD_NUMBER = 2; private com.byteplus.service.vod.model.business.VodSourceInfo sourceInfo_; /** *
   * 视频的元信息 
   * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return Whether the sourceInfo field is set. */ @java.lang.Override public boolean hasSourceInfo() { return sourceInfo_ != null; } /** *
   * 视频的元信息 
   * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return The sourceInfo. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodSourceInfo getSourceInfo() { return sourceInfo_ == null ? com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } /** *
   * 视频的元信息 
   * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() { return getSourceInfo(); } public static final int POSTERURI_FIELD_NUMBER = 3; private volatile java.lang.Object posterUri_; /** *
   * 视频的封面图 URI 
   * 
* * string PosterUri = 3; * @return The posterUri. */ @java.lang.Override public java.lang.String getPosterUri() { java.lang.Object ref = posterUri_; 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(); posterUri_ = s; return s; } } /** *
   * 视频的封面图 URI 
   * 
* * string PosterUri = 3; * @return The bytes for posterUri. */ @java.lang.Override public com.google.protobuf.ByteString getPosterUriBytes() { java.lang.Object ref = posterUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); posterUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALLBACKARGS_FIELD_NUMBER = 4; private volatile java.lang.Object callbackArgs_; /** *
   * 视频透传业务的参数 
   * 
* * string CallbackArgs = 4; * @return The callbackArgs. */ @java.lang.Override public java.lang.String getCallbackArgs() { java.lang.Object ref = callbackArgs_; 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(); callbackArgs_ = s; return s; } } /** *
   * 视频透传业务的参数 
   * 
* * string CallbackArgs = 4; * @return The bytes for callbackArgs. */ @java.lang.Override public com.google.protobuf.ByteString getCallbackArgsBytes() { java.lang.Object ref = callbackArgs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callbackArgs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MID_FIELD_NUMBER = 5; private volatile java.lang.Object mid_; /** *
   * 素材 id 
   * 
* * string Mid = 5; * @return The mid. */ @java.lang.Override public java.lang.String getMid() { java.lang.Object ref = mid_; 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(); mid_ = s; return s; } } /** *
   * 素材 id 
   * 
* * string Mid = 5; * @return The bytes for mid. */ @java.lang.Override public com.google.protobuf.ByteString getMidBytes() { java.lang.Object ref = mid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mid_ = 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_); } if (sourceInfo_ != null) { output.writeMessage(2, getSourceInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, posterUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, callbackArgs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mid_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_); } if (sourceInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSourceInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, posterUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, callbackArgs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mid_); } 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.VodCommitUploadInfoResponseData)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData other = (com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData) obj; if (!getVid() .equals(other.getVid())) return false; if (hasSourceInfo() != other.hasSourceInfo()) return false; if (hasSourceInfo()) { if (!getSourceInfo() .equals(other.getSourceInfo())) return false; } if (!getPosterUri() .equals(other.getPosterUri())) return false; if (!getCallbackArgs() .equals(other.getCallbackArgs())) return false; if (!getMid() .equals(other.getMid())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VID_FIELD_NUMBER; hash = (53 * hash) + getVid().hashCode(); if (hasSourceInfo()) { hash = (37 * hash) + SOURCEINFO_FIELD_NUMBER; hash = (53 * hash) + getSourceInfo().hashCode(); } hash = (37 * hash) + POSTERURI_FIELD_NUMBER; hash = (53 * hash) + getPosterUri().hashCode(); hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER; hash = (53 * hash) + getCallbackArgs().hashCode(); hash = (37 * hash) + MID_FIELD_NUMBER; hash = (53 * hash) + getMid().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData 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.VodCommitUploadInfoResponseData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData) com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.class, com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.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(); vid_ = ""; if (sourceInfoBuilder_ == null) { sourceInfo_ = null; } else { sourceInfo_ = null; sourceInfoBuilder_ = null; } posterUri_ = ""; callbackArgs_ = ""; mid_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodUpload.internal_static_Byteplus_Vod_Models_Business_VodCommitUploadInfoResponseData_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData build() { com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData buildPartial() { com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData result = new com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData(this); result.vid_ = vid_; if (sourceInfoBuilder_ == null) { result.sourceInfo_ = sourceInfo_; } else { result.sourceInfo_ = sourceInfoBuilder_.build(); } result.posterUri_ = posterUri_; result.callbackArgs_ = callbackArgs_; result.mid_ = mid_; 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.VodCommitUploadInfoResponseData) { return mergeFrom((com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData other) { if (other == com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData.getDefaultInstance()) return this; if (!other.getVid().isEmpty()) { vid_ = other.vid_; onChanged(); } if (other.hasSourceInfo()) { mergeSourceInfo(other.getSourceInfo()); } if (!other.getPosterUri().isEmpty()) { posterUri_ = other.posterUri_; onChanged(); } if (!other.getCallbackArgs().isEmpty()) { callbackArgs_ = other.callbackArgs_; onChanged(); } if (!other.getMid().isEmpty()) { mid_ = other.mid_; 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.VodCommitUploadInfoResponseData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object vid_ = ""; /** *
     * 视频的 id 
     * 
* * string Vid = 1; * @return The vid. */ public java.lang.String getVid() { java.lang.Object ref = vid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 视频的 id 
     * 
* * string Vid = 1; * @return The bytes for vid. */ public com.google.protobuf.ByteString getVidBytes() { java.lang.Object ref = vid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 视频的 id 
     * 
* * string Vid = 1; * @param value The vid to set. * @return This builder for chaining. */ public Builder setVid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vid_ = value; onChanged(); return this; } /** *
     * 视频的 id 
     * 
* * string Vid = 1; * @return This builder for chaining. */ public Builder clearVid() { vid_ = getDefaultInstance().getVid(); onChanged(); return this; } /** *
     * 视频的 id 
     * 
* * string Vid = 1; * @param value The bytes for vid to set. * @return This builder for chaining. */ public Builder setVidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vid_ = value; onChanged(); return this; } private com.byteplus.service.vod.model.business.VodSourceInfo sourceInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodSourceInfo, com.byteplus.service.vod.model.business.VodSourceInfo.Builder, com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder> sourceInfoBuilder_; /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return Whether the sourceInfo field is set. */ public boolean hasSourceInfo() { return sourceInfoBuilder_ != null || sourceInfo_ != null; } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; * @return The sourceInfo. */ public com.byteplus.service.vod.model.business.VodSourceInfo getSourceInfo() { if (sourceInfoBuilder_ == null) { return sourceInfo_ == null ? com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } else { return sourceInfoBuilder_.getMessage(); } } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder setSourceInfo(com.byteplus.service.vod.model.business.VodSourceInfo value) { if (sourceInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sourceInfo_ = value; onChanged(); } else { sourceInfoBuilder_.setMessage(value); } return this; } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder setSourceInfo( com.byteplus.service.vod.model.business.VodSourceInfo.Builder builderForValue) { if (sourceInfoBuilder_ == null) { sourceInfo_ = builderForValue.build(); onChanged(); } else { sourceInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder mergeSourceInfo(com.byteplus.service.vod.model.business.VodSourceInfo value) { if (sourceInfoBuilder_ == null) { if (sourceInfo_ != null) { sourceInfo_ = com.byteplus.service.vod.model.business.VodSourceInfo.newBuilder(sourceInfo_).mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } onChanged(); } else { sourceInfoBuilder_.mergeFrom(value); } return this; } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public Builder clearSourceInfo() { if (sourceInfoBuilder_ == null) { sourceInfo_ = null; onChanged(); } else { sourceInfo_ = null; sourceInfoBuilder_ = null; } return this; } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public com.byteplus.service.vod.model.business.VodSourceInfo.Builder getSourceInfoBuilder() { onChanged(); return getSourceInfoFieldBuilder().getBuilder(); } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ public com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() { if (sourceInfoBuilder_ != null) { return sourceInfoBuilder_.getMessageOrBuilder(); } else { return sourceInfo_ == null ? com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_; } } /** *
     * 视频的元信息 
     * 
* * .Byteplus.Vod.Models.Business.VodSourceInfo SourceInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodSourceInfo, com.byteplus.service.vod.model.business.VodSourceInfo.Builder, com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder> getSourceInfoFieldBuilder() { if (sourceInfoBuilder_ == null) { sourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodSourceInfo, com.byteplus.service.vod.model.business.VodSourceInfo.Builder, com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder>( getSourceInfo(), getParentForChildren(), isClean()); sourceInfo_ = null; } return sourceInfoBuilder_; } private java.lang.Object posterUri_ = ""; /** *
     * 视频的封面图 URI 
     * 
* * string PosterUri = 3; * @return The posterUri. */ public java.lang.String getPosterUri() { java.lang.Object ref = posterUri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); posterUri_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 视频的封面图 URI 
     * 
* * string PosterUri = 3; * @return The bytes for posterUri. */ public com.google.protobuf.ByteString getPosterUriBytes() { java.lang.Object ref = posterUri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); posterUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 视频的封面图 URI 
     * 
* * string PosterUri = 3; * @param value The posterUri to set. * @return This builder for chaining. */ public Builder setPosterUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } posterUri_ = value; onChanged(); return this; } /** *
     * 视频的封面图 URI 
     * 
* * string PosterUri = 3; * @return This builder for chaining. */ public Builder clearPosterUri() { posterUri_ = getDefaultInstance().getPosterUri(); onChanged(); return this; } /** *
     * 视频的封面图 URI 
     * 
* * string PosterUri = 3; * @param value The bytes for posterUri to set. * @return This builder for chaining. */ public Builder setPosterUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); posterUri_ = value; onChanged(); return this; } private java.lang.Object callbackArgs_ = ""; /** *
     * 视频透传业务的参数 
     * 
* * string CallbackArgs = 4; * @return The callbackArgs. */ public java.lang.String getCallbackArgs() { java.lang.Object ref = callbackArgs_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callbackArgs_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 视频透传业务的参数 
     * 
* * string CallbackArgs = 4; * @return The bytes for callbackArgs. */ public com.google.protobuf.ByteString getCallbackArgsBytes() { java.lang.Object ref = callbackArgs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callbackArgs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 视频透传业务的参数 
     * 
* * string CallbackArgs = 4; * @param value The callbackArgs to set. * @return This builder for chaining. */ public Builder setCallbackArgs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callbackArgs_ = value; onChanged(); return this; } /** *
     * 视频透传业务的参数 
     * 
* * string CallbackArgs = 4; * @return This builder for chaining. */ public Builder clearCallbackArgs() { callbackArgs_ = getDefaultInstance().getCallbackArgs(); onChanged(); return this; } /** *
     * 视频透传业务的参数 
     * 
* * string CallbackArgs = 4; * @param value The bytes for callbackArgs to set. * @return This builder for chaining. */ public Builder setCallbackArgsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callbackArgs_ = value; onChanged(); return this; } private java.lang.Object mid_ = ""; /** *
     * 素材 id 
     * 
* * string Mid = 5; * @return The mid. */ public java.lang.String getMid() { java.lang.Object ref = mid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 素材 id 
     * 
* * string Mid = 5; * @return The bytes for mid. */ public com.google.protobuf.ByteString getMidBytes() { java.lang.Object ref = mid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 素材 id 
     * 
* * string Mid = 5; * @param value The mid to set. * @return This builder for chaining. */ public Builder setMid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } mid_ = value; onChanged(); return this; } /** *
     * 素材 id 
     * 
* * string Mid = 5; * @return This builder for chaining. */ public Builder clearMid() { mid_ = getDefaultInstance().getMid(); onChanged(); return this; } /** *
     * 素材 id 
     * 
* * string Mid = 5; * @param value The bytes for mid to set. * @return This builder for chaining. */ public Builder setMidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mid_ = 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.VodCommitUploadInfoResponseData) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodCommitUploadInfoResponseData) private static final com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData(); } public static com.byteplus.service.vod.model.business.VodCommitUploadInfoResponseData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodCommitUploadInfoResponseData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodCommitUploadInfoResponseData(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.VodCommitUploadInfoResponseData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy