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

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

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

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.VodDomainInstanceInfo}
 */
public final class VodDomainInstanceInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodDomainInstanceInfo)
    VodDomainInstanceInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodDomainInstanceInfo.newBuilder() to construct.
  private VodDomainInstanceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodDomainInstanceInfo() {
    instanceId_ = "";
    domains_ = java.util.Collections.emptyList();
    configStatus_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodDomainInstanceInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            instanceId_ = s;
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              domains_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            domains_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodDomainoInfo.parser(), extensionRegistry));
            break;
          }
          case 24: {

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

            configStatus_ = 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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        domains_ = java.util.Collections.unmodifiableList(domains_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfo_descriptor;
  }

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

  public static final int INSTANCEID_FIELD_NUMBER = 1;
  private volatile java.lang.Object instanceId_;
  /**
   * 
   *实例ID,废弃
   * 
* * string InstanceId = 1; * @return The instanceId. */ @java.lang.Override public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; 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(); instanceId_ = s; return s; } } /** *
   *实例ID,废弃
   * 
* * string InstanceId = 1; * @return The bytes for instanceId. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOMAINS_FIELD_NUMBER = 2; private java.util.List domains_; /** *
   *域名列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ @java.lang.Override public java.util.List getDomainsList() { return domains_; } /** *
   *域名列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ @java.lang.Override public java.util.List getDomainsOrBuilderList() { return domains_; } /** *
   *域名列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ @java.lang.Override public int getDomainsCount() { return domains_.size(); } /** *
   *域名列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodDomainoInfo getDomains(int index) { return domains_.get(index); } /** *
   *域名列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodDomainoInfoOrBuilder getDomainsOrBuilder( int index) { return domains_.get(index); } public static final int CANSELFEDITING_FIELD_NUMBER = 3; private boolean canSelfEditing_; /** *
   *是否可自助配置,废弃
   * 
* * bool CanSelfEditing = 3; * @return The canSelfEditing. */ @java.lang.Override public boolean getCanSelfEditing() { return canSelfEditing_; } public static final int CONFIGSTATUS_FIELD_NUMBER = 4; private volatile java.lang.Object configStatus_; /** *
   *实例配置状态,废弃
   * 
* * string ConfigStatus = 4; * @return The configStatus. */ @java.lang.Override public java.lang.String getConfigStatus() { java.lang.Object ref = configStatus_; 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(); configStatus_ = s; return s; } } /** *
   *实例配置状态,废弃
   * 
* * string ConfigStatus = 4; * @return The bytes for configStatus. */ @java.lang.Override public com.google.protobuf.ByteString getConfigStatusBytes() { java.lang.Object ref = configStatus_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); configStatus_ = 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(instanceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); } for (int i = 0; i < domains_.size(); i++) { output.writeMessage(2, domains_.get(i)); } if (canSelfEditing_ != false) { output.writeBool(3, canSelfEditing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configStatus_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, configStatus_); } 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(instanceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); } for (int i = 0; i < domains_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, domains_.get(i)); } if (canSelfEditing_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, canSelfEditing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configStatus_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, configStatus_); } 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.VodDomainInstanceInfo)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodDomainInstanceInfo other = (com.byteplus.service.vod.model.business.VodDomainInstanceInfo) obj; if (!getInstanceId() .equals(other.getInstanceId())) return false; if (!getDomainsList() .equals(other.getDomainsList())) return false; if (getCanSelfEditing() != other.getCanSelfEditing()) return false; if (!getConfigStatus() .equals(other.getConfigStatus())) 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) + INSTANCEID_FIELD_NUMBER; hash = (53 * hash) + getInstanceId().hashCode(); if (getDomainsCount() > 0) { hash = (37 * hash) + DOMAINS_FIELD_NUMBER; hash = (53 * hash) + getDomainsList().hashCode(); } hash = (37 * hash) + CANSELFEDITING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCanSelfEditing()); hash = (37 * hash) + CONFIGSTATUS_FIELD_NUMBER; hash = (53 * hash) + getConfigStatus().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodDomainInstanceInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDomainInstanceInfo 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.VodDomainInstanceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDomainInstanceInfo 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.VodDomainInstanceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo 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.VodDomainInstanceInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodDomainInstanceInfo) com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodDomainInstanceInfo.class, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodDomainInstanceInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDomainsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instanceId_ = ""; if (domainsBuilder_ == null) { domains_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { domainsBuilder_.clear(); } canSelfEditing_ = false; configStatus_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfo_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodDomainInstanceInfo getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodDomainInstanceInfo build() { com.byteplus.service.vod.model.business.VodDomainInstanceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodDomainInstanceInfo buildPartial() { com.byteplus.service.vod.model.business.VodDomainInstanceInfo result = new com.byteplus.service.vod.model.business.VodDomainInstanceInfo(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; if (domainsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { domains_ = java.util.Collections.unmodifiableList(domains_); bitField0_ = (bitField0_ & ~0x00000001); } result.domains_ = domains_; } else { result.domains_ = domainsBuilder_.build(); } result.canSelfEditing_ = canSelfEditing_; result.configStatus_ = configStatus_; 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.VodDomainInstanceInfo) { return mergeFrom((com.byteplus.service.vod.model.business.VodDomainInstanceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodDomainInstanceInfo other) { if (other == com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance()) return this; if (!other.getInstanceId().isEmpty()) { instanceId_ = other.instanceId_; onChanged(); } if (domainsBuilder_ == null) { if (!other.domains_.isEmpty()) { if (domains_.isEmpty()) { domains_ = other.domains_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDomainsIsMutable(); domains_.addAll(other.domains_); } onChanged(); } } else { if (!other.domains_.isEmpty()) { if (domainsBuilder_.isEmpty()) { domainsBuilder_.dispose(); domainsBuilder_ = null; domains_ = other.domains_; bitField0_ = (bitField0_ & ~0x00000001); domainsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDomainsFieldBuilder() : null; } else { domainsBuilder_.addAllMessages(other.domains_); } } } if (other.getCanSelfEditing() != false) { setCanSelfEditing(other.getCanSelfEditing()); } if (!other.getConfigStatus().isEmpty()) { configStatus_ = other.configStatus_; 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.VodDomainInstanceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodDomainInstanceInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instanceId_ = ""; /** *
     *实例ID,废弃
     * 
* * string InstanceId = 1; * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *实例ID,废弃
     * 
* * string InstanceId = 1; * @return The bytes for instanceId. */ public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *实例ID,废弃
     * 
* * string InstanceId = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceId_ = value; onChanged(); return this; } /** *
     *实例ID,废弃
     * 
* * string InstanceId = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** *
     *实例ID,废弃
     * 
* * string InstanceId = 1; * @param value The bytes for instanceId to set. * @return This builder for chaining. */ public Builder setInstanceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; onChanged(); return this; } private java.util.List domains_ = java.util.Collections.emptyList(); private void ensureDomainsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { domains_ = new java.util.ArrayList(domains_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodDomainoInfo, com.byteplus.service.vod.model.business.VodDomainoInfo.Builder, com.byteplus.service.vod.model.business.VodDomainoInfoOrBuilder> domainsBuilder_; /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public java.util.List getDomainsList() { if (domainsBuilder_ == null) { return java.util.Collections.unmodifiableList(domains_); } else { return domainsBuilder_.getMessageList(); } } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public int getDomainsCount() { if (domainsBuilder_ == null) { return domains_.size(); } else { return domainsBuilder_.getCount(); } } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public com.byteplus.service.vod.model.business.VodDomainoInfo getDomains(int index) { if (domainsBuilder_ == null) { return domains_.get(index); } else { return domainsBuilder_.getMessage(index); } } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder setDomains( int index, com.byteplus.service.vod.model.business.VodDomainoInfo value) { if (domainsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDomainsIsMutable(); domains_.set(index, value); onChanged(); } else { domainsBuilder_.setMessage(index, value); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder setDomains( int index, com.byteplus.service.vod.model.business.VodDomainoInfo.Builder builderForValue) { if (domainsBuilder_ == null) { ensureDomainsIsMutable(); domains_.set(index, builderForValue.build()); onChanged(); } else { domainsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder addDomains(com.byteplus.service.vod.model.business.VodDomainoInfo value) { if (domainsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDomainsIsMutable(); domains_.add(value); onChanged(); } else { domainsBuilder_.addMessage(value); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder addDomains( int index, com.byteplus.service.vod.model.business.VodDomainoInfo value) { if (domainsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDomainsIsMutable(); domains_.add(index, value); onChanged(); } else { domainsBuilder_.addMessage(index, value); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder addDomains( com.byteplus.service.vod.model.business.VodDomainoInfo.Builder builderForValue) { if (domainsBuilder_ == null) { ensureDomainsIsMutable(); domains_.add(builderForValue.build()); onChanged(); } else { domainsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder addDomains( int index, com.byteplus.service.vod.model.business.VodDomainoInfo.Builder builderForValue) { if (domainsBuilder_ == null) { ensureDomainsIsMutable(); domains_.add(index, builderForValue.build()); onChanged(); } else { domainsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder addAllDomains( java.lang.Iterable values) { if (domainsBuilder_ == null) { ensureDomainsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, domains_); onChanged(); } else { domainsBuilder_.addAllMessages(values); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder clearDomains() { if (domainsBuilder_ == null) { domains_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { domainsBuilder_.clear(); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public Builder removeDomains(int index) { if (domainsBuilder_ == null) { ensureDomainsIsMutable(); domains_.remove(index); onChanged(); } else { domainsBuilder_.remove(index); } return this; } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public com.byteplus.service.vod.model.business.VodDomainoInfo.Builder getDomainsBuilder( int index) { return getDomainsFieldBuilder().getBuilder(index); } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public com.byteplus.service.vod.model.business.VodDomainoInfoOrBuilder getDomainsOrBuilder( int index) { if (domainsBuilder_ == null) { return domains_.get(index); } else { return domainsBuilder_.getMessageOrBuilder(index); } } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public java.util.List getDomainsOrBuilderList() { if (domainsBuilder_ != null) { return domainsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(domains_); } } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public com.byteplus.service.vod.model.business.VodDomainoInfo.Builder addDomainsBuilder() { return getDomainsFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodDomainoInfo.getDefaultInstance()); } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public com.byteplus.service.vod.model.business.VodDomainoInfo.Builder addDomainsBuilder( int index) { return getDomainsFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodDomainoInfo.getDefaultInstance()); } /** *
     *域名列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodDomainoInfo Domains = 2; */ public java.util.List getDomainsBuilderList() { return getDomainsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodDomainoInfo, com.byteplus.service.vod.model.business.VodDomainoInfo.Builder, com.byteplus.service.vod.model.business.VodDomainoInfoOrBuilder> getDomainsFieldBuilder() { if (domainsBuilder_ == null) { domainsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodDomainoInfo, com.byteplus.service.vod.model.business.VodDomainoInfo.Builder, com.byteplus.service.vod.model.business.VodDomainoInfoOrBuilder>( domains_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); domains_ = null; } return domainsBuilder_; } private boolean canSelfEditing_ ; /** *
     *是否可自助配置,废弃
     * 
* * bool CanSelfEditing = 3; * @return The canSelfEditing. */ @java.lang.Override public boolean getCanSelfEditing() { return canSelfEditing_; } /** *
     *是否可自助配置,废弃
     * 
* * bool CanSelfEditing = 3; * @param value The canSelfEditing to set. * @return This builder for chaining. */ public Builder setCanSelfEditing(boolean value) { canSelfEditing_ = value; onChanged(); return this; } /** *
     *是否可自助配置,废弃
     * 
* * bool CanSelfEditing = 3; * @return This builder for chaining. */ public Builder clearCanSelfEditing() { canSelfEditing_ = false; onChanged(); return this; } private java.lang.Object configStatus_ = ""; /** *
     *实例配置状态,废弃
     * 
* * string ConfigStatus = 4; * @return The configStatus. */ public java.lang.String getConfigStatus() { java.lang.Object ref = configStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); configStatus_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *实例配置状态,废弃
     * 
* * string ConfigStatus = 4; * @return The bytes for configStatus. */ public com.google.protobuf.ByteString getConfigStatusBytes() { java.lang.Object ref = configStatus_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); configStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *实例配置状态,废弃
     * 
* * string ConfigStatus = 4; * @param value The configStatus to set. * @return This builder for chaining. */ public Builder setConfigStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } configStatus_ = value; onChanged(); return this; } /** *
     *实例配置状态,废弃
     * 
* * string ConfigStatus = 4; * @return This builder for chaining. */ public Builder clearConfigStatus() { configStatus_ = getDefaultInstance().getConfigStatus(); onChanged(); return this; } /** *
     *实例配置状态,废弃
     * 
* * string ConfigStatus = 4; * @param value The bytes for configStatus to set. * @return This builder for chaining. */ public Builder setConfigStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); configStatus_ = 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.VodDomainInstanceInfo) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodDomainInstanceInfo) private static final com.byteplus.service.vod.model.business.VodDomainInstanceInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodDomainInstanceInfo(); } public static com.byteplus.service.vod.model.business.VodDomainInstanceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodDomainInstanceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodDomainInstanceInfo(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.VodDomainInstanceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy