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

com.srotya.minuteman.rpc.Cluster Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: cluster.proto

package com.srotya.minuteman.rpc;

public final class Cluster {
  private Cluster() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_IsrUpdateRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_IsrUpdateRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_IsrUpdateRequest_IsrMapEntry_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_IsrUpdateRequest_IsrMapEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_DataRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_DataRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_ReplicaRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_ReplicaRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_GenericResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_GenericResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_RouteRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_RouteRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_RouteResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_RouteResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_BatchDataRequest_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_BatchDataRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_rpcs_BatchDataResponse_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_rpcs_BatchDataResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\rcluster.proto\022\004rpcs\"\207\001\n\020IsrUpdateReque" +
      "st\022\020\n\010routeKey\030\001 \001(\t\0222\n\006isrMap\030\002 \003(\0132\".r" +
      "pcs.IsrUpdateRequest.IsrMapEntry\032-\n\013IsrM" +
      "apEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\"" +
      "-\n\013DataRequest\022\020\n\010routeKey\030\001 \001(\t\022\014\n\004data" +
      "\030\002 \001(\014\"\251\001\n\016ReplicaRequest\022\020\n\010routeKey\030\001 " +
      "\001(\t\022\026\n\016replicaAddress\030\002 \001(\t\022\026\n\016replicaNo" +
      "deKey\030\003 \001(\t\022\023\n\013replicaPort\030\004 \001(\005\022\025\n\rlead" +
      "erNodeKey\030\005 \001(\t\022\025\n\rleaderAddress\030\006 \001(\t\022\022" +
      "\n\nleaderPort\030\007 \001(\005\"?\n\017GenericResponse\022\024\n",
      "\014responseCode\030\001 \001(\005\022\026\n\016responseString\030\002 " +
      "\001(\t\";\n\014RouteRequest\022\020\n\010routeKey\030\001 \001(\t\022\031\n" +
      "\021replicationFactor\030\002 \001(\005\"c\n\rRouteRespons" +
      "e\022\024\n\014responseCode\030\001 \001(\005\022\026\n\016responseStrin" +
      "g\030\002 \001(\t\022\022\n\nreplicaids\030\003 \003(\t\022\020\n\010leaderid\030" +
      "\004 \001(\t\"i\n\020BatchDataRequest\022\016\n\006offset\030\001 \001(" +
      "\005\022\016\n\006nodeId\030\002 \001(\t\022\020\n\010maxBytes\030\003 \001(\005\022\021\n\ts" +
      "egmentId\030\004 \001(\005\022\020\n\010routeKey\030\005 \001(\t\"\213\001\n\021Bat" +
      "chDataResponse\022\014\n\004data\030\001 \003(\014\022\022\n\nnextOffs" +
      "et\030\002 \001(\005\022\021\n\tsegmentId\030\003 \001(\005\022\024\n\014responseC",
      "ode\030\004 \001(\005\022\024\n\014commitOffset\030\005 \001(\005\022\025\n\rcommi" +
      "tSegment\030\006 \001(\0052\315\002\n\022ReplicationService\022L\n" +
      "\027RequestBatchReplication\022\026.rpcs.BatchDat" +
      "aRequest\032\027.rpcs.BatchDataResponse\"\000\0227\n\tW" +
      "riteData\022\021.rpcs.DataRequest\032\025.rpcs.Gener" +
      "icResponse\"\000\0225\n\010AddRoute\022\022.rpcs.RouteReq" +
      "uest\032\023.rpcs.RouteResponse\"\000\022;\n\nAddReplic" +
      "a\022\024.rpcs.ReplicaRequest\032\025.rpcs.GenericRe" +
      "sponse\"\000\022<\n\tUpdateIsr\022\026.rpcs.IsrUpdateRe" +
      "quest\032\025.rpcs.GenericResponse\"\000B\036\n\030com.sr",
      "otya.minuteman.rpcH\001P\001b\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_rpcs_IsrUpdateRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_rpcs_IsrUpdateRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_IsrUpdateRequest_descriptor,
        new java.lang.String[] { "RouteKey", "IsrMap", });
    internal_static_rpcs_IsrUpdateRequest_IsrMapEntry_descriptor =
      internal_static_rpcs_IsrUpdateRequest_descriptor.getNestedTypes().get(0);
    internal_static_rpcs_IsrUpdateRequest_IsrMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_IsrUpdateRequest_IsrMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_rpcs_DataRequest_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_rpcs_DataRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_DataRequest_descriptor,
        new java.lang.String[] { "RouteKey", "Data", });
    internal_static_rpcs_ReplicaRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_rpcs_ReplicaRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_ReplicaRequest_descriptor,
        new java.lang.String[] { "RouteKey", "ReplicaAddress", "ReplicaNodeKey", "ReplicaPort", "LeaderNodeKey", "LeaderAddress", "LeaderPort", });
    internal_static_rpcs_GenericResponse_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_rpcs_GenericResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_GenericResponse_descriptor,
        new java.lang.String[] { "ResponseCode", "ResponseString", });
    internal_static_rpcs_RouteRequest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_rpcs_RouteRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_RouteRequest_descriptor,
        new java.lang.String[] { "RouteKey", "ReplicationFactor", });
    internal_static_rpcs_RouteResponse_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_rpcs_RouteResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_RouteResponse_descriptor,
        new java.lang.String[] { "ResponseCode", "ResponseString", "Replicaids", "Leaderid", });
    internal_static_rpcs_BatchDataRequest_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_rpcs_BatchDataRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_BatchDataRequest_descriptor,
        new java.lang.String[] { "Offset", "NodeId", "MaxBytes", "SegmentId", "RouteKey", });
    internal_static_rpcs_BatchDataResponse_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_rpcs_BatchDataResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_rpcs_BatchDataResponse_descriptor,
        new java.lang.String[] { "Data", "NextOffset", "SegmentId", "ResponseCode", "CommitOffset", "CommitSegment", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy