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

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

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

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

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

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

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

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

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

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

            pkPassword_ = s;
            break;
          }
          case 50: {
            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.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodGetFairPlayCertInfoResult_descriptor;
  }

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

  public static final int CERTID_FIELD_NUMBER = 1;
  private volatile java.lang.Object certId_;
  /**
   * string CertId = 1;
   * @return The certId.
   */
  @java.lang.Override
  public java.lang.String getCertId() {
    java.lang.Object ref = certId_;
    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();
      certId_ = s;
      return s;
    }
  }
  /**
   * string CertId = 1;
   * @return The bytes for certId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCertIdBytes() {
    java.lang.Object ref = certId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      certId_ = 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 CERTFILENAME_FIELD_NUMBER = 3;
  private volatile java.lang.Object certFileName_;
  /**
   * string CertFileName = 3;
   * @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 = 3;
   * @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 = 4;
  private volatile java.lang.Object pkFileName_;
  /**
   * string PkFileName = 4;
   * @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 = 4;
   * @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 = 5;
  private volatile java.lang.Object pkPassword_;
  /**
   * string PkPassword = 5;
   * @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 = 5;
   * @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 = 6;
  private volatile java.lang.Object ask_;
  /**
   * string Ask = 6;
   * @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 = 6;
   * @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(certId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, certId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, certName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFileName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, certFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFileName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pkFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkPassword_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pkPassword_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ask_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, 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(certId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, certId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certFileName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, certFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkFileName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pkFileName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pkPassword_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pkPassword_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ask_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, 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.business.VodGetFairPlayCertInfoResult)) {
      return super.equals(obj);
    }
    com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult other = (com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult) obj;

    if (!getCertId()
        .equals(other.getCertId())) return false;
    if (!getCertName()
        .equals(other.getCertName())) 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) + CERTID_FIELD_NUMBER;
    hash = (53 * hash) + getCertId().hashCode();
    hash = (37 * hash) + CERTNAME_FIELD_NUMBER;
    hash = (53 * hash) + getCertName().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.business.VodGetFairPlayCertInfoResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult 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.VodGetFairPlayCertInfoResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodGetFairPlayCertInfoResult)
      com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodGetFairPlayCertInfoResult_descriptor;
    }

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

    // Construct using com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult.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();
      certId_ = "";

      certName_ = "";

      certFileName_ = "";

      pkFileName_ = "";

      pkPassword_ = "";

      ask_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodGetFairPlayCertInfoResult_descriptor;
    }

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

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

    @java.lang.Override
    public com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult buildPartial() {
      com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult result = new com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult(this);
      result.certId_ = certId_;
      result.certName_ = certName_;
      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.business.VodGetFairPlayCertInfoResult) {
        return mergeFrom((com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult other) {
      if (other == com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult.getDefaultInstance()) return this;
      if (!other.getCertId().isEmpty()) {
        certId_ = other.certId_;
        onChanged();
      }
      if (!other.getCertName().isEmpty()) {
        certName_ = other.certName_;
        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.business.VodGetFairPlayCertInfoResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.byteplus.service.vod.model.business.VodGetFairPlayCertInfoResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object certId_ = "";
    /**
     * string CertId = 1;
     * @return The certId.
     */
    public java.lang.String getCertId() {
      java.lang.Object ref = certId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        certId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string CertId = 1;
     * @return The bytes for certId.
     */
    public com.google.protobuf.ByteString
        getCertIdBytes() {
      java.lang.Object ref = certId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        certId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string CertId = 1;
     * @param value The certId to set.
     * @return This builder for chaining.
     */
    public Builder setCertId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      certId_ = value;
      onChanged();
      return this;
    }
    /**
     * string CertId = 1;
     * @return This builder for chaining.
     */
    public Builder clearCertId() {
      
      certId_ = getDefaultInstance().getCertId();
      onChanged();
      return this;
    }
    /**
     * string CertId = 1;
     * @param value The bytes for certId to set.
     * @return This builder for chaining.
     */
    public Builder setCertIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      certId_ = 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 certFileName_ = "";
    /**
     * string CertFileName = 3;
     * @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 = 3;
     * @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 = 3;
     * @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 = 3;
     * @return This builder for chaining.
     */
    public Builder clearCertFileName() {
      
      certFileName_ = getDefaultInstance().getCertFileName();
      onChanged();
      return this;
    }
    /**
     * string CertFileName = 3;
     * @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 = 4;
     * @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 = 4;
     * @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 = 4;
     * @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 = 4;
     * @return This builder for chaining.
     */
    public Builder clearPkFileName() {
      
      pkFileName_ = getDefaultInstance().getPkFileName();
      onChanged();
      return this;
    }
    /**
     * string PkFileName = 4;
     * @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 = 5;
     * @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 = 5;
     * @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 = 5;
     * @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 = 5;
     * @return This builder for chaining.
     */
    public Builder clearPkPassword() {
      
      pkPassword_ = getDefaultInstance().getPkPassword();
      onChanged();
      return this;
    }
    /**
     * string PkPassword = 5;
     * @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 = 6;
     * @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 = 6;
     * @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 = 6;
     * @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 = 6;
     * @return This builder for chaining.
     */
    public Builder clearAsk() {
      
      ask_ = getDefaultInstance().getAsk();
      onChanged();
      return this;
    }
    /**
     * string Ask = 6;
     * @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.Business.VodGetFairPlayCertInfoResult)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy