
alluxio.grpc.GetServiceVersionPRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/version.proto
package alluxio.grpc;
public interface GetServiceVersionPRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.grpc.version.GetServiceVersionPRequest)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
*
* The purpose of this field is to make grpc service on standby masters work without
* making client changes and keeps backwards alluxio.shaded.client.com.atibility.
* This requests to this endpoint will be rejected on standby masters by default,
* unless this field is set.
* Two places use this request:
* 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master.
* 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master.
* Behaviors:
* 1. old clients -> new cluster standby masters
* PollingMasterInquireClient does not set this field and is able to tell which one is primary master because
* the request will be rejected on the standby master.
* AbstractClient does not set this field.
* Old clients only connects to primary so this doesn't break the existing behavior.
* 2. new clients -> new cluster standby masters
* PollingMasterInquireClient does not set this field and is able to tell which one is primary master because
* the request will be rejected on the standby master.
* AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
*
*
* optional .alluxio.grpc.version.ServiceType serviceType = 1;
* @return Whether the serviceType field is set.
*/
boolean hasServiceType();
/**
*
* The purpose of this field is to make grpc service on standby masters work without
* making client changes and keeps backwards alluxio.shaded.client.com.atibility.
* This requests to this endpoint will be rejected on standby masters by default,
* unless this field is set.
* Two places use this request:
* 1. PollingMasterInquireClient uses this endpoint to tell who is the primary master.
* 2. AbstractClient uses this endpoint to verify the version before it RPCs with the master.
* Behaviors:
* 1. old clients -> new cluster standby masters
* PollingMasterInquireClient does not set this field and is able to tell which one is primary master because
* the request will be rejected on the standby master.
* AbstractClient does not set this field.
* Old clients only connects to primary so this doesn't break the existing behavior.
* 2. new clients -> new cluster standby masters
* PollingMasterInquireClient does not set this field and is able to tell which one is primary master because
* the request will be rejected on the standby master.
* AbstractClient sets this field to true. Rpcs to standby masters can go through and pass the version verification.
*
*
* optional .alluxio.grpc.version.ServiceType serviceType = 1;
* @return The serviceType.
*/
alluxio.grpc.ServiceType getServiceType();
/**
* optional bool allowedOnStandbyMasters = 2;
* @return Whether the allowedOnStandbyMasters field is set.
*/
boolean hasAllowedOnStandbyMasters();
/**
* optional bool allowedOnStandbyMasters = 2;
* @return The allowedOnStandbyMasters.
*/
boolean getAllowedOnStandbyMasters();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy