Class CheckHealthResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CheckHealthResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
io.milvus.grpc.CheckHealthResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CheckHealthResponseOrBuilder, Cloneable
Enclosing class:
CheckHealthResponse

public static final class CheckHealthResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder> implements CheckHealthResponseOrBuilder
Protobuf type milvus.proto.milvus.CheckHealthResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • getDefaultInstanceForType

      public CheckHealthResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CheckHealthResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CheckHealthResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • setField

      public CheckHealthResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • clearField

      public CheckHealthResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • clearOneof

      public CheckHealthResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • setRepeatedField

      public CheckHealthResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • addRepeatedField

      public CheckHealthResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • mergeFrom

      public CheckHealthResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckHealthResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • mergeFrom

      public CheckHealthResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckHealthResponse.Builder>
      Throws:
      IOException
    • hasStatus

      public boolean hasStatus()
      .milvus.proto.common.Status status = 1;
      Specified by:
      hasStatus in interface CheckHealthResponseOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
      .milvus.proto.common.Status status = 1;
      Specified by:
      getStatus in interface CheckHealthResponseOrBuilder
      Returns:
      The status.
    • setStatus

      public CheckHealthResponse.Builder setStatus(Status value)
      .milvus.proto.common.Status status = 1;
    • setStatus

      public CheckHealthResponse.Builder setStatus(Status.Builder builderForValue)
      .milvus.proto.common.Status status = 1;
    • mergeStatus

      public CheckHealthResponse.Builder mergeStatus(Status value)
      .milvus.proto.common.Status status = 1;
    • clearStatus

      public CheckHealthResponse.Builder clearStatus()
      .milvus.proto.common.Status status = 1;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
      .milvus.proto.common.Status status = 1;
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
      .milvus.proto.common.Status status = 1;
      Specified by:
      getStatusOrBuilder in interface CheckHealthResponseOrBuilder
    • getIsHealthy

      public boolean getIsHealthy()
      bool isHealthy = 2;
      Specified by:
      getIsHealthy in interface CheckHealthResponseOrBuilder
      Returns:
      The isHealthy.
    • setIsHealthy

      public CheckHealthResponse.Builder setIsHealthy(boolean value)
      bool isHealthy = 2;
      Parameters:
      value - The isHealthy to set.
      Returns:
      This builder for chaining.
    • clearIsHealthy

      public CheckHealthResponse.Builder clearIsHealthy()
      bool isHealthy = 2;
      Returns:
      This builder for chaining.
    • getReasonsList

      public com.google.protobuf.ProtocolStringList getReasonsList()
      repeated string reasons = 3;
      Specified by:
      getReasonsList in interface CheckHealthResponseOrBuilder
      Returns:
      A list containing the reasons.
    • getReasonsCount

      public int getReasonsCount()
      repeated string reasons = 3;
      Specified by:
      getReasonsCount in interface CheckHealthResponseOrBuilder
      Returns:
      The count of reasons.
    • getReasons

      public String getReasons(int index)
      repeated string reasons = 3;
      Specified by:
      getReasons in interface CheckHealthResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The reasons at the given index.
    • getReasonsBytes

      public com.google.protobuf.ByteString getReasonsBytes(int index)
      repeated string reasons = 3;
      Specified by:
      getReasonsBytes in interface CheckHealthResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the reasons at the given index.
    • setReasons

      public CheckHealthResponse.Builder setReasons(int index, String value)
      repeated string reasons = 3;
      Parameters:
      index - The index to set the value at.
      value - The reasons to set.
      Returns:
      This builder for chaining.
    • addReasons

      public CheckHealthResponse.Builder addReasons(String value)
      repeated string reasons = 3;
      Parameters:
      value - The reasons to add.
      Returns:
      This builder for chaining.
    • addAllReasons

      public CheckHealthResponse.Builder addAllReasons(Iterable<String> values)
      repeated string reasons = 3;
      Parameters:
      values - The reasons to add.
      Returns:
      This builder for chaining.
    • clearReasons

      public CheckHealthResponse.Builder clearReasons()
      repeated string reasons = 3;
      Returns:
      This builder for chaining.
    • addReasonsBytes

      public CheckHealthResponse.Builder addReasonsBytes(com.google.protobuf.ByteString value)
      repeated string reasons = 3;
      Parameters:
      value - The bytes of the reasons to add.
      Returns:
      This builder for chaining.
    • getQuotaStatesList

      public List<QuotaState> getQuotaStatesList()
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Specified by:
      getQuotaStatesList in interface CheckHealthResponseOrBuilder
      Returns:
      A list containing the quotaStates.
    • getQuotaStatesCount

      public int getQuotaStatesCount()
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Specified by:
      getQuotaStatesCount in interface CheckHealthResponseOrBuilder
      Returns:
      The count of quotaStates.
    • getQuotaStates

      public QuotaState getQuotaStates(int index)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Specified by:
      getQuotaStates in interface CheckHealthResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The quotaStates at the given index.
    • setQuotaStates

      public CheckHealthResponse.Builder setQuotaStates(int index, QuotaState value)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      index - The index to set the value at.
      value - The quotaStates to set.
      Returns:
      This builder for chaining.
    • addQuotaStates

      public CheckHealthResponse.Builder addQuotaStates(QuotaState value)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      value - The quotaStates to add.
      Returns:
      This builder for chaining.
    • addAllQuotaStates

      public CheckHealthResponse.Builder addAllQuotaStates(Iterable<? extends QuotaState> values)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      values - The quotaStates to add.
      Returns:
      This builder for chaining.
    • clearQuotaStates

      public CheckHealthResponse.Builder clearQuotaStates()
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Returns:
      This builder for chaining.
    • getQuotaStatesValueList

      public List<Integer> getQuotaStatesValueList()
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Specified by:
      getQuotaStatesValueList in interface CheckHealthResponseOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for quotaStates.
    • getQuotaStatesValue

      public int getQuotaStatesValue(int index)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Specified by:
      getQuotaStatesValue in interface CheckHealthResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of quotaStates at the given index.
    • setQuotaStatesValue

      public CheckHealthResponse.Builder setQuotaStatesValue(int index, int value)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for quotaStates to set.
      Returns:
      This builder for chaining.
    • addQuotaStatesValue

      public CheckHealthResponse.Builder addQuotaStatesValue(int value)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      value - The enum numeric value on the wire for quotaStates to add.
      Returns:
      This builder for chaining.
    • addAllQuotaStatesValue

      public CheckHealthResponse.Builder addAllQuotaStatesValue(Iterable<Integer> values)
      repeated .milvus.proto.milvus.QuotaState quota_states = 4;
      Parameters:
      values - The enum numeric values on the wire for quotaStates to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CheckHealthResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>
    • mergeUnknownFields

      public final CheckHealthResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CheckHealthResponse.Builder>