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

com.yelp.nrtsearch.server.grpc.IndexLiveSettings Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yelp/nrtsearch/luceneserver.proto

// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;

/**
 * Protobuf type {@code luceneserver.IndexLiveSettings}
 */
public final class IndexLiveSettings extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:luceneserver.IndexLiveSettings)
    IndexLiveSettingsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use IndexLiveSettings.newBuilder() to construct.
  private IndexLiveSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private IndexLiveSettings() {
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.yelp.nrtsearch.server.grpc.LuceneServerProto.internal_static_luceneserver_IndexLiveSettings_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.yelp.nrtsearch.server.grpc.LuceneServerProto.internal_static_luceneserver_IndexLiveSettings_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.yelp.nrtsearch.server.grpc.IndexLiveSettings.class, com.yelp.nrtsearch.server.grpc.IndexLiveSettings.Builder.class);
  }

  private int bitField0_;
  public static final int MAXREFRESHSEC_FIELD_NUMBER = 1;
  private com.google.protobuf.DoubleValue maxRefreshSec_;
  /**
   * 
   * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
   * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; * @return Whether the maxRefreshSec field is set. */ @java.lang.Override public boolean hasMaxRefreshSec() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
   * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; * @return The maxRefreshSec. */ @java.lang.Override public com.google.protobuf.DoubleValue getMaxRefreshSec() { return maxRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxRefreshSec_; } /** *
   * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
   * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getMaxRefreshSecOrBuilder() { return maxRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxRefreshSec_; } public static final int MINREFRESHSEC_FIELD_NUMBER = 2; private com.google.protobuf.DoubleValue minRefreshSec_; /** *
   * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
   * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; * @return Whether the minRefreshSec field is set. */ @java.lang.Override public boolean hasMinRefreshSec() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
   * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; * @return The minRefreshSec. */ @java.lang.Override public com.google.protobuf.DoubleValue getMinRefreshSec() { return minRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minRefreshSec_; } /** *
   * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
   * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getMinRefreshSecOrBuilder() { return minRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minRefreshSec_; } public static final int MAXSEARCHERAGESEC_FIELD_NUMBER = 3; private com.google.protobuf.DoubleValue maxSearcherAgeSec_; /** *
   * Non-current searchers older than this are pruned, default: 60.0
   * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; * @return Whether the maxSearcherAgeSec field is set. */ @java.lang.Override public boolean hasMaxSearcherAgeSec() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Non-current searchers older than this are pruned, default: 60.0
   * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; * @return The maxSearcherAgeSec. */ @java.lang.Override public com.google.protobuf.DoubleValue getMaxSearcherAgeSec() { return maxSearcherAgeSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxSearcherAgeSec_; } /** *
   * Non-current searchers older than this are pruned, default: 60.0
   * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getMaxSearcherAgeSecOrBuilder() { return maxSearcherAgeSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxSearcherAgeSec_; } public static final int INDEXRAMBUFFERSIZEMB_FIELD_NUMBER = 4; private com.google.protobuf.DoubleValue indexRamBufferSizeMB_; /** *
   * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
   * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; * @return Whether the indexRamBufferSizeMB field is set. */ @java.lang.Override public boolean hasIndexRamBufferSizeMB() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
   * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; * @return The indexRamBufferSizeMB. */ @java.lang.Override public com.google.protobuf.DoubleValue getIndexRamBufferSizeMB() { return indexRamBufferSizeMB_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : indexRamBufferSizeMB_; } /** *
   * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
   * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getIndexRamBufferSizeMBOrBuilder() { return indexRamBufferSizeMB_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : indexRamBufferSizeMB_; } public static final int ADDDOCUMENTSMAXBUFFERLEN_FIELD_NUMBER = 5; private com.google.protobuf.Int32Value addDocumentsMaxBufferLen_; /** *
   * Max number of documents to add at a time, default: 100
   * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; * @return Whether the addDocumentsMaxBufferLen field is set. */ @java.lang.Override public boolean hasAddDocumentsMaxBufferLen() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Max number of documents to add at a time, default: 100
   * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; * @return The addDocumentsMaxBufferLen. */ @java.lang.Override public com.google.protobuf.Int32Value getAddDocumentsMaxBufferLen() { return addDocumentsMaxBufferLen_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : addDocumentsMaxBufferLen_; } /** *
   * Max number of documents to add at a time, default: 100
   * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getAddDocumentsMaxBufferLenOrBuilder() { return addDocumentsMaxBufferLen_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : addDocumentsMaxBufferLen_; } public static final int SLICEMAXDOCS_FIELD_NUMBER = 6; private com.google.protobuf.Int32Value sliceMaxDocs_; /** *
   * Maximum number of documents allowed in a parallel search slice, default: 250,000
   * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; * @return Whether the sliceMaxDocs field is set. */ @java.lang.Override public boolean hasSliceMaxDocs() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Maximum number of documents allowed in a parallel search slice, default: 250,000
   * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; * @return The sliceMaxDocs. */ @java.lang.Override public com.google.protobuf.Int32Value getSliceMaxDocs() { return sliceMaxDocs_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxDocs_; } /** *
   * Maximum number of documents allowed in a parallel search slice, default: 250,000
   * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getSliceMaxDocsOrBuilder() { return sliceMaxDocs_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxDocs_; } public static final int SLICEMAXSEGMENTS_FIELD_NUMBER = 7; private com.google.protobuf.Int32Value sliceMaxSegments_; /** *
   * Maximum number of segments allowed in a parallel search slice, default: 5
   * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; * @return Whether the sliceMaxSegments field is set. */ @java.lang.Override public boolean hasSliceMaxSegments() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Maximum number of segments allowed in a parallel search slice, default: 5
   * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; * @return The sliceMaxSegments. */ @java.lang.Override public com.google.protobuf.Int32Value getSliceMaxSegments() { return sliceMaxSegments_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxSegments_; } /** *
   * Maximum number of segments allowed in a parallel search slice, default: 5
   * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getSliceMaxSegmentsOrBuilder() { return sliceMaxSegments_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxSegments_; } public static final int VIRTUALSHARDS_FIELD_NUMBER = 8; private com.google.protobuf.Int32Value virtualShards_; /** *
   * Number of virtual shards to use for this index, default: 1
   * 
* * .google.protobuf.Int32Value virtualShards = 8; * @return Whether the virtualShards field is set. */ @java.lang.Override public boolean hasVirtualShards() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * Number of virtual shards to use for this index, default: 1
   * 
* * .google.protobuf.Int32Value virtualShards = 8; * @return The virtualShards. */ @java.lang.Override public com.google.protobuf.Int32Value getVirtualShards() { return virtualShards_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : virtualShards_; } /** *
   * Number of virtual shards to use for this index, default: 1
   * 
* * .google.protobuf.Int32Value virtualShards = 8; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getVirtualShardsOrBuilder() { return virtualShards_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : virtualShards_; } public static final int MAXMERGEDSEGMENTMB_FIELD_NUMBER = 9; private com.google.protobuf.Int32Value maxMergedSegmentMB_; /** *
   * Maximum sized segment to produce during normal merging, default: 5GB
   * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; * @return Whether the maxMergedSegmentMB field is set. */ @java.lang.Override public boolean hasMaxMergedSegmentMB() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * Maximum sized segment to produce during normal merging, default: 5GB
   * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; * @return The maxMergedSegmentMB. */ @java.lang.Override public com.google.protobuf.Int32Value getMaxMergedSegmentMB() { return maxMergedSegmentMB_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : maxMergedSegmentMB_; } /** *
   * Maximum sized segment to produce during normal merging, default: 5GB
   * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getMaxMergedSegmentMBOrBuilder() { return maxMergedSegmentMB_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : maxMergedSegmentMB_; } public static final int SEGMENTSPERTIER_FIELD_NUMBER = 10; private com.google.protobuf.Int32Value segmentsPerTier_; /** *
   * Number of segments per tier used by TieredMergePolicy, default: 10
   * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; * @return Whether the segmentsPerTier field is set. */ @java.lang.Override public boolean hasSegmentsPerTier() { return ((bitField0_ & 0x00000200) != 0); } /** *
   * Number of segments per tier used by TieredMergePolicy, default: 10
   * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; * @return The segmentsPerTier. */ @java.lang.Override public com.google.protobuf.Int32Value getSegmentsPerTier() { return segmentsPerTier_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : segmentsPerTier_; } /** *
   * Number of segments per tier used by TieredMergePolicy, default: 10
   * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getSegmentsPerTierOrBuilder() { return segmentsPerTier_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : segmentsPerTier_; } public static final int DEFAULTSEARCHTIMEOUTSEC_FIELD_NUMBER = 11; private com.google.protobuf.DoubleValue defaultSearchTimeoutSec_; /** *
   * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
   * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; * @return Whether the defaultSearchTimeoutSec field is set. */ @java.lang.Override public boolean hasDefaultSearchTimeoutSec() { return ((bitField0_ & 0x00000400) != 0); } /** *
   * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
   * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; * @return The defaultSearchTimeoutSec. */ @java.lang.Override public com.google.protobuf.DoubleValue getDefaultSearchTimeoutSec() { return defaultSearchTimeoutSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : defaultSearchTimeoutSec_; } /** *
   * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
   * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getDefaultSearchTimeoutSecOrBuilder() { return defaultSearchTimeoutSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : defaultSearchTimeoutSec_; } public static final int DEFAULTSEARCHTIMEOUTCHECKEVERY_FIELD_NUMBER = 12; private com.google.protobuf.Int32Value defaultSearchTimeoutCheckEvery_; /** *
   * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; * @return Whether the defaultSearchTimeoutCheckEvery field is set. */ @java.lang.Override public boolean hasDefaultSearchTimeoutCheckEvery() { return ((bitField0_ & 0x00000800) != 0); } /** *
   * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; * @return The defaultSearchTimeoutCheckEvery. */ @java.lang.Override public com.google.protobuf.Int32Value getDefaultSearchTimeoutCheckEvery() { return defaultSearchTimeoutCheckEvery_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultSearchTimeoutCheckEvery_; } /** *
   * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getDefaultSearchTimeoutCheckEveryOrBuilder() { return defaultSearchTimeoutCheckEvery_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultSearchTimeoutCheckEvery_; } public static final int DEFAULTTERMINATEAFTER_FIELD_NUMBER = 13; private com.google.protobuf.Int32Value defaultTerminateAfter_; /** *
   * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; * @return Whether the defaultTerminateAfter field is set. */ @java.lang.Override public boolean hasDefaultTerminateAfter() { return ((bitField0_ & 0x00001000) != 0); } /** *
   * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; * @return The defaultTerminateAfter. */ @java.lang.Override public com.google.protobuf.Int32Value getDefaultTerminateAfter() { return defaultTerminateAfter_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultTerminateAfter_; } /** *
   * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
   * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ @java.lang.Override public com.google.protobuf.Int32ValueOrBuilder getDefaultTerminateAfterOrBuilder() { return defaultTerminateAfter_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultTerminateAfter_; } public static final int MAXMERGEPRECOPYDURATIONSEC_FIELD_NUMBER = 14; private com.google.protobuf.UInt64Value maxMergePreCopyDurationSec_; /** *
   * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
   * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; * @return Whether the maxMergePreCopyDurationSec field is set. */ @java.lang.Override public boolean hasMaxMergePreCopyDurationSec() { return ((bitField0_ & 0x00002000) != 0); } /** *
   * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
   * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; * @return The maxMergePreCopyDurationSec. */ @java.lang.Override public com.google.protobuf.UInt64Value getMaxMergePreCopyDurationSec() { return maxMergePreCopyDurationSec_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : maxMergePreCopyDurationSec_; } /** *
   * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
   * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getMaxMergePreCopyDurationSecOrBuilder() { return maxMergePreCopyDurationSec_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : maxMergePreCopyDurationSec_; } public static final int VERBOSEMETRICS_FIELD_NUMBER = 15; private com.google.protobuf.BoolValue verboseMetrics_; /** *
   * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
   * 
* * .google.protobuf.BoolValue verboseMetrics = 15; * @return Whether the verboseMetrics field is set. */ @java.lang.Override public boolean hasVerboseMetrics() { return ((bitField0_ & 0x00004000) != 0); } /** *
   * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
   * 
* * .google.protobuf.BoolValue verboseMetrics = 15; * @return The verboseMetrics. */ @java.lang.Override public com.google.protobuf.BoolValue getVerboseMetrics() { return verboseMetrics_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : verboseMetrics_; } /** *
   * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
   * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getVerboseMetricsOrBuilder() { return verboseMetrics_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : verboseMetrics_; } 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, getMaxRefreshSec()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getMinRefreshSec()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getMaxSearcherAgeSec()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getIndexRamBufferSizeMB()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getAddDocumentsMaxBufferLen()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getSliceMaxDocs()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getSliceMaxSegments()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getVirtualShards()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getMaxMergedSegmentMB()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(10, getSegmentsPerTier()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(11, getDefaultSearchTimeoutSec()); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(12, getDefaultSearchTimeoutCheckEvery()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(13, getDefaultTerminateAfter()); } if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(14, getMaxMergePreCopyDurationSec()); } if (((bitField0_ & 0x00004000) != 0)) { output.writeMessage(15, getVerboseMetrics()); } 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, getMaxRefreshSec()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getMinRefreshSec()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getMaxSearcherAgeSec()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getIndexRamBufferSizeMB()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getAddDocumentsMaxBufferLen()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getSliceMaxDocs()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getSliceMaxSegments()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getVirtualShards()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getMaxMergedSegmentMB()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getSegmentsPerTier()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getDefaultSearchTimeoutSec()); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getDefaultSearchTimeoutCheckEvery()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getDefaultTerminateAfter()); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getMaxMergePreCopyDurationSec()); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getVerboseMetrics()); } 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 com.yelp.nrtsearch.server.grpc.IndexLiveSettings)) { return super.equals(obj); } com.yelp.nrtsearch.server.grpc.IndexLiveSettings other = (com.yelp.nrtsearch.server.grpc.IndexLiveSettings) obj; if (hasMaxRefreshSec() != other.hasMaxRefreshSec()) return false; if (hasMaxRefreshSec()) { if (!getMaxRefreshSec() .equals(other.getMaxRefreshSec())) return false; } if (hasMinRefreshSec() != other.hasMinRefreshSec()) return false; if (hasMinRefreshSec()) { if (!getMinRefreshSec() .equals(other.getMinRefreshSec())) return false; } if (hasMaxSearcherAgeSec() != other.hasMaxSearcherAgeSec()) return false; if (hasMaxSearcherAgeSec()) { if (!getMaxSearcherAgeSec() .equals(other.getMaxSearcherAgeSec())) return false; } if (hasIndexRamBufferSizeMB() != other.hasIndexRamBufferSizeMB()) return false; if (hasIndexRamBufferSizeMB()) { if (!getIndexRamBufferSizeMB() .equals(other.getIndexRamBufferSizeMB())) return false; } if (hasAddDocumentsMaxBufferLen() != other.hasAddDocumentsMaxBufferLen()) return false; if (hasAddDocumentsMaxBufferLen()) { if (!getAddDocumentsMaxBufferLen() .equals(other.getAddDocumentsMaxBufferLen())) return false; } if (hasSliceMaxDocs() != other.hasSliceMaxDocs()) return false; if (hasSliceMaxDocs()) { if (!getSliceMaxDocs() .equals(other.getSliceMaxDocs())) return false; } if (hasSliceMaxSegments() != other.hasSliceMaxSegments()) return false; if (hasSliceMaxSegments()) { if (!getSliceMaxSegments() .equals(other.getSliceMaxSegments())) return false; } if (hasVirtualShards() != other.hasVirtualShards()) return false; if (hasVirtualShards()) { if (!getVirtualShards() .equals(other.getVirtualShards())) return false; } if (hasMaxMergedSegmentMB() != other.hasMaxMergedSegmentMB()) return false; if (hasMaxMergedSegmentMB()) { if (!getMaxMergedSegmentMB() .equals(other.getMaxMergedSegmentMB())) return false; } if (hasSegmentsPerTier() != other.hasSegmentsPerTier()) return false; if (hasSegmentsPerTier()) { if (!getSegmentsPerTier() .equals(other.getSegmentsPerTier())) return false; } if (hasDefaultSearchTimeoutSec() != other.hasDefaultSearchTimeoutSec()) return false; if (hasDefaultSearchTimeoutSec()) { if (!getDefaultSearchTimeoutSec() .equals(other.getDefaultSearchTimeoutSec())) return false; } if (hasDefaultSearchTimeoutCheckEvery() != other.hasDefaultSearchTimeoutCheckEvery()) return false; if (hasDefaultSearchTimeoutCheckEvery()) { if (!getDefaultSearchTimeoutCheckEvery() .equals(other.getDefaultSearchTimeoutCheckEvery())) return false; } if (hasDefaultTerminateAfter() != other.hasDefaultTerminateAfter()) return false; if (hasDefaultTerminateAfter()) { if (!getDefaultTerminateAfter() .equals(other.getDefaultTerminateAfter())) return false; } if (hasMaxMergePreCopyDurationSec() != other.hasMaxMergePreCopyDurationSec()) return false; if (hasMaxMergePreCopyDurationSec()) { if (!getMaxMergePreCopyDurationSec() .equals(other.getMaxMergePreCopyDurationSec())) return false; } if (hasVerboseMetrics() != other.hasVerboseMetrics()) return false; if (hasVerboseMetrics()) { if (!getVerboseMetrics() .equals(other.getVerboseMetrics())) 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 (hasMaxRefreshSec()) { hash = (37 * hash) + MAXREFRESHSEC_FIELD_NUMBER; hash = (53 * hash) + getMaxRefreshSec().hashCode(); } if (hasMinRefreshSec()) { hash = (37 * hash) + MINREFRESHSEC_FIELD_NUMBER; hash = (53 * hash) + getMinRefreshSec().hashCode(); } if (hasMaxSearcherAgeSec()) { hash = (37 * hash) + MAXSEARCHERAGESEC_FIELD_NUMBER; hash = (53 * hash) + getMaxSearcherAgeSec().hashCode(); } if (hasIndexRamBufferSizeMB()) { hash = (37 * hash) + INDEXRAMBUFFERSIZEMB_FIELD_NUMBER; hash = (53 * hash) + getIndexRamBufferSizeMB().hashCode(); } if (hasAddDocumentsMaxBufferLen()) { hash = (37 * hash) + ADDDOCUMENTSMAXBUFFERLEN_FIELD_NUMBER; hash = (53 * hash) + getAddDocumentsMaxBufferLen().hashCode(); } if (hasSliceMaxDocs()) { hash = (37 * hash) + SLICEMAXDOCS_FIELD_NUMBER; hash = (53 * hash) + getSliceMaxDocs().hashCode(); } if (hasSliceMaxSegments()) { hash = (37 * hash) + SLICEMAXSEGMENTS_FIELD_NUMBER; hash = (53 * hash) + getSliceMaxSegments().hashCode(); } if (hasVirtualShards()) { hash = (37 * hash) + VIRTUALSHARDS_FIELD_NUMBER; hash = (53 * hash) + getVirtualShards().hashCode(); } if (hasMaxMergedSegmentMB()) { hash = (37 * hash) + MAXMERGEDSEGMENTMB_FIELD_NUMBER; hash = (53 * hash) + getMaxMergedSegmentMB().hashCode(); } if (hasSegmentsPerTier()) { hash = (37 * hash) + SEGMENTSPERTIER_FIELD_NUMBER; hash = (53 * hash) + getSegmentsPerTier().hashCode(); } if (hasDefaultSearchTimeoutSec()) { hash = (37 * hash) + DEFAULTSEARCHTIMEOUTSEC_FIELD_NUMBER; hash = (53 * hash) + getDefaultSearchTimeoutSec().hashCode(); } if (hasDefaultSearchTimeoutCheckEvery()) { hash = (37 * hash) + DEFAULTSEARCHTIMEOUTCHECKEVERY_FIELD_NUMBER; hash = (53 * hash) + getDefaultSearchTimeoutCheckEvery().hashCode(); } if (hasDefaultTerminateAfter()) { hash = (37 * hash) + DEFAULTTERMINATEAFTER_FIELD_NUMBER; hash = (53 * hash) + getDefaultTerminateAfter().hashCode(); } if (hasMaxMergePreCopyDurationSec()) { hash = (37 * hash) + MAXMERGEPRECOPYDURATIONSEC_FIELD_NUMBER; hash = (53 * hash) + getMaxMergePreCopyDurationSec().hashCode(); } if (hasVerboseMetrics()) { hash = (37 * hash) + VERBOSEMETRICS_FIELD_NUMBER; hash = (53 * hash) + getVerboseMetrics().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings 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.yelp.nrtsearch.server.grpc.IndexLiveSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings 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.yelp.nrtsearch.server.grpc.IndexLiveSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings 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.yelp.nrtsearch.server.grpc.IndexLiveSettings 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 luceneserver.IndexLiveSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:luceneserver.IndexLiveSettings) com.yelp.nrtsearch.server.grpc.IndexLiveSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.yelp.nrtsearch.server.grpc.LuceneServerProto.internal_static_luceneserver_IndexLiveSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.yelp.nrtsearch.server.grpc.LuceneServerProto.internal_static_luceneserver_IndexLiveSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yelp.nrtsearch.server.grpc.IndexLiveSettings.class, com.yelp.nrtsearch.server.grpc.IndexLiveSettings.Builder.class); } // Construct using com.yelp.nrtsearch.server.grpc.IndexLiveSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMaxRefreshSecFieldBuilder(); getMinRefreshSecFieldBuilder(); getMaxSearcherAgeSecFieldBuilder(); getIndexRamBufferSizeMBFieldBuilder(); getAddDocumentsMaxBufferLenFieldBuilder(); getSliceMaxDocsFieldBuilder(); getSliceMaxSegmentsFieldBuilder(); getVirtualShardsFieldBuilder(); getMaxMergedSegmentMBFieldBuilder(); getSegmentsPerTierFieldBuilder(); getDefaultSearchTimeoutSecFieldBuilder(); getDefaultSearchTimeoutCheckEveryFieldBuilder(); getDefaultTerminateAfterFieldBuilder(); getMaxMergePreCopyDurationSecFieldBuilder(); getVerboseMetricsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; maxRefreshSec_ = null; if (maxRefreshSecBuilder_ != null) { maxRefreshSecBuilder_.dispose(); maxRefreshSecBuilder_ = null; } minRefreshSec_ = null; if (minRefreshSecBuilder_ != null) { minRefreshSecBuilder_.dispose(); minRefreshSecBuilder_ = null; } maxSearcherAgeSec_ = null; if (maxSearcherAgeSecBuilder_ != null) { maxSearcherAgeSecBuilder_.dispose(); maxSearcherAgeSecBuilder_ = null; } indexRamBufferSizeMB_ = null; if (indexRamBufferSizeMBBuilder_ != null) { indexRamBufferSizeMBBuilder_.dispose(); indexRamBufferSizeMBBuilder_ = null; } addDocumentsMaxBufferLen_ = null; if (addDocumentsMaxBufferLenBuilder_ != null) { addDocumentsMaxBufferLenBuilder_.dispose(); addDocumentsMaxBufferLenBuilder_ = null; } sliceMaxDocs_ = null; if (sliceMaxDocsBuilder_ != null) { sliceMaxDocsBuilder_.dispose(); sliceMaxDocsBuilder_ = null; } sliceMaxSegments_ = null; if (sliceMaxSegmentsBuilder_ != null) { sliceMaxSegmentsBuilder_.dispose(); sliceMaxSegmentsBuilder_ = null; } virtualShards_ = null; if (virtualShardsBuilder_ != null) { virtualShardsBuilder_.dispose(); virtualShardsBuilder_ = null; } maxMergedSegmentMB_ = null; if (maxMergedSegmentMBBuilder_ != null) { maxMergedSegmentMBBuilder_.dispose(); maxMergedSegmentMBBuilder_ = null; } segmentsPerTier_ = null; if (segmentsPerTierBuilder_ != null) { segmentsPerTierBuilder_.dispose(); segmentsPerTierBuilder_ = null; } defaultSearchTimeoutSec_ = null; if (defaultSearchTimeoutSecBuilder_ != null) { defaultSearchTimeoutSecBuilder_.dispose(); defaultSearchTimeoutSecBuilder_ = null; } defaultSearchTimeoutCheckEvery_ = null; if (defaultSearchTimeoutCheckEveryBuilder_ != null) { defaultSearchTimeoutCheckEveryBuilder_.dispose(); defaultSearchTimeoutCheckEveryBuilder_ = null; } defaultTerminateAfter_ = null; if (defaultTerminateAfterBuilder_ != null) { defaultTerminateAfterBuilder_.dispose(); defaultTerminateAfterBuilder_ = null; } maxMergePreCopyDurationSec_ = null; if (maxMergePreCopyDurationSecBuilder_ != null) { maxMergePreCopyDurationSecBuilder_.dispose(); maxMergePreCopyDurationSecBuilder_ = null; } verboseMetrics_ = null; if (verboseMetricsBuilder_ != null) { verboseMetricsBuilder_.dispose(); verboseMetricsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.yelp.nrtsearch.server.grpc.LuceneServerProto.internal_static_luceneserver_IndexLiveSettings_descriptor; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.IndexLiveSettings getDefaultInstanceForType() { return com.yelp.nrtsearch.server.grpc.IndexLiveSettings.getDefaultInstance(); } @java.lang.Override public com.yelp.nrtsearch.server.grpc.IndexLiveSettings build() { com.yelp.nrtsearch.server.grpc.IndexLiveSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.yelp.nrtsearch.server.grpc.IndexLiveSettings buildPartial() { com.yelp.nrtsearch.server.grpc.IndexLiveSettings result = new com.yelp.nrtsearch.server.grpc.IndexLiveSettings(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.yelp.nrtsearch.server.grpc.IndexLiveSettings result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.maxRefreshSec_ = maxRefreshSecBuilder_ == null ? maxRefreshSec_ : maxRefreshSecBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.minRefreshSec_ = minRefreshSecBuilder_ == null ? minRefreshSec_ : minRefreshSecBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.maxSearcherAgeSec_ = maxSearcherAgeSecBuilder_ == null ? maxSearcherAgeSec_ : maxSearcherAgeSecBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.indexRamBufferSizeMB_ = indexRamBufferSizeMBBuilder_ == null ? indexRamBufferSizeMB_ : indexRamBufferSizeMBBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.addDocumentsMaxBufferLen_ = addDocumentsMaxBufferLenBuilder_ == null ? addDocumentsMaxBufferLen_ : addDocumentsMaxBufferLenBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.sliceMaxDocs_ = sliceMaxDocsBuilder_ == null ? sliceMaxDocs_ : sliceMaxDocsBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.sliceMaxSegments_ = sliceMaxSegmentsBuilder_ == null ? sliceMaxSegments_ : sliceMaxSegmentsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.virtualShards_ = virtualShardsBuilder_ == null ? virtualShards_ : virtualShardsBuilder_.build(); to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.maxMergedSegmentMB_ = maxMergedSegmentMBBuilder_ == null ? maxMergedSegmentMB_ : maxMergedSegmentMBBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.segmentsPerTier_ = segmentsPerTierBuilder_ == null ? segmentsPerTier_ : segmentsPerTierBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.defaultSearchTimeoutSec_ = defaultSearchTimeoutSecBuilder_ == null ? defaultSearchTimeoutSec_ : defaultSearchTimeoutSecBuilder_.build(); to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.defaultSearchTimeoutCheckEvery_ = defaultSearchTimeoutCheckEveryBuilder_ == null ? defaultSearchTimeoutCheckEvery_ : defaultSearchTimeoutCheckEveryBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { result.defaultTerminateAfter_ = defaultTerminateAfterBuilder_ == null ? defaultTerminateAfter_ : defaultTerminateAfterBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { result.maxMergePreCopyDurationSec_ = maxMergePreCopyDurationSecBuilder_ == null ? maxMergePreCopyDurationSec_ : maxMergePreCopyDurationSecBuilder_.build(); to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.verboseMetrics_ = verboseMetricsBuilder_ == null ? verboseMetrics_ : verboseMetricsBuilder_.build(); to_bitField0_ |= 0x00004000; } 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 com.yelp.nrtsearch.server.grpc.IndexLiveSettings) { return mergeFrom((com.yelp.nrtsearch.server.grpc.IndexLiveSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.yelp.nrtsearch.server.grpc.IndexLiveSettings other) { if (other == com.yelp.nrtsearch.server.grpc.IndexLiveSettings.getDefaultInstance()) return this; if (other.hasMaxRefreshSec()) { mergeMaxRefreshSec(other.getMaxRefreshSec()); } if (other.hasMinRefreshSec()) { mergeMinRefreshSec(other.getMinRefreshSec()); } if (other.hasMaxSearcherAgeSec()) { mergeMaxSearcherAgeSec(other.getMaxSearcherAgeSec()); } if (other.hasIndexRamBufferSizeMB()) { mergeIndexRamBufferSizeMB(other.getIndexRamBufferSizeMB()); } if (other.hasAddDocumentsMaxBufferLen()) { mergeAddDocumentsMaxBufferLen(other.getAddDocumentsMaxBufferLen()); } if (other.hasSliceMaxDocs()) { mergeSliceMaxDocs(other.getSliceMaxDocs()); } if (other.hasSliceMaxSegments()) { mergeSliceMaxSegments(other.getSliceMaxSegments()); } if (other.hasVirtualShards()) { mergeVirtualShards(other.getVirtualShards()); } if (other.hasMaxMergedSegmentMB()) { mergeMaxMergedSegmentMB(other.getMaxMergedSegmentMB()); } if (other.hasSegmentsPerTier()) { mergeSegmentsPerTier(other.getSegmentsPerTier()); } if (other.hasDefaultSearchTimeoutSec()) { mergeDefaultSearchTimeoutSec(other.getDefaultSearchTimeoutSec()); } if (other.hasDefaultSearchTimeoutCheckEvery()) { mergeDefaultSearchTimeoutCheckEvery(other.getDefaultSearchTimeoutCheckEvery()); } if (other.hasDefaultTerminateAfter()) { mergeDefaultTerminateAfter(other.getDefaultTerminateAfter()); } if (other.hasMaxMergePreCopyDurationSec()) { mergeMaxMergePreCopyDurationSec(other.getMaxMergePreCopyDurationSec()); } if (other.hasVerboseMetrics()) { mergeVerboseMetrics(other.getVerboseMetrics()); } 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( getMaxRefreshSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getMinRefreshSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getMaxSearcherAgeSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getIndexRamBufferSizeMBFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getAddDocumentsMaxBufferLenFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getSliceMaxDocsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getSliceMaxSegmentsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getVirtualShardsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { input.readMessage( getMaxMergedSegmentMBFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 74 case 82: { input.readMessage( getSegmentsPerTierFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 82 case 90: { input.readMessage( getDefaultSearchTimeoutSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 90 case 98: { input.readMessage( getDefaultSearchTimeoutCheckEveryFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 98 case 106: { input.readMessage( getDefaultTerminateAfterFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 106 case 114: { input.readMessage( getMaxMergePreCopyDurationSecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 114 case 122: { input.readMessage( getVerboseMetricsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 122 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 com.google.protobuf.DoubleValue maxRefreshSec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxRefreshSecBuilder_; /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; * @return Whether the maxRefreshSec field is set. */ public boolean hasMaxRefreshSec() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; * @return The maxRefreshSec. */ public com.google.protobuf.DoubleValue getMaxRefreshSec() { if (maxRefreshSecBuilder_ == null) { return maxRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxRefreshSec_; } else { return maxRefreshSecBuilder_.getMessage(); } } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public Builder setMaxRefreshSec(com.google.protobuf.DoubleValue value) { if (maxRefreshSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxRefreshSec_ = value; } else { maxRefreshSecBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public Builder setMaxRefreshSec( com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxRefreshSecBuilder_ == null) { maxRefreshSec_ = builderForValue.build(); } else { maxRefreshSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public Builder mergeMaxRefreshSec(com.google.protobuf.DoubleValue value) { if (maxRefreshSecBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && maxRefreshSec_ != null && maxRefreshSec_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxRefreshSecBuilder().mergeFrom(value); } else { maxRefreshSec_ = value; } } else { maxRefreshSecBuilder_.mergeFrom(value); } if (maxRefreshSec_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public Builder clearMaxRefreshSec() { bitField0_ = (bitField0_ & ~0x00000001); maxRefreshSec_ = null; if (maxRefreshSecBuilder_ != null) { maxRefreshSecBuilder_.dispose(); maxRefreshSecBuilder_ = null; } onChanged(); return this; } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public com.google.protobuf.DoubleValue.Builder getMaxRefreshSecBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMaxRefreshSecFieldBuilder().getBuilder(); } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ public com.google.protobuf.DoubleValueOrBuilder getMaxRefreshSecOrBuilder() { if (maxRefreshSecBuilder_ != null) { return maxRefreshSecBuilder_.getMessageOrBuilder(); } else { return maxRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxRefreshSec_; } } /** *
     * Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
     * 
* * .google.protobuf.DoubleValue maxRefreshSec = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMaxRefreshSecFieldBuilder() { if (maxRefreshSecBuilder_ == null) { maxRefreshSecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getMaxRefreshSec(), getParentForChildren(), isClean()); maxRefreshSec_ = null; } return maxRefreshSecBuilder_; } private com.google.protobuf.DoubleValue minRefreshSec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> minRefreshSecBuilder_; /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; * @return Whether the minRefreshSec field is set. */ public boolean hasMinRefreshSec() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; * @return The minRefreshSec. */ public com.google.protobuf.DoubleValue getMinRefreshSec() { if (minRefreshSecBuilder_ == null) { return minRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minRefreshSec_; } else { return minRefreshSecBuilder_.getMessage(); } } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public Builder setMinRefreshSec(com.google.protobuf.DoubleValue value) { if (minRefreshSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } minRefreshSec_ = value; } else { minRefreshSecBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public Builder setMinRefreshSec( com.google.protobuf.DoubleValue.Builder builderForValue) { if (minRefreshSecBuilder_ == null) { minRefreshSec_ = builderForValue.build(); } else { minRefreshSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public Builder mergeMinRefreshSec(com.google.protobuf.DoubleValue value) { if (minRefreshSecBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && minRefreshSec_ != null && minRefreshSec_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMinRefreshSecBuilder().mergeFrom(value); } else { minRefreshSec_ = value; } } else { minRefreshSecBuilder_.mergeFrom(value); } if (minRefreshSec_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public Builder clearMinRefreshSec() { bitField0_ = (bitField0_ & ~0x00000002); minRefreshSec_ = null; if (minRefreshSecBuilder_ != null) { minRefreshSecBuilder_.dispose(); minRefreshSecBuilder_ = null; } onChanged(); return this; } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public com.google.protobuf.DoubleValue.Builder getMinRefreshSecBuilder() { bitField0_ |= 0x00000002; onChanged(); return getMinRefreshSecFieldBuilder().getBuilder(); } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ public com.google.protobuf.DoubleValueOrBuilder getMinRefreshSecOrBuilder() { if (minRefreshSecBuilder_ != null) { return minRefreshSecBuilder_.getMessageOrBuilder(); } else { return minRefreshSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : minRefreshSec_; } } /** *
     * Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
     * 
* * .google.protobuf.DoubleValue minRefreshSec = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMinRefreshSecFieldBuilder() { if (minRefreshSecBuilder_ == null) { minRefreshSecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getMinRefreshSec(), getParentForChildren(), isClean()); minRefreshSec_ = null; } return minRefreshSecBuilder_; } private com.google.protobuf.DoubleValue maxSearcherAgeSec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> maxSearcherAgeSecBuilder_; /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; * @return Whether the maxSearcherAgeSec field is set. */ public boolean hasMaxSearcherAgeSec() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; * @return The maxSearcherAgeSec. */ public com.google.protobuf.DoubleValue getMaxSearcherAgeSec() { if (maxSearcherAgeSecBuilder_ == null) { return maxSearcherAgeSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxSearcherAgeSec_; } else { return maxSearcherAgeSecBuilder_.getMessage(); } } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public Builder setMaxSearcherAgeSec(com.google.protobuf.DoubleValue value) { if (maxSearcherAgeSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxSearcherAgeSec_ = value; } else { maxSearcherAgeSecBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public Builder setMaxSearcherAgeSec( com.google.protobuf.DoubleValue.Builder builderForValue) { if (maxSearcherAgeSecBuilder_ == null) { maxSearcherAgeSec_ = builderForValue.build(); } else { maxSearcherAgeSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public Builder mergeMaxSearcherAgeSec(com.google.protobuf.DoubleValue value) { if (maxSearcherAgeSecBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && maxSearcherAgeSec_ != null && maxSearcherAgeSec_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getMaxSearcherAgeSecBuilder().mergeFrom(value); } else { maxSearcherAgeSec_ = value; } } else { maxSearcherAgeSecBuilder_.mergeFrom(value); } if (maxSearcherAgeSec_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public Builder clearMaxSearcherAgeSec() { bitField0_ = (bitField0_ & ~0x00000004); maxSearcherAgeSec_ = null; if (maxSearcherAgeSecBuilder_ != null) { maxSearcherAgeSecBuilder_.dispose(); maxSearcherAgeSecBuilder_ = null; } onChanged(); return this; } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public com.google.protobuf.DoubleValue.Builder getMaxSearcherAgeSecBuilder() { bitField0_ |= 0x00000004; onChanged(); return getMaxSearcherAgeSecFieldBuilder().getBuilder(); } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ public com.google.protobuf.DoubleValueOrBuilder getMaxSearcherAgeSecOrBuilder() { if (maxSearcherAgeSecBuilder_ != null) { return maxSearcherAgeSecBuilder_.getMessageOrBuilder(); } else { return maxSearcherAgeSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : maxSearcherAgeSec_; } } /** *
     * Non-current searchers older than this are pruned, default: 60.0
     * 
* * .google.protobuf.DoubleValue maxSearcherAgeSec = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getMaxSearcherAgeSecFieldBuilder() { if (maxSearcherAgeSecBuilder_ == null) { maxSearcherAgeSecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getMaxSearcherAgeSec(), getParentForChildren(), isClean()); maxSearcherAgeSec_ = null; } return maxSearcherAgeSecBuilder_; } private com.google.protobuf.DoubleValue indexRamBufferSizeMB_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> indexRamBufferSizeMBBuilder_; /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; * @return Whether the indexRamBufferSizeMB field is set. */ public boolean hasIndexRamBufferSizeMB() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; * @return The indexRamBufferSizeMB. */ public com.google.protobuf.DoubleValue getIndexRamBufferSizeMB() { if (indexRamBufferSizeMBBuilder_ == null) { return indexRamBufferSizeMB_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : indexRamBufferSizeMB_; } else { return indexRamBufferSizeMBBuilder_.getMessage(); } } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public Builder setIndexRamBufferSizeMB(com.google.protobuf.DoubleValue value) { if (indexRamBufferSizeMBBuilder_ == null) { if (value == null) { throw new NullPointerException(); } indexRamBufferSizeMB_ = value; } else { indexRamBufferSizeMBBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public Builder setIndexRamBufferSizeMB( com.google.protobuf.DoubleValue.Builder builderForValue) { if (indexRamBufferSizeMBBuilder_ == null) { indexRamBufferSizeMB_ = builderForValue.build(); } else { indexRamBufferSizeMBBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public Builder mergeIndexRamBufferSizeMB(com.google.protobuf.DoubleValue value) { if (indexRamBufferSizeMBBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && indexRamBufferSizeMB_ != null && indexRamBufferSizeMB_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getIndexRamBufferSizeMBBuilder().mergeFrom(value); } else { indexRamBufferSizeMB_ = value; } } else { indexRamBufferSizeMBBuilder_.mergeFrom(value); } if (indexRamBufferSizeMB_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public Builder clearIndexRamBufferSizeMB() { bitField0_ = (bitField0_ & ~0x00000008); indexRamBufferSizeMB_ = null; if (indexRamBufferSizeMBBuilder_ != null) { indexRamBufferSizeMBBuilder_.dispose(); indexRamBufferSizeMBBuilder_ = null; } onChanged(); return this; } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public com.google.protobuf.DoubleValue.Builder getIndexRamBufferSizeMBBuilder() { bitField0_ |= 0x00000008; onChanged(); return getIndexRamBufferSizeMBFieldBuilder().getBuilder(); } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ public com.google.protobuf.DoubleValueOrBuilder getIndexRamBufferSizeMBOrBuilder() { if (indexRamBufferSizeMBBuilder_ != null) { return indexRamBufferSizeMBBuilder_.getMessageOrBuilder(); } else { return indexRamBufferSizeMB_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : indexRamBufferSizeMB_; } } /** *
     * Size (in MB) of IndexWriter's RAM buffer, default: 16.0
     * 
* * .google.protobuf.DoubleValue indexRamBufferSizeMB = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getIndexRamBufferSizeMBFieldBuilder() { if (indexRamBufferSizeMBBuilder_ == null) { indexRamBufferSizeMBBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getIndexRamBufferSizeMB(), getParentForChildren(), isClean()); indexRamBufferSizeMB_ = null; } return indexRamBufferSizeMBBuilder_; } private com.google.protobuf.Int32Value addDocumentsMaxBufferLen_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> addDocumentsMaxBufferLenBuilder_; /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; * @return Whether the addDocumentsMaxBufferLen field is set. */ public boolean hasAddDocumentsMaxBufferLen() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; * @return The addDocumentsMaxBufferLen. */ public com.google.protobuf.Int32Value getAddDocumentsMaxBufferLen() { if (addDocumentsMaxBufferLenBuilder_ == null) { return addDocumentsMaxBufferLen_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : addDocumentsMaxBufferLen_; } else { return addDocumentsMaxBufferLenBuilder_.getMessage(); } } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public Builder setAddDocumentsMaxBufferLen(com.google.protobuf.Int32Value value) { if (addDocumentsMaxBufferLenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } addDocumentsMaxBufferLen_ = value; } else { addDocumentsMaxBufferLenBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public Builder setAddDocumentsMaxBufferLen( com.google.protobuf.Int32Value.Builder builderForValue) { if (addDocumentsMaxBufferLenBuilder_ == null) { addDocumentsMaxBufferLen_ = builderForValue.build(); } else { addDocumentsMaxBufferLenBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public Builder mergeAddDocumentsMaxBufferLen(com.google.protobuf.Int32Value value) { if (addDocumentsMaxBufferLenBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && addDocumentsMaxBufferLen_ != null && addDocumentsMaxBufferLen_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getAddDocumentsMaxBufferLenBuilder().mergeFrom(value); } else { addDocumentsMaxBufferLen_ = value; } } else { addDocumentsMaxBufferLenBuilder_.mergeFrom(value); } if (addDocumentsMaxBufferLen_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public Builder clearAddDocumentsMaxBufferLen() { bitField0_ = (bitField0_ & ~0x00000010); addDocumentsMaxBufferLen_ = null; if (addDocumentsMaxBufferLenBuilder_ != null) { addDocumentsMaxBufferLenBuilder_.dispose(); addDocumentsMaxBufferLenBuilder_ = null; } onChanged(); return this; } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public com.google.protobuf.Int32Value.Builder getAddDocumentsMaxBufferLenBuilder() { bitField0_ |= 0x00000010; onChanged(); return getAddDocumentsMaxBufferLenFieldBuilder().getBuilder(); } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ public com.google.protobuf.Int32ValueOrBuilder getAddDocumentsMaxBufferLenOrBuilder() { if (addDocumentsMaxBufferLenBuilder_ != null) { return addDocumentsMaxBufferLenBuilder_.getMessageOrBuilder(); } else { return addDocumentsMaxBufferLen_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : addDocumentsMaxBufferLen_; } } /** *
     * Max number of documents to add at a time, default: 100
     * 
* * .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getAddDocumentsMaxBufferLenFieldBuilder() { if (addDocumentsMaxBufferLenBuilder_ == null) { addDocumentsMaxBufferLenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getAddDocumentsMaxBufferLen(), getParentForChildren(), isClean()); addDocumentsMaxBufferLen_ = null; } return addDocumentsMaxBufferLenBuilder_; } private com.google.protobuf.Int32Value sliceMaxDocs_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> sliceMaxDocsBuilder_; /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; * @return Whether the sliceMaxDocs field is set. */ public boolean hasSliceMaxDocs() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; * @return The sliceMaxDocs. */ public com.google.protobuf.Int32Value getSliceMaxDocs() { if (sliceMaxDocsBuilder_ == null) { return sliceMaxDocs_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxDocs_; } else { return sliceMaxDocsBuilder_.getMessage(); } } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public Builder setSliceMaxDocs(com.google.protobuf.Int32Value value) { if (sliceMaxDocsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sliceMaxDocs_ = value; } else { sliceMaxDocsBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public Builder setSliceMaxDocs( com.google.protobuf.Int32Value.Builder builderForValue) { if (sliceMaxDocsBuilder_ == null) { sliceMaxDocs_ = builderForValue.build(); } else { sliceMaxDocsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public Builder mergeSliceMaxDocs(com.google.protobuf.Int32Value value) { if (sliceMaxDocsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && sliceMaxDocs_ != null && sliceMaxDocs_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getSliceMaxDocsBuilder().mergeFrom(value); } else { sliceMaxDocs_ = value; } } else { sliceMaxDocsBuilder_.mergeFrom(value); } if (sliceMaxDocs_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public Builder clearSliceMaxDocs() { bitField0_ = (bitField0_ & ~0x00000020); sliceMaxDocs_ = null; if (sliceMaxDocsBuilder_ != null) { sliceMaxDocsBuilder_.dispose(); sliceMaxDocsBuilder_ = null; } onChanged(); return this; } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public com.google.protobuf.Int32Value.Builder getSliceMaxDocsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getSliceMaxDocsFieldBuilder().getBuilder(); } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ public com.google.protobuf.Int32ValueOrBuilder getSliceMaxDocsOrBuilder() { if (sliceMaxDocsBuilder_ != null) { return sliceMaxDocsBuilder_.getMessageOrBuilder(); } else { return sliceMaxDocs_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxDocs_; } } /** *
     * Maximum number of documents allowed in a parallel search slice, default: 250,000
     * 
* * .google.protobuf.Int32Value sliceMaxDocs = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getSliceMaxDocsFieldBuilder() { if (sliceMaxDocsBuilder_ == null) { sliceMaxDocsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getSliceMaxDocs(), getParentForChildren(), isClean()); sliceMaxDocs_ = null; } return sliceMaxDocsBuilder_; } private com.google.protobuf.Int32Value sliceMaxSegments_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> sliceMaxSegmentsBuilder_; /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; * @return Whether the sliceMaxSegments field is set. */ public boolean hasSliceMaxSegments() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; * @return The sliceMaxSegments. */ public com.google.protobuf.Int32Value getSliceMaxSegments() { if (sliceMaxSegmentsBuilder_ == null) { return sliceMaxSegments_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxSegments_; } else { return sliceMaxSegmentsBuilder_.getMessage(); } } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public Builder setSliceMaxSegments(com.google.protobuf.Int32Value value) { if (sliceMaxSegmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sliceMaxSegments_ = value; } else { sliceMaxSegmentsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public Builder setSliceMaxSegments( com.google.protobuf.Int32Value.Builder builderForValue) { if (sliceMaxSegmentsBuilder_ == null) { sliceMaxSegments_ = builderForValue.build(); } else { sliceMaxSegmentsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public Builder mergeSliceMaxSegments(com.google.protobuf.Int32Value value) { if (sliceMaxSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && sliceMaxSegments_ != null && sliceMaxSegments_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getSliceMaxSegmentsBuilder().mergeFrom(value); } else { sliceMaxSegments_ = value; } } else { sliceMaxSegmentsBuilder_.mergeFrom(value); } if (sliceMaxSegments_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public Builder clearSliceMaxSegments() { bitField0_ = (bitField0_ & ~0x00000040); sliceMaxSegments_ = null; if (sliceMaxSegmentsBuilder_ != null) { sliceMaxSegmentsBuilder_.dispose(); sliceMaxSegmentsBuilder_ = null; } onChanged(); return this; } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public com.google.protobuf.Int32Value.Builder getSliceMaxSegmentsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getSliceMaxSegmentsFieldBuilder().getBuilder(); } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ public com.google.protobuf.Int32ValueOrBuilder getSliceMaxSegmentsOrBuilder() { if (sliceMaxSegmentsBuilder_ != null) { return sliceMaxSegmentsBuilder_.getMessageOrBuilder(); } else { return sliceMaxSegments_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : sliceMaxSegments_; } } /** *
     * Maximum number of segments allowed in a parallel search slice, default: 5
     * 
* * .google.protobuf.Int32Value sliceMaxSegments = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getSliceMaxSegmentsFieldBuilder() { if (sliceMaxSegmentsBuilder_ == null) { sliceMaxSegmentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getSliceMaxSegments(), getParentForChildren(), isClean()); sliceMaxSegments_ = null; } return sliceMaxSegmentsBuilder_; } private com.google.protobuf.Int32Value virtualShards_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> virtualShardsBuilder_; /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; * @return Whether the virtualShards field is set. */ public boolean hasVirtualShards() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; * @return The virtualShards. */ public com.google.protobuf.Int32Value getVirtualShards() { if (virtualShardsBuilder_ == null) { return virtualShards_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : virtualShards_; } else { return virtualShardsBuilder_.getMessage(); } } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public Builder setVirtualShards(com.google.protobuf.Int32Value value) { if (virtualShardsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } virtualShards_ = value; } else { virtualShardsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public Builder setVirtualShards( com.google.protobuf.Int32Value.Builder builderForValue) { if (virtualShardsBuilder_ == null) { virtualShards_ = builderForValue.build(); } else { virtualShardsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public Builder mergeVirtualShards(com.google.protobuf.Int32Value value) { if (virtualShardsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && virtualShards_ != null && virtualShards_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getVirtualShardsBuilder().mergeFrom(value); } else { virtualShards_ = value; } } else { virtualShardsBuilder_.mergeFrom(value); } if (virtualShards_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public Builder clearVirtualShards() { bitField0_ = (bitField0_ & ~0x00000080); virtualShards_ = null; if (virtualShardsBuilder_ != null) { virtualShardsBuilder_.dispose(); virtualShardsBuilder_ = null; } onChanged(); return this; } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public com.google.protobuf.Int32Value.Builder getVirtualShardsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getVirtualShardsFieldBuilder().getBuilder(); } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ public com.google.protobuf.Int32ValueOrBuilder getVirtualShardsOrBuilder() { if (virtualShardsBuilder_ != null) { return virtualShardsBuilder_.getMessageOrBuilder(); } else { return virtualShards_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : virtualShards_; } } /** *
     * Number of virtual shards to use for this index, default: 1
     * 
* * .google.protobuf.Int32Value virtualShards = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getVirtualShardsFieldBuilder() { if (virtualShardsBuilder_ == null) { virtualShardsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getVirtualShards(), getParentForChildren(), isClean()); virtualShards_ = null; } return virtualShardsBuilder_; } private com.google.protobuf.Int32Value maxMergedSegmentMB_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> maxMergedSegmentMBBuilder_; /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; * @return Whether the maxMergedSegmentMB field is set. */ public boolean hasMaxMergedSegmentMB() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; * @return The maxMergedSegmentMB. */ public com.google.protobuf.Int32Value getMaxMergedSegmentMB() { if (maxMergedSegmentMBBuilder_ == null) { return maxMergedSegmentMB_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : maxMergedSegmentMB_; } else { return maxMergedSegmentMBBuilder_.getMessage(); } } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public Builder setMaxMergedSegmentMB(com.google.protobuf.Int32Value value) { if (maxMergedSegmentMBBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxMergedSegmentMB_ = value; } else { maxMergedSegmentMBBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public Builder setMaxMergedSegmentMB( com.google.protobuf.Int32Value.Builder builderForValue) { if (maxMergedSegmentMBBuilder_ == null) { maxMergedSegmentMB_ = builderForValue.build(); } else { maxMergedSegmentMBBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public Builder mergeMaxMergedSegmentMB(com.google.protobuf.Int32Value value) { if (maxMergedSegmentMBBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && maxMergedSegmentMB_ != null && maxMergedSegmentMB_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getMaxMergedSegmentMBBuilder().mergeFrom(value); } else { maxMergedSegmentMB_ = value; } } else { maxMergedSegmentMBBuilder_.mergeFrom(value); } if (maxMergedSegmentMB_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public Builder clearMaxMergedSegmentMB() { bitField0_ = (bitField0_ & ~0x00000100); maxMergedSegmentMB_ = null; if (maxMergedSegmentMBBuilder_ != null) { maxMergedSegmentMBBuilder_.dispose(); maxMergedSegmentMBBuilder_ = null; } onChanged(); return this; } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public com.google.protobuf.Int32Value.Builder getMaxMergedSegmentMBBuilder() { bitField0_ |= 0x00000100; onChanged(); return getMaxMergedSegmentMBFieldBuilder().getBuilder(); } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ public com.google.protobuf.Int32ValueOrBuilder getMaxMergedSegmentMBOrBuilder() { if (maxMergedSegmentMBBuilder_ != null) { return maxMergedSegmentMBBuilder_.getMessageOrBuilder(); } else { return maxMergedSegmentMB_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : maxMergedSegmentMB_; } } /** *
     * Maximum sized segment to produce during normal merging, default: 5GB
     * 
* * .google.protobuf.Int32Value maxMergedSegmentMB = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getMaxMergedSegmentMBFieldBuilder() { if (maxMergedSegmentMBBuilder_ == null) { maxMergedSegmentMBBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getMaxMergedSegmentMB(), getParentForChildren(), isClean()); maxMergedSegmentMB_ = null; } return maxMergedSegmentMBBuilder_; } private com.google.protobuf.Int32Value segmentsPerTier_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> segmentsPerTierBuilder_; /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; * @return Whether the segmentsPerTier field is set. */ public boolean hasSegmentsPerTier() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; * @return The segmentsPerTier. */ public com.google.protobuf.Int32Value getSegmentsPerTier() { if (segmentsPerTierBuilder_ == null) { return segmentsPerTier_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : segmentsPerTier_; } else { return segmentsPerTierBuilder_.getMessage(); } } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public Builder setSegmentsPerTier(com.google.protobuf.Int32Value value) { if (segmentsPerTierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } segmentsPerTier_ = value; } else { segmentsPerTierBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public Builder setSegmentsPerTier( com.google.protobuf.Int32Value.Builder builderForValue) { if (segmentsPerTierBuilder_ == null) { segmentsPerTier_ = builderForValue.build(); } else { segmentsPerTierBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public Builder mergeSegmentsPerTier(com.google.protobuf.Int32Value value) { if (segmentsPerTierBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && segmentsPerTier_ != null && segmentsPerTier_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getSegmentsPerTierBuilder().mergeFrom(value); } else { segmentsPerTier_ = value; } } else { segmentsPerTierBuilder_.mergeFrom(value); } if (segmentsPerTier_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public Builder clearSegmentsPerTier() { bitField0_ = (bitField0_ & ~0x00000200); segmentsPerTier_ = null; if (segmentsPerTierBuilder_ != null) { segmentsPerTierBuilder_.dispose(); segmentsPerTierBuilder_ = null; } onChanged(); return this; } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public com.google.protobuf.Int32Value.Builder getSegmentsPerTierBuilder() { bitField0_ |= 0x00000200; onChanged(); return getSegmentsPerTierFieldBuilder().getBuilder(); } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ public com.google.protobuf.Int32ValueOrBuilder getSegmentsPerTierOrBuilder() { if (segmentsPerTierBuilder_ != null) { return segmentsPerTierBuilder_.getMessageOrBuilder(); } else { return segmentsPerTier_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : segmentsPerTier_; } } /** *
     * Number of segments per tier used by TieredMergePolicy, default: 10
     * 
* * .google.protobuf.Int32Value segmentsPerTier = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getSegmentsPerTierFieldBuilder() { if (segmentsPerTierBuilder_ == null) { segmentsPerTierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getSegmentsPerTier(), getParentForChildren(), isClean()); segmentsPerTier_ = null; } return segmentsPerTierBuilder_; } private com.google.protobuf.DoubleValue defaultSearchTimeoutSec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> defaultSearchTimeoutSecBuilder_; /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; * @return Whether the defaultSearchTimeoutSec field is set. */ public boolean hasDefaultSearchTimeoutSec() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; * @return The defaultSearchTimeoutSec. */ public com.google.protobuf.DoubleValue getDefaultSearchTimeoutSec() { if (defaultSearchTimeoutSecBuilder_ == null) { return defaultSearchTimeoutSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : defaultSearchTimeoutSec_; } else { return defaultSearchTimeoutSecBuilder_.getMessage(); } } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public Builder setDefaultSearchTimeoutSec(com.google.protobuf.DoubleValue value) { if (defaultSearchTimeoutSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultSearchTimeoutSec_ = value; } else { defaultSearchTimeoutSecBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public Builder setDefaultSearchTimeoutSec( com.google.protobuf.DoubleValue.Builder builderForValue) { if (defaultSearchTimeoutSecBuilder_ == null) { defaultSearchTimeoutSec_ = builderForValue.build(); } else { defaultSearchTimeoutSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public Builder mergeDefaultSearchTimeoutSec(com.google.protobuf.DoubleValue value) { if (defaultSearchTimeoutSecBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && defaultSearchTimeoutSec_ != null && defaultSearchTimeoutSec_ != com.google.protobuf.DoubleValue.getDefaultInstance()) { getDefaultSearchTimeoutSecBuilder().mergeFrom(value); } else { defaultSearchTimeoutSec_ = value; } } else { defaultSearchTimeoutSecBuilder_.mergeFrom(value); } if (defaultSearchTimeoutSec_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public Builder clearDefaultSearchTimeoutSec() { bitField0_ = (bitField0_ & ~0x00000400); defaultSearchTimeoutSec_ = null; if (defaultSearchTimeoutSecBuilder_ != null) { defaultSearchTimeoutSecBuilder_.dispose(); defaultSearchTimeoutSecBuilder_ = null; } onChanged(); return this; } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public com.google.protobuf.DoubleValue.Builder getDefaultSearchTimeoutSecBuilder() { bitField0_ |= 0x00000400; onChanged(); return getDefaultSearchTimeoutSecFieldBuilder().getBuilder(); } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ public com.google.protobuf.DoubleValueOrBuilder getDefaultSearchTimeoutSecOrBuilder() { if (defaultSearchTimeoutSecBuilder_ != null) { return defaultSearchTimeoutSecBuilder_.getMessageOrBuilder(); } else { return defaultSearchTimeoutSec_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : defaultSearchTimeoutSec_; } } /** *
     * Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
     * 
* * .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getDefaultSearchTimeoutSecFieldBuilder() { if (defaultSearchTimeoutSecBuilder_ == null) { defaultSearchTimeoutSecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getDefaultSearchTimeoutSec(), getParentForChildren(), isClean()); defaultSearchTimeoutSec_ = null; } return defaultSearchTimeoutSecBuilder_; } private com.google.protobuf.Int32Value defaultSearchTimeoutCheckEvery_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> defaultSearchTimeoutCheckEveryBuilder_; /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; * @return Whether the defaultSearchTimeoutCheckEvery field is set. */ public boolean hasDefaultSearchTimeoutCheckEvery() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; * @return The defaultSearchTimeoutCheckEvery. */ public com.google.protobuf.Int32Value getDefaultSearchTimeoutCheckEvery() { if (defaultSearchTimeoutCheckEveryBuilder_ == null) { return defaultSearchTimeoutCheckEvery_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultSearchTimeoutCheckEvery_; } else { return defaultSearchTimeoutCheckEveryBuilder_.getMessage(); } } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public Builder setDefaultSearchTimeoutCheckEvery(com.google.protobuf.Int32Value value) { if (defaultSearchTimeoutCheckEveryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultSearchTimeoutCheckEvery_ = value; } else { defaultSearchTimeoutCheckEveryBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public Builder setDefaultSearchTimeoutCheckEvery( com.google.protobuf.Int32Value.Builder builderForValue) { if (defaultSearchTimeoutCheckEveryBuilder_ == null) { defaultSearchTimeoutCheckEvery_ = builderForValue.build(); } else { defaultSearchTimeoutCheckEveryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public Builder mergeDefaultSearchTimeoutCheckEvery(com.google.protobuf.Int32Value value) { if (defaultSearchTimeoutCheckEveryBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && defaultSearchTimeoutCheckEvery_ != null && defaultSearchTimeoutCheckEvery_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getDefaultSearchTimeoutCheckEveryBuilder().mergeFrom(value); } else { defaultSearchTimeoutCheckEvery_ = value; } } else { defaultSearchTimeoutCheckEveryBuilder_.mergeFrom(value); } if (defaultSearchTimeoutCheckEvery_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public Builder clearDefaultSearchTimeoutCheckEvery() { bitField0_ = (bitField0_ & ~0x00000800); defaultSearchTimeoutCheckEvery_ = null; if (defaultSearchTimeoutCheckEveryBuilder_ != null) { defaultSearchTimeoutCheckEveryBuilder_.dispose(); defaultSearchTimeoutCheckEveryBuilder_ = null; } onChanged(); return this; } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public com.google.protobuf.Int32Value.Builder getDefaultSearchTimeoutCheckEveryBuilder() { bitField0_ |= 0x00000800; onChanged(); return getDefaultSearchTimeoutCheckEveryFieldBuilder().getBuilder(); } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ public com.google.protobuf.Int32ValueOrBuilder getDefaultSearchTimeoutCheckEveryOrBuilder() { if (defaultSearchTimeoutCheckEveryBuilder_ != null) { return defaultSearchTimeoutCheckEveryBuilder_.getMessageOrBuilder(); } else { return defaultSearchTimeoutCheckEvery_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultSearchTimeoutCheckEvery_; } } /** *
     * Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getDefaultSearchTimeoutCheckEveryFieldBuilder() { if (defaultSearchTimeoutCheckEveryBuilder_ == null) { defaultSearchTimeoutCheckEveryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getDefaultSearchTimeoutCheckEvery(), getParentForChildren(), isClean()); defaultSearchTimeoutCheckEvery_ = null; } return defaultSearchTimeoutCheckEveryBuilder_; } private com.google.protobuf.Int32Value defaultTerminateAfter_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> defaultTerminateAfterBuilder_; /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; * @return Whether the defaultTerminateAfter field is set. */ public boolean hasDefaultTerminateAfter() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; * @return The defaultTerminateAfter. */ public com.google.protobuf.Int32Value getDefaultTerminateAfter() { if (defaultTerminateAfterBuilder_ == null) { return defaultTerminateAfter_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultTerminateAfter_; } else { return defaultTerminateAfterBuilder_.getMessage(); } } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public Builder setDefaultTerminateAfter(com.google.protobuf.Int32Value value) { if (defaultTerminateAfterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultTerminateAfter_ = value; } else { defaultTerminateAfterBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public Builder setDefaultTerminateAfter( com.google.protobuf.Int32Value.Builder builderForValue) { if (defaultTerminateAfterBuilder_ == null) { defaultTerminateAfter_ = builderForValue.build(); } else { defaultTerminateAfterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public Builder mergeDefaultTerminateAfter(com.google.protobuf.Int32Value value) { if (defaultTerminateAfterBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && defaultTerminateAfter_ != null && defaultTerminateAfter_ != com.google.protobuf.Int32Value.getDefaultInstance()) { getDefaultTerminateAfterBuilder().mergeFrom(value); } else { defaultTerminateAfter_ = value; } } else { defaultTerminateAfterBuilder_.mergeFrom(value); } if (defaultTerminateAfter_ != null) { bitField0_ |= 0x00001000; onChanged(); } return this; } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public Builder clearDefaultTerminateAfter() { bitField0_ = (bitField0_ & ~0x00001000); defaultTerminateAfter_ = null; if (defaultTerminateAfterBuilder_ != null) { defaultTerminateAfterBuilder_.dispose(); defaultTerminateAfterBuilder_ = null; } onChanged(); return this; } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public com.google.protobuf.Int32Value.Builder getDefaultTerminateAfterBuilder() { bitField0_ |= 0x00001000; onChanged(); return getDefaultTerminateAfterFieldBuilder().getBuilder(); } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ public com.google.protobuf.Int32ValueOrBuilder getDefaultTerminateAfterOrBuilder() { if (defaultTerminateAfterBuilder_ != null) { return defaultTerminateAfterBuilder_.getMessageOrBuilder(); } else { return defaultTerminateAfter_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : defaultTerminateAfter_; } } /** *
     * Terminate after value to use when not specified in the search request, or 0 for none, default: 0
     * 
* * .google.protobuf.Int32Value defaultTerminateAfter = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> getDefaultTerminateAfterFieldBuilder() { if (defaultTerminateAfterBuilder_ == null) { defaultTerminateAfterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>( getDefaultTerminateAfter(), getParentForChildren(), isClean()); defaultTerminateAfter_ = null; } return defaultTerminateAfterBuilder_; } private com.google.protobuf.UInt64Value maxMergePreCopyDurationSec_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> maxMergePreCopyDurationSecBuilder_; /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; * @return Whether the maxMergePreCopyDurationSec field is set. */ public boolean hasMaxMergePreCopyDurationSec() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; * @return The maxMergePreCopyDurationSec. */ public com.google.protobuf.UInt64Value getMaxMergePreCopyDurationSec() { if (maxMergePreCopyDurationSecBuilder_ == null) { return maxMergePreCopyDurationSec_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : maxMergePreCopyDurationSec_; } else { return maxMergePreCopyDurationSecBuilder_.getMessage(); } } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public Builder setMaxMergePreCopyDurationSec(com.google.protobuf.UInt64Value value) { if (maxMergePreCopyDurationSecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxMergePreCopyDurationSec_ = value; } else { maxMergePreCopyDurationSecBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public Builder setMaxMergePreCopyDurationSec( com.google.protobuf.UInt64Value.Builder builderForValue) { if (maxMergePreCopyDurationSecBuilder_ == null) { maxMergePreCopyDurationSec_ = builderForValue.build(); } else { maxMergePreCopyDurationSecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public Builder mergeMaxMergePreCopyDurationSec(com.google.protobuf.UInt64Value value) { if (maxMergePreCopyDurationSecBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && maxMergePreCopyDurationSec_ != null && maxMergePreCopyDurationSec_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { getMaxMergePreCopyDurationSecBuilder().mergeFrom(value); } else { maxMergePreCopyDurationSec_ = value; } } else { maxMergePreCopyDurationSecBuilder_.mergeFrom(value); } if (maxMergePreCopyDurationSec_ != null) { bitField0_ |= 0x00002000; onChanged(); } return this; } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public Builder clearMaxMergePreCopyDurationSec() { bitField0_ = (bitField0_ & ~0x00002000); maxMergePreCopyDurationSec_ = null; if (maxMergePreCopyDurationSecBuilder_ != null) { maxMergePreCopyDurationSecBuilder_.dispose(); maxMergePreCopyDurationSecBuilder_ = null; } onChanged(); return this; } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public com.google.protobuf.UInt64Value.Builder getMaxMergePreCopyDurationSecBuilder() { bitField0_ |= 0x00002000; onChanged(); return getMaxMergePreCopyDurationSecFieldBuilder().getBuilder(); } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ public com.google.protobuf.UInt64ValueOrBuilder getMaxMergePreCopyDurationSecOrBuilder() { if (maxMergePreCopyDurationSecBuilder_ != null) { return maxMergePreCopyDurationSecBuilder_.getMessageOrBuilder(); } else { return maxMergePreCopyDurationSec_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : maxMergePreCopyDurationSec_; } } /** *
     * Merge precopy would be stopped after this time, or 0 for no checks, default: 0
     * 
* * .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getMaxMergePreCopyDurationSecFieldBuilder() { if (maxMergePreCopyDurationSecBuilder_ == null) { maxMergePreCopyDurationSecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getMaxMergePreCopyDurationSec(), getParentForChildren(), isClean()); maxMergePreCopyDurationSec_ = null; } return maxMergePreCopyDurationSecBuilder_; } private com.google.protobuf.BoolValue verboseMetrics_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> verboseMetricsBuilder_; /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; * @return Whether the verboseMetrics field is set. */ public boolean hasVerboseMetrics() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; * @return The verboseMetrics. */ public com.google.protobuf.BoolValue getVerboseMetrics() { if (verboseMetricsBuilder_ == null) { return verboseMetrics_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : verboseMetrics_; } else { return verboseMetricsBuilder_.getMessage(); } } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public Builder setVerboseMetrics(com.google.protobuf.BoolValue value) { if (verboseMetricsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } verboseMetrics_ = value; } else { verboseMetricsBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public Builder setVerboseMetrics( com.google.protobuf.BoolValue.Builder builderForValue) { if (verboseMetricsBuilder_ == null) { verboseMetrics_ = builderForValue.build(); } else { verboseMetricsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public Builder mergeVerboseMetrics(com.google.protobuf.BoolValue value) { if (verboseMetricsBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && verboseMetrics_ != null && verboseMetrics_ != com.google.protobuf.BoolValue.getDefaultInstance()) { getVerboseMetricsBuilder().mergeFrom(value); } else { verboseMetrics_ = value; } } else { verboseMetricsBuilder_.mergeFrom(value); } if (verboseMetrics_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public Builder clearVerboseMetrics() { bitField0_ = (bitField0_ & ~0x00004000); verboseMetrics_ = null; if (verboseMetricsBuilder_ != null) { verboseMetricsBuilder_.dispose(); verboseMetricsBuilder_ = null; } onChanged(); return this; } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public com.google.protobuf.BoolValue.Builder getVerboseMetricsBuilder() { bitField0_ |= 0x00004000; onChanged(); return getVerboseMetricsFieldBuilder().getBuilder(); } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ public com.google.protobuf.BoolValueOrBuilder getVerboseMetricsOrBuilder() { if (verboseMetricsBuilder_ != null) { return verboseMetricsBuilder_.getMessageOrBuilder(); } else { return verboseMetrics_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : verboseMetrics_; } } /** *
     * Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
     * 
* * .google.protobuf.BoolValue verboseMetrics = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getVerboseMetricsFieldBuilder() { if (verboseMetricsBuilder_ == null) { verboseMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getVerboseMetrics(), getParentForChildren(), isClean()); verboseMetrics_ = null; } return verboseMetricsBuilder_; } @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:luceneserver.IndexLiveSettings) } // @@protoc_insertion_point(class_scope:luceneserver.IndexLiveSettings) private static final com.yelp.nrtsearch.server.grpc.IndexLiveSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yelp.nrtsearch.server.grpc.IndexLiveSettings(); } public static com.yelp.nrtsearch.server.grpc.IndexLiveSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IndexLiveSettings 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 com.yelp.nrtsearch.server.grpc.IndexLiveSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy