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

com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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/request/request_vod.proto

package com.volcengine.service.vod.model.request;

/**
 * Protobuf type {@code Volcengine.Vod.Models.Request.VodUpdateSubtitleInfoRequest}
 */
public final class VodUpdateSubtitleInfoRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodUpdateSubtitleInfoRequest)
    VodUpdateSubtitleInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodUpdateSubtitleInfoRequest.newBuilder() to construct.
  private VodUpdateSubtitleInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodUpdateSubtitleInfoRequest() {
    vid_ = "";
    fileId_ = "";
    language_ = "";
    format_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodUpdateSubtitleInfoRequest(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

            format_ = s;
            break;
          }
          case 50: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (title_ != null) {
              subBuilder = title_.toBuilder();
            }
            title_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(title_);
              title_ = subBuilder.buildPartial();
            }

            break;
          }
          case 58: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (tag_ != null) {
              subBuilder = tag_.toBuilder();
            }
            tag_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(tag_);
              tag_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateSubtitleInfoRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateSubtitleInfoRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.class, com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.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 FILEID_FIELD_NUMBER = 2; private volatile java.lang.Object fileId_; /** *
   *转码视频id列表
   * 
* * string FileId = 2; * @return The fileId. */ @java.lang.Override public java.lang.String getFileId() { java.lang.Object ref = fileId_; 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(); fileId_ = s; return s; } } /** *
   *转码视频id列表
   * 
* * string FileId = 2; * @return The bytes for fileId. */ @java.lang.Override public com.google.protobuf.ByteString getFileIdBytes() { java.lang.Object ref = fileId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LANGUAGE_FIELD_NUMBER = 3; private volatile java.lang.Object language_; /** *
   *字幕语言列表
   * 
* * string Language = 3; * @return The language. */ @java.lang.Override public java.lang.String getLanguage() { java.lang.Object ref = language_; 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(); language_ = s; return s; } } /** *
   *字幕语言列表
   * 
* * string Language = 3; * @return The bytes for language. */ @java.lang.Override public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FORMAT_FIELD_NUMBER = 4; private volatile java.lang.Object format_; /** *
   *字幕格式列表
   * 
* * string Format = 4; * @return The format. */ @java.lang.Override public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; } } /** *
   *字幕格式列表
   * 
* * string Format = 4; * @return The bytes for format. */ @java.lang.Override public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TITLE_FIELD_NUMBER = 6; private com.google.protobuf.StringValue title_; /** *
   *标题
   * 
* * .google.protobuf.StringValue Title = 6; * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return title_ != null; } /** *
   *标题
   * 
* * .google.protobuf.StringValue Title = 6; * @return The title. */ @java.lang.Override public com.google.protobuf.StringValue getTitle() { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } /** *
   *标题
   * 
* * .google.protobuf.StringValue Title = 6; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getTitleOrBuilder() { return getTitle(); } public static final int TAG_FIELD_NUMBER = 7; private com.google.protobuf.StringValue tag_; /** *
   *标签
   * 
* * .google.protobuf.StringValue Tag = 7; * @return Whether the tag field is set. */ @java.lang.Override public boolean hasTag() { return tag_ != null; } /** *
   *标签
   * 
* * .google.protobuf.StringValue Tag = 7; * @return The tag. */ @java.lang.Override public com.google.protobuf.StringValue getTag() { return tag_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tag_; } /** *
   *标签
   * 
* * .google.protobuf.StringValue Tag = 7; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getTagOrBuilder() { return getTag(); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, format_); } if (title_ != null) { output.writeMessage(6, getTitle()); } if (tag_ != null) { output.writeMessage(7, getTag()); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, language_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, format_); } if (title_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTitle()); } if (tag_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTag()); } 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.request.VodUpdateSubtitleInfoRequest)) { return super.equals(obj); } com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest other = (com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest) obj; if (!getVid() .equals(other.getVid())) return false; if (!getFileId() .equals(other.getFileId())) return false; if (!getLanguage() .equals(other.getLanguage())) return false; if (!getFormat() .equals(other.getFormat())) return false; if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { if (!getTitle() .equals(other.getTitle())) return false; } if (hasTag() != other.hasTag()) return false; if (hasTag()) { if (!getTag() .equals(other.getTag())) 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(); hash = (37 * hash) + FILEID_FIELD_NUMBER; hash = (53 * hash) + getFileId().hashCode(); hash = (37 * hash) + LANGUAGE_FIELD_NUMBER; hash = (53 * hash) + getLanguage().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); if (hasTitle()) { hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); } if (hasTag()) { hash = (37 * hash) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest 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.request.VodUpdateSubtitleInfoRequest 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.Request.VodUpdateSubtitleInfoRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodUpdateSubtitleInfoRequest) com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateSubtitleInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateSubtitleInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.class, com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.Builder.class); } // Construct using com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.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_ = ""; fileId_ = ""; language_ = ""; format_ = ""; if (titleBuilder_ == null) { title_ = null; } else { title_ = null; titleBuilder_ = null; } if (tagBuilder_ == null) { tag_ = null; } else { tag_ = null; tagBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateSubtitleInfoRequest_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest getDefaultInstanceForType() { return com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest build() { com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest buildPartial() { com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest result = new com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest(this); result.vid_ = vid_; result.fileId_ = fileId_; result.language_ = language_; result.format_ = format_; if (titleBuilder_ == null) { result.title_ = title_; } else { result.title_ = titleBuilder_.build(); } if (tagBuilder_ == null) { result.tag_ = tag_; } else { result.tag_ = tagBuilder_.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.request.VodUpdateSubtitleInfoRequest) { return mergeFrom((com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest other) { if (other == com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest.getDefaultInstance()) return this; if (!other.getVid().isEmpty()) { vid_ = other.vid_; onChanged(); } if (!other.getFileId().isEmpty()) { fileId_ = other.fileId_; onChanged(); } if (!other.getLanguage().isEmpty()) { language_ = other.language_; onChanged(); } if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); } if (other.hasTitle()) { mergeTitle(other.getTitle()); } if (other.hasTag()) { mergeTag(other.getTag()); } 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.request.VodUpdateSubtitleInfoRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest) 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 java.lang.Object fileId_ = ""; /** *
     *转码视频id列表
     * 
* * string FileId = 2; * @return The fileId. */ public java.lang.String getFileId() { java.lang.Object ref = fileId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *转码视频id列表
     * 
* * string FileId = 2; * @return The bytes for fileId. */ public com.google.protobuf.ByteString getFileIdBytes() { java.lang.Object ref = fileId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *转码视频id列表
     * 
* * string FileId = 2; * @param value The fileId to set. * @return This builder for chaining. */ public Builder setFileId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileId_ = value; onChanged(); return this; } /** *
     *转码视频id列表
     * 
* * string FileId = 2; * @return This builder for chaining. */ public Builder clearFileId() { fileId_ = getDefaultInstance().getFileId(); onChanged(); return this; } /** *
     *转码视频id列表
     * 
* * string FileId = 2; * @param value The bytes for fileId to set. * @return This builder for chaining. */ public Builder setFileIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileId_ = value; onChanged(); return this; } private java.lang.Object language_ = ""; /** *
     *字幕语言列表
     * 
* * string Language = 3; * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *字幕语言列表
     * 
* * string Language = 3; * @return The bytes for language. */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *字幕语言列表
     * 
* * string Language = 3; * @param value The language to set. * @return This builder for chaining. */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } language_ = value; onChanged(); return this; } /** *
     *字幕语言列表
     * 
* * string Language = 3; * @return This builder for chaining. */ public Builder clearLanguage() { language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** *
     *字幕语言列表
     * 
* * string Language = 3; * @param value The bytes for language to set. * @return This builder for chaining. */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); language_ = value; onChanged(); return this; } private java.lang.Object format_ = ""; /** *
     *字幕格式列表
     * 
* * string Format = 4; * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *字幕格式列表
     * 
* * string Format = 4; * @return The bytes for format. */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *字幕格式列表
     * 
* * string Format = 4; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** *
     *字幕格式列表
     * 
* * string Format = 4; * @return This builder for chaining. */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** *
     *字幕格式列表
     * 
* * string Format = 4; * @param value The bytes for format to set. * @return This builder for chaining. */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; onChanged(); return this; } private com.google.protobuf.StringValue title_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> titleBuilder_; /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; * @return Whether the title field is set. */ public boolean hasTitle() { return titleBuilder_ != null || title_ != null; } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; * @return The title. */ public com.google.protobuf.StringValue getTitle() { if (titleBuilder_ == null) { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } else { return titleBuilder_.getMessage(); } } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public Builder setTitle(com.google.protobuf.StringValue value) { if (titleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } title_ = value; onChanged(); } else { titleBuilder_.setMessage(value); } return this; } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public Builder setTitle( com.google.protobuf.StringValue.Builder builderForValue) { if (titleBuilder_ == null) { title_ = builderForValue.build(); onChanged(); } else { titleBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public Builder mergeTitle(com.google.protobuf.StringValue value) { if (titleBuilder_ == null) { if (title_ != null) { title_ = com.google.protobuf.StringValue.newBuilder(title_).mergeFrom(value).buildPartial(); } else { title_ = value; } onChanged(); } else { titleBuilder_.mergeFrom(value); } return this; } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public Builder clearTitle() { if (titleBuilder_ == null) { title_ = null; onChanged(); } else { title_ = null; titleBuilder_ = null; } return this; } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public com.google.protobuf.StringValue.Builder getTitleBuilder() { onChanged(); return getTitleFieldBuilder().getBuilder(); } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ public com.google.protobuf.StringValueOrBuilder getTitleOrBuilder() { if (titleBuilder_ != null) { return titleBuilder_.getMessageOrBuilder(); } else { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } } /** *
     *标题
     * 
* * .google.protobuf.StringValue Title = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getTitleFieldBuilder() { if (titleBuilder_ == null) { titleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getTitle(), getParentForChildren(), isClean()); title_ = null; } return titleBuilder_; } private com.google.protobuf.StringValue tag_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> tagBuilder_; /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; * @return The tag. */ public com.google.protobuf.StringValue getTag() { if (tagBuilder_ == null) { return tag_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public Builder setTag(com.google.protobuf.StringValue value) { if (tagBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); } else { tagBuilder_.setMessage(value); } return this; } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public Builder setTag( com.google.protobuf.StringValue.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); } else { tagBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public Builder mergeTag(com.google.protobuf.StringValue value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = com.google.protobuf.StringValue.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } onChanged(); } else { tagBuilder_.mergeFrom(value); } return this; } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public Builder clearTag() { if (tagBuilder_ == null) { tag_ = null; onChanged(); } else { tag_ = null; tagBuilder_ = null; } return this; } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public com.google.protobuf.StringValue.Builder getTagBuilder() { onChanged(); return getTagFieldBuilder().getBuilder(); } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ public com.google.protobuf.StringValueOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { return tag_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tag_; } } /** *
     *标签
     * 
* * .google.protobuf.StringValue Tag = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } @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.Request.VodUpdateSubtitleInfoRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodUpdateSubtitleInfoRequest) private static final com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest(); } public static com.volcengine.service.vod.model.request.VodUpdateSubtitleInfoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodUpdateSubtitleInfoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodUpdateSubtitleInfoRequest(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.request.VodUpdateSubtitleInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy