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

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Request.VodSetFairPlayCertInfoRequest}
 */
public final class VodSetFairPlayCertInfoRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Request.VodSetFairPlayCertInfoRequest)
    VodSetFairPlayCertInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodSetFairPlayCertInfoRequest.newBuilder() to construct.
  private VodSetFairPlayCertInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodSetFairPlayCertInfoRequest() {
    spaceName_ = "";
    certName_ = "";
    certFile_ = "";
    pkFile_ = "";
    certFileName_ = "";
    pkFileName_ = "";
    pkPassword_ = "";
    ask_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodSetFairPlayCertInfoRequest(
      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();

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

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

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

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

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

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

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

            ask_ = 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.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodSetFairPlayCertInfoRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodSetFairPlayCertInfoRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.class, com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.Builder.class);
  }

  public static final int SPACENAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object spaceName_;
  /**
   * string SpaceName = 1;
   * @return The spaceName.
   */
  @java.lang.Override
  public java.lang.String getSpaceName() {
    java.lang.Object ref = spaceName_;
    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();
      spaceName_ = s;
      return s;
    }
  }
  /**
   * string SpaceName = 1;
   * @return The bytes for spaceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSpaceNameBytes() {
    java.lang.Object ref = spaceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      spaceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CERTNAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object certName_;
  /**
   * string CertName = 2;
   * @return The certName.
   */
  @java.lang.Override
  public java.lang.String getCertName() {
    java.lang.Object ref = certName_;
    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();
      certName_ = s;
      return s;
    }
  }
  /**
   * string CertName = 2;
   * @return The bytes for certName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCertNameBytes() {
    java.lang.Object ref = certName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      certName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CERTFILE_FIELD_NUMBER = 3;
  private volatile java.lang.Object certFile_;
  /**
   * string CertFile = 3;
   * @return The certFile.
   */
  @java.lang.Override
  public java.lang.String getCertFile() {
    java.lang.Object ref = certFile_;
    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();
      certFile_ = s;
      return s;
    }
  }
  /**
   * string CertFile = 3;
   * @return The bytes for certFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCertFileBytes() {
    java.lang.Object ref = certFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      certFile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PKFILE_FIELD_NUMBER = 4;
  private volatile java.lang.Object pkFile_;
  /**
   * string PkFile = 4;
   * @return The pkFile.
   */
  @java.lang.Override
  public java.lang.String getPkFile() {
    java.lang.Object ref = pkFile_;
    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();
      pkFile_ = s;
      return s;
    }
  }
  /**
   * string PkFile = 4;
   * @return The bytes for pkFile.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPkFileBytes() {
    java.lang.Object ref = pkFile_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pkFile_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CERTFILENAME_FIELD_NUMBER = 5;
  private volatile java.lang.Object certFileName_;
  /**
   * string CertFileName = 5;
   * @return The certFileName.
   */
  @java.lang.Override
  public java.lang.String getCertFileName() {
    java.lang.Object ref = certFileName_;
    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();
      certFileName_ = s;
      return s;
    }
  }
  /**
   * string CertFileName = 5;
   * @return The bytes for certFileName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCertFileNameBytes() {
    java.lang.Object ref = certFileName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      certFileName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PKFILENAME_FIELD_NUMBER = 6;
  private volatile java.lang.Object pkFileName_;
  /**
   * string PkFileName = 6;
   * @return The pkFileName.
   */
  @java.lang.Override
  public java.lang.String getPkFileName() {
    java.lang.Object ref = pkFileName_;
    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();
      pkFileName_ = s;
      return s;
    }
  }
  /**
   * string PkFileName = 6;
   * @return The bytes for pkFileName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPkFileNameBytes() {
    java.lang.Object ref = pkFileName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pkFileName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PKPASSWORD_FIELD_NUMBER = 7;
  private volatile java.lang.Object pkPassword_;
  /**
   * string PkPassword = 7;
   * @return The pkPassword.
   */
  @java.lang.Override
  public java.lang.String getPkPassword() {
    java.lang.Object ref = pkPassword_;
    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();
      pkPassword_ = s;
      return s;
    }
  }
  /**
   * string PkPassword = 7;
   * @return The bytes for pkPassword.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPkPasswordBytes() {
    java.lang.Object ref = pkPassword_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      pkPassword_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ASK_FIELD_NUMBER = 8;
  private volatile java.lang.Object ask_;
  /**
   * string Ask = 8;
   * @return The ask.
   */
  @java.lang.Override
  public java.lang.String getAsk() {
    java.lang.Object ref = ask_;
    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();
      ask_ = s;
      return s;
    }
  }
  /**
   * string Ask = 8;
   * @return The bytes for ask.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAskBytes() {
    java.lang.Object ref = ask_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ask_ = 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(spaceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, certName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFile_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, certFile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFile_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pkFile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFileName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, certFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFileName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pkFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkPassword_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pkPassword_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ask_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, ask_);
    }
    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(spaceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFile_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, certFile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFile_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pkFile_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFileName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, certFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFileName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pkFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkPassword_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pkPassword_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ask_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, ask_);
    }
    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.request.VodSetFairPlayCertInfoRequest)) {
      return super.equals(obj);
    }
    com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest other = (com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest) obj;

    if (!getSpaceName()
        .equals(other.getSpaceName())) return false;
    if (!getCertName()
        .equals(other.getCertName())) return false;
    if (!getCertFile()
        .equals(other.getCertFile())) return false;
    if (!getPkFile()
        .equals(other.getPkFile())) return false;
    if (!getCertFileName()
        .equals(other.getCertFileName())) return false;
    if (!getPkFileName()
        .equals(other.getPkFileName())) return false;
    if (!getPkPassword()
        .equals(other.getPkPassword())) return false;
    if (!getAsk()
        .equals(other.getAsk())) 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) + SPACENAME_FIELD_NUMBER;
    hash = (53 * hash) + getSpaceName().hashCode();
    hash = (37 * hash) + CERTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getCertName().hashCode();
    hash = (37 * hash) + CERTFILE_FIELD_NUMBER;
    hash = (53 * hash) + getCertFile().hashCode();
    hash = (37 * hash) + PKFILE_FIELD_NUMBER;
    hash = (53 * hash) + getPkFile().hashCode();
    hash = (37 * hash) + CERTFILENAME_FIELD_NUMBER;
    hash = (53 * hash) + getCertFileName().hashCode();
    hash = (37 * hash) + PKFILENAME_FIELD_NUMBER;
    hash = (53 * hash) + getPkFileName().hashCode();
    hash = (37 * hash) + PKPASSWORD_FIELD_NUMBER;
    hash = (53 * hash) + getPkPassword().hashCode();
    hash = (37 * hash) + ASK_FIELD_NUMBER;
    hash = (53 * hash) + getAsk().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest 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.request.VodSetFairPlayCertInfoRequest 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.Request.VodSetFairPlayCertInfoRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Request.VodSetFairPlayCertInfoRequest)
      com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodSetFairPlayCertInfoRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodSetFairPlayCertInfoRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.class, com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.Builder.class);
    }

    // Construct using com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.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();
      spaceName_ = "";

      certName_ = "";

      certFile_ = "";

      pkFile_ = "";

      certFileName_ = "";

      pkFileName_ = "";

      pkPassword_ = "";

      ask_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodSetFairPlayCertInfoRequest_descriptor;
    }

    @java.lang.Override
    public com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest getDefaultInstanceForType() {
      return com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.getDefaultInstance();
    }

    @java.lang.Override
    public com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest build() {
      com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest buildPartial() {
      com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest result = new com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest(this);
      result.spaceName_ = spaceName_;
      result.certName_ = certName_;
      result.certFile_ = certFile_;
      result.pkFile_ = pkFile_;
      result.certFileName_ = certFileName_;
      result.pkFileName_ = pkFileName_;
      result.pkPassword_ = pkPassword_;
      result.ask_ = ask_;
      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.request.VodSetFairPlayCertInfoRequest) {
        return mergeFrom((com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest other) {
      if (other == com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest.getDefaultInstance()) return this;
      if (!other.getSpaceName().isEmpty()) {
        spaceName_ = other.spaceName_;
        onChanged();
      }
      if (!other.getCertName().isEmpty()) {
        certName_ = other.certName_;
        onChanged();
      }
      if (!other.getCertFile().isEmpty()) {
        certFile_ = other.certFile_;
        onChanged();
      }
      if (!other.getPkFile().isEmpty()) {
        pkFile_ = other.pkFile_;
        onChanged();
      }
      if (!other.getCertFileName().isEmpty()) {
        certFileName_ = other.certFileName_;
        onChanged();
      }
      if (!other.getPkFileName().isEmpty()) {
        pkFileName_ = other.pkFileName_;
        onChanged();
      }
      if (!other.getPkPassword().isEmpty()) {
        pkPassword_ = other.pkPassword_;
        onChanged();
      }
      if (!other.getAsk().isEmpty()) {
        ask_ = other.ask_;
        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.request.VodSetFairPlayCertInfoRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object spaceName_ = "";
    /**
     * string SpaceName = 1;
     * @return The spaceName.
     */
    public java.lang.String getSpaceName() {
      java.lang.Object ref = spaceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        spaceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string SpaceName = 1;
     * @return The bytes for spaceName.
     */
    public com.google.protobuf.ByteString
        getSpaceNameBytes() {
      java.lang.Object ref = spaceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        spaceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string SpaceName = 1;
     * @param value The spaceName to set.
     * @return This builder for chaining.
     */
    public Builder setSpaceName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      spaceName_ = value;
      onChanged();
      return this;
    }
    /**
     * string SpaceName = 1;
     * @return This builder for chaining.
     */
    public Builder clearSpaceName() {
      
      spaceName_ = getDefaultInstance().getSpaceName();
      onChanged();
      return this;
    }
    /**
     * string SpaceName = 1;
     * @param value The bytes for spaceName to set.
     * @return This builder for chaining.
     */
    public Builder setSpaceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      spaceName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object certName_ = "";
    /**
     * string CertName = 2;
     * @return The certName.
     */
    public java.lang.String getCertName() {
      java.lang.Object ref = certName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        certName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string CertName = 2;
     * @return The bytes for certName.
     */
    public com.google.protobuf.ByteString
        getCertNameBytes() {
      java.lang.Object ref = certName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        certName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string CertName = 2;
     * @param value The certName to set.
     * @return This builder for chaining.
     */
    public Builder setCertName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      certName_ = value;
      onChanged();
      return this;
    }
    /**
     * string CertName = 2;
     * @return This builder for chaining.
     */
    public Builder clearCertName() {
      
      certName_ = getDefaultInstance().getCertName();
      onChanged();
      return this;
    }
    /**
     * string CertName = 2;
     * @param value The bytes for certName to set.
     * @return This builder for chaining.
     */
    public Builder setCertNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      certName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object certFile_ = "";
    /**
     * string CertFile = 3;
     * @return The certFile.
     */
    public java.lang.String getCertFile() {
      java.lang.Object ref = certFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        certFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string CertFile = 3;
     * @return The bytes for certFile.
     */
    public com.google.protobuf.ByteString
        getCertFileBytes() {
      java.lang.Object ref = certFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        certFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string CertFile = 3;
     * @param value The certFile to set.
     * @return This builder for chaining.
     */
    public Builder setCertFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      certFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string CertFile = 3;
     * @return This builder for chaining.
     */
    public Builder clearCertFile() {
      
      certFile_ = getDefaultInstance().getCertFile();
      onChanged();
      return this;
    }
    /**
     * string CertFile = 3;
     * @param value The bytes for certFile to set.
     * @return This builder for chaining.
     */
    public Builder setCertFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      certFile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object pkFile_ = "";
    /**
     * string PkFile = 4;
     * @return The pkFile.
     */
    public java.lang.String getPkFile() {
      java.lang.Object ref = pkFile_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pkFile_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string PkFile = 4;
     * @return The bytes for pkFile.
     */
    public com.google.protobuf.ByteString
        getPkFileBytes() {
      java.lang.Object ref = pkFile_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pkFile_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string PkFile = 4;
     * @param value The pkFile to set.
     * @return This builder for chaining.
     */
    public Builder setPkFile(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pkFile_ = value;
      onChanged();
      return this;
    }
    /**
     * string PkFile = 4;
     * @return This builder for chaining.
     */
    public Builder clearPkFile() {
      
      pkFile_ = getDefaultInstance().getPkFile();
      onChanged();
      return this;
    }
    /**
     * string PkFile = 4;
     * @param value The bytes for pkFile to set.
     * @return This builder for chaining.
     */
    public Builder setPkFileBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pkFile_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object certFileName_ = "";
    /**
     * string CertFileName = 5;
     * @return The certFileName.
     */
    public java.lang.String getCertFileName() {
      java.lang.Object ref = certFileName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        certFileName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string CertFileName = 5;
     * @return The bytes for certFileName.
     */
    public com.google.protobuf.ByteString
        getCertFileNameBytes() {
      java.lang.Object ref = certFileName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        certFileName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string CertFileName = 5;
     * @param value The certFileName to set.
     * @return This builder for chaining.
     */
    public Builder setCertFileName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      certFileName_ = value;
      onChanged();
      return this;
    }
    /**
     * string CertFileName = 5;
     * @return This builder for chaining.
     */
    public Builder clearCertFileName() {
      
      certFileName_ = getDefaultInstance().getCertFileName();
      onChanged();
      return this;
    }
    /**
     * string CertFileName = 5;
     * @param value The bytes for certFileName to set.
     * @return This builder for chaining.
     */
    public Builder setCertFileNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      certFileName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object pkFileName_ = "";
    /**
     * string PkFileName = 6;
     * @return The pkFileName.
     */
    public java.lang.String getPkFileName() {
      java.lang.Object ref = pkFileName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pkFileName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string PkFileName = 6;
     * @return The bytes for pkFileName.
     */
    public com.google.protobuf.ByteString
        getPkFileNameBytes() {
      java.lang.Object ref = pkFileName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pkFileName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string PkFileName = 6;
     * @param value The pkFileName to set.
     * @return This builder for chaining.
     */
    public Builder setPkFileName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pkFileName_ = value;
      onChanged();
      return this;
    }
    /**
     * string PkFileName = 6;
     * @return This builder for chaining.
     */
    public Builder clearPkFileName() {
      
      pkFileName_ = getDefaultInstance().getPkFileName();
      onChanged();
      return this;
    }
    /**
     * string PkFileName = 6;
     * @param value The bytes for pkFileName to set.
     * @return This builder for chaining.
     */
    public Builder setPkFileNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pkFileName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object pkPassword_ = "";
    /**
     * string PkPassword = 7;
     * @return The pkPassword.
     */
    public java.lang.String getPkPassword() {
      java.lang.Object ref = pkPassword_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        pkPassword_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string PkPassword = 7;
     * @return The bytes for pkPassword.
     */
    public com.google.protobuf.ByteString
        getPkPasswordBytes() {
      java.lang.Object ref = pkPassword_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        pkPassword_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string PkPassword = 7;
     * @param value The pkPassword to set.
     * @return This builder for chaining.
     */
    public Builder setPkPassword(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      pkPassword_ = value;
      onChanged();
      return this;
    }
    /**
     * string PkPassword = 7;
     * @return This builder for chaining.
     */
    public Builder clearPkPassword() {
      
      pkPassword_ = getDefaultInstance().getPkPassword();
      onChanged();
      return this;
    }
    /**
     * string PkPassword = 7;
     * @param value The bytes for pkPassword to set.
     * @return This builder for chaining.
     */
    public Builder setPkPasswordBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      pkPassword_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ask_ = "";
    /**
     * string Ask = 8;
     * @return The ask.
     */
    public java.lang.String getAsk() {
      java.lang.Object ref = ask_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ask_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Ask = 8;
     * @return The bytes for ask.
     */
    public com.google.protobuf.ByteString
        getAskBytes() {
      java.lang.Object ref = ask_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ask_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Ask = 8;
     * @param value The ask to set.
     * @return This builder for chaining.
     */
    public Builder setAsk(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ask_ = value;
      onChanged();
      return this;
    }
    /**
     * string Ask = 8;
     * @return This builder for chaining.
     */
    public Builder clearAsk() {
      
      ask_ = getDefaultInstance().getAsk();
      onChanged();
      return this;
    }
    /**
     * string Ask = 8;
     * @param value The bytes for ask to set.
     * @return This builder for chaining.
     */
    public Builder setAskBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ask_ = 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.Request.VodSetFairPlayCertInfoRequest)
  }

  // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Request.VodSetFairPlayCertInfoRequest)
  private static final com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest();
  }

  public static com.byteplus.service.vod.model.request.VodSetFairPlayCertInfoRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public VodSetFairPlayCertInfoRequest parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new VodSetFairPlayCertInfoRequest(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.request.VodSetFairPlayCertInfoRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy