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

io.milvus.grpc.ResourceGroupConfig Maven / Gradle / Ivy

There is a newer version: 2.4.8
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: rg.proto

package io.milvus.grpc;

/**
 * Protobuf type {@code milvus.proto.rg.ResourceGroupConfig}
 */
public final class ResourceGroupConfig extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:milvus.proto.rg.ResourceGroupConfig)
    ResourceGroupConfigOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ResourceGroupConfig.newBuilder() to construct.
  private ResourceGroupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ResourceGroupConfig() {
    transferFrom_ = java.util.Collections.emptyList();
    transferTo_ = java.util.Collections.emptyList();
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.milvus.grpc.ResourceGroupProto.internal_static_milvus_proto_rg_ResourceGroupConfig_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.milvus.grpc.ResourceGroupProto.internal_static_milvus_proto_rg_ResourceGroupConfig_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.milvus.grpc.ResourceGroupConfig.class, io.milvus.grpc.ResourceGroupConfig.Builder.class);
  }

  private int bitField0_;
  public static final int REQUESTS_FIELD_NUMBER = 1;
  private io.milvus.grpc.ResourceGroupLimit requests_;
  /**
   * 
   * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; * @return Whether the requests field is set. */ @java.lang.Override public boolean hasRequests() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; * @return The requests. */ @java.lang.Override public io.milvus.grpc.ResourceGroupLimit getRequests() { return requests_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : requests_; } /** *
   * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ @java.lang.Override public io.milvus.grpc.ResourceGroupLimitOrBuilder getRequestsOrBuilder() { return requests_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : requests_; } public static final int LIMITS_FIELD_NUMBER = 2; private io.milvus.grpc.ResourceGroupLimit limits_; /** *
   * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; * @return Whether the limits field is set. */ @java.lang.Override public boolean hasLimits() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; * @return The limits. */ @java.lang.Override public io.milvus.grpc.ResourceGroupLimit getLimits() { return limits_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : limits_; } /** *
   * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
   * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ @java.lang.Override public io.milvus.grpc.ResourceGroupLimitOrBuilder getLimitsOrBuilder() { return limits_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : limits_; } public static final int TRANSFER_FROM_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List transferFrom_; /** *
   * missing node should be transfer from given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ @java.lang.Override public java.util.List getTransferFromList() { return transferFrom_; } /** *
   * missing node should be transfer from given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ @java.lang.Override public java.util.List getTransferFromOrBuilderList() { return transferFrom_; } /** *
   * missing node should be transfer from given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ @java.lang.Override public int getTransferFromCount() { return transferFrom_.size(); } /** *
   * missing node should be transfer from given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ @java.lang.Override public io.milvus.grpc.ResourceGroupTransfer getTransferFrom(int index) { return transferFrom_.get(index); } /** *
   * missing node should be transfer from given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ @java.lang.Override public io.milvus.grpc.ResourceGroupTransferOrBuilder getTransferFromOrBuilder( int index) { return transferFrom_.get(index); } public static final int TRANSFER_TO_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List transferTo_; /** *
   * redundant node should be transfer to given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ @java.lang.Override public java.util.List getTransferToList() { return transferTo_; } /** *
   * redundant node should be transfer to given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ @java.lang.Override public java.util.List getTransferToOrBuilderList() { return transferTo_; } /** *
   * redundant node should be transfer to given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ @java.lang.Override public int getTransferToCount() { return transferTo_.size(); } /** *
   * redundant node should be transfer to given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ @java.lang.Override public io.milvus.grpc.ResourceGroupTransfer getTransferTo(int index) { return transferTo_.get(index); } /** *
   * redundant node should be transfer to given resource group at high priority in repeated list.
   * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ @java.lang.Override public io.milvus.grpc.ResourceGroupTransferOrBuilder getTransferToOrBuilder( int index) { return transferTo_.get(index); } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getRequests()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getLimits()); } for (int i = 0; i < transferFrom_.size(); i++) { output.writeMessage(3, transferFrom_.get(i)); } for (int i = 0; i < transferTo_.size(); i++) { output.writeMessage(4, transferTo_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRequests()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getLimits()); } for (int i = 0; i < transferFrom_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, transferFrom_.get(i)); } for (int i = 0; i < transferTo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, transferTo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.milvus.grpc.ResourceGroupConfig)) { return super.equals(obj); } io.milvus.grpc.ResourceGroupConfig other = (io.milvus.grpc.ResourceGroupConfig) obj; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { if (!getRequests() .equals(other.getRequests())) return false; } if (hasLimits() != other.hasLimits()) return false; if (hasLimits()) { if (!getLimits() .equals(other.getLimits())) return false; } if (!getTransferFromList() .equals(other.getTransferFromList())) return false; if (!getTransferToList() .equals(other.getTransferToList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRequests()) { hash = (37 * hash) + REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getRequests().hashCode(); } if (hasLimits()) { hash = (37 * hash) + LIMITS_FIELD_NUMBER; hash = (53 * hash) + getLimits().hashCode(); } if (getTransferFromCount() > 0) { hash = (37 * hash) + TRANSFER_FROM_FIELD_NUMBER; hash = (53 * hash) + getTransferFromList().hashCode(); } if (getTransferToCount() > 0) { hash = (37 * hash) + TRANSFER_TO_FIELD_NUMBER; hash = (53 * hash) + getTransferToList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.milvus.grpc.ResourceGroupConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ResourceGroupConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.milvus.grpc.ResourceGroupConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ResourceGroupConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.milvus.grpc.ResourceGroupConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ResourceGroupConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.milvus.grpc.ResourceGroupConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.milvus.grpc.ResourceGroupConfig 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 io.milvus.grpc.ResourceGroupConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.milvus.grpc.ResourceGroupConfig 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 io.milvus.grpc.ResourceGroupConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.milvus.grpc.ResourceGroupConfig 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(io.milvus.grpc.ResourceGroupConfig 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 milvus.proto.rg.ResourceGroupConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.rg.ResourceGroupConfig) io.milvus.grpc.ResourceGroupConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.milvus.grpc.ResourceGroupProto.internal_static_milvus_proto_rg_ResourceGroupConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.milvus.grpc.ResourceGroupProto.internal_static_milvus_proto_rg_ResourceGroupConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.milvus.grpc.ResourceGroupConfig.class, io.milvus.grpc.ResourceGroupConfig.Builder.class); } // Construct using io.milvus.grpc.ResourceGroupConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRequestsFieldBuilder(); getLimitsFieldBuilder(); getTransferFromFieldBuilder(); getTransferToFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; requests_ = null; if (requestsBuilder_ != null) { requestsBuilder_.dispose(); requestsBuilder_ = null; } limits_ = null; if (limitsBuilder_ != null) { limitsBuilder_.dispose(); limitsBuilder_ = null; } if (transferFromBuilder_ == null) { transferFrom_ = java.util.Collections.emptyList(); } else { transferFrom_ = null; transferFromBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (transferToBuilder_ == null) { transferTo_ = java.util.Collections.emptyList(); } else { transferTo_ = null; transferToBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.milvus.grpc.ResourceGroupProto.internal_static_milvus_proto_rg_ResourceGroupConfig_descriptor; } @java.lang.Override public io.milvus.grpc.ResourceGroupConfig getDefaultInstanceForType() { return io.milvus.grpc.ResourceGroupConfig.getDefaultInstance(); } @java.lang.Override public io.milvus.grpc.ResourceGroupConfig build() { io.milvus.grpc.ResourceGroupConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.milvus.grpc.ResourceGroupConfig buildPartial() { io.milvus.grpc.ResourceGroupConfig result = new io.milvus.grpc.ResourceGroupConfig(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.milvus.grpc.ResourceGroupConfig result) { if (transferFromBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { transferFrom_ = java.util.Collections.unmodifiableList(transferFrom_); bitField0_ = (bitField0_ & ~0x00000004); } result.transferFrom_ = transferFrom_; } else { result.transferFrom_ = transferFromBuilder_.build(); } if (transferToBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { transferTo_ = java.util.Collections.unmodifiableList(transferTo_); bitField0_ = (bitField0_ & ~0x00000008); } result.transferTo_ = transferTo_; } else { result.transferTo_ = transferToBuilder_.build(); } } private void buildPartial0(io.milvus.grpc.ResourceGroupConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.limits_ = limitsBuilder_ == null ? limits_ : limitsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @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 io.milvus.grpc.ResourceGroupConfig) { return mergeFrom((io.milvus.grpc.ResourceGroupConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.milvus.grpc.ResourceGroupConfig other) { if (other == io.milvus.grpc.ResourceGroupConfig.getDefaultInstance()) return this; if (other.hasRequests()) { mergeRequests(other.getRequests()); } if (other.hasLimits()) { mergeLimits(other.getLimits()); } if (transferFromBuilder_ == null) { if (!other.transferFrom_.isEmpty()) { if (transferFrom_.isEmpty()) { transferFrom_ = other.transferFrom_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTransferFromIsMutable(); transferFrom_.addAll(other.transferFrom_); } onChanged(); } } else { if (!other.transferFrom_.isEmpty()) { if (transferFromBuilder_.isEmpty()) { transferFromBuilder_.dispose(); transferFromBuilder_ = null; transferFrom_ = other.transferFrom_; bitField0_ = (bitField0_ & ~0x00000004); transferFromBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTransferFromFieldBuilder() : null; } else { transferFromBuilder_.addAllMessages(other.transferFrom_); } } } if (transferToBuilder_ == null) { if (!other.transferTo_.isEmpty()) { if (transferTo_.isEmpty()) { transferTo_ = other.transferTo_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTransferToIsMutable(); transferTo_.addAll(other.transferTo_); } onChanged(); } } else { if (!other.transferTo_.isEmpty()) { if (transferToBuilder_.isEmpty()) { transferToBuilder_.dispose(); transferToBuilder_ = null; transferTo_ = other.transferTo_; bitField0_ = (bitField0_ & ~0x00000008); transferToBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTransferToFieldBuilder() : null; } else { transferToBuilder_.addAllMessages(other.transferTo_); } } } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getRequestsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getLimitsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { io.milvus.grpc.ResourceGroupTransfer m = input.readMessage( io.milvus.grpc.ResourceGroupTransfer.parser(), extensionRegistry); if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); transferFrom_.add(m); } else { transferFromBuilder_.addMessage(m); } break; } // case 26 case 34: { io.milvus.grpc.ResourceGroupTransfer m = input.readMessage( io.milvus.grpc.ResourceGroupTransfer.parser(), extensionRegistry); if (transferToBuilder_ == null) { ensureTransferToIsMutable(); transferTo_.add(m); } else { transferToBuilder_.addMessage(m); } break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.ResourceGroupLimit requests_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder> requestsBuilder_; /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; * @return The requests. */ public io.milvus.grpc.ResourceGroupLimit getRequests() { if (requestsBuilder_ == null) { return requests_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : requests_; } else { return requestsBuilder_.getMessage(); } } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public Builder setRequests(io.milvus.grpc.ResourceGroupLimit value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } requests_ = value; } else { requestsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public Builder setRequests( io.milvus.grpc.ResourceGroupLimit.Builder builderForValue) { if (requestsBuilder_ == null) { requests_ = builderForValue.build(); } else { requestsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public Builder mergeRequests(io.milvus.grpc.ResourceGroupLimit value) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && requests_ != null && requests_ != io.milvus.grpc.ResourceGroupLimit.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; } } else { requestsBuilder_.mergeFrom(value); } if (requests_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000001); requests_ = null; if (requestsBuilder_ != null) { requestsBuilder_.dispose(); requestsBuilder_ = null; } onChanged(); return this; } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public io.milvus.grpc.ResourceGroupLimit.Builder getRequestsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getRequestsFieldBuilder().getBuilder(); } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ public io.milvus.grpc.ResourceGroupLimitOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { return requests_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : requests_; } } /** *
     * requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit requests = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder>( getRequests(), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; } private io.milvus.grpc.ResourceGroupLimit limits_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder> limitsBuilder_; /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; * @return Whether the limits field is set. */ public boolean hasLimits() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; * @return The limits. */ public io.milvus.grpc.ResourceGroupLimit getLimits() { if (limitsBuilder_ == null) { return limits_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : limits_; } else { return limitsBuilder_.getMessage(); } } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public Builder setLimits(io.milvus.grpc.ResourceGroupLimit value) { if (limitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } limits_ = value; } else { limitsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public Builder setLimits( io.milvus.grpc.ResourceGroupLimit.Builder builderForValue) { if (limitsBuilder_ == null) { limits_ = builderForValue.build(); } else { limitsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public Builder mergeLimits(io.milvus.grpc.ResourceGroupLimit value) { if (limitsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && limits_ != null && limits_ != io.milvus.grpc.ResourceGroupLimit.getDefaultInstance()) { getLimitsBuilder().mergeFrom(value); } else { limits_ = value; } } else { limitsBuilder_.mergeFrom(value); } if (limits_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public Builder clearLimits() { bitField0_ = (bitField0_ & ~0x00000002); limits_ = null; if (limitsBuilder_ != null) { limitsBuilder_.dispose(); limitsBuilder_ = null; } onChanged(); return this; } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public io.milvus.grpc.ResourceGroupLimit.Builder getLimitsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getLimitsFieldBuilder().getBuilder(); } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ public io.milvus.grpc.ResourceGroupLimitOrBuilder getLimitsOrBuilder() { if (limitsBuilder_ != null) { return limitsBuilder_.getMessageOrBuilder(); } else { return limits_ == null ? io.milvus.grpc.ResourceGroupLimit.getDefaultInstance() : limits_; } } /** *
     * limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group.
     * 
* * .milvus.proto.rg.ResourceGroupLimit limits = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder> getLimitsFieldBuilder() { if (limitsBuilder_ == null) { limitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.ResourceGroupLimit, io.milvus.grpc.ResourceGroupLimit.Builder, io.milvus.grpc.ResourceGroupLimitOrBuilder>( getLimits(), getParentForChildren(), isClean()); limits_ = null; } return limitsBuilder_; } private java.util.List transferFrom_ = java.util.Collections.emptyList(); private void ensureTransferFromIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { transferFrom_ = new java.util.ArrayList(transferFrom_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder> transferFromBuilder_; /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public java.util.List getTransferFromList() { if (transferFromBuilder_ == null) { return java.util.Collections.unmodifiableList(transferFrom_); } else { return transferFromBuilder_.getMessageList(); } } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public int getTransferFromCount() { if (transferFromBuilder_ == null) { return transferFrom_.size(); } else { return transferFromBuilder_.getCount(); } } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public io.milvus.grpc.ResourceGroupTransfer getTransferFrom(int index) { if (transferFromBuilder_ == null) { return transferFrom_.get(index); } else { return transferFromBuilder_.getMessage(index); } } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder setTransferFrom( int index, io.milvus.grpc.ResourceGroupTransfer value) { if (transferFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferFromIsMutable(); transferFrom_.set(index, value); onChanged(); } else { transferFromBuilder_.setMessage(index, value); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder setTransferFrom( int index, io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); transferFrom_.set(index, builderForValue.build()); onChanged(); } else { transferFromBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder addTransferFrom(io.milvus.grpc.ResourceGroupTransfer value) { if (transferFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferFromIsMutable(); transferFrom_.add(value); onChanged(); } else { transferFromBuilder_.addMessage(value); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder addTransferFrom( int index, io.milvus.grpc.ResourceGroupTransfer value) { if (transferFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferFromIsMutable(); transferFrom_.add(index, value); onChanged(); } else { transferFromBuilder_.addMessage(index, value); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder addTransferFrom( io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); transferFrom_.add(builderForValue.build()); onChanged(); } else { transferFromBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder addTransferFrom( int index, io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); transferFrom_.add(index, builderForValue.build()); onChanged(); } else { transferFromBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder addAllTransferFrom( java.lang.Iterable values) { if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transferFrom_); onChanged(); } else { transferFromBuilder_.addAllMessages(values); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder clearTransferFrom() { if (transferFromBuilder_ == null) { transferFrom_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { transferFromBuilder_.clear(); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public Builder removeTransferFrom(int index) { if (transferFromBuilder_ == null) { ensureTransferFromIsMutable(); transferFrom_.remove(index); onChanged(); } else { transferFromBuilder_.remove(index); } return this; } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public io.milvus.grpc.ResourceGroupTransfer.Builder getTransferFromBuilder( int index) { return getTransferFromFieldBuilder().getBuilder(index); } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public io.milvus.grpc.ResourceGroupTransferOrBuilder getTransferFromOrBuilder( int index) { if (transferFromBuilder_ == null) { return transferFrom_.get(index); } else { return transferFromBuilder_.getMessageOrBuilder(index); } } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public java.util.List getTransferFromOrBuilderList() { if (transferFromBuilder_ != null) { return transferFromBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transferFrom_); } } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public io.milvus.grpc.ResourceGroupTransfer.Builder addTransferFromBuilder() { return getTransferFromFieldBuilder().addBuilder( io.milvus.grpc.ResourceGroupTransfer.getDefaultInstance()); } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public io.milvus.grpc.ResourceGroupTransfer.Builder addTransferFromBuilder( int index) { return getTransferFromFieldBuilder().addBuilder( index, io.milvus.grpc.ResourceGroupTransfer.getDefaultInstance()); } /** *
     * missing node should be transfer from given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_from = 3; */ public java.util.List getTransferFromBuilderList() { return getTransferFromFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder> getTransferFromFieldBuilder() { if (transferFromBuilder_ == null) { transferFromBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder>( transferFrom_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); transferFrom_ = null; } return transferFromBuilder_; } private java.util.List transferTo_ = java.util.Collections.emptyList(); private void ensureTransferToIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { transferTo_ = new java.util.ArrayList(transferTo_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder> transferToBuilder_; /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public java.util.List getTransferToList() { if (transferToBuilder_ == null) { return java.util.Collections.unmodifiableList(transferTo_); } else { return transferToBuilder_.getMessageList(); } } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public int getTransferToCount() { if (transferToBuilder_ == null) { return transferTo_.size(); } else { return transferToBuilder_.getCount(); } } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public io.milvus.grpc.ResourceGroupTransfer getTransferTo(int index) { if (transferToBuilder_ == null) { return transferTo_.get(index); } else { return transferToBuilder_.getMessage(index); } } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder setTransferTo( int index, io.milvus.grpc.ResourceGroupTransfer value) { if (transferToBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferToIsMutable(); transferTo_.set(index, value); onChanged(); } else { transferToBuilder_.setMessage(index, value); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder setTransferTo( int index, io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferToBuilder_ == null) { ensureTransferToIsMutable(); transferTo_.set(index, builderForValue.build()); onChanged(); } else { transferToBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder addTransferTo(io.milvus.grpc.ResourceGroupTransfer value) { if (transferToBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferToIsMutable(); transferTo_.add(value); onChanged(); } else { transferToBuilder_.addMessage(value); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder addTransferTo( int index, io.milvus.grpc.ResourceGroupTransfer value) { if (transferToBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTransferToIsMutable(); transferTo_.add(index, value); onChanged(); } else { transferToBuilder_.addMessage(index, value); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder addTransferTo( io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferToBuilder_ == null) { ensureTransferToIsMutable(); transferTo_.add(builderForValue.build()); onChanged(); } else { transferToBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder addTransferTo( int index, io.milvus.grpc.ResourceGroupTransfer.Builder builderForValue) { if (transferToBuilder_ == null) { ensureTransferToIsMutable(); transferTo_.add(index, builderForValue.build()); onChanged(); } else { transferToBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder addAllTransferTo( java.lang.Iterable values) { if (transferToBuilder_ == null) { ensureTransferToIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transferTo_); onChanged(); } else { transferToBuilder_.addAllMessages(values); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder clearTransferTo() { if (transferToBuilder_ == null) { transferTo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { transferToBuilder_.clear(); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public Builder removeTransferTo(int index) { if (transferToBuilder_ == null) { ensureTransferToIsMutable(); transferTo_.remove(index); onChanged(); } else { transferToBuilder_.remove(index); } return this; } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public io.milvus.grpc.ResourceGroupTransfer.Builder getTransferToBuilder( int index) { return getTransferToFieldBuilder().getBuilder(index); } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public io.milvus.grpc.ResourceGroupTransferOrBuilder getTransferToOrBuilder( int index) { if (transferToBuilder_ == null) { return transferTo_.get(index); } else { return transferToBuilder_.getMessageOrBuilder(index); } } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public java.util.List getTransferToOrBuilderList() { if (transferToBuilder_ != null) { return transferToBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transferTo_); } } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public io.milvus.grpc.ResourceGroupTransfer.Builder addTransferToBuilder() { return getTransferToFieldBuilder().addBuilder( io.milvus.grpc.ResourceGroupTransfer.getDefaultInstance()); } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public io.milvus.grpc.ResourceGroupTransfer.Builder addTransferToBuilder( int index) { return getTransferToFieldBuilder().addBuilder( index, io.milvus.grpc.ResourceGroupTransfer.getDefaultInstance()); } /** *
     * redundant node should be transfer to given resource group at high priority in repeated list.
     * 
* * repeated .milvus.proto.rg.ResourceGroupTransfer transfer_to = 4; */ public java.util.List getTransferToBuilderList() { return getTransferToFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder> getTransferToFieldBuilder() { if (transferToBuilder_ == null) { transferToBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.ResourceGroupTransfer, io.milvus.grpc.ResourceGroupTransfer.Builder, io.milvus.grpc.ResourceGroupTransferOrBuilder>( transferTo_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); transferTo_ = null; } return transferToBuilder_; } @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:milvus.proto.rg.ResourceGroupConfig) } // @@protoc_insertion_point(class_scope:milvus.proto.rg.ResourceGroupConfig) private static final io.milvus.grpc.ResourceGroupConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.milvus.grpc.ResourceGroupConfig(); } public static io.milvus.grpc.ResourceGroupConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResourceGroupConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.milvus.grpc.ResourceGroupConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy