com.yelp.nrtsearch.server.grpc.StartIndexRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib Show documentation
Show all versions of clientlib Show documentation
GRPC Clientlib for nrtSearch
// 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;
public interface StartIndexRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.StartIndexRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*index name
*
*
* string indexName = 1;
* @return The indexName.
*/
java.lang.String getIndexName();
/**
*
*index name
*
*
* string indexName = 1;
* @return The bytes for indexName.
*/
com.google.protobuf.ByteString
getIndexNameBytes();
/**
*
*Standalone, NRT primary or replica mode to start this index.
*
*
* .luceneserver.Mode mode = 2;
* @return The enum numeric value on the wire for mode.
*/
int getModeValue();
/**
*
*Standalone, NRT primary or replica mode to start this index.
*
*
* .luceneserver.Mode mode = 2;
* @return The mode.
*/
com.yelp.nrtsearch.server.grpc.Mode getMode();
/**
*
*primary, the generation of this primary (should increment each time a new primary starts for this index)
*
*
* int64 primaryGen = 3;
* @return The primaryGen.
*/
long getPrimaryGen();
/**
*
*replica, the IP address or host name of the remote primary
*
*
* string primaryAddress = 4;
* @return The primaryAddress.
*/
java.lang.String getPrimaryAddress();
/**
*
*replica, the IP address or host name of the remote primary
*
*
* string primaryAddress = 4;
* @return The bytes for primaryAddress.
*/
com.google.protobuf.ByteString
getPrimaryAddressBytes();
/**
*
*replica, the TCP port of the remote primary
*
*
* int32 port = 5;
* @return The port.
*/
int getPort();
/**
*
* restore index from backup
*
*
* .luceneserver.RestoreIndex restore = 6;
* @return Whether the restore field is set.
*/
boolean hasRestore();
/**
*
* restore index from backup
*
*
* .luceneserver.RestoreIndex restore = 6;
* @return The restore.
*/
com.yelp.nrtsearch.server.grpc.RestoreIndex getRestore();
/**
*
* restore index from backup
*
*
* .luceneserver.RestoreIndex restore = 6;
*/
com.yelp.nrtsearch.server.grpc.RestoreIndexOrBuilder getRestoreOrBuilder();
/**
*
* replica, location of discovery file containing primary host/port. Used if primaryAddress is empty. If port is specified in this request, it overrides the value in the file
*
*
* string primaryDiscoveryFile = 7;
* @return The primaryDiscoveryFile.
*/
java.lang.String getPrimaryDiscoveryFile();
/**
*
* replica, location of discovery file containing primary host/port. Used if primaryAddress is empty. If port is specified in this request, it overrides the value in the file
*
*
* string primaryDiscoveryFile = 7;
* @return The bytes for primaryDiscoveryFile.
*/
com.google.protobuf.ByteString
getPrimaryDiscoveryFileBytes();
}