From 16fa1124cbf3a6571f43aeb30aedab3d0ea32ca4 Mon Sep 17 00:00:00 2001 From: Shoham Elias Date: Wed, 26 Jun 2024 11:16:49 +0000 Subject: [PATCH] add GlideRequestOuterClass --- .../glide_request/GlideRequestOuterClass.java | 9831 +++++++++++++++++ 1 file changed, 9831 insertions(+) create mode 100644 java/client/src/main/java/glide_request/GlideRequestOuterClass.java diff --git a/java/client/src/main/java/glide_request/GlideRequestOuterClass.java b/java/client/src/main/java/glide_request/GlideRequestOuterClass.java new file mode 100644 index 0000000000..27d7777828 --- /dev/null +++ b/java/client/src/main/java/glide_request/GlideRequestOuterClass.java @@ -0,0 +1,9831 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: protobuf/glide_request.proto +// Protobuf Java Version: 4.26.1 + +package glide_request; + +public final class GlideRequestOuterClass { + private GlideRequestOuterClass() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + GlideRequestOuterClass.class.getName()); + } + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + * Protobuf enum {@code glide_request.SimpleRoutes} + */ + public enum SimpleRoutes + implements com.google.protobuf.ProtocolMessageEnum { + /** + * AllNodes = 0; + */ + AllNodes(0), + /** + * AllPrimaries = 1; + */ + AllPrimaries(1), + /** + * Random = 2; + */ + Random(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + SimpleRoutes.class.getName()); + } + /** + * AllNodes = 0; + */ + public static final int AllNodes_VALUE = 0; + /** + * AllPrimaries = 1; + */ + public static final int AllPrimaries_VALUE = 1; + /** + * Random = 2; + */ + public static final int Random_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SimpleRoutes valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SimpleRoutes forNumber(int value) { + switch (value) { + case 0: return AllNodes; + case 1: return AllPrimaries; + case 2: return Random; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + SimpleRoutes> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SimpleRoutes findValueByNumber(int number) { + return SimpleRoutes.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final SimpleRoutes[] VALUES = values(); + + public static SimpleRoutes valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SimpleRoutes(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:glide_request.SimpleRoutes) + } + + /** + * Protobuf enum {@code glide_request.SlotTypes} + */ + public enum SlotTypes + implements com.google.protobuf.ProtocolMessageEnum { + /** + * Primary = 0; + */ + Primary(0), + /** + * Replica = 1; + */ + Replica(1), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + SlotTypes.class.getName()); + } + /** + * Primary = 0; + */ + public static final int Primary_VALUE = 0; + /** + * Replica = 1; + */ + public static final int Replica_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SlotTypes valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SlotTypes forNumber(int value) { + switch (value) { + case 0: return Primary; + case 1: return Replica; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + SlotTypes> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SlotTypes findValueByNumber(int number) { + return SlotTypes.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.getDescriptor().getEnumTypes().get(1); + } + + private static final SlotTypes[] VALUES = values(); + + public static SlotTypes valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private SlotTypes(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:glide_request.SlotTypes) + } + + /** + * Protobuf enum {@code glide_request.RequestType} + */ + public enum RequestType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * / Invalid request type
+     * 
+ * + * InvalidRequest = 0; + */ + InvalidRequest(0), + /** + *
+     * / An unknown command, where all arguments are defined by the user.
+     * 
+ * + * CustomCommand = 1; + */ + CustomCommand(1), + /** + * Get = 2; + */ + Get(2), + /** + * Set = 3; + */ + Set(3), + /** + * Ping = 4; + */ + Ping(4), + /** + * Info = 5; + */ + Info(5), + /** + * Del = 6; + */ + Del(6), + /** + * Select = 7; + */ + Select(7), + /** + * ConfigGet = 8; + */ + ConfigGet(8), + /** + * ConfigSet = 9; + */ + ConfigSet(9), + /** + * ConfigResetStat = 10; + */ + ConfigResetStat(10), + /** + * ConfigRewrite = 11; + */ + ConfigRewrite(11), + /** + * ClientGetName = 12; + */ + ClientGetName(12), + /** + * ClientGetRedir = 13; + */ + ClientGetRedir(13), + /** + * ClientId = 14; + */ + ClientId(14), + /** + * ClientInfo = 15; + */ + ClientInfo(15), + /** + * ClientKill = 16; + */ + ClientKill(16), + /** + * ClientList = 17; + */ + ClientList(17), + /** + * ClientNoEvict = 18; + */ + ClientNoEvict(18), + /** + * ClientNoTouch = 19; + */ + ClientNoTouch(19), + /** + * ClientPause = 20; + */ + ClientPause(20), + /** + * ClientReply = 21; + */ + ClientReply(21), + /** + * ClientSetInfo = 22; + */ + ClientSetInfo(22), + /** + * ClientSetName = 23; + */ + ClientSetName(23), + /** + * ClientUnblock = 24; + */ + ClientUnblock(24), + /** + * ClientUnpause = 25; + */ + ClientUnpause(25), + /** + * Expire = 26; + */ + Expire(26), + /** + * HSet = 27; + */ + HSet(27), + /** + * HGet = 28; + */ + HGet(28), + /** + * HDel = 29; + */ + HDel(29), + /** + * HExists = 30; + */ + HExists(30), + /** + * MGet = 31; + */ + MGet(31), + /** + * MSet = 32; + */ + MSet(32), + /** + * Incr = 33; + */ + Incr(33), + /** + * IncrBy = 34; + */ + IncrBy(34), + /** + * Decr = 35; + */ + Decr(35), + /** + * IncrByFloat = 36; + */ + IncrByFloat(36), + /** + * DecrBy = 37; + */ + DecrBy(37), + /** + * HGetAll = 38; + */ + HGetAll(38), + /** + * HMSet = 39; + */ + HMSet(39), + /** + * HMGet = 40; + */ + HMGet(40), + /** + * HIncrBy = 41; + */ + HIncrBy(41), + /** + * HIncrByFloat = 42; + */ + HIncrByFloat(42), + /** + * LPush = 43; + */ + LPush(43), + /** + * LPop = 44; + */ + LPop(44), + /** + * RPush = 45; + */ + RPush(45), + /** + * RPop = 46; + */ + RPop(46), + /** + * LLen = 47; + */ + LLen(47), + /** + * LRem = 48; + */ + LRem(48), + /** + * LRange = 49; + */ + LRange(49), + /** + * LTrim = 50; + */ + LTrim(50), + /** + * SAdd = 51; + */ + SAdd(51), + /** + * SRem = 52; + */ + SRem(52), + /** + * SMembers = 53; + */ + SMembers(53), + /** + * SCard = 54; + */ + SCard(54), + /** + * PExpireAt = 55; + */ + PExpireAt(55), + /** + * PExpire = 56; + */ + PExpire(56), + /** + * ExpireAt = 57; + */ + ExpireAt(57), + /** + * Exists = 58; + */ + Exists(58), + /** + * Unlink = 59; + */ + Unlink(59), + /** + * TTL = 60; + */ + TTL(60), + /** + * ZAdd = 61; + */ + ZAdd(61), + /** + * ZRem = 62; + */ + ZRem(62), + /** + * ZRange = 63; + */ + ZRange(63), + /** + * ZCard = 64; + */ + ZCard(64), + /** + * ZCount = 65; + */ + ZCount(65), + /** + * ZIncrBy = 66; + */ + ZIncrBy(66), + /** + * ZScore = 67; + */ + ZScore(67), + /** + * Type = 68; + */ + Type(68), + /** + * HLen = 69; + */ + HLen(69), + /** + * Echo = 70; + */ + Echo(70), + /** + * ZPopMin = 71; + */ + ZPopMin(71), + /** + * Strlen = 72; + */ + Strlen(72), + /** + * LIndex = 73; + */ + LIndex(73), + /** + * ZPopMax = 74; + */ + ZPopMax(74), + /** + * XRead = 75; + */ + XRead(75), + /** + * XAdd = 76; + */ + XAdd(76), + /** + * XReadGroup = 77; + */ + XReadGroup(77), + /** + * XAck = 78; + */ + XAck(78), + /** + * XTrim = 79; + */ + XTrim(79), + /** + * XGroupCreate = 80; + */ + XGroupCreate(80), + /** + * XGroupDestroy = 81; + */ + XGroupDestroy(81), + /** + * HSetNX = 82; + */ + HSetNX(82), + /** + * SIsMember = 83; + */ + SIsMember(83), + /** + * HVals = 84; + */ + HVals(84), + /** + * PTTL = 85; + */ + PTTL(85), + /** + * ZRemRangeByRank = 86; + */ + ZRemRangeByRank(86), + /** + * Persist = 87; + */ + Persist(87), + /** + * ZRemRangeByScore = 88; + */ + ZRemRangeByScore(88), + /** + * Time = 89; + */ + Time(89), + /** + * ZRank = 90; + */ + ZRank(90), + /** + * Rename = 91; + */ + Rename(91), + /** + * DBSize = 92; + */ + DBSize(92), + /** + * BRPop = 93; + */ + BRPop(93), + /** + * HKeys = 94; + */ + HKeys(94), + /** + * SPop = 95; + */ + SPop(95), + /** + * PfAdd = 96; + */ + PfAdd(96), + /** + * PfCount = 97; + */ + PfCount(97), + /** + * PfMerge = 98; + */ + PfMerge(98), + /** + * BLPop = 100; + */ + BLPop(100), + /** + * LInsert = 101; + */ + LInsert(101), + /** + * RPushX = 102; + */ + RPushX(102), + /** + * LPushX = 103; + */ + LPushX(103), + /** + * ZMScore = 104; + */ + ZMScore(104), + /** + * ZDiff = 105; + */ + ZDiff(105), + /** + * ZDiffStore = 106; + */ + ZDiffStore(106), + /** + * SetRange = 107; + */ + SetRange(107), + /** + * ZRemRangeByLex = 108; + */ + ZRemRangeByLex(108), + /** + * ZLexCount = 109; + */ + ZLexCount(109), + /** + * Append = 110; + */ + Append(110), + /** + * SUnionStore = 111; + */ + SUnionStore(111), + /** + * SDiffStore = 112; + */ + SDiffStore(112), + /** + * SInter = 113; + */ + SInter(113), + /** + * SInterStore = 114; + */ + SInterStore(114), + /** + * ZRangeStore = 115; + */ + ZRangeStore(115), + /** + * GetRange = 116; + */ + GetRange(116), + /** + * SMove = 117; + */ + SMove(117), + /** + * SMIsMember = 118; + */ + SMIsMember(118), + /** + * ZUnionStore = 119; + */ + ZUnionStore(119), + /** + * LastSave = 120; + */ + LastSave(120), + /** + * GeoAdd = 121; + */ + GeoAdd(121), + /** + * GeoHash = 122; + */ + GeoHash(122), + /** + * ObjectEncoding = 123; + */ + ObjectEncoding(123), + /** + * SDiff = 124; + */ + SDiff(124), + /** + * ObjectIdleTime = 125; + */ + ObjectIdleTime(125), + /** + * ObjectRefCount = 126; + */ + ObjectRefCount(126), + /** + * Lolwut = 100500; + */ + Lolwut(100500), + /** + * GeoDist = 127; + */ + GeoDist(127), + /** + * GeoPos = 128; + */ + GeoPos(128), + /** + * BZPopMax = 129; + */ + BZPopMax(129), + /** + * ObjectFreq = 130; + */ + ObjectFreq(130), + /** + * RenameNX = 131; + */ + RenameNX(131), + /** + * Touch = 132; + */ + Touch(132), + /** + * ZRevRank = 133; + */ + ZRevRank(133), + /** + * ZInterStore = 134; + */ + ZInterStore(134), + /** + * HRandField = 135; + */ + HRandField(135), + /** + * ZUnion = 136; + */ + ZUnion(136), + /** + * BZPopMin = 137; + */ + BZPopMin(137), + /** + * FlushAll = 138; + */ + FlushAll(138), + /** + * ZRandMember = 139; + */ + ZRandMember(139), + /** + * BitCount = 140; + */ + BitCount(140), + /** + * BZMPop = 141; + */ + BZMPop(141), + /** + * SetBit = 142; + */ + SetBit(142), + /** + * ZInterCard = 143; + */ + ZInterCard(143), + /** + * ZMPop = 144; + */ + ZMPop(144), + /** + * GetBit = 145; + */ + GetBit(145), + /** + * ZInter = 146; + */ + ZInter(146), + /** + * BitPos = 147; + */ + BitPos(147), + /** + * BitOp = 148; + */ + BitOp(148), + /** + * HStrlen = 149; + */ + HStrlen(149), + /** + * FunctionLoad = 150; + */ + FunctionLoad(150), + /** + * FunctionList = 151; + */ + FunctionList(151), + /** + * FunctionDelete = 152; + */ + FunctionDelete(152), + /** + * FunctionFlush = 153; + */ + FunctionFlush(153), + /** + * FCall = 154; + */ + FCall(154), + /** + * LMPop = 155; + */ + LMPop(155), + /** + * ExpireTime = 156; + */ + ExpireTime(156), + /** + * PExpireTime = 157; + */ + PExpireTime(157), + /** + * BLMPop = 158; + */ + BLMPop(158), + /** + * XLen = 159; + */ + XLen(159), + /** + * Sort = 160; + */ + Sort(160), + /** + * FunctionKill = 161; + */ + FunctionKill(161), + /** + * FunctionStats = 162; + */ + FunctionStats(162), + /** + * FCallReadOnly = 163; + */ + FCallReadOnly(163), + /** + * FlushDB = 164; + */ + FlushDB(164), + /** + * LSet = 165; + */ + LSet(165), + /** + * XDel = 166; + */ + XDel(166), + /** + * XRange = 167; + */ + XRange(167), + /** + * LMove = 168; + */ + LMove(168), + /** + * BLMove = 169; + */ + BLMove(169), + /** + * GetDel = 170; + */ + GetDel(170), + /** + * SRandMember = 171; + */ + SRandMember(171), + /** + * BitField = 172; + */ + BitField(172), + /** + * BitFieldReadOnly = 173; + */ + BitFieldReadOnly(173), + /** + * Move = 174; + */ + Move(174), + /** + * SInterCard = 175; + */ + SInterCard(175), + /** + * XRevRange = 176; + */ + XRevRange(176), + /** + * Copy = 178; + */ + Copy(178), + /** + * MSetNX = 179; + */ + MSetNX(179), + /** + * LPos = 180; + */ + LPos(180), + /** + * LCS = 181; + */ + LCS(181), + /** + * GeoSearch = 182; + */ + GeoSearch(182), + /** + * Watch = 183; + */ + Watch(183), + /** + * UnWatch = 184; + */ + UnWatch(184), + /** + * GeoSearchStore = 185; + */ + GeoSearchStore(185), + /** + * SUnion = 186; + */ + SUnion(186), + /** + * Publish = 187; + */ + Publish(187), + /** + * SPublish = 188; + */ + SPublish(188), + /** + * XGroupCreateConsumer = 189; + */ + XGroupCreateConsumer(189), + /** + * XGroupDelConsumer = 190; + */ + XGroupDelConsumer(190), + /** + * RandomKey = 191; + */ + RandomKey(191), + /** + * GetEx = 192; + */ + GetEx(192), + /** + * Dump = 193; + */ + Dump(193), + /** + * Restore = 194; + */ + Restore(194), + /** + * SortReadOnly = 195; + */ + SortReadOnly(195), + /** + * FunctionDump = 196; + */ + FunctionDump(196), + /** + * FunctionRestore = 197; + */ + FunctionRestore(197), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + RequestType.class.getName()); + } + /** + *
+     * / Invalid request type
+     * 
+ * + * InvalidRequest = 0; + */ + public static final int InvalidRequest_VALUE = 0; + /** + *
+     * / An unknown command, where all arguments are defined by the user.
+     * 
+ * + * CustomCommand = 1; + */ + public static final int CustomCommand_VALUE = 1; + /** + * Get = 2; + */ + public static final int Get_VALUE = 2; + /** + * Set = 3; + */ + public static final int Set_VALUE = 3; + /** + * Ping = 4; + */ + public static final int Ping_VALUE = 4; + /** + * Info = 5; + */ + public static final int Info_VALUE = 5; + /** + * Del = 6; + */ + public static final int Del_VALUE = 6; + /** + * Select = 7; + */ + public static final int Select_VALUE = 7; + /** + * ConfigGet = 8; + */ + public static final int ConfigGet_VALUE = 8; + /** + * ConfigSet = 9; + */ + public static final int ConfigSet_VALUE = 9; + /** + * ConfigResetStat = 10; + */ + public static final int ConfigResetStat_VALUE = 10; + /** + * ConfigRewrite = 11; + */ + public static final int ConfigRewrite_VALUE = 11; + /** + * ClientGetName = 12; + */ + public static final int ClientGetName_VALUE = 12; + /** + * ClientGetRedir = 13; + */ + public static final int ClientGetRedir_VALUE = 13; + /** + * ClientId = 14; + */ + public static final int ClientId_VALUE = 14; + /** + * ClientInfo = 15; + */ + public static final int ClientInfo_VALUE = 15; + /** + * ClientKill = 16; + */ + public static final int ClientKill_VALUE = 16; + /** + * ClientList = 17; + */ + public static final int ClientList_VALUE = 17; + /** + * ClientNoEvict = 18; + */ + public static final int ClientNoEvict_VALUE = 18; + /** + * ClientNoTouch = 19; + */ + public static final int ClientNoTouch_VALUE = 19; + /** + * ClientPause = 20; + */ + public static final int ClientPause_VALUE = 20; + /** + * ClientReply = 21; + */ + public static final int ClientReply_VALUE = 21; + /** + * ClientSetInfo = 22; + */ + public static final int ClientSetInfo_VALUE = 22; + /** + * ClientSetName = 23; + */ + public static final int ClientSetName_VALUE = 23; + /** + * ClientUnblock = 24; + */ + public static final int ClientUnblock_VALUE = 24; + /** + * ClientUnpause = 25; + */ + public static final int ClientUnpause_VALUE = 25; + /** + * Expire = 26; + */ + public static final int Expire_VALUE = 26; + /** + * HSet = 27; + */ + public static final int HSet_VALUE = 27; + /** + * HGet = 28; + */ + public static final int HGet_VALUE = 28; + /** + * HDel = 29; + */ + public static final int HDel_VALUE = 29; + /** + * HExists = 30; + */ + public static final int HExists_VALUE = 30; + /** + * MGet = 31; + */ + public static final int MGet_VALUE = 31; + /** + * MSet = 32; + */ + public static final int MSet_VALUE = 32; + /** + * Incr = 33; + */ + public static final int Incr_VALUE = 33; + /** + * IncrBy = 34; + */ + public static final int IncrBy_VALUE = 34; + /** + * Decr = 35; + */ + public static final int Decr_VALUE = 35; + /** + * IncrByFloat = 36; + */ + public static final int IncrByFloat_VALUE = 36; + /** + * DecrBy = 37; + */ + public static final int DecrBy_VALUE = 37; + /** + * HGetAll = 38; + */ + public static final int HGetAll_VALUE = 38; + /** + * HMSet = 39; + */ + public static final int HMSet_VALUE = 39; + /** + * HMGet = 40; + */ + public static final int HMGet_VALUE = 40; + /** + * HIncrBy = 41; + */ + public static final int HIncrBy_VALUE = 41; + /** + * HIncrByFloat = 42; + */ + public static final int HIncrByFloat_VALUE = 42; + /** + * LPush = 43; + */ + public static final int LPush_VALUE = 43; + /** + * LPop = 44; + */ + public static final int LPop_VALUE = 44; + /** + * RPush = 45; + */ + public static final int RPush_VALUE = 45; + /** + * RPop = 46; + */ + public static final int RPop_VALUE = 46; + /** + * LLen = 47; + */ + public static final int LLen_VALUE = 47; + /** + * LRem = 48; + */ + public static final int LRem_VALUE = 48; + /** + * LRange = 49; + */ + public static final int LRange_VALUE = 49; + /** + * LTrim = 50; + */ + public static final int LTrim_VALUE = 50; + /** + * SAdd = 51; + */ + public static final int SAdd_VALUE = 51; + /** + * SRem = 52; + */ + public static final int SRem_VALUE = 52; + /** + * SMembers = 53; + */ + public static final int SMembers_VALUE = 53; + /** + * SCard = 54; + */ + public static final int SCard_VALUE = 54; + /** + * PExpireAt = 55; + */ + public static final int PExpireAt_VALUE = 55; + /** + * PExpire = 56; + */ + public static final int PExpire_VALUE = 56; + /** + * ExpireAt = 57; + */ + public static final int ExpireAt_VALUE = 57; + /** + * Exists = 58; + */ + public static final int Exists_VALUE = 58; + /** + * Unlink = 59; + */ + public static final int Unlink_VALUE = 59; + /** + * TTL = 60; + */ + public static final int TTL_VALUE = 60; + /** + * ZAdd = 61; + */ + public static final int ZAdd_VALUE = 61; + /** + * ZRem = 62; + */ + public static final int ZRem_VALUE = 62; + /** + * ZRange = 63; + */ + public static final int ZRange_VALUE = 63; + /** + * ZCard = 64; + */ + public static final int ZCard_VALUE = 64; + /** + * ZCount = 65; + */ + public static final int ZCount_VALUE = 65; + /** + * ZIncrBy = 66; + */ + public static final int ZIncrBy_VALUE = 66; + /** + * ZScore = 67; + */ + public static final int ZScore_VALUE = 67; + /** + * Type = 68; + */ + public static final int Type_VALUE = 68; + /** + * HLen = 69; + */ + public static final int HLen_VALUE = 69; + /** + * Echo = 70; + */ + public static final int Echo_VALUE = 70; + /** + * ZPopMin = 71; + */ + public static final int ZPopMin_VALUE = 71; + /** + * Strlen = 72; + */ + public static final int Strlen_VALUE = 72; + /** + * LIndex = 73; + */ + public static final int LIndex_VALUE = 73; + /** + * ZPopMax = 74; + */ + public static final int ZPopMax_VALUE = 74; + /** + * XRead = 75; + */ + public static final int XRead_VALUE = 75; + /** + * XAdd = 76; + */ + public static final int XAdd_VALUE = 76; + /** + * XReadGroup = 77; + */ + public static final int XReadGroup_VALUE = 77; + /** + * XAck = 78; + */ + public static final int XAck_VALUE = 78; + /** + * XTrim = 79; + */ + public static final int XTrim_VALUE = 79; + /** + * XGroupCreate = 80; + */ + public static final int XGroupCreate_VALUE = 80; + /** + * XGroupDestroy = 81; + */ + public static final int XGroupDestroy_VALUE = 81; + /** + * HSetNX = 82; + */ + public static final int HSetNX_VALUE = 82; + /** + * SIsMember = 83; + */ + public static final int SIsMember_VALUE = 83; + /** + * HVals = 84; + */ + public static final int HVals_VALUE = 84; + /** + * PTTL = 85; + */ + public static final int PTTL_VALUE = 85; + /** + * ZRemRangeByRank = 86; + */ + public static final int ZRemRangeByRank_VALUE = 86; + /** + * Persist = 87; + */ + public static final int Persist_VALUE = 87; + /** + * ZRemRangeByScore = 88; + */ + public static final int ZRemRangeByScore_VALUE = 88; + /** + * Time = 89; + */ + public static final int Time_VALUE = 89; + /** + * ZRank = 90; + */ + public static final int ZRank_VALUE = 90; + /** + * Rename = 91; + */ + public static final int Rename_VALUE = 91; + /** + * DBSize = 92; + */ + public static final int DBSize_VALUE = 92; + /** + * BRPop = 93; + */ + public static final int BRPop_VALUE = 93; + /** + * HKeys = 94; + */ + public static final int HKeys_VALUE = 94; + /** + * SPop = 95; + */ + public static final int SPop_VALUE = 95; + /** + * PfAdd = 96; + */ + public static final int PfAdd_VALUE = 96; + /** + * PfCount = 97; + */ + public static final int PfCount_VALUE = 97; + /** + * PfMerge = 98; + */ + public static final int PfMerge_VALUE = 98; + /** + * BLPop = 100; + */ + public static final int BLPop_VALUE = 100; + /** + * LInsert = 101; + */ + public static final int LInsert_VALUE = 101; + /** + * RPushX = 102; + */ + public static final int RPushX_VALUE = 102; + /** + * LPushX = 103; + */ + public static final int LPushX_VALUE = 103; + /** + * ZMScore = 104; + */ + public static final int ZMScore_VALUE = 104; + /** + * ZDiff = 105; + */ + public static final int ZDiff_VALUE = 105; + /** + * ZDiffStore = 106; + */ + public static final int ZDiffStore_VALUE = 106; + /** + * SetRange = 107; + */ + public static final int SetRange_VALUE = 107; + /** + * ZRemRangeByLex = 108; + */ + public static final int ZRemRangeByLex_VALUE = 108; + /** + * ZLexCount = 109; + */ + public static final int ZLexCount_VALUE = 109; + /** + * Append = 110; + */ + public static final int Append_VALUE = 110; + /** + * SUnionStore = 111; + */ + public static final int SUnionStore_VALUE = 111; + /** + * SDiffStore = 112; + */ + public static final int SDiffStore_VALUE = 112; + /** + * SInter = 113; + */ + public static final int SInter_VALUE = 113; + /** + * SInterStore = 114; + */ + public static final int SInterStore_VALUE = 114; + /** + * ZRangeStore = 115; + */ + public static final int ZRangeStore_VALUE = 115; + /** + * GetRange = 116; + */ + public static final int GetRange_VALUE = 116; + /** + * SMove = 117; + */ + public static final int SMove_VALUE = 117; + /** + * SMIsMember = 118; + */ + public static final int SMIsMember_VALUE = 118; + /** + * ZUnionStore = 119; + */ + public static final int ZUnionStore_VALUE = 119; + /** + * LastSave = 120; + */ + public static final int LastSave_VALUE = 120; + /** + * GeoAdd = 121; + */ + public static final int GeoAdd_VALUE = 121; + /** + * GeoHash = 122; + */ + public static final int GeoHash_VALUE = 122; + /** + * ObjectEncoding = 123; + */ + public static final int ObjectEncoding_VALUE = 123; + /** + * SDiff = 124; + */ + public static final int SDiff_VALUE = 124; + /** + * ObjectIdleTime = 125; + */ + public static final int ObjectIdleTime_VALUE = 125; + /** + * ObjectRefCount = 126; + */ + public static final int ObjectRefCount_VALUE = 126; + /** + * Lolwut = 100500; + */ + public static final int Lolwut_VALUE = 100500; + /** + * GeoDist = 127; + */ + public static final int GeoDist_VALUE = 127; + /** + * GeoPos = 128; + */ + public static final int GeoPos_VALUE = 128; + /** + * BZPopMax = 129; + */ + public static final int BZPopMax_VALUE = 129; + /** + * ObjectFreq = 130; + */ + public static final int ObjectFreq_VALUE = 130; + /** + * RenameNX = 131; + */ + public static final int RenameNX_VALUE = 131; + /** + * Touch = 132; + */ + public static final int Touch_VALUE = 132; + /** + * ZRevRank = 133; + */ + public static final int ZRevRank_VALUE = 133; + /** + * ZInterStore = 134; + */ + public static final int ZInterStore_VALUE = 134; + /** + * HRandField = 135; + */ + public static final int HRandField_VALUE = 135; + /** + * ZUnion = 136; + */ + public static final int ZUnion_VALUE = 136; + /** + * BZPopMin = 137; + */ + public static final int BZPopMin_VALUE = 137; + /** + * FlushAll = 138; + */ + public static final int FlushAll_VALUE = 138; + /** + * ZRandMember = 139; + */ + public static final int ZRandMember_VALUE = 139; + /** + * BitCount = 140; + */ + public static final int BitCount_VALUE = 140; + /** + * BZMPop = 141; + */ + public static final int BZMPop_VALUE = 141; + /** + * SetBit = 142; + */ + public static final int SetBit_VALUE = 142; + /** + * ZInterCard = 143; + */ + public static final int ZInterCard_VALUE = 143; + /** + * ZMPop = 144; + */ + public static final int ZMPop_VALUE = 144; + /** + * GetBit = 145; + */ + public static final int GetBit_VALUE = 145; + /** + * ZInter = 146; + */ + public static final int ZInter_VALUE = 146; + /** + * BitPos = 147; + */ + public static final int BitPos_VALUE = 147; + /** + * BitOp = 148; + */ + public static final int BitOp_VALUE = 148; + /** + * HStrlen = 149; + */ + public static final int HStrlen_VALUE = 149; + /** + * FunctionLoad = 150; + */ + public static final int FunctionLoad_VALUE = 150; + /** + * FunctionList = 151; + */ + public static final int FunctionList_VALUE = 151; + /** + * FunctionDelete = 152; + */ + public static final int FunctionDelete_VALUE = 152; + /** + * FunctionFlush = 153; + */ + public static final int FunctionFlush_VALUE = 153; + /** + * FCall = 154; + */ + public static final int FCall_VALUE = 154; + /** + * LMPop = 155; + */ + public static final int LMPop_VALUE = 155; + /** + * ExpireTime = 156; + */ + public static final int ExpireTime_VALUE = 156; + /** + * PExpireTime = 157; + */ + public static final int PExpireTime_VALUE = 157; + /** + * BLMPop = 158; + */ + public static final int BLMPop_VALUE = 158; + /** + * XLen = 159; + */ + public static final int XLen_VALUE = 159; + /** + * Sort = 160; + */ + public static final int Sort_VALUE = 160; + /** + * FunctionKill = 161; + */ + public static final int FunctionKill_VALUE = 161; + /** + * FunctionStats = 162; + */ + public static final int FunctionStats_VALUE = 162; + /** + * FCallReadOnly = 163; + */ + public static final int FCallReadOnly_VALUE = 163; + /** + * FlushDB = 164; + */ + public static final int FlushDB_VALUE = 164; + /** + * LSet = 165; + */ + public static final int LSet_VALUE = 165; + /** + * XDel = 166; + */ + public static final int XDel_VALUE = 166; + /** + * XRange = 167; + */ + public static final int XRange_VALUE = 167; + /** + * LMove = 168; + */ + public static final int LMove_VALUE = 168; + /** + * BLMove = 169; + */ + public static final int BLMove_VALUE = 169; + /** + * GetDel = 170; + */ + public static final int GetDel_VALUE = 170; + /** + * SRandMember = 171; + */ + public static final int SRandMember_VALUE = 171; + /** + * BitField = 172; + */ + public static final int BitField_VALUE = 172; + /** + * BitFieldReadOnly = 173; + */ + public static final int BitFieldReadOnly_VALUE = 173; + /** + * Move = 174; + */ + public static final int Move_VALUE = 174; + /** + * SInterCard = 175; + */ + public static final int SInterCard_VALUE = 175; + /** + * XRevRange = 176; + */ + public static final int XRevRange_VALUE = 176; + /** + * Copy = 178; + */ + public static final int Copy_VALUE = 178; + /** + * MSetNX = 179; + */ + public static final int MSetNX_VALUE = 179; + /** + * LPos = 180; + */ + public static final int LPos_VALUE = 180; + /** + * LCS = 181; + */ + public static final int LCS_VALUE = 181; + /** + * GeoSearch = 182; + */ + public static final int GeoSearch_VALUE = 182; + /** + * Watch = 183; + */ + public static final int Watch_VALUE = 183; + /** + * UnWatch = 184; + */ + public static final int UnWatch_VALUE = 184; + /** + * GeoSearchStore = 185; + */ + public static final int GeoSearchStore_VALUE = 185; + /** + * SUnion = 186; + */ + public static final int SUnion_VALUE = 186; + /** + * Publish = 187; + */ + public static final int Publish_VALUE = 187; + /** + * SPublish = 188; + */ + public static final int SPublish_VALUE = 188; + /** + * XGroupCreateConsumer = 189; + */ + public static final int XGroupCreateConsumer_VALUE = 189; + /** + * XGroupDelConsumer = 190; + */ + public static final int XGroupDelConsumer_VALUE = 190; + /** + * RandomKey = 191; + */ + public static final int RandomKey_VALUE = 191; + /** + * GetEx = 192; + */ + public static final int GetEx_VALUE = 192; + /** + * Dump = 193; + */ + public static final int Dump_VALUE = 193; + /** + * Restore = 194; + */ + public static final int Restore_VALUE = 194; + /** + * SortReadOnly = 195; + */ + public static final int SortReadOnly_VALUE = 195; + /** + * FunctionDump = 196; + */ + public static final int FunctionDump_VALUE = 196; + /** + * FunctionRestore = 197; + */ + public static final int FunctionRestore_VALUE = 197; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RequestType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RequestType forNumber(int value) { + switch (value) { + case 0: return InvalidRequest; + case 1: return CustomCommand; + case 2: return Get; + case 3: return Set; + case 4: return Ping; + case 5: return Info; + case 6: return Del; + case 7: return Select; + case 8: return ConfigGet; + case 9: return ConfigSet; + case 10: return ConfigResetStat; + case 11: return ConfigRewrite; + case 12: return ClientGetName; + case 13: return ClientGetRedir; + case 14: return ClientId; + case 15: return ClientInfo; + case 16: return ClientKill; + case 17: return ClientList; + case 18: return ClientNoEvict; + case 19: return ClientNoTouch; + case 20: return ClientPause; + case 21: return ClientReply; + case 22: return ClientSetInfo; + case 23: return ClientSetName; + case 24: return ClientUnblock; + case 25: return ClientUnpause; + case 26: return Expire; + case 27: return HSet; + case 28: return HGet; + case 29: return HDel; + case 30: return HExists; + case 31: return MGet; + case 32: return MSet; + case 33: return Incr; + case 34: return IncrBy; + case 35: return Decr; + case 36: return IncrByFloat; + case 37: return DecrBy; + case 38: return HGetAll; + case 39: return HMSet; + case 40: return HMGet; + case 41: return HIncrBy; + case 42: return HIncrByFloat; + case 43: return LPush; + case 44: return LPop; + case 45: return RPush; + case 46: return RPop; + case 47: return LLen; + case 48: return LRem; + case 49: return LRange; + case 50: return LTrim; + case 51: return SAdd; + case 52: return SRem; + case 53: return SMembers; + case 54: return SCard; + case 55: return PExpireAt; + case 56: return PExpire; + case 57: return ExpireAt; + case 58: return Exists; + case 59: return Unlink; + case 60: return TTL; + case 61: return ZAdd; + case 62: return ZRem; + case 63: return ZRange; + case 64: return ZCard; + case 65: return ZCount; + case 66: return ZIncrBy; + case 67: return ZScore; + case 68: return Type; + case 69: return HLen; + case 70: return Echo; + case 71: return ZPopMin; + case 72: return Strlen; + case 73: return LIndex; + case 74: return ZPopMax; + case 75: return XRead; + case 76: return XAdd; + case 77: return XReadGroup; + case 78: return XAck; + case 79: return XTrim; + case 80: return XGroupCreate; + case 81: return XGroupDestroy; + case 82: return HSetNX; + case 83: return SIsMember; + case 84: return HVals; + case 85: return PTTL; + case 86: return ZRemRangeByRank; + case 87: return Persist; + case 88: return ZRemRangeByScore; + case 89: return Time; + case 90: return ZRank; + case 91: return Rename; + case 92: return DBSize; + case 93: return BRPop; + case 94: return HKeys; + case 95: return SPop; + case 96: return PfAdd; + case 97: return PfCount; + case 98: return PfMerge; + case 100: return BLPop; + case 101: return LInsert; + case 102: return RPushX; + case 103: return LPushX; + case 104: return ZMScore; + case 105: return ZDiff; + case 106: return ZDiffStore; + case 107: return SetRange; + case 108: return ZRemRangeByLex; + case 109: return ZLexCount; + case 110: return Append; + case 111: return SUnionStore; + case 112: return SDiffStore; + case 113: return SInter; + case 114: return SInterStore; + case 115: return ZRangeStore; + case 116: return GetRange; + case 117: return SMove; + case 118: return SMIsMember; + case 119: return ZUnionStore; + case 120: return LastSave; + case 121: return GeoAdd; + case 122: return GeoHash; + case 123: return ObjectEncoding; + case 124: return SDiff; + case 125: return ObjectIdleTime; + case 126: return ObjectRefCount; + case 100500: return Lolwut; + case 127: return GeoDist; + case 128: return GeoPos; + case 129: return BZPopMax; + case 130: return ObjectFreq; + case 131: return RenameNX; + case 132: return Touch; + case 133: return ZRevRank; + case 134: return ZInterStore; + case 135: return HRandField; + case 136: return ZUnion; + case 137: return BZPopMin; + case 138: return FlushAll; + case 139: return ZRandMember; + case 140: return BitCount; + case 141: return BZMPop; + case 142: return SetBit; + case 143: return ZInterCard; + case 144: return ZMPop; + case 145: return GetBit; + case 146: return ZInter; + case 147: return BitPos; + case 148: return BitOp; + case 149: return HStrlen; + case 150: return FunctionLoad; + case 151: return FunctionList; + case 152: return FunctionDelete; + case 153: return FunctionFlush; + case 154: return FCall; + case 155: return LMPop; + case 156: return ExpireTime; + case 157: return PExpireTime; + case 158: return BLMPop; + case 159: return XLen; + case 160: return Sort; + case 161: return FunctionKill; + case 162: return FunctionStats; + case 163: return FCallReadOnly; + case 164: return FlushDB; + case 165: return LSet; + case 166: return XDel; + case 167: return XRange; + case 168: return LMove; + case 169: return BLMove; + case 170: return GetDel; + case 171: return SRandMember; + case 172: return BitField; + case 173: return BitFieldReadOnly; + case 174: return Move; + case 175: return SInterCard; + case 176: return XRevRange; + case 178: return Copy; + case 179: return MSetNX; + case 180: return LPos; + case 181: return LCS; + case 182: return GeoSearch; + case 183: return Watch; + case 184: return UnWatch; + case 185: return GeoSearchStore; + case 186: return SUnion; + case 187: return Publish; + case 188: return SPublish; + case 189: return XGroupCreateConsumer; + case 190: return XGroupDelConsumer; + case 191: return RandomKey; + case 192: return GetEx; + case 193: return Dump; + case 194: return Restore; + case 195: return SortReadOnly; + case 196: return FunctionDump; + case 197: return FunctionRestore; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + RequestType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RequestType findValueByNumber(int number) { + return RequestType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.getDescriptor().getEnumTypes().get(2); + } + + private static final RequestType[] VALUES = values(); + + public static RequestType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RequestType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:glide_request.RequestType) + } + + public interface SlotIdRouteOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.SlotIdRoute) + com.google.protobuf.MessageOrBuilder { + + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + int getSlotTypeValue(); + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + glide_request.GlideRequestOuterClass.SlotTypes getSlotType(); + + /** + * int32 slot_id = 2; + * @return The slotId. + */ + int getSlotId(); + } + /** + * Protobuf type {@code glide_request.SlotIdRoute} + */ + public static final class SlotIdRoute extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.SlotIdRoute) + SlotIdRouteOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + SlotIdRoute.class.getName()); + } + // Use SlotIdRoute.newBuilder() to construct. + private SlotIdRoute(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SlotIdRoute() { + slotType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotIdRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotIdRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.SlotIdRoute.class, glide_request.GlideRequestOuterClass.SlotIdRoute.Builder.class); + } + + public static final int SLOT_TYPE_FIELD_NUMBER = 1; + private int slotType_ = 0; + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + @java.lang.Override public int getSlotTypeValue() { + return slotType_; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + @java.lang.Override public glide_request.GlideRequestOuterClass.SlotTypes getSlotType() { + glide_request.GlideRequestOuterClass.SlotTypes result = glide_request.GlideRequestOuterClass.SlotTypes.forNumber(slotType_); + return result == null ? glide_request.GlideRequestOuterClass.SlotTypes.UNRECOGNIZED : result; + } + + public static final int SLOT_ID_FIELD_NUMBER = 2; + private int slotId_ = 0; + /** + * int32 slot_id = 2; + * @return The slotId. + */ + @java.lang.Override + public int getSlotId() { + return slotId_; + } + + 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 (slotType_ != glide_request.GlideRequestOuterClass.SlotTypes.Primary.getNumber()) { + output.writeEnum(1, slotType_); + } + if (slotId_ != 0) { + output.writeInt32(2, slotId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (slotType_ != glide_request.GlideRequestOuterClass.SlotTypes.Primary.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, slotType_); + } + if (slotId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, slotId_); + } + 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 glide_request.GlideRequestOuterClass.SlotIdRoute)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.SlotIdRoute other = (glide_request.GlideRequestOuterClass.SlotIdRoute) obj; + + if (slotType_ != other.slotType_) return false; + if (getSlotId() + != other.getSlotId()) 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(); + hash = (37 * hash) + SLOT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + slotType_; + hash = (37 * hash) + SLOT_ID_FIELD_NUMBER; + hash = (53 * hash) + getSlotId(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.SlotIdRoute parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.SlotIdRoute 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.SlotIdRoute} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.SlotIdRoute) + glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotIdRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotIdRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.SlotIdRoute.class, glide_request.GlideRequestOuterClass.SlotIdRoute.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.SlotIdRoute.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + slotType_ = 0; + slotId_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotIdRoute_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRoute getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRoute build() { + glide_request.GlideRequestOuterClass.SlotIdRoute result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRoute buildPartial() { + glide_request.GlideRequestOuterClass.SlotIdRoute result = new glide_request.GlideRequestOuterClass.SlotIdRoute(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.SlotIdRoute result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.slotType_ = slotType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.slotId_ = slotId_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.SlotIdRoute) { + return mergeFrom((glide_request.GlideRequestOuterClass.SlotIdRoute)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.SlotIdRoute other) { + if (other == glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance()) return this; + if (other.slotType_ != 0) { + setSlotTypeValue(other.getSlotTypeValue()); + } + if (other.getSlotId() != 0) { + setSlotId(other.getSlotId()); + } + 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 8: { + slotType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + slotId_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + 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 int slotType_ = 0; + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + @java.lang.Override public int getSlotTypeValue() { + return slotType_; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @param value The enum numeric value on the wire for slotType to set. + * @return This builder for chaining. + */ + public Builder setSlotTypeValue(int value) { + slotType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotTypes getSlotType() { + glide_request.GlideRequestOuterClass.SlotTypes result = glide_request.GlideRequestOuterClass.SlotTypes.forNumber(slotType_); + return result == null ? glide_request.GlideRequestOuterClass.SlotTypes.UNRECOGNIZED : result; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @param value The slotType to set. + * @return This builder for chaining. + */ + public Builder setSlotType(glide_request.GlideRequestOuterClass.SlotTypes value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + slotType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return This builder for chaining. + */ + public Builder clearSlotType() { + bitField0_ = (bitField0_ & ~0x00000001); + slotType_ = 0; + onChanged(); + return this; + } + + private int slotId_ ; + /** + * int32 slot_id = 2; + * @return The slotId. + */ + @java.lang.Override + public int getSlotId() { + return slotId_; + } + /** + * int32 slot_id = 2; + * @param value The slotId to set. + * @return This builder for chaining. + */ + public Builder setSlotId(int value) { + + slotId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 slot_id = 2; + * @return This builder for chaining. + */ + public Builder clearSlotId() { + bitField0_ = (bitField0_ & ~0x00000002); + slotId_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.SlotIdRoute) + } + + // @@protoc_insertion_point(class_scope:glide_request.SlotIdRoute) + private static final glide_request.GlideRequestOuterClass.SlotIdRoute DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.SlotIdRoute(); + } + + public static glide_request.GlideRequestOuterClass.SlotIdRoute getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlotIdRoute 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 glide_request.GlideRequestOuterClass.SlotIdRoute getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SlotKeyRouteOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.SlotKeyRoute) + com.google.protobuf.MessageOrBuilder { + + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + int getSlotTypeValue(); + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + glide_request.GlideRequestOuterClass.SlotTypes getSlotType(); + + /** + * string slot_key = 2; + * @return The slotKey. + */ + java.lang.String getSlotKey(); + /** + * string slot_key = 2; + * @return The bytes for slotKey. + */ + com.google.protobuf.ByteString + getSlotKeyBytes(); + } + /** + * Protobuf type {@code glide_request.SlotKeyRoute} + */ + public static final class SlotKeyRoute extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.SlotKeyRoute) + SlotKeyRouteOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + SlotKeyRoute.class.getName()); + } + // Use SlotKeyRoute.newBuilder() to construct. + private SlotKeyRoute(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private SlotKeyRoute() { + slotType_ = 0; + slotKey_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotKeyRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotKeyRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.SlotKeyRoute.class, glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder.class); + } + + public static final int SLOT_TYPE_FIELD_NUMBER = 1; + private int slotType_ = 0; + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + @java.lang.Override public int getSlotTypeValue() { + return slotType_; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + @java.lang.Override public glide_request.GlideRequestOuterClass.SlotTypes getSlotType() { + glide_request.GlideRequestOuterClass.SlotTypes result = glide_request.GlideRequestOuterClass.SlotTypes.forNumber(slotType_); + return result == null ? glide_request.GlideRequestOuterClass.SlotTypes.UNRECOGNIZED : result; + } + + public static final int SLOT_KEY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object slotKey_ = ""; + /** + * string slot_key = 2; + * @return The slotKey. + */ + @java.lang.Override + public java.lang.String getSlotKey() { + java.lang.Object ref = slotKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + slotKey_ = s; + return s; + } + } + /** + * string slot_key = 2; + * @return The bytes for slotKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSlotKeyBytes() { + java.lang.Object ref = slotKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slotKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + 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 (slotType_ != glide_request.GlideRequestOuterClass.SlotTypes.Primary.getNumber()) { + output.writeEnum(1, slotType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(slotKey_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, slotKey_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (slotType_ != glide_request.GlideRequestOuterClass.SlotTypes.Primary.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, slotType_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(slotKey_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, slotKey_); + } + 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 glide_request.GlideRequestOuterClass.SlotKeyRoute)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.SlotKeyRoute other = (glide_request.GlideRequestOuterClass.SlotKeyRoute) obj; + + if (slotType_ != other.slotType_) return false; + if (!getSlotKey() + .equals(other.getSlotKey())) 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(); + hash = (37 * hash) + SLOT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + slotType_; + hash = (37 * hash) + SLOT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getSlotKey().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.SlotKeyRoute parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.SlotKeyRoute 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.SlotKeyRoute} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.SlotKeyRoute) + glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotKeyRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotKeyRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.SlotKeyRoute.class, glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.SlotKeyRoute.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + slotType_ = 0; + slotKey_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_SlotKeyRoute_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRoute getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRoute build() { + glide_request.GlideRequestOuterClass.SlotKeyRoute result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRoute buildPartial() { + glide_request.GlideRequestOuterClass.SlotKeyRoute result = new glide_request.GlideRequestOuterClass.SlotKeyRoute(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.SlotKeyRoute result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.slotType_ = slotType_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.slotKey_ = slotKey_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.SlotKeyRoute) { + return mergeFrom((glide_request.GlideRequestOuterClass.SlotKeyRoute)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.SlotKeyRoute other) { + if (other == glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance()) return this; + if (other.slotType_ != 0) { + setSlotTypeValue(other.getSlotTypeValue()); + } + if (!other.getSlotKey().isEmpty()) { + slotKey_ = other.slotKey_; + bitField0_ |= 0x00000002; + onChanged(); + } + 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 8: { + slotType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + slotKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + 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 int slotType_ = 0; + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The enum numeric value on the wire for slotType. + */ + @java.lang.Override public int getSlotTypeValue() { + return slotType_; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @param value The enum numeric value on the wire for slotType to set. + * @return This builder for chaining. + */ + public Builder setSlotTypeValue(int value) { + slotType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return The slotType. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotTypes getSlotType() { + glide_request.GlideRequestOuterClass.SlotTypes result = glide_request.GlideRequestOuterClass.SlotTypes.forNumber(slotType_); + return result == null ? glide_request.GlideRequestOuterClass.SlotTypes.UNRECOGNIZED : result; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @param value The slotType to set. + * @return This builder for chaining. + */ + public Builder setSlotType(glide_request.GlideRequestOuterClass.SlotTypes value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + slotType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .glide_request.SlotTypes slot_type = 1; + * @return This builder for chaining. + */ + public Builder clearSlotType() { + bitField0_ = (bitField0_ & ~0x00000001); + slotType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object slotKey_ = ""; + /** + * string slot_key = 2; + * @return The slotKey. + */ + public java.lang.String getSlotKey() { + java.lang.Object ref = slotKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + slotKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string slot_key = 2; + * @return The bytes for slotKey. + */ + public com.google.protobuf.ByteString + getSlotKeyBytes() { + java.lang.Object ref = slotKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slotKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string slot_key = 2; + * @param value The slotKey to set. + * @return This builder for chaining. + */ + public Builder setSlotKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + slotKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * string slot_key = 2; + * @return This builder for chaining. + */ + public Builder clearSlotKey() { + slotKey_ = getDefaultInstance().getSlotKey(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * string slot_key = 2; + * @param value The bytes for slotKey to set. + * @return This builder for chaining. + */ + public Builder setSlotKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + slotKey_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.SlotKeyRoute) + } + + // @@protoc_insertion_point(class_scope:glide_request.SlotKeyRoute) + private static final glide_request.GlideRequestOuterClass.SlotKeyRoute DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.SlotKeyRoute(); + } + + public static glide_request.GlideRequestOuterClass.SlotKeyRoute getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlotKeyRoute 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 glide_request.GlideRequestOuterClass.SlotKeyRoute getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ByAddressRouteOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.ByAddressRoute) + com.google.protobuf.MessageOrBuilder { + + /** + * string host = 1; + * @return The host. + */ + java.lang.String getHost(); + /** + * string host = 1; + * @return The bytes for host. + */ + com.google.protobuf.ByteString + getHostBytes(); + + /** + * int32 port = 2; + * @return The port. + */ + int getPort(); + } + /** + * Protobuf type {@code glide_request.ByAddressRoute} + */ + public static final class ByAddressRoute extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.ByAddressRoute) + ByAddressRouteOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + ByAddressRoute.class.getName()); + } + // Use ByAddressRoute.newBuilder() to construct. + private ByAddressRoute(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ByAddressRoute() { + host_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ByAddressRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ByAddressRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.ByAddressRoute.class, glide_request.GlideRequestOuterClass.ByAddressRoute.Builder.class); + } + + public static final int HOST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object host_ = ""; + /** + * string host = 1; + * @return The host. + */ + @java.lang.Override + public java.lang.String getHost() { + java.lang.Object ref = host_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + host_ = s; + return s; + } + } + /** + * string host = 1; + * @return The bytes for host. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHostBytes() { + java.lang.Object ref = host_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + host_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PORT_FIELD_NUMBER = 2; + private int port_ = 0; + /** + * int32 port = 2; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(host_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, host_); + } + if (port_ != 0) { + output.writeInt32(2, port_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(host_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, host_); + } + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, port_); + } + 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 glide_request.GlideRequestOuterClass.ByAddressRoute)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.ByAddressRoute other = (glide_request.GlideRequestOuterClass.ByAddressRoute) obj; + + if (!getHost() + .equals(other.getHost())) return false; + if (getPort() + != other.getPort()) 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(); + hash = (37 * hash) + HOST_FIELD_NUMBER; + hash = (53 * hash) + getHost().hashCode(); + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.ByAddressRoute parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.ByAddressRoute 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.ByAddressRoute} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.ByAddressRoute) + glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ByAddressRoute_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ByAddressRoute_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.ByAddressRoute.class, glide_request.GlideRequestOuterClass.ByAddressRoute.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.ByAddressRoute.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + host_ = ""; + port_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ByAddressRoute_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRoute getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRoute build() { + glide_request.GlideRequestOuterClass.ByAddressRoute result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRoute buildPartial() { + glide_request.GlideRequestOuterClass.ByAddressRoute result = new glide_request.GlideRequestOuterClass.ByAddressRoute(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.ByAddressRoute result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.host_ = host_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.port_ = port_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.ByAddressRoute) { + return mergeFrom((glide_request.GlideRequestOuterClass.ByAddressRoute)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.ByAddressRoute other) { + if (other == glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance()) return this; + if (!other.getHost().isEmpty()) { + host_ = other.host_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPort() != 0) { + setPort(other.getPort()); + } + 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: { + host_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + port_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + 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 java.lang.Object host_ = ""; + /** + * string host = 1; + * @return The host. + */ + public java.lang.String getHost() { + java.lang.Object ref = host_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + host_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string host = 1; + * @return The bytes for host. + */ + public com.google.protobuf.ByteString + getHostBytes() { + java.lang.Object ref = host_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + host_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string host = 1; + * @param value The host to set. + * @return This builder for chaining. + */ + public Builder setHost( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + host_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string host = 1; + * @return This builder for chaining. + */ + public Builder clearHost() { + host_ = getDefaultInstance().getHost(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string host = 1; + * @param value The bytes for host to set. + * @return This builder for chaining. + */ + public Builder setHostBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + host_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int port_ ; + /** + * int32 port = 2; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + /** + * int32 port = 2; + * @param value The port to set. + * @return This builder for chaining. + */ + public Builder setPort(int value) { + + port_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 port = 2; + * @return This builder for chaining. + */ + public Builder clearPort() { + bitField0_ = (bitField0_ & ~0x00000002); + port_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.ByAddressRoute) + } + + // @@protoc_insertion_point(class_scope:glide_request.ByAddressRoute) + private static final glide_request.GlideRequestOuterClass.ByAddressRoute DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.ByAddressRoute(); + } + + public static glide_request.GlideRequestOuterClass.ByAddressRoute getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ByAddressRoute 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 glide_request.GlideRequestOuterClass.ByAddressRoute getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RoutesOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.Routes) + com.google.protobuf.MessageOrBuilder { + + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return Whether the simpleRoutes field is set. + */ + boolean hasSimpleRoutes(); + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The enum numeric value on the wire for simpleRoutes. + */ + int getSimpleRoutesValue(); + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The simpleRoutes. + */ + glide_request.GlideRequestOuterClass.SimpleRoutes getSimpleRoutes(); + + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return Whether the slotKeyRoute field is set. + */ + boolean hasSlotKeyRoute(); + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return The slotKeyRoute. + */ + glide_request.GlideRequestOuterClass.SlotKeyRoute getSlotKeyRoute(); + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder getSlotKeyRouteOrBuilder(); + + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return Whether the slotIdRoute field is set. + */ + boolean hasSlotIdRoute(); + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return The slotIdRoute. + */ + glide_request.GlideRequestOuterClass.SlotIdRoute getSlotIdRoute(); + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder getSlotIdRouteOrBuilder(); + + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return Whether the byAddressRoute field is set. + */ + boolean hasByAddressRoute(); + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return The byAddressRoute. + */ + glide_request.GlideRequestOuterClass.ByAddressRoute getByAddressRoute(); + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder getByAddressRouteOrBuilder(); + + glide_request.GlideRequestOuterClass.Routes.ValueCase getValueCase(); + } + /** + * Protobuf type {@code glide_request.Routes} + */ + public static final class Routes extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.Routes) + RoutesOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + Routes.class.getName()); + } + // Use Routes.newBuilder() to construct. + private Routes(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Routes() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Routes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Routes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Routes.class, glide_request.GlideRequestOuterClass.Routes.Builder.class); + } + + private int valueCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object value_; + public enum ValueCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SIMPLE_ROUTES(1), + SLOT_KEY_ROUTE(2), + SLOT_ID_ROUTE(3), + BY_ADDRESS_ROUTE(4), + VALUE_NOT_SET(0); + private final int value; + private ValueCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ValueCase valueOf(int value) { + return forNumber(value); + } + + public static ValueCase forNumber(int value) { + switch (value) { + case 1: return SIMPLE_ROUTES; + case 2: return SLOT_KEY_ROUTE; + case 3: return SLOT_ID_ROUTE; + case 4: return BY_ADDRESS_ROUTE; + case 0: return VALUE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); + } + + public static final int SIMPLE_ROUTES_FIELD_NUMBER = 1; + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return Whether the simpleRoutes field is set. + */ + public boolean hasSimpleRoutes() { + return valueCase_ == 1; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The enum numeric value on the wire for simpleRoutes. + */ + public int getSimpleRoutesValue() { + if (valueCase_ == 1) { + return (java.lang.Integer) value_; + } + return 0; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The simpleRoutes. + */ + public glide_request.GlideRequestOuterClass.SimpleRoutes getSimpleRoutes() { + if (valueCase_ == 1) { + glide_request.GlideRequestOuterClass.SimpleRoutes result = glide_request.GlideRequestOuterClass.SimpleRoutes.forNumber( + (java.lang.Integer) value_); + return result == null ? glide_request.GlideRequestOuterClass.SimpleRoutes.UNRECOGNIZED : result; + } + return glide_request.GlideRequestOuterClass.SimpleRoutes.AllNodes; + } + + public static final int SLOT_KEY_ROUTE_FIELD_NUMBER = 2; + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return Whether the slotKeyRoute field is set. + */ + @java.lang.Override + public boolean hasSlotKeyRoute() { + return valueCase_ == 2; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return The slotKeyRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRoute getSlotKeyRoute() { + if (valueCase_ == 2) { + return (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder getSlotKeyRouteOrBuilder() { + if (valueCase_ == 2) { + return (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + + public static final int SLOT_ID_ROUTE_FIELD_NUMBER = 3; + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return Whether the slotIdRoute field is set. + */ + @java.lang.Override + public boolean hasSlotIdRoute() { + return valueCase_ == 3; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return The slotIdRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRoute getSlotIdRoute() { + if (valueCase_ == 3) { + return (glide_request.GlideRequestOuterClass.SlotIdRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder getSlotIdRouteOrBuilder() { + if (valueCase_ == 3) { + return (glide_request.GlideRequestOuterClass.SlotIdRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + + public static final int BY_ADDRESS_ROUTE_FIELD_NUMBER = 4; + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return Whether the byAddressRoute field is set. + */ + @java.lang.Override + public boolean hasByAddressRoute() { + return valueCase_ == 4; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return The byAddressRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRoute getByAddressRoute() { + if (valueCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ByAddressRoute) value_; + } + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder getByAddressRouteOrBuilder() { + if (valueCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ByAddressRoute) value_; + } + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + + 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 (valueCase_ == 1) { + output.writeEnum(1, ((java.lang.Integer) value_)); + } + if (valueCase_ == 2) { + output.writeMessage(2, (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_); + } + if (valueCase_ == 3) { + output.writeMessage(3, (glide_request.GlideRequestOuterClass.SlotIdRoute) value_); + } + if (valueCase_ == 4) { + output.writeMessage(4, (glide_request.GlideRequestOuterClass.ByAddressRoute) value_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (valueCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) value_)); + } + if (valueCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_); + } + if (valueCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (glide_request.GlideRequestOuterClass.SlotIdRoute) value_); + } + if (valueCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (glide_request.GlideRequestOuterClass.ByAddressRoute) value_); + } + 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 glide_request.GlideRequestOuterClass.Routes)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.Routes other = (glide_request.GlideRequestOuterClass.Routes) obj; + + if (!getValueCase().equals(other.getValueCase())) return false; + switch (valueCase_) { + case 1: + if (getSimpleRoutesValue() + != other.getSimpleRoutesValue()) return false; + break; + case 2: + if (!getSlotKeyRoute() + .equals(other.getSlotKeyRoute())) return false; + break; + case 3: + if (!getSlotIdRoute() + .equals(other.getSlotIdRoute())) return false; + break; + case 4: + if (!getByAddressRoute() + .equals(other.getByAddressRoute())) return false; + break; + case 0: + default: + } + 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(); + switch (valueCase_) { + case 1: + hash = (37 * hash) + SIMPLE_ROUTES_FIELD_NUMBER; + hash = (53 * hash) + getSimpleRoutesValue(); + break; + case 2: + hash = (37 * hash) + SLOT_KEY_ROUTE_FIELD_NUMBER; + hash = (53 * hash) + getSlotKeyRoute().hashCode(); + break; + case 3: + hash = (37 * hash) + SLOT_ID_ROUTE_FIELD_NUMBER; + hash = (53 * hash) + getSlotIdRoute().hashCode(); + break; + case 4: + hash = (37 * hash) + BY_ADDRESS_ROUTE_FIELD_NUMBER; + hash = (53 * hash) + getByAddressRoute().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.Routes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.Routes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Routes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.Routes 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.Routes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.Routes) + glide_request.GlideRequestOuterClass.RoutesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Routes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Routes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Routes.class, glide_request.GlideRequestOuterClass.Routes.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.Routes.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (slotKeyRouteBuilder_ != null) { + slotKeyRouteBuilder_.clear(); + } + if (slotIdRouteBuilder_ != null) { + slotIdRouteBuilder_.clear(); + } + if (byAddressRouteBuilder_ != null) { + byAddressRouteBuilder_.clear(); + } + valueCase_ = 0; + value_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Routes_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Routes getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.Routes.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Routes build() { + glide_request.GlideRequestOuterClass.Routes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Routes buildPartial() { + glide_request.GlideRequestOuterClass.Routes result = new glide_request.GlideRequestOuterClass.Routes(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.Routes result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(glide_request.GlideRequestOuterClass.Routes result) { + result.valueCase_ = valueCase_; + result.value_ = this.value_; + if (valueCase_ == 2 && + slotKeyRouteBuilder_ != null) { + result.value_ = slotKeyRouteBuilder_.build(); + } + if (valueCase_ == 3 && + slotIdRouteBuilder_ != null) { + result.value_ = slotIdRouteBuilder_.build(); + } + if (valueCase_ == 4 && + byAddressRouteBuilder_ != null) { + result.value_ = byAddressRouteBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.Routes) { + return mergeFrom((glide_request.GlideRequestOuterClass.Routes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.Routes other) { + if (other == glide_request.GlideRequestOuterClass.Routes.getDefaultInstance()) return this; + switch (other.getValueCase()) { + case SIMPLE_ROUTES: { + setSimpleRoutesValue(other.getSimpleRoutesValue()); + break; + } + case SLOT_KEY_ROUTE: { + mergeSlotKeyRoute(other.getSlotKeyRoute()); + break; + } + case SLOT_ID_ROUTE: { + mergeSlotIdRoute(other.getSlotIdRoute()); + break; + } + case BY_ADDRESS_ROUTE: { + mergeByAddressRoute(other.getByAddressRoute()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + 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 8: { + int rawValue = input.readEnum(); + valueCase_ = 1; + value_ = rawValue; + break; + } // case 8 + case 18: { + input.readMessage( + getSlotKeyRouteFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getSlotIdRouteFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getByAddressRouteFieldBuilder().getBuilder(), + extensionRegistry); + valueCase_ = 4; + break; + } // case 34 + 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 valueCase_ = 0; + private java.lang.Object value_; + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); + } + + public Builder clearValue() { + valueCase_ = 0; + value_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return Whether the simpleRoutes field is set. + */ + @java.lang.Override + public boolean hasSimpleRoutes() { + return valueCase_ == 1; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The enum numeric value on the wire for simpleRoutes. + */ + @java.lang.Override + public int getSimpleRoutesValue() { + if (valueCase_ == 1) { + return ((java.lang.Integer) value_).intValue(); + } + return 0; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @param value The enum numeric value on the wire for simpleRoutes to set. + * @return This builder for chaining. + */ + public Builder setSimpleRoutesValue(int value) { + valueCase_ = 1; + value_ = value; + onChanged(); + return this; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return The simpleRoutes. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SimpleRoutes getSimpleRoutes() { + if (valueCase_ == 1) { + glide_request.GlideRequestOuterClass.SimpleRoutes result = glide_request.GlideRequestOuterClass.SimpleRoutes.forNumber( + (java.lang.Integer) value_); + return result == null ? glide_request.GlideRequestOuterClass.SimpleRoutes.UNRECOGNIZED : result; + } + return glide_request.GlideRequestOuterClass.SimpleRoutes.AllNodes; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @param value The simpleRoutes to set. + * @return This builder for chaining. + */ + public Builder setSimpleRoutes(glide_request.GlideRequestOuterClass.SimpleRoutes value) { + if (value == null) { + throw new NullPointerException(); + } + valueCase_ = 1; + value_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .glide_request.SimpleRoutes simple_routes = 1; + * @return This builder for chaining. + */ + public Builder clearSimpleRoutes() { + if (valueCase_ == 1) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotKeyRoute, glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder, glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder> slotKeyRouteBuilder_; + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return Whether the slotKeyRoute field is set. + */ + @java.lang.Override + public boolean hasSlotKeyRoute() { + return valueCase_ == 2; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + * @return The slotKeyRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRoute getSlotKeyRoute() { + if (slotKeyRouteBuilder_ == null) { + if (valueCase_ == 2) { + return (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } else { + if (valueCase_ == 2) { + return slotKeyRouteBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + public Builder setSlotKeyRoute(glide_request.GlideRequestOuterClass.SlotKeyRoute value) { + if (slotKeyRouteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + slotKeyRouteBuilder_.setMessage(value); + } + valueCase_ = 2; + return this; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + public Builder setSlotKeyRoute( + glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder builderForValue) { + if (slotKeyRouteBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + slotKeyRouteBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 2; + return this; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + public Builder mergeSlotKeyRoute(glide_request.GlideRequestOuterClass.SlotKeyRoute value) { + if (slotKeyRouteBuilder_ == null) { + if (valueCase_ == 2 && + value_ != glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance()) { + value_ = glide_request.GlideRequestOuterClass.SlotKeyRoute.newBuilder((glide_request.GlideRequestOuterClass.SlotKeyRoute) value_) + .mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + if (valueCase_ == 2) { + slotKeyRouteBuilder_.mergeFrom(value); + } else { + slotKeyRouteBuilder_.setMessage(value); + } + } + valueCase_ = 2; + return this; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + public Builder clearSlotKeyRoute() { + if (slotKeyRouteBuilder_ == null) { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + } + slotKeyRouteBuilder_.clear(); + } + return this; + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + public glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder getSlotKeyRouteBuilder() { + return getSlotKeyRouteFieldBuilder().getBuilder(); + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder getSlotKeyRouteOrBuilder() { + if ((valueCase_ == 2) && (slotKeyRouteBuilder_ != null)) { + return slotKeyRouteBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 2) { + return (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + } + /** + * .glide_request.SlotKeyRoute slot_key_route = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotKeyRoute, glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder, glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder> + getSlotKeyRouteFieldBuilder() { + if (slotKeyRouteBuilder_ == null) { + if (!(valueCase_ == 2)) { + value_ = glide_request.GlideRequestOuterClass.SlotKeyRoute.getDefaultInstance(); + } + slotKeyRouteBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotKeyRoute, glide_request.GlideRequestOuterClass.SlotKeyRoute.Builder, glide_request.GlideRequestOuterClass.SlotKeyRouteOrBuilder>( + (glide_request.GlideRequestOuterClass.SlotKeyRoute) value_, + getParentForChildren(), + isClean()); + value_ = null; + } + valueCase_ = 2; + onChanged(); + return slotKeyRouteBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotIdRoute, glide_request.GlideRequestOuterClass.SlotIdRoute.Builder, glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder> slotIdRouteBuilder_; + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return Whether the slotIdRoute field is set. + */ + @java.lang.Override + public boolean hasSlotIdRoute() { + return valueCase_ == 3; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + * @return The slotIdRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRoute getSlotIdRoute() { + if (slotIdRouteBuilder_ == null) { + if (valueCase_ == 3) { + return (glide_request.GlideRequestOuterClass.SlotIdRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } else { + if (valueCase_ == 3) { + return slotIdRouteBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + public Builder setSlotIdRoute(glide_request.GlideRequestOuterClass.SlotIdRoute value) { + if (slotIdRouteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + slotIdRouteBuilder_.setMessage(value); + } + valueCase_ = 3; + return this; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + public Builder setSlotIdRoute( + glide_request.GlideRequestOuterClass.SlotIdRoute.Builder builderForValue) { + if (slotIdRouteBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + slotIdRouteBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 3; + return this; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + public Builder mergeSlotIdRoute(glide_request.GlideRequestOuterClass.SlotIdRoute value) { + if (slotIdRouteBuilder_ == null) { + if (valueCase_ == 3 && + value_ != glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance()) { + value_ = glide_request.GlideRequestOuterClass.SlotIdRoute.newBuilder((glide_request.GlideRequestOuterClass.SlotIdRoute) value_) + .mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + if (valueCase_ == 3) { + slotIdRouteBuilder_.mergeFrom(value); + } else { + slotIdRouteBuilder_.setMessage(value); + } + } + valueCase_ = 3; + return this; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + public Builder clearSlotIdRoute() { + if (slotIdRouteBuilder_ == null) { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + } + slotIdRouteBuilder_.clear(); + } + return this; + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + public glide_request.GlideRequestOuterClass.SlotIdRoute.Builder getSlotIdRouteBuilder() { + return getSlotIdRouteFieldBuilder().getBuilder(); + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder getSlotIdRouteOrBuilder() { + if ((valueCase_ == 3) && (slotIdRouteBuilder_ != null)) { + return slotIdRouteBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 3) { + return (glide_request.GlideRequestOuterClass.SlotIdRoute) value_; + } + return glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + } + /** + * .glide_request.SlotIdRoute slot_id_route = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotIdRoute, glide_request.GlideRequestOuterClass.SlotIdRoute.Builder, glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder> + getSlotIdRouteFieldBuilder() { + if (slotIdRouteBuilder_ == null) { + if (!(valueCase_ == 3)) { + value_ = glide_request.GlideRequestOuterClass.SlotIdRoute.getDefaultInstance(); + } + slotIdRouteBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.SlotIdRoute, glide_request.GlideRequestOuterClass.SlotIdRoute.Builder, glide_request.GlideRequestOuterClass.SlotIdRouteOrBuilder>( + (glide_request.GlideRequestOuterClass.SlotIdRoute) value_, + getParentForChildren(), + isClean()); + value_ = null; + } + valueCase_ = 3; + onChanged(); + return slotIdRouteBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ByAddressRoute, glide_request.GlideRequestOuterClass.ByAddressRoute.Builder, glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder> byAddressRouteBuilder_; + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return Whether the byAddressRoute field is set. + */ + @java.lang.Override + public boolean hasByAddressRoute() { + return valueCase_ == 4; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + * @return The byAddressRoute. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRoute getByAddressRoute() { + if (byAddressRouteBuilder_ == null) { + if (valueCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ByAddressRoute) value_; + } + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } else { + if (valueCase_ == 4) { + return byAddressRouteBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + public Builder setByAddressRoute(glide_request.GlideRequestOuterClass.ByAddressRoute value) { + if (byAddressRouteBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + value_ = value; + onChanged(); + } else { + byAddressRouteBuilder_.setMessage(value); + } + valueCase_ = 4; + return this; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + public Builder setByAddressRoute( + glide_request.GlideRequestOuterClass.ByAddressRoute.Builder builderForValue) { + if (byAddressRouteBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + byAddressRouteBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 4; + return this; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + public Builder mergeByAddressRoute(glide_request.GlideRequestOuterClass.ByAddressRoute value) { + if (byAddressRouteBuilder_ == null) { + if (valueCase_ == 4 && + value_ != glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance()) { + value_ = glide_request.GlideRequestOuterClass.ByAddressRoute.newBuilder((glide_request.GlideRequestOuterClass.ByAddressRoute) value_) + .mergeFrom(value).buildPartial(); + } else { + value_ = value; + } + onChanged(); + } else { + if (valueCase_ == 4) { + byAddressRouteBuilder_.mergeFrom(value); + } else { + byAddressRouteBuilder_.setMessage(value); + } + } + valueCase_ = 4; + return this; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + public Builder clearByAddressRoute() { + if (byAddressRouteBuilder_ == null) { + if (valueCase_ == 4) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 4) { + valueCase_ = 0; + value_ = null; + } + byAddressRouteBuilder_.clear(); + } + return this; + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + public glide_request.GlideRequestOuterClass.ByAddressRoute.Builder getByAddressRouteBuilder() { + return getByAddressRouteFieldBuilder().getBuilder(); + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder getByAddressRouteOrBuilder() { + if ((valueCase_ == 4) && (byAddressRouteBuilder_ != null)) { + return byAddressRouteBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ByAddressRoute) value_; + } + return glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + } + /** + * .glide_request.ByAddressRoute by_address_route = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ByAddressRoute, glide_request.GlideRequestOuterClass.ByAddressRoute.Builder, glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder> + getByAddressRouteFieldBuilder() { + if (byAddressRouteBuilder_ == null) { + if (!(valueCase_ == 4)) { + value_ = glide_request.GlideRequestOuterClass.ByAddressRoute.getDefaultInstance(); + } + byAddressRouteBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ByAddressRoute, glide_request.GlideRequestOuterClass.ByAddressRoute.Builder, glide_request.GlideRequestOuterClass.ByAddressRouteOrBuilder>( + (glide_request.GlideRequestOuterClass.ByAddressRoute) value_, + getParentForChildren(), + isClean()); + value_ = null; + } + valueCase_ = 4; + onChanged(); + return byAddressRouteBuilder_; + } + + // @@protoc_insertion_point(builder_scope:glide_request.Routes) + } + + // @@protoc_insertion_point(class_scope:glide_request.Routes) + private static final glide_request.GlideRequestOuterClass.Routes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.Routes(); + } + + public static glide_request.GlideRequestOuterClass.Routes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Routes 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 glide_request.GlideRequestOuterClass.Routes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CommandOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.Command) + com.google.protobuf.MessageOrBuilder { + + /** + * .glide_request.RequestType request_type = 1; + * @return The enum numeric value on the wire for requestType. + */ + int getRequestTypeValue(); + /** + * .glide_request.RequestType request_type = 1; + * @return The requestType. + */ + glide_request.GlideRequestOuterClass.RequestType getRequestType(); + + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return Whether the argsArray field is set. + */ + boolean hasArgsArray(); + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return The argsArray. + */ + glide_request.GlideRequestOuterClass.Command.ArgsArray getArgsArray(); + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder getArgsArrayOrBuilder(); + + /** + * uint64 args_vec_pointer = 3; + * @return Whether the argsVecPointer field is set. + */ + boolean hasArgsVecPointer(); + /** + * uint64 args_vec_pointer = 3; + * @return The argsVecPointer. + */ + long getArgsVecPointer(); + + glide_request.GlideRequestOuterClass.Command.ArgsCase getArgsCase(); + } + /** + * Protobuf type {@code glide_request.Command} + */ + public static final class Command extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.Command) + CommandOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + Command.class.getName()); + } + // Use Command.newBuilder() to construct. + private Command(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Command() { + requestType_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Command.class, glide_request.GlideRequestOuterClass.Command.Builder.class); + } + + public interface ArgsArrayOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.Command.ArgsArray) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated bytes args = 1; + * @return A list containing the args. + */ + java.util.List getArgsList(); + /** + * repeated bytes args = 1; + * @return The count of args. + */ + int getArgsCount(); + /** + * repeated bytes args = 1; + * @param index The index of the element to return. + * @return The args at the given index. + */ + com.google.protobuf.ByteString getArgs(int index); + } + /** + * Protobuf type {@code glide_request.Command.ArgsArray} + */ + public static final class ArgsArray extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.Command.ArgsArray) + ArgsArrayOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + ArgsArray.class.getName()); + } + // Use ArgsArray.newBuilder() to construct. + private ArgsArray(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ArgsArray() { + args_ = emptyList(com.google.protobuf.ByteString.class); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_ArgsArray_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_ArgsArray_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Command.ArgsArray.class, glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder.class); + } + + public static final int ARGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.ProtobufList args_ = + emptyList(com.google.protobuf.ByteString.class); + /** + * repeated bytes args = 1; + * @return A list containing the args. + */ + @java.lang.Override + public java.util.List + getArgsList() { + return args_; + } + /** + * repeated bytes args = 1; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated bytes args = 1; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public com.google.protobuf.ByteString getArgs(int index) { + return args_.get(index); + } + + 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 { + for (int i = 0; i < args_.size(); i++) { + output.writeBytes(1, args_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < args_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(args_.get(i)); + } + size += dataSize; + size += 1 * getArgsList().size(); + } + 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 glide_request.GlideRequestOuterClass.Command.ArgsArray)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.Command.ArgsArray other = (glide_request.GlideRequestOuterClass.Command.ArgsArray) obj; + + if (!getArgsList() + .equals(other.getArgsList())) 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 (getArgsCount() > 0) { + hash = (37 * hash) + ARGS_FIELD_NUMBER; + hash = (53 * hash) + getArgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Command.ArgsArray parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.Command.ArgsArray 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.Command.ArgsArray} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.Command.ArgsArray) + glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_ArgsArray_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_ArgsArray_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Command.ArgsArray.class, glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.Command.ArgsArray.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + args_ = emptyList(com.google.protobuf.ByteString.class); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_ArgsArray_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArray getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArray build() { + glide_request.GlideRequestOuterClass.Command.ArgsArray result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArray buildPartial() { + glide_request.GlideRequestOuterClass.Command.ArgsArray result = new glide_request.GlideRequestOuterClass.Command.ArgsArray(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.Command.ArgsArray result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + args_.makeImmutable(); + result.args_ = args_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.Command.ArgsArray) { + return mergeFrom((glide_request.GlideRequestOuterClass.Command.ArgsArray)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.Command.ArgsArray other) { + if (other == glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance()) return this; + if (!other.args_.isEmpty()) { + if (args_.isEmpty()) { + args_ = other.args_; + args_.makeImmutable(); + bitField0_ |= 0x00000001; + } else { + ensureArgsIsMutable(); + args_.addAll(other.args_); + } + onChanged(); + } + 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: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureArgsIsMutable(); + args_.add(v); + break; + } // case 10 + 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.Internal.ProtobufList args_ = emptyList(com.google.protobuf.ByteString.class); + private void ensureArgsIsMutable() { + if (!args_.isModifiable()) { + args_ = makeMutableCopy(args_); + } + bitField0_ |= 0x00000001; + } + /** + * repeated bytes args = 1; + * @return A list containing the args. + */ + public java.util.List + getArgsList() { + args_.makeImmutable(); + return args_; + } + /** + * repeated bytes args = 1; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated bytes args = 1; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public com.google.protobuf.ByteString getArgs(int index) { + return args_.get(index); + } + /** + * repeated bytes args = 1; + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. + */ + public Builder setArgs( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated bytes args = 1; + * @param value The args to add. + * @return This builder for chaining. + */ + public Builder addArgs(com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated bytes args = 1; + * @param values The args to add. + * @return This builder for chaining. + */ + public Builder addAllArgs( + java.lang.Iterable values) { + ensureArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * repeated bytes args = 1; + * @return This builder for chaining. + */ + public Builder clearArgs() { + args_ = emptyList(com.google.protobuf.ByteString.class); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.Command.ArgsArray) + } + + // @@protoc_insertion_point(class_scope:glide_request.Command.ArgsArray) + private static final glide_request.GlideRequestOuterClass.Command.ArgsArray DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.Command.ArgsArray(); + } + + public static glide_request.GlideRequestOuterClass.Command.ArgsArray getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArgsArray 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 glide_request.GlideRequestOuterClass.Command.ArgsArray getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int argsCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object args_; + public enum ArgsCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ARGS_ARRAY(2), + ARGS_VEC_POINTER(3), + ARGS_NOT_SET(0); + private final int value; + private ArgsCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ArgsCase valueOf(int value) { + return forNumber(value); + } + + public static ArgsCase forNumber(int value) { + switch (value) { + case 2: return ARGS_ARRAY; + case 3: return ARGS_VEC_POINTER; + case 0: return ARGS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public ArgsCase + getArgsCase() { + return ArgsCase.forNumber( + argsCase_); + } + + public static final int REQUEST_TYPE_FIELD_NUMBER = 1; + private int requestType_ = 0; + /** + * .glide_request.RequestType request_type = 1; + * @return The enum numeric value on the wire for requestType. + */ + @java.lang.Override public int getRequestTypeValue() { + return requestType_; + } + /** + * .glide_request.RequestType request_type = 1; + * @return The requestType. + */ + @java.lang.Override public glide_request.GlideRequestOuterClass.RequestType getRequestType() { + glide_request.GlideRequestOuterClass.RequestType result = glide_request.GlideRequestOuterClass.RequestType.forNumber(requestType_); + return result == null ? glide_request.GlideRequestOuterClass.RequestType.UNRECOGNIZED : result; + } + + public static final int ARGS_ARRAY_FIELD_NUMBER = 2; + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return Whether the argsArray field is set. + */ + @java.lang.Override + public boolean hasArgsArray() { + return argsCase_ == 2; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return The argsArray. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArray getArgsArray() { + if (argsCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_; + } + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder getArgsArrayOrBuilder() { + if (argsCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_; + } + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + + public static final int ARGS_VEC_POINTER_FIELD_NUMBER = 3; + /** + * uint64 args_vec_pointer = 3; + * @return Whether the argsVecPointer field is set. + */ + @java.lang.Override + public boolean hasArgsVecPointer() { + return argsCase_ == 3; + } + /** + * uint64 args_vec_pointer = 3; + * @return The argsVecPointer. + */ + @java.lang.Override + public long getArgsVecPointer() { + if (argsCase_ == 3) { + return (java.lang.Long) args_; + } + return 0L; + } + + 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 (requestType_ != glide_request.GlideRequestOuterClass.RequestType.InvalidRequest.getNumber()) { + output.writeEnum(1, requestType_); + } + if (argsCase_ == 2) { + output.writeMessage(2, (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_); + } + if (argsCase_ == 3) { + output.writeUInt64( + 3, (long)((java.lang.Long) args_)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (requestType_ != glide_request.GlideRequestOuterClass.RequestType.InvalidRequest.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, requestType_); + } + if (argsCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_); + } + if (argsCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size( + 3, (long)((java.lang.Long) args_)); + } + 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 glide_request.GlideRequestOuterClass.Command)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.Command other = (glide_request.GlideRequestOuterClass.Command) obj; + + if (requestType_ != other.requestType_) return false; + if (!getArgsCase().equals(other.getArgsCase())) return false; + switch (argsCase_) { + case 2: + if (!getArgsArray() + .equals(other.getArgsArray())) return false; + break; + case 3: + if (getArgsVecPointer() + != other.getArgsVecPointer()) return false; + break; + case 0: + default: + } + 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(); + hash = (37 * hash) + REQUEST_TYPE_FIELD_NUMBER; + hash = (53 * hash) + requestType_; + switch (argsCase_) { + case 2: + hash = (37 * hash) + ARGS_ARRAY_FIELD_NUMBER; + hash = (53 * hash) + getArgsArray().hashCode(); + break; + case 3: + hash = (37 * hash) + ARGS_VEC_POINTER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getArgsVecPointer()); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.Command parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.Command parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.Command parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Command parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.Command 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.Command} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.Command) + glide_request.GlideRequestOuterClass.CommandOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Command.class, glide_request.GlideRequestOuterClass.Command.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.Command.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + requestType_ = 0; + if (argsArrayBuilder_ != null) { + argsArrayBuilder_.clear(); + } + argsCase_ = 0; + args_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Command_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command build() { + glide_request.GlideRequestOuterClass.Command result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command buildPartial() { + glide_request.GlideRequestOuterClass.Command result = new glide_request.GlideRequestOuterClass.Command(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.Command result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestType_ = requestType_; + } + } + + private void buildPartialOneofs(glide_request.GlideRequestOuterClass.Command result) { + result.argsCase_ = argsCase_; + result.args_ = this.args_; + if (argsCase_ == 2 && + argsArrayBuilder_ != null) { + result.args_ = argsArrayBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.Command) { + return mergeFrom((glide_request.GlideRequestOuterClass.Command)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.Command other) { + if (other == glide_request.GlideRequestOuterClass.Command.getDefaultInstance()) return this; + if (other.requestType_ != 0) { + setRequestTypeValue(other.getRequestTypeValue()); + } + switch (other.getArgsCase()) { + case ARGS_ARRAY: { + mergeArgsArray(other.getArgsArray()); + break; + } + case ARGS_VEC_POINTER: { + setArgsVecPointer(other.getArgsVecPointer()); + break; + } + case ARGS_NOT_SET: { + break; + } + } + 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 8: { + requestType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getArgsArrayFieldBuilder().getBuilder(), + extensionRegistry); + argsCase_ = 2; + break; + } // case 18 + case 24: { + args_ = input.readUInt64(); + argsCase_ = 3; + break; + } // case 24 + 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 argsCase_ = 0; + private java.lang.Object args_; + public ArgsCase + getArgsCase() { + return ArgsCase.forNumber( + argsCase_); + } + + public Builder clearArgs() { + argsCase_ = 0; + args_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private int requestType_ = 0; + /** + * .glide_request.RequestType request_type = 1; + * @return The enum numeric value on the wire for requestType. + */ + @java.lang.Override public int getRequestTypeValue() { + return requestType_; + } + /** + * .glide_request.RequestType request_type = 1; + * @param value The enum numeric value on the wire for requestType to set. + * @return This builder for chaining. + */ + public Builder setRequestTypeValue(int value) { + requestType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * .glide_request.RequestType request_type = 1; + * @return The requestType. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.RequestType getRequestType() { + glide_request.GlideRequestOuterClass.RequestType result = glide_request.GlideRequestOuterClass.RequestType.forNumber(requestType_); + return result == null ? glide_request.GlideRequestOuterClass.RequestType.UNRECOGNIZED : result; + } + /** + * .glide_request.RequestType request_type = 1; + * @param value The requestType to set. + * @return This builder for chaining. + */ + public Builder setRequestType(glide_request.GlideRequestOuterClass.RequestType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + requestType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .glide_request.RequestType request_type = 1; + * @return This builder for chaining. + */ + public Builder clearRequestType() { + bitField0_ = (bitField0_ & ~0x00000001); + requestType_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command.ArgsArray, glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder, glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder> argsArrayBuilder_; + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return Whether the argsArray field is set. + */ + @java.lang.Override + public boolean hasArgsArray() { + return argsCase_ == 2; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + * @return The argsArray. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArray getArgsArray() { + if (argsArrayBuilder_ == null) { + if (argsCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_; + } + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } else { + if (argsCase_ == 2) { + return argsArrayBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + public Builder setArgsArray(glide_request.GlideRequestOuterClass.Command.ArgsArray value) { + if (argsArrayBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + args_ = value; + onChanged(); + } else { + argsArrayBuilder_.setMessage(value); + } + argsCase_ = 2; + return this; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + public Builder setArgsArray( + glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder builderForValue) { + if (argsArrayBuilder_ == null) { + args_ = builderForValue.build(); + onChanged(); + } else { + argsArrayBuilder_.setMessage(builderForValue.build()); + } + argsCase_ = 2; + return this; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + public Builder mergeArgsArray(glide_request.GlideRequestOuterClass.Command.ArgsArray value) { + if (argsArrayBuilder_ == null) { + if (argsCase_ == 2 && + args_ != glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance()) { + args_ = glide_request.GlideRequestOuterClass.Command.ArgsArray.newBuilder((glide_request.GlideRequestOuterClass.Command.ArgsArray) args_) + .mergeFrom(value).buildPartial(); + } else { + args_ = value; + } + onChanged(); + } else { + if (argsCase_ == 2) { + argsArrayBuilder_.mergeFrom(value); + } else { + argsArrayBuilder_.setMessage(value); + } + } + argsCase_ = 2; + return this; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + public Builder clearArgsArray() { + if (argsArrayBuilder_ == null) { + if (argsCase_ == 2) { + argsCase_ = 0; + args_ = null; + onChanged(); + } + } else { + if (argsCase_ == 2) { + argsCase_ = 0; + args_ = null; + } + argsArrayBuilder_.clear(); + } + return this; + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + public glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder getArgsArrayBuilder() { + return getArgsArrayFieldBuilder().getBuilder(); + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder getArgsArrayOrBuilder() { + if ((argsCase_ == 2) && (argsArrayBuilder_ != null)) { + return argsArrayBuilder_.getMessageOrBuilder(); + } else { + if (argsCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_; + } + return glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + } + /** + * .glide_request.Command.ArgsArray args_array = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command.ArgsArray, glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder, glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder> + getArgsArrayFieldBuilder() { + if (argsArrayBuilder_ == null) { + if (!(argsCase_ == 2)) { + args_ = glide_request.GlideRequestOuterClass.Command.ArgsArray.getDefaultInstance(); + } + argsArrayBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command.ArgsArray, glide_request.GlideRequestOuterClass.Command.ArgsArray.Builder, glide_request.GlideRequestOuterClass.Command.ArgsArrayOrBuilder>( + (glide_request.GlideRequestOuterClass.Command.ArgsArray) args_, + getParentForChildren(), + isClean()); + args_ = null; + } + argsCase_ = 2; + onChanged(); + return argsArrayBuilder_; + } + + /** + * uint64 args_vec_pointer = 3; + * @return Whether the argsVecPointer field is set. + */ + public boolean hasArgsVecPointer() { + return argsCase_ == 3; + } + /** + * uint64 args_vec_pointer = 3; + * @return The argsVecPointer. + */ + public long getArgsVecPointer() { + if (argsCase_ == 3) { + return (java.lang.Long) args_; + } + return 0L; + } + /** + * uint64 args_vec_pointer = 3; + * @param value The argsVecPointer to set. + * @return This builder for chaining. + */ + public Builder setArgsVecPointer(long value) { + + argsCase_ = 3; + args_ = value; + onChanged(); + return this; + } + /** + * uint64 args_vec_pointer = 3; + * @return This builder for chaining. + */ + public Builder clearArgsVecPointer() { + if (argsCase_ == 3) { + argsCase_ = 0; + args_ = null; + onChanged(); + } + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.Command) + } + + // @@protoc_insertion_point(class_scope:glide_request.Command) + private static final glide_request.GlideRequestOuterClass.Command DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.Command(); + } + + public static glide_request.GlideRequestOuterClass.Command getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Command 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 glide_request.GlideRequestOuterClass.Command getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ScriptInvocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.ScriptInvocation) + com.google.protobuf.MessageOrBuilder { + + /** + * string hash = 1; + * @return The hash. + */ + java.lang.String getHash(); + /** + * string hash = 1; + * @return The bytes for hash. + */ + com.google.protobuf.ByteString + getHashBytes(); + + /** + * repeated string keys = 2; + * @return A list containing the keys. + */ + java.util.List + getKeysList(); + /** + * repeated string keys = 2; + * @return The count of keys. + */ + int getKeysCount(); + /** + * repeated string keys = 2; + * @param index The index of the element to return. + * @return The keys at the given index. + */ + java.lang.String getKeys(int index); + /** + * repeated string keys = 2; + * @param index The index of the value to return. + * @return The bytes of the keys at the given index. + */ + com.google.protobuf.ByteString + getKeysBytes(int index); + + /** + * repeated string args = 3; + * @return A list containing the args. + */ + java.util.List + getArgsList(); + /** + * repeated string args = 3; + * @return The count of args. + */ + int getArgsCount(); + /** + * repeated string args = 3; + * @param index The index of the element to return. + * @return The args at the given index. + */ + java.lang.String getArgs(int index); + /** + * repeated string args = 3; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + com.google.protobuf.ByteString + getArgsBytes(int index); + } + /** + * Protobuf type {@code glide_request.ScriptInvocation} + */ + public static final class ScriptInvocation extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.ScriptInvocation) + ScriptInvocationOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + ScriptInvocation.class.getName()); + } + // Use ScriptInvocation.newBuilder() to construct. + private ScriptInvocation(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private ScriptInvocation() { + hash_ = ""; + keys_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + args_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ScriptInvocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ScriptInvocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.ScriptInvocation.class, glide_request.GlideRequestOuterClass.ScriptInvocation.Builder.class); + } + + public static final int HASH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object hash_ = ""; + /** + * string hash = 1; + * @return The hash. + */ + @java.lang.Override + public java.lang.String getHash() { + java.lang.Object ref = hash_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hash_ = s; + return s; + } + } + /** + * string hash = 1; + * @return The bytes for hash. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getHashBytes() { + java.lang.Object ref = hash_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hash_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KEYS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList keys_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string keys = 2; + * @return A list containing the keys. + */ + public com.google.protobuf.ProtocolStringList + getKeysList() { + return keys_; + } + /** + * repeated string keys = 2; + * @return The count of keys. + */ + public int getKeysCount() { + return keys_.size(); + } + /** + * repeated string keys = 2; + * @param index The index of the element to return. + * @return The keys at the given index. + */ + public java.lang.String getKeys(int index) { + return keys_.get(index); + } + /** + * repeated string keys = 2; + * @param index The index of the value to return. + * @return The bytes of the keys at the given index. + */ + public com.google.protobuf.ByteString + getKeysBytes(int index) { + return keys_.getByteString(index); + } + + public static final int ARGS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList args_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string args = 3; + * @return A list containing the args. + */ + public com.google.protobuf.ProtocolStringList + getArgsList() { + return args_; + } + /** + * repeated string args = 3; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated string args = 3; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public java.lang.String getArgs(int index) { + return args_.get(index); + } + /** + * repeated string args = 3; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + public com.google.protobuf.ByteString + getArgsBytes(int index) { + return args_.getByteString(index); + } + + 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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(hash_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, hash_); + } + for (int i = 0; i < keys_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, keys_.getRaw(i)); + } + for (int i = 0; i < args_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, args_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hash_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, hash_); + } + { + int dataSize = 0; + for (int i = 0; i < keys_.size(); i++) { + dataSize += computeStringSizeNoTag(keys_.getRaw(i)); + } + size += dataSize; + size += 1 * getKeysList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < args_.size(); i++) { + dataSize += computeStringSizeNoTag(args_.getRaw(i)); + } + size += dataSize; + size += 1 * getArgsList().size(); + } + 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 glide_request.GlideRequestOuterClass.ScriptInvocation)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.ScriptInvocation other = (glide_request.GlideRequestOuterClass.ScriptInvocation) obj; + + if (!getHash() + .equals(other.getHash())) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; + if (!getArgsList() + .equals(other.getArgsList())) 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(); + hash = (37 * hash) + HASH_FIELD_NUMBER; + hash = (53 * hash) + getHash().hashCode(); + if (getKeysCount() > 0) { + hash = (37 * hash) + KEYS_FIELD_NUMBER; + hash = (53 * hash) + getKeysList().hashCode(); + } + if (getArgsCount() > 0) { + hash = (37 * hash) + ARGS_FIELD_NUMBER; + hash = (53 * hash) + getArgsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.ScriptInvocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.ScriptInvocation 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.ScriptInvocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.ScriptInvocation) + glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ScriptInvocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ScriptInvocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.ScriptInvocation.class, glide_request.GlideRequestOuterClass.ScriptInvocation.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.ScriptInvocation.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + hash_ = ""; + keys_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + args_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_ScriptInvocation_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocation getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocation build() { + glide_request.GlideRequestOuterClass.ScriptInvocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocation buildPartial() { + glide_request.GlideRequestOuterClass.ScriptInvocation result = new glide_request.GlideRequestOuterClass.ScriptInvocation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.ScriptInvocation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.hash_ = hash_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + keys_.makeImmutable(); + result.keys_ = keys_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + args_.makeImmutable(); + result.args_ = args_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.ScriptInvocation) { + return mergeFrom((glide_request.GlideRequestOuterClass.ScriptInvocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.ScriptInvocation other) { + if (other == glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance()) return this; + if (!other.getHash().isEmpty()) { + hash_ = other.hash_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.keys_.isEmpty()) { + if (keys_.isEmpty()) { + keys_ = other.keys_; + bitField0_ |= 0x00000002; + } else { + ensureKeysIsMutable(); + keys_.addAll(other.keys_); + } + onChanged(); + } + if (!other.args_.isEmpty()) { + if (args_.isEmpty()) { + args_ = other.args_; + bitField0_ |= 0x00000004; + } else { + ensureArgsIsMutable(); + args_.addAll(other.args_); + } + onChanged(); + } + 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: { + hash_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKeysIsMutable(); + keys_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureArgsIsMutable(); + args_.add(s); + break; + } // case 26 + 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 java.lang.Object hash_ = ""; + /** + * string hash = 1; + * @return The hash. + */ + public java.lang.String getHash() { + java.lang.Object ref = hash_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hash_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string hash = 1; + * @return The bytes for hash. + */ + public com.google.protobuf.ByteString + getHashBytes() { + java.lang.Object ref = hash_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hash_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string hash = 1; + * @param value The hash to set. + * @return This builder for chaining. + */ + public Builder setHash( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + hash_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string hash = 1; + * @return This builder for chaining. + */ + public Builder clearHash() { + hash_ = getDefaultInstance().getHash(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string hash = 1; + * @param value The bytes for hash to set. + * @return This builder for chaining. + */ + public Builder setHashBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + hash_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList keys_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKeysIsMutable() { + if (!keys_.isModifiable()) { + keys_ = new com.google.protobuf.LazyStringArrayList(keys_); + } + bitField0_ |= 0x00000002; + } + /** + * repeated string keys = 2; + * @return A list containing the keys. + */ + public com.google.protobuf.ProtocolStringList + getKeysList() { + keys_.makeImmutable(); + return keys_; + } + /** + * repeated string keys = 2; + * @return The count of keys. + */ + public int getKeysCount() { + return keys_.size(); + } + /** + * repeated string keys = 2; + * @param index The index of the element to return. + * @return The keys at the given index. + */ + public java.lang.String getKeys(int index) { + return keys_.get(index); + } + /** + * repeated string keys = 2; + * @param index The index of the value to return. + * @return The bytes of the keys at the given index. + */ + public com.google.protobuf.ByteString + getKeysBytes(int index) { + return keys_.getByteString(index); + } + /** + * repeated string keys = 2; + * @param index The index to set the value at. + * @param value The keys to set. + * @return This builder for chaining. + */ + public Builder setKeys( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKeysIsMutable(); + keys_.set(index, value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string keys = 2; + * @param value The keys to add. + * @return This builder for chaining. + */ + public Builder addKeys( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureKeysIsMutable(); + keys_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string keys = 2; + * @param values The keys to add. + * @return This builder for chaining. + */ + public Builder addAllKeys( + java.lang.Iterable values) { + ensureKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * repeated string keys = 2; + * @return This builder for chaining. + */ + public Builder clearKeys() { + keys_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; + onChanged(); + return this; + } + /** + * repeated string keys = 2; + * @param value The bytes of the keys to add. + * @return This builder for chaining. + */ + public Builder addKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureKeysIsMutable(); + keys_.add(value); + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList args_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureArgsIsMutable() { + if (!args_.isModifiable()) { + args_ = new com.google.protobuf.LazyStringArrayList(args_); + } + bitField0_ |= 0x00000004; + } + /** + * repeated string args = 3; + * @return A list containing the args. + */ + public com.google.protobuf.ProtocolStringList + getArgsList() { + args_.makeImmutable(); + return args_; + } + /** + * repeated string args = 3; + * @return The count of args. + */ + public int getArgsCount() { + return args_.size(); + } + /** + * repeated string args = 3; + * @param index The index of the element to return. + * @return The args at the given index. + */ + public java.lang.String getArgs(int index) { + return args_.get(index); + } + /** + * repeated string args = 3; + * @param index The index of the value to return. + * @return The bytes of the args at the given index. + */ + public com.google.protobuf.ByteString + getArgsBytes(int index) { + return args_.getByteString(index); + } + /** + * repeated string args = 3; + * @param index The index to set the value at. + * @param value The args to set. + * @return This builder for chaining. + */ + public Builder setArgs( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string args = 3; + * @param value The args to add. + * @return This builder for chaining. + */ + public Builder addArgs( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureArgsIsMutable(); + args_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string args = 3; + * @param values The args to add. + * @return This builder for chaining. + */ + public Builder addAllArgs( + java.lang.Iterable values) { + ensureArgsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * repeated string args = 3; + * @return This builder for chaining. + */ + public Builder clearArgs() { + args_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + * repeated string args = 3; + * @param value The bytes of the args to add. + * @return This builder for chaining. + */ + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureArgsIsMutable(); + args_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:glide_request.ScriptInvocation) + } + + // @@protoc_insertion_point(class_scope:glide_request.ScriptInvocation) + private static final glide_request.GlideRequestOuterClass.ScriptInvocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.ScriptInvocation(); + } + + public static glide_request.GlideRequestOuterClass.ScriptInvocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ScriptInvocation 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 glide_request.GlideRequestOuterClass.ScriptInvocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TransactionOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.Transaction) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .glide_request.Command commands = 1; + */ + java.util.List + getCommandsList(); + /** + * repeated .glide_request.Command commands = 1; + */ + glide_request.GlideRequestOuterClass.Command getCommands(int index); + /** + * repeated .glide_request.Command commands = 1; + */ + int getCommandsCount(); + /** + * repeated .glide_request.Command commands = 1; + */ + java.util.List + getCommandsOrBuilderList(); + /** + * repeated .glide_request.Command commands = 1; + */ + glide_request.GlideRequestOuterClass.CommandOrBuilder getCommandsOrBuilder( + int index); + } + /** + * Protobuf type {@code glide_request.Transaction} + */ + public static final class Transaction extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.Transaction) + TransactionOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + Transaction.class.getName()); + } + // Use Transaction.newBuilder() to construct. + private Transaction(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private Transaction() { + commands_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Transaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Transaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Transaction.class, glide_request.GlideRequestOuterClass.Transaction.Builder.class); + } + + public static final int COMMANDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List commands_; + /** + * repeated .glide_request.Command commands = 1; + */ + @java.lang.Override + public java.util.List getCommandsList() { + return commands_; + } + /** + * repeated .glide_request.Command commands = 1; + */ + @java.lang.Override + public java.util.List + getCommandsOrBuilderList() { + return commands_; + } + /** + * repeated .glide_request.Command commands = 1; + */ + @java.lang.Override + public int getCommandsCount() { + return commands_.size(); + } + /** + * repeated .glide_request.Command commands = 1; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command getCommands(int index) { + return commands_.get(index); + } + /** + * repeated .glide_request.Command commands = 1; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.CommandOrBuilder getCommandsOrBuilder( + int index) { + return commands_.get(index); + } + + 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 { + for (int i = 0; i < commands_.size(); i++) { + output.writeMessage(1, commands_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < commands_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, commands_.get(i)); + } + 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 glide_request.GlideRequestOuterClass.Transaction)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.Transaction other = (glide_request.GlideRequestOuterClass.Transaction) obj; + + if (!getCommandsList() + .equals(other.getCommandsList())) 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 (getCommandsCount() > 0) { + hash = (37 * hash) + COMMANDS_FIELD_NUMBER; + hash = (53 * hash) + getCommandsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.Transaction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.Transaction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.Transaction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.Transaction 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.Transaction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.Transaction) + glide_request.GlideRequestOuterClass.TransactionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Transaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Transaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.Transaction.class, glide_request.GlideRequestOuterClass.Transaction.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.Transaction.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (commandsBuilder_ == null) { + commands_ = java.util.Collections.emptyList(); + } else { + commands_ = null; + commandsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_Transaction_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Transaction getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Transaction build() { + glide_request.GlideRequestOuterClass.Transaction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.Transaction buildPartial() { + glide_request.GlideRequestOuterClass.Transaction result = new glide_request.GlideRequestOuterClass.Transaction(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(glide_request.GlideRequestOuterClass.Transaction result) { + if (commandsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + commands_ = java.util.Collections.unmodifiableList(commands_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.commands_ = commands_; + } else { + result.commands_ = commandsBuilder_.build(); + } + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.Transaction result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.Transaction) { + return mergeFrom((glide_request.GlideRequestOuterClass.Transaction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.Transaction other) { + if (other == glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance()) return this; + if (commandsBuilder_ == null) { + if (!other.commands_.isEmpty()) { + if (commands_.isEmpty()) { + commands_ = other.commands_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCommandsIsMutable(); + commands_.addAll(other.commands_); + } + onChanged(); + } + } else { + if (!other.commands_.isEmpty()) { + if (commandsBuilder_.isEmpty()) { + commandsBuilder_.dispose(); + commandsBuilder_ = null; + commands_ = other.commands_; + bitField0_ = (bitField0_ & ~0x00000001); + commandsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + getCommandsFieldBuilder() : null; + } else { + commandsBuilder_.addAllMessages(other.commands_); + } + } + } + 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: { + glide_request.GlideRequestOuterClass.Command m = + input.readMessage( + glide_request.GlideRequestOuterClass.Command.parser(), + extensionRegistry); + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + commands_.add(m); + } else { + commandsBuilder_.addMessage(m); + } + break; + } // case 10 + 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 java.util.List commands_ = + java.util.Collections.emptyList(); + private void ensureCommandsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + commands_ = new java.util.ArrayList(commands_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder> commandsBuilder_; + + /** + * repeated .glide_request.Command commands = 1; + */ + public java.util.List getCommandsList() { + if (commandsBuilder_ == null) { + return java.util.Collections.unmodifiableList(commands_); + } else { + return commandsBuilder_.getMessageList(); + } + } + /** + * repeated .glide_request.Command commands = 1; + */ + public int getCommandsCount() { + if (commandsBuilder_ == null) { + return commands_.size(); + } else { + return commandsBuilder_.getCount(); + } + } + /** + * repeated .glide_request.Command commands = 1; + */ + public glide_request.GlideRequestOuterClass.Command getCommands(int index) { + if (commandsBuilder_ == null) { + return commands_.get(index); + } else { + return commandsBuilder_.getMessage(index); + } + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder setCommands( + int index, glide_request.GlideRequestOuterClass.Command value) { + if (commandsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommandsIsMutable(); + commands_.set(index, value); + onChanged(); + } else { + commandsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder setCommands( + int index, glide_request.GlideRequestOuterClass.Command.Builder builderForValue) { + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + commands_.set(index, builderForValue.build()); + onChanged(); + } else { + commandsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder addCommands(glide_request.GlideRequestOuterClass.Command value) { + if (commandsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommandsIsMutable(); + commands_.add(value); + onChanged(); + } else { + commandsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder addCommands( + int index, glide_request.GlideRequestOuterClass.Command value) { + if (commandsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommandsIsMutable(); + commands_.add(index, value); + onChanged(); + } else { + commandsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder addCommands( + glide_request.GlideRequestOuterClass.Command.Builder builderForValue) { + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + commands_.add(builderForValue.build()); + onChanged(); + } else { + commandsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder addCommands( + int index, glide_request.GlideRequestOuterClass.Command.Builder builderForValue) { + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + commands_.add(index, builderForValue.build()); + onChanged(); + } else { + commandsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder addAllCommands( + java.lang.Iterable values) { + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, commands_); + onChanged(); + } else { + commandsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder clearCommands() { + if (commandsBuilder_ == null) { + commands_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + commandsBuilder_.clear(); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public Builder removeCommands(int index) { + if (commandsBuilder_ == null) { + ensureCommandsIsMutable(); + commands_.remove(index); + onChanged(); + } else { + commandsBuilder_.remove(index); + } + return this; + } + /** + * repeated .glide_request.Command commands = 1; + */ + public glide_request.GlideRequestOuterClass.Command.Builder getCommandsBuilder( + int index) { + return getCommandsFieldBuilder().getBuilder(index); + } + /** + * repeated .glide_request.Command commands = 1; + */ + public glide_request.GlideRequestOuterClass.CommandOrBuilder getCommandsOrBuilder( + int index) { + if (commandsBuilder_ == null) { + return commands_.get(index); } else { + return commandsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .glide_request.Command commands = 1; + */ + public java.util.List + getCommandsOrBuilderList() { + if (commandsBuilder_ != null) { + return commandsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(commands_); + } + } + /** + * repeated .glide_request.Command commands = 1; + */ + public glide_request.GlideRequestOuterClass.Command.Builder addCommandsBuilder() { + return getCommandsFieldBuilder().addBuilder( + glide_request.GlideRequestOuterClass.Command.getDefaultInstance()); + } + /** + * repeated .glide_request.Command commands = 1; + */ + public glide_request.GlideRequestOuterClass.Command.Builder addCommandsBuilder( + int index) { + return getCommandsFieldBuilder().addBuilder( + index, glide_request.GlideRequestOuterClass.Command.getDefaultInstance()); + } + /** + * repeated .glide_request.Command commands = 1; + */ + public java.util.List + getCommandsBuilderList() { + return getCommandsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder> + getCommandsFieldBuilder() { + if (commandsBuilder_ == null) { + commandsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder>( + commands_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + commands_ = null; + } + return commandsBuilder_; + } + + // @@protoc_insertion_point(builder_scope:glide_request.Transaction) + } + + // @@protoc_insertion_point(class_scope:glide_request.Transaction) + private static final glide_request.GlideRequestOuterClass.Transaction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.Transaction(); + } + + public static glide_request.GlideRequestOuterClass.Transaction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Transaction 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 glide_request.GlideRequestOuterClass.Transaction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GlideRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:glide_request.GlideRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * uint32 callback_idx = 1; + * @return The callbackIdx. + */ + int getCallbackIdx(); + + /** + * .glide_request.Command single_command = 2; + * @return Whether the singleCommand field is set. + */ + boolean hasSingleCommand(); + /** + * .glide_request.Command single_command = 2; + * @return The singleCommand. + */ + glide_request.GlideRequestOuterClass.Command getSingleCommand(); + /** + * .glide_request.Command single_command = 2; + */ + glide_request.GlideRequestOuterClass.CommandOrBuilder getSingleCommandOrBuilder(); + + /** + * .glide_request.Transaction transaction = 3; + * @return Whether the transaction field is set. + */ + boolean hasTransaction(); + /** + * .glide_request.Transaction transaction = 3; + * @return The transaction. + */ + glide_request.GlideRequestOuterClass.Transaction getTransaction(); + /** + * .glide_request.Transaction transaction = 3; + */ + glide_request.GlideRequestOuterClass.TransactionOrBuilder getTransactionOrBuilder(); + + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return Whether the scriptInvocation field is set. + */ + boolean hasScriptInvocation(); + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return The scriptInvocation. + */ + glide_request.GlideRequestOuterClass.ScriptInvocation getScriptInvocation(); + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder getScriptInvocationOrBuilder(); + + /** + * .glide_request.Routes route = 5; + * @return Whether the route field is set. + */ + boolean hasRoute(); + /** + * .glide_request.Routes route = 5; + * @return The route. + */ + glide_request.GlideRequestOuterClass.Routes getRoute(); + /** + * .glide_request.Routes route = 5; + */ + glide_request.GlideRequestOuterClass.RoutesOrBuilder getRouteOrBuilder(); + + glide_request.GlideRequestOuterClass.GlideRequest.CommandCase getCommandCase(); + } + /** + * Protobuf type {@code glide_request.GlideRequest} + */ + public static final class GlideRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:glide_request.GlideRequest) + GlideRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 26, + /* patch= */ 1, + /* suffix= */ "", + GlideRequest.class.getName()); + } + // Use GlideRequest.newBuilder() to construct. + private GlideRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private GlideRequest() { + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_GlideRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_GlideRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.GlideRequest.class, glide_request.GlideRequestOuterClass.GlideRequest.Builder.class); + } + + private int bitField0_; + private int commandCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object command_; + public enum CommandCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SINGLE_COMMAND(2), + TRANSACTION(3), + SCRIPT_INVOCATION(4), + COMMAND_NOT_SET(0); + private final int value; + private CommandCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CommandCase valueOf(int value) { + return forNumber(value); + } + + public static CommandCase forNumber(int value) { + switch (value) { + case 2: return SINGLE_COMMAND; + case 3: return TRANSACTION; + case 4: return SCRIPT_INVOCATION; + case 0: return COMMAND_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public CommandCase + getCommandCase() { + return CommandCase.forNumber( + commandCase_); + } + + public static final int CALLBACK_IDX_FIELD_NUMBER = 1; + private int callbackIdx_ = 0; + /** + * uint32 callback_idx = 1; + * @return The callbackIdx. + */ + @java.lang.Override + public int getCallbackIdx() { + return callbackIdx_; + } + + public static final int SINGLE_COMMAND_FIELD_NUMBER = 2; + /** + * .glide_request.Command single_command = 2; + * @return Whether the singleCommand field is set. + */ + @java.lang.Override + public boolean hasSingleCommand() { + return commandCase_ == 2; + } + /** + * .glide_request.Command single_command = 2; + * @return The singleCommand. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command getSingleCommand() { + if (commandCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command) command_; + } + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + /** + * .glide_request.Command single_command = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.CommandOrBuilder getSingleCommandOrBuilder() { + if (commandCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command) command_; + } + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + + public static final int TRANSACTION_FIELD_NUMBER = 3; + /** + * .glide_request.Transaction transaction = 3; + * @return Whether the transaction field is set. + */ + @java.lang.Override + public boolean hasTransaction() { + return commandCase_ == 3; + } + /** + * .glide_request.Transaction transaction = 3; + * @return The transaction. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Transaction getTransaction() { + if (commandCase_ == 3) { + return (glide_request.GlideRequestOuterClass.Transaction) command_; + } + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + /** + * .glide_request.Transaction transaction = 3; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.TransactionOrBuilder getTransactionOrBuilder() { + if (commandCase_ == 3) { + return (glide_request.GlideRequestOuterClass.Transaction) command_; + } + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + + public static final int SCRIPT_INVOCATION_FIELD_NUMBER = 4; + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return Whether the scriptInvocation field is set. + */ + @java.lang.Override + public boolean hasScriptInvocation() { + return commandCase_ == 4; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return The scriptInvocation. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocation getScriptInvocation() { + if (commandCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ScriptInvocation) command_; + } + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder getScriptInvocationOrBuilder() { + if (commandCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ScriptInvocation) command_; + } + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + + public static final int ROUTE_FIELD_NUMBER = 5; + private glide_request.GlideRequestOuterClass.Routes route_; + /** + * .glide_request.Routes route = 5; + * @return Whether the route field is set. + */ + @java.lang.Override + public boolean hasRoute() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .glide_request.Routes route = 5; + * @return The route. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Routes getRoute() { + return route_ == null ? glide_request.GlideRequestOuterClass.Routes.getDefaultInstance() : route_; + } + /** + * .glide_request.Routes route = 5; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.RoutesOrBuilder getRouteOrBuilder() { + return route_ == null ? glide_request.GlideRequestOuterClass.Routes.getDefaultInstance() : route_; + } + + 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 (callbackIdx_ != 0) { + output.writeUInt32(1, callbackIdx_); + } + if (commandCase_ == 2) { + output.writeMessage(2, (glide_request.GlideRequestOuterClass.Command) command_); + } + if (commandCase_ == 3) { + output.writeMessage(3, (glide_request.GlideRequestOuterClass.Transaction) command_); + } + if (commandCase_ == 4) { + output.writeMessage(4, (glide_request.GlideRequestOuterClass.ScriptInvocation) command_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getRoute()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (callbackIdx_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, callbackIdx_); + } + if (commandCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (glide_request.GlideRequestOuterClass.Command) command_); + } + if (commandCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (glide_request.GlideRequestOuterClass.Transaction) command_); + } + if (commandCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (glide_request.GlideRequestOuterClass.ScriptInvocation) command_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getRoute()); + } + 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 glide_request.GlideRequestOuterClass.GlideRequest)) { + return super.equals(obj); + } + glide_request.GlideRequestOuterClass.GlideRequest other = (glide_request.GlideRequestOuterClass.GlideRequest) obj; + + if (getCallbackIdx() + != other.getCallbackIdx()) return false; + if (hasRoute() != other.hasRoute()) return false; + if (hasRoute()) { + if (!getRoute() + .equals(other.getRoute())) return false; + } + if (!getCommandCase().equals(other.getCommandCase())) return false; + switch (commandCase_) { + case 2: + if (!getSingleCommand() + .equals(other.getSingleCommand())) return false; + break; + case 3: + if (!getTransaction() + .equals(other.getTransaction())) return false; + break; + case 4: + if (!getScriptInvocation() + .equals(other.getScriptInvocation())) return false; + break; + case 0: + default: + } + 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(); + hash = (37 * hash) + CALLBACK_IDX_FIELD_NUMBER; + hash = (53 * hash) + getCallbackIdx(); + if (hasRoute()) { + hash = (37 * hash) + ROUTE_FIELD_NUMBER; + hash = (53 * hash) + getRoute().hashCode(); + } + switch (commandCase_) { + case 2: + hash = (37 * hash) + SINGLE_COMMAND_FIELD_NUMBER; + hash = (53 * hash) + getSingleCommand().hashCode(); + break; + case 3: + hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; + hash = (53 * hash) + getTransaction().hashCode(); + break; + case 4: + hash = (37 * hash) + SCRIPT_INVOCATION_FIELD_NUMBER; + hash = (53 * hash) + getScriptInvocation().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static glide_request.GlideRequestOuterClass.GlideRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static glide_request.GlideRequestOuterClass.GlideRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static glide_request.GlideRequestOuterClass.GlideRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(glide_request.GlideRequestOuterClass.GlideRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code glide_request.GlideRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:glide_request.GlideRequest) + glide_request.GlideRequestOuterClass.GlideRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_GlideRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_GlideRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + glide_request.GlideRequestOuterClass.GlideRequest.class, glide_request.GlideRequestOuterClass.GlideRequest.Builder.class); + } + + // Construct using glide_request.GlideRequestOuterClass.GlideRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + getRouteFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + callbackIdx_ = 0; + if (singleCommandBuilder_ != null) { + singleCommandBuilder_.clear(); + } + if (transactionBuilder_ != null) { + transactionBuilder_.clear(); + } + if (scriptInvocationBuilder_ != null) { + scriptInvocationBuilder_.clear(); + } + route_ = null; + if (routeBuilder_ != null) { + routeBuilder_.dispose(); + routeBuilder_ = null; + } + commandCase_ = 0; + command_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return glide_request.GlideRequestOuterClass.internal_static_glide_request_GlideRequest_descriptor; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.GlideRequest getDefaultInstanceForType() { + return glide_request.GlideRequestOuterClass.GlideRequest.getDefaultInstance(); + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.GlideRequest build() { + glide_request.GlideRequestOuterClass.GlideRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public glide_request.GlideRequestOuterClass.GlideRequest buildPartial() { + glide_request.GlideRequestOuterClass.GlideRequest result = new glide_request.GlideRequestOuterClass.GlideRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(glide_request.GlideRequestOuterClass.GlideRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.callbackIdx_ = callbackIdx_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.route_ = routeBuilder_ == null + ? route_ + : routeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(glide_request.GlideRequestOuterClass.GlideRequest result) { + result.commandCase_ = commandCase_; + result.command_ = this.command_; + if (commandCase_ == 2 && + singleCommandBuilder_ != null) { + result.command_ = singleCommandBuilder_.build(); + } + if (commandCase_ == 3 && + transactionBuilder_ != null) { + result.command_ = transactionBuilder_.build(); + } + if (commandCase_ == 4 && + scriptInvocationBuilder_ != null) { + result.command_ = scriptInvocationBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof glide_request.GlideRequestOuterClass.GlideRequest) { + return mergeFrom((glide_request.GlideRequestOuterClass.GlideRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(glide_request.GlideRequestOuterClass.GlideRequest other) { + if (other == glide_request.GlideRequestOuterClass.GlideRequest.getDefaultInstance()) return this; + if (other.getCallbackIdx() != 0) { + setCallbackIdx(other.getCallbackIdx()); + } + if (other.hasRoute()) { + mergeRoute(other.getRoute()); + } + switch (other.getCommandCase()) { + case SINGLE_COMMAND: { + mergeSingleCommand(other.getSingleCommand()); + break; + } + case TRANSACTION: { + mergeTransaction(other.getTransaction()); + break; + } + case SCRIPT_INVOCATION: { + mergeScriptInvocation(other.getScriptInvocation()); + break; + } + case COMMAND_NOT_SET: { + break; + } + } + 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 8: { + callbackIdx_ = input.readUInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSingleCommandFieldBuilder().getBuilder(), + extensionRegistry); + commandCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getTransactionFieldBuilder().getBuilder(), + extensionRegistry); + commandCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getScriptInvocationFieldBuilder().getBuilder(), + extensionRegistry); + commandCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getRouteFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + 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 commandCase_ = 0; + private java.lang.Object command_; + public CommandCase + getCommandCase() { + return CommandCase.forNumber( + commandCase_); + } + + public Builder clearCommand() { + commandCase_ = 0; + command_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private int callbackIdx_ ; + /** + * uint32 callback_idx = 1; + * @return The callbackIdx. + */ + @java.lang.Override + public int getCallbackIdx() { + return callbackIdx_; + } + /** + * uint32 callback_idx = 1; + * @param value The callbackIdx to set. + * @return This builder for chaining. + */ + public Builder setCallbackIdx(int value) { + + callbackIdx_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * uint32 callback_idx = 1; + * @return This builder for chaining. + */ + public Builder clearCallbackIdx() { + bitField0_ = (bitField0_ & ~0x00000001); + callbackIdx_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder> singleCommandBuilder_; + /** + * .glide_request.Command single_command = 2; + * @return Whether the singleCommand field is set. + */ + @java.lang.Override + public boolean hasSingleCommand() { + return commandCase_ == 2; + } + /** + * .glide_request.Command single_command = 2; + * @return The singleCommand. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Command getSingleCommand() { + if (singleCommandBuilder_ == null) { + if (commandCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command) command_; + } + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } else { + if (commandCase_ == 2) { + return singleCommandBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + } + /** + * .glide_request.Command single_command = 2; + */ + public Builder setSingleCommand(glide_request.GlideRequestOuterClass.Command value) { + if (singleCommandBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + command_ = value; + onChanged(); + } else { + singleCommandBuilder_.setMessage(value); + } + commandCase_ = 2; + return this; + } + /** + * .glide_request.Command single_command = 2; + */ + public Builder setSingleCommand( + glide_request.GlideRequestOuterClass.Command.Builder builderForValue) { + if (singleCommandBuilder_ == null) { + command_ = builderForValue.build(); + onChanged(); + } else { + singleCommandBuilder_.setMessage(builderForValue.build()); + } + commandCase_ = 2; + return this; + } + /** + * .glide_request.Command single_command = 2; + */ + public Builder mergeSingleCommand(glide_request.GlideRequestOuterClass.Command value) { + if (singleCommandBuilder_ == null) { + if (commandCase_ == 2 && + command_ != glide_request.GlideRequestOuterClass.Command.getDefaultInstance()) { + command_ = glide_request.GlideRequestOuterClass.Command.newBuilder((glide_request.GlideRequestOuterClass.Command) command_) + .mergeFrom(value).buildPartial(); + } else { + command_ = value; + } + onChanged(); + } else { + if (commandCase_ == 2) { + singleCommandBuilder_.mergeFrom(value); + } else { + singleCommandBuilder_.setMessage(value); + } + } + commandCase_ = 2; + return this; + } + /** + * .glide_request.Command single_command = 2; + */ + public Builder clearSingleCommand() { + if (singleCommandBuilder_ == null) { + if (commandCase_ == 2) { + commandCase_ = 0; + command_ = null; + onChanged(); + } + } else { + if (commandCase_ == 2) { + commandCase_ = 0; + command_ = null; + } + singleCommandBuilder_.clear(); + } + return this; + } + /** + * .glide_request.Command single_command = 2; + */ + public glide_request.GlideRequestOuterClass.Command.Builder getSingleCommandBuilder() { + return getSingleCommandFieldBuilder().getBuilder(); + } + /** + * .glide_request.Command single_command = 2; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.CommandOrBuilder getSingleCommandOrBuilder() { + if ((commandCase_ == 2) && (singleCommandBuilder_ != null)) { + return singleCommandBuilder_.getMessageOrBuilder(); + } else { + if (commandCase_ == 2) { + return (glide_request.GlideRequestOuterClass.Command) command_; + } + return glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + } + /** + * .glide_request.Command single_command = 2; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder> + getSingleCommandFieldBuilder() { + if (singleCommandBuilder_ == null) { + if (!(commandCase_ == 2)) { + command_ = glide_request.GlideRequestOuterClass.Command.getDefaultInstance(); + } + singleCommandBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Command, glide_request.GlideRequestOuterClass.Command.Builder, glide_request.GlideRequestOuterClass.CommandOrBuilder>( + (glide_request.GlideRequestOuterClass.Command) command_, + getParentForChildren(), + isClean()); + command_ = null; + } + commandCase_ = 2; + onChanged(); + return singleCommandBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Transaction, glide_request.GlideRequestOuterClass.Transaction.Builder, glide_request.GlideRequestOuterClass.TransactionOrBuilder> transactionBuilder_; + /** + * .glide_request.Transaction transaction = 3; + * @return Whether the transaction field is set. + */ + @java.lang.Override + public boolean hasTransaction() { + return commandCase_ == 3; + } + /** + * .glide_request.Transaction transaction = 3; + * @return The transaction. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.Transaction getTransaction() { + if (transactionBuilder_ == null) { + if (commandCase_ == 3) { + return (glide_request.GlideRequestOuterClass.Transaction) command_; + } + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } else { + if (commandCase_ == 3) { + return transactionBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + } + /** + * .glide_request.Transaction transaction = 3; + */ + public Builder setTransaction(glide_request.GlideRequestOuterClass.Transaction value) { + if (transactionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + command_ = value; + onChanged(); + } else { + transactionBuilder_.setMessage(value); + } + commandCase_ = 3; + return this; + } + /** + * .glide_request.Transaction transaction = 3; + */ + public Builder setTransaction( + glide_request.GlideRequestOuterClass.Transaction.Builder builderForValue) { + if (transactionBuilder_ == null) { + command_ = builderForValue.build(); + onChanged(); + } else { + transactionBuilder_.setMessage(builderForValue.build()); + } + commandCase_ = 3; + return this; + } + /** + * .glide_request.Transaction transaction = 3; + */ + public Builder mergeTransaction(glide_request.GlideRequestOuterClass.Transaction value) { + if (transactionBuilder_ == null) { + if (commandCase_ == 3 && + command_ != glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance()) { + command_ = glide_request.GlideRequestOuterClass.Transaction.newBuilder((glide_request.GlideRequestOuterClass.Transaction) command_) + .mergeFrom(value).buildPartial(); + } else { + command_ = value; + } + onChanged(); + } else { + if (commandCase_ == 3) { + transactionBuilder_.mergeFrom(value); + } else { + transactionBuilder_.setMessage(value); + } + } + commandCase_ = 3; + return this; + } + /** + * .glide_request.Transaction transaction = 3; + */ + public Builder clearTransaction() { + if (transactionBuilder_ == null) { + if (commandCase_ == 3) { + commandCase_ = 0; + command_ = null; + onChanged(); + } + } else { + if (commandCase_ == 3) { + commandCase_ = 0; + command_ = null; + } + transactionBuilder_.clear(); + } + return this; + } + /** + * .glide_request.Transaction transaction = 3; + */ + public glide_request.GlideRequestOuterClass.Transaction.Builder getTransactionBuilder() { + return getTransactionFieldBuilder().getBuilder(); + } + /** + * .glide_request.Transaction transaction = 3; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.TransactionOrBuilder getTransactionOrBuilder() { + if ((commandCase_ == 3) && (transactionBuilder_ != null)) { + return transactionBuilder_.getMessageOrBuilder(); + } else { + if (commandCase_ == 3) { + return (glide_request.GlideRequestOuterClass.Transaction) command_; + } + return glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + } + /** + * .glide_request.Transaction transaction = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Transaction, glide_request.GlideRequestOuterClass.Transaction.Builder, glide_request.GlideRequestOuterClass.TransactionOrBuilder> + getTransactionFieldBuilder() { + if (transactionBuilder_ == null) { + if (!(commandCase_ == 3)) { + command_ = glide_request.GlideRequestOuterClass.Transaction.getDefaultInstance(); + } + transactionBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Transaction, glide_request.GlideRequestOuterClass.Transaction.Builder, glide_request.GlideRequestOuterClass.TransactionOrBuilder>( + (glide_request.GlideRequestOuterClass.Transaction) command_, + getParentForChildren(), + isClean()); + command_ = null; + } + commandCase_ = 3; + onChanged(); + return transactionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ScriptInvocation, glide_request.GlideRequestOuterClass.ScriptInvocation.Builder, glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder> scriptInvocationBuilder_; + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return Whether the scriptInvocation field is set. + */ + @java.lang.Override + public boolean hasScriptInvocation() { + return commandCase_ == 4; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + * @return The scriptInvocation. + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocation getScriptInvocation() { + if (scriptInvocationBuilder_ == null) { + if (commandCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ScriptInvocation) command_; + } + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } else { + if (commandCase_ == 4) { + return scriptInvocationBuilder_.getMessage(); + } + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + public Builder setScriptInvocation(glide_request.GlideRequestOuterClass.ScriptInvocation value) { + if (scriptInvocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + command_ = value; + onChanged(); + } else { + scriptInvocationBuilder_.setMessage(value); + } + commandCase_ = 4; + return this; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + public Builder setScriptInvocation( + glide_request.GlideRequestOuterClass.ScriptInvocation.Builder builderForValue) { + if (scriptInvocationBuilder_ == null) { + command_ = builderForValue.build(); + onChanged(); + } else { + scriptInvocationBuilder_.setMessage(builderForValue.build()); + } + commandCase_ = 4; + return this; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + public Builder mergeScriptInvocation(glide_request.GlideRequestOuterClass.ScriptInvocation value) { + if (scriptInvocationBuilder_ == null) { + if (commandCase_ == 4 && + command_ != glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance()) { + command_ = glide_request.GlideRequestOuterClass.ScriptInvocation.newBuilder((glide_request.GlideRequestOuterClass.ScriptInvocation) command_) + .mergeFrom(value).buildPartial(); + } else { + command_ = value; + } + onChanged(); + } else { + if (commandCase_ == 4) { + scriptInvocationBuilder_.mergeFrom(value); + } else { + scriptInvocationBuilder_.setMessage(value); + } + } + commandCase_ = 4; + return this; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + public Builder clearScriptInvocation() { + if (scriptInvocationBuilder_ == null) { + if (commandCase_ == 4) { + commandCase_ = 0; + command_ = null; + onChanged(); + } + } else { + if (commandCase_ == 4) { + commandCase_ = 0; + command_ = null; + } + scriptInvocationBuilder_.clear(); + } + return this; + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + public glide_request.GlideRequestOuterClass.ScriptInvocation.Builder getScriptInvocationBuilder() { + return getScriptInvocationFieldBuilder().getBuilder(); + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + @java.lang.Override + public glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder getScriptInvocationOrBuilder() { + if ((commandCase_ == 4) && (scriptInvocationBuilder_ != null)) { + return scriptInvocationBuilder_.getMessageOrBuilder(); + } else { + if (commandCase_ == 4) { + return (glide_request.GlideRequestOuterClass.ScriptInvocation) command_; + } + return glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + } + /** + * .glide_request.ScriptInvocation script_invocation = 4; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ScriptInvocation, glide_request.GlideRequestOuterClass.ScriptInvocation.Builder, glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder> + getScriptInvocationFieldBuilder() { + if (scriptInvocationBuilder_ == null) { + if (!(commandCase_ == 4)) { + command_ = glide_request.GlideRequestOuterClass.ScriptInvocation.getDefaultInstance(); + } + scriptInvocationBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.ScriptInvocation, glide_request.GlideRequestOuterClass.ScriptInvocation.Builder, glide_request.GlideRequestOuterClass.ScriptInvocationOrBuilder>( + (glide_request.GlideRequestOuterClass.ScriptInvocation) command_, + getParentForChildren(), + isClean()); + command_ = null; + } + commandCase_ = 4; + onChanged(); + return scriptInvocationBuilder_; + } + + private glide_request.GlideRequestOuterClass.Routes route_; + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Routes, glide_request.GlideRequestOuterClass.Routes.Builder, glide_request.GlideRequestOuterClass.RoutesOrBuilder> routeBuilder_; + /** + * .glide_request.Routes route = 5; + * @return Whether the route field is set. + */ + public boolean hasRoute() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * .glide_request.Routes route = 5; + * @return The route. + */ + public glide_request.GlideRequestOuterClass.Routes getRoute() { + if (routeBuilder_ == null) { + return route_ == null ? glide_request.GlideRequestOuterClass.Routes.getDefaultInstance() : route_; + } else { + return routeBuilder_.getMessage(); + } + } + /** + * .glide_request.Routes route = 5; + */ + public Builder setRoute(glide_request.GlideRequestOuterClass.Routes value) { + if (routeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + route_ = value; + } else { + routeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .glide_request.Routes route = 5; + */ + public Builder setRoute( + glide_request.GlideRequestOuterClass.Routes.Builder builderForValue) { + if (routeBuilder_ == null) { + route_ = builderForValue.build(); + } else { + routeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * .glide_request.Routes route = 5; + */ + public Builder mergeRoute(glide_request.GlideRequestOuterClass.Routes value) { + if (routeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + route_ != null && + route_ != glide_request.GlideRequestOuterClass.Routes.getDefaultInstance()) { + getRouteBuilder().mergeFrom(value); + } else { + route_ = value; + } + } else { + routeBuilder_.mergeFrom(value); + } + if (route_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + /** + * .glide_request.Routes route = 5; + */ + public Builder clearRoute() { + bitField0_ = (bitField0_ & ~0x00000010); + route_ = null; + if (routeBuilder_ != null) { + routeBuilder_.dispose(); + routeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * .glide_request.Routes route = 5; + */ + public glide_request.GlideRequestOuterClass.Routes.Builder getRouteBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getRouteFieldBuilder().getBuilder(); + } + /** + * .glide_request.Routes route = 5; + */ + public glide_request.GlideRequestOuterClass.RoutesOrBuilder getRouteOrBuilder() { + if (routeBuilder_ != null) { + return routeBuilder_.getMessageOrBuilder(); + } else { + return route_ == null ? + glide_request.GlideRequestOuterClass.Routes.getDefaultInstance() : route_; + } + } + /** + * .glide_request.Routes route = 5; + */ + private com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Routes, glide_request.GlideRequestOuterClass.Routes.Builder, glide_request.GlideRequestOuterClass.RoutesOrBuilder> + getRouteFieldBuilder() { + if (routeBuilder_ == null) { + routeBuilder_ = new com.google.protobuf.SingleFieldBuilder< + glide_request.GlideRequestOuterClass.Routes, glide_request.GlideRequestOuterClass.Routes.Builder, glide_request.GlideRequestOuterClass.RoutesOrBuilder>( + getRoute(), + getParentForChildren(), + isClean()); + route_ = null; + } + return routeBuilder_; + } + + // @@protoc_insertion_point(builder_scope:glide_request.GlideRequest) + } + + // @@protoc_insertion_point(class_scope:glide_request.GlideRequest) + private static final glide_request.GlideRequestOuterClass.GlideRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new glide_request.GlideRequestOuterClass.GlideRequest(); + } + + public static glide_request.GlideRequestOuterClass.GlideRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlideRequest 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 glide_request.GlideRequestOuterClass.GlideRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_SlotIdRoute_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_SlotIdRoute_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_SlotKeyRoute_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_SlotKeyRoute_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_ByAddressRoute_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_ByAddressRoute_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_Routes_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_Routes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_Command_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_Command_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_Command_ArgsArray_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_Command_ArgsArray_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_ScriptInvocation_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_ScriptInvocation_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_Transaction_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_Transaction_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_glide_request_GlideRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_glide_request_GlideRequest_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\034protobuf/glide_request.proto\022\rglide_re" + + "quest\"K\n\013SlotIdRoute\022+\n\tslot_type\030\001 \001(\0162" + + "\030.glide_request.SlotTypes\022\017\n\007slot_id\030\002 \001" + + "(\005\"M\n\014SlotKeyRoute\022+\n\tslot_type\030\001 \001(\0162\030." + + "glide_request.SlotTypes\022\020\n\010slot_key\030\002 \001(" + + "\t\",\n\016ByAddressRoute\022\014\n\004host\030\001 \001(\t\022\014\n\004por" + + "t\030\002 \001(\005\"\356\001\n\006Routes\0224\n\rsimple_routes\030\001 \001(" + + "\0162\033.glide_request.SimpleRoutesH\000\0225\n\016slot" + + "_key_route\030\002 \001(\0132\033.glide_request.SlotKey" + + "RouteH\000\0223\n\rslot_id_route\030\003 \001(\0132\032.glide_r" + + "equest.SlotIdRouteH\000\0229\n\020by_address_route" + + "\030\004 \001(\0132\035.glide_request.ByAddressRouteH\000B" + + "\007\n\005value\"\262\001\n\007Command\0220\n\014request_type\030\001 \001" + + "(\0162\032.glide_request.RequestType\0226\n\nargs_a" + + "rray\030\002 \001(\0132 .glide_request.Command.ArgsA" + + "rrayH\000\022\032\n\020args_vec_pointer\030\003 \001(\004H\000\032\031\n\tAr" + + "gsArray\022\014\n\004args\030\001 \003(\014B\006\n\004args\"<\n\020ScriptI" + + "nvocation\022\014\n\004hash\030\001 \001(\t\022\014\n\004keys\030\002 \003(\t\022\014\n" + + "\004args\030\003 \003(\t\"7\n\013Transaction\022(\n\010commands\030\001" + + " \003(\0132\026.glide_request.Command\"\370\001\n\014GlideRe" + + "quest\022\024\n\014callback_idx\030\001 \001(\r\0220\n\016single_co" + + "mmand\030\002 \001(\0132\026.glide_request.CommandH\000\0221\n" + + "\013transaction\030\003 \001(\0132\032.glide_request.Trans" + + "actionH\000\022<\n\021script_invocation\030\004 \001(\0132\037.gl" + + "ide_request.ScriptInvocationH\000\022$\n\005route\030" + + "\005 \001(\0132\025.glide_request.RoutesB\t\n\007command*" + + ":\n\014SimpleRoutes\022\014\n\010AllNodes\020\000\022\020\n\014AllPrim" + + "aries\020\001\022\n\n\006Random\020\002*%\n\tSlotTypes\022\013\n\007Prim" + + "ary\020\000\022\013\n\007Replica\020\001*\340\025\n\013RequestType\022\022\n\016In" + + "validRequest\020\000\022\021\n\rCustomCommand\020\001\022\007\n\003Get" + + "\020\002\022\007\n\003Set\020\003\022\010\n\004Ping\020\004\022\010\n\004Info\020\005\022\007\n\003Del\020\006" + + "\022\n\n\006Select\020\007\022\r\n\tConfigGet\020\010\022\r\n\tConfigSet" + + "\020\t\022\023\n\017ConfigResetStat\020\n\022\021\n\rConfigRewrite" + + "\020\013\022\021\n\rClientGetName\020\014\022\022\n\016ClientGetRedir\020" + + "\r\022\014\n\010ClientId\020\016\022\016\n\nClientInfo\020\017\022\016\n\nClien" + + "tKill\020\020\022\016\n\nClientList\020\021\022\021\n\rClientNoEvict" + + "\020\022\022\021\n\rClientNoTouch\020\023\022\017\n\013ClientPause\020\024\022\017" + + "\n\013ClientReply\020\025\022\021\n\rClientSetInfo\020\026\022\021\n\rCl" + + "ientSetName\020\027\022\021\n\rClientUnblock\020\030\022\021\n\rClie" + + "ntUnpause\020\031\022\n\n\006Expire\020\032\022\010\n\004HSet\020\033\022\010\n\004HGe" + + "t\020\034\022\010\n\004HDel\020\035\022\013\n\007HExists\020\036\022\010\n\004MGet\020\037\022\010\n\004" + + "MSet\020 \022\010\n\004Incr\020!\022\n\n\006IncrBy\020\"\022\010\n\004Decr\020#\022\017" + + "\n\013IncrByFloat\020$\022\n\n\006DecrBy\020%\022\013\n\007HGetAll\020&" + + "\022\t\n\005HMSet\020\'\022\t\n\005HMGet\020(\022\013\n\007HIncrBy\020)\022\020\n\014H" + + "IncrByFloat\020*\022\t\n\005LPush\020+\022\010\n\004LPop\020,\022\t\n\005RP" + + "ush\020-\022\010\n\004RPop\020.\022\010\n\004LLen\020/\022\010\n\004LRem\0200\022\n\n\006L" + + "Range\0201\022\t\n\005LTrim\0202\022\010\n\004SAdd\0203\022\010\n\004SRem\0204\022\014" + + "\n\010SMembers\0205\022\t\n\005SCard\0206\022\r\n\tPExpireAt\0207\022\013" + + "\n\007PExpire\0208\022\014\n\010ExpireAt\0209\022\n\n\006Exists\020:\022\n\n" + + "\006Unlink\020;\022\007\n\003TTL\020<\022\010\n\004ZAdd\020=\022\010\n\004ZRem\020>\022\n" + + "\n\006ZRange\020?\022\t\n\005ZCard\020@\022\n\n\006ZCount\020A\022\013\n\007ZIn" + + "crBy\020B\022\n\n\006ZScore\020C\022\010\n\004Type\020D\022\010\n\004HLen\020E\022\010" + + "\n\004Echo\020F\022\013\n\007ZPopMin\020G\022\n\n\006Strlen\020H\022\n\n\006LIn" + + "dex\020I\022\013\n\007ZPopMax\020J\022\t\n\005XRead\020K\022\010\n\004XAdd\020L\022" + + "\016\n\nXReadGroup\020M\022\010\n\004XAck\020N\022\t\n\005XTrim\020O\022\020\n\014" + + "XGroupCreate\020P\022\021\n\rXGroupDestroy\020Q\022\n\n\006HSe" + + "tNX\020R\022\r\n\tSIsMember\020S\022\t\n\005HVals\020T\022\010\n\004PTTL\020" + + "U\022\023\n\017ZRemRangeByRank\020V\022\013\n\007Persist\020W\022\024\n\020Z" + + "RemRangeByScore\020X\022\010\n\004Time\020Y\022\t\n\005ZRank\020Z\022\n" + + "\n\006Rename\020[\022\n\n\006DBSize\020\\\022\t\n\005BRPop\020]\022\t\n\005HKe" + + "ys\020^\022\010\n\004SPop\020_\022\t\n\005PfAdd\020`\022\013\n\007PfCount\020a\022\013" + + "\n\007PfMerge\020b\022\t\n\005BLPop\020d\022\013\n\007LInsert\020e\022\n\n\006R" + + "PushX\020f\022\n\n\006LPushX\020g\022\013\n\007ZMScore\020h\022\t\n\005ZDif" + + "f\020i\022\016\n\nZDiffStore\020j\022\014\n\010SetRange\020k\022\022\n\016ZRe" + + "mRangeByLex\020l\022\r\n\tZLexCount\020m\022\n\n\006Append\020n" + + "\022\017\n\013SUnionStore\020o\022\016\n\nSDiffStore\020p\022\n\n\006SIn" + + "ter\020q\022\017\n\013SInterStore\020r\022\017\n\013ZRangeStore\020s\022" + + "\014\n\010GetRange\020t\022\t\n\005SMove\020u\022\016\n\nSMIsMember\020v" + + "\022\017\n\013ZUnionStore\020w\022\014\n\010LastSave\020x\022\n\n\006GeoAd" + + "d\020y\022\013\n\007GeoHash\020z\022\022\n\016ObjectEncoding\020{\022\t\n\005" + + "SDiff\020|\022\022\n\016ObjectIdleTime\020}\022\022\n\016ObjectRef" + + "Count\020~\022\014\n\006Lolwut\020\224\221\006\022\013\n\007GeoDist\020\177\022\013\n\006Ge" + + "oPos\020\200\001\022\r\n\010BZPopMax\020\201\001\022\017\n\nObjectFreq\020\202\001\022" + + "\r\n\010RenameNX\020\203\001\022\n\n\005Touch\020\204\001\022\r\n\010ZRevRank\020\205" + + "\001\022\020\n\013ZInterStore\020\206\001\022\017\n\nHRandField\020\207\001\022\013\n\006" + + "ZUnion\020\210\001\022\r\n\010BZPopMin\020\211\001\022\r\n\010FlushAll\020\212\001\022" + + "\020\n\013ZRandMember\020\213\001\022\r\n\010BitCount\020\214\001\022\013\n\006BZMP" + + "op\020\215\001\022\013\n\006SetBit\020\216\001\022\017\n\nZInterCard\020\217\001\022\n\n\005Z" + + "MPop\020\220\001\022\013\n\006GetBit\020\221\001\022\013\n\006ZInter\020\222\001\022\013\n\006Bit" + + "Pos\020\223\001\022\n\n\005BitOp\020\224\001\022\014\n\007HStrlen\020\225\001\022\021\n\014Func" + + "tionLoad\020\226\001\022\021\n\014FunctionList\020\227\001\022\023\n\016Functi" + + "onDelete\020\230\001\022\022\n\rFunctionFlush\020\231\001\022\n\n\005FCall" + + "\020\232\001\022\n\n\005LMPop\020\233\001\022\017\n\nExpireTime\020\234\001\022\020\n\013PExp" + + "ireTime\020\235\001\022\013\n\006BLMPop\020\236\001\022\t\n\004XLen\020\237\001\022\t\n\004So" + + "rt\020\240\001\022\021\n\014FunctionKill\020\241\001\022\022\n\rFunctionStat" + + "s\020\242\001\022\022\n\rFCallReadOnly\020\243\001\022\014\n\007FlushDB\020\244\001\022\t" + + "\n\004LSet\020\245\001\022\t\n\004XDel\020\246\001\022\013\n\006XRange\020\247\001\022\n\n\005LMo" + + "ve\020\250\001\022\013\n\006BLMove\020\251\001\022\013\n\006GetDel\020\252\001\022\020\n\013SRand" + + "Member\020\253\001\022\r\n\010BitField\020\254\001\022\025\n\020BitFieldRead" + + "Only\020\255\001\022\t\n\004Move\020\256\001\022\017\n\nSInterCard\020\257\001\022\016\n\tX" + + "RevRange\020\260\001\022\t\n\004Copy\020\262\001\022\013\n\006MSetNX\020\263\001\022\t\n\004L" + + "Pos\020\264\001\022\010\n\003LCS\020\265\001\022\016\n\tGeoSearch\020\266\001\022\n\n\005Watc" + + "h\020\267\001\022\014\n\007UnWatch\020\270\001\022\023\n\016GeoSearchStore\020\271\001\022" + + "\013\n\006SUnion\020\272\001\022\014\n\007Publish\020\273\001\022\r\n\010SPublish\020\274" + + "\001\022\031\n\024XGroupCreateConsumer\020\275\001\022\026\n\021XGroupDe" + + "lConsumer\020\276\001\022\016\n\tRandomKey\020\277\001\022\n\n\005GetEx\020\300\001" + + "\022\t\n\004Dump\020\301\001\022\014\n\007Restore\020\302\001\022\021\n\014SortReadOnl" + + "y\020\303\001\022\021\n\014FunctionDump\020\304\001\022\024\n\017FunctionResto" + + "re\020\305\001b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_glide_request_SlotIdRoute_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_glide_request_SlotIdRoute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_SlotIdRoute_descriptor, + new java.lang.String[] { "SlotType", "SlotId", }); + internal_static_glide_request_SlotKeyRoute_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_glide_request_SlotKeyRoute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_SlotKeyRoute_descriptor, + new java.lang.String[] { "SlotType", "SlotKey", }); + internal_static_glide_request_ByAddressRoute_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_glide_request_ByAddressRoute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_ByAddressRoute_descriptor, + new java.lang.String[] { "Host", "Port", }); + internal_static_glide_request_Routes_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_glide_request_Routes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_Routes_descriptor, + new java.lang.String[] { "SimpleRoutes", "SlotKeyRoute", "SlotIdRoute", "ByAddressRoute", "Value", }); + internal_static_glide_request_Command_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_glide_request_Command_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_Command_descriptor, + new java.lang.String[] { "RequestType", "ArgsArray", "ArgsVecPointer", "Args", }); + internal_static_glide_request_Command_ArgsArray_descriptor = + internal_static_glide_request_Command_descriptor.getNestedTypes().get(0); + internal_static_glide_request_Command_ArgsArray_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_Command_ArgsArray_descriptor, + new java.lang.String[] { "Args", }); + internal_static_glide_request_ScriptInvocation_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_glide_request_ScriptInvocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_ScriptInvocation_descriptor, + new java.lang.String[] { "Hash", "Keys", "Args", }); + internal_static_glide_request_Transaction_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_glide_request_Transaction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_Transaction_descriptor, + new java.lang.String[] { "Commands", }); + internal_static_glide_request_GlideRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_glide_request_GlideRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_glide_request_GlideRequest_descriptor, + new java.lang.String[] { "CallbackIdx", "SingleCommand", "Transaction", "ScriptInvocation", "Route", "Command", }); + descriptor.resolveAllFeaturesImmutable(); + } + + // @@protoc_insertion_point(outer_class_scope) +}