rename proto field from DestroyTime to expire_at_sec

For TTL volume converted into EC volume, this change may leave the volumes staying.
This commit is contained in:
chrislu
2024-10-24 21:35:11 -07:00
parent 1c2b10303a
commit ae5bd0667a
25 changed files with 2052 additions and 2578 deletions

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v4.25.3
// protoc-gen-go v1.34.2
// protoc v5.28.1
// source: mq.proto
package mq_pb
@@ -3770,7 +3770,7 @@ func file_mq_proto_rawDescGZIP() []byte {
var file_mq_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_mq_proto_msgTypes = make([]protoimpl.MessageInfo, 54)
var file_mq_proto_goTypes = []interface{}{
var file_mq_proto_goTypes = []any{
(PartitionOffsetStartType)(0), // 0: messaging_pb.PartitionOffsetStartType
(*FindBrokerLeaderRequest)(nil), // 1: messaging_pb.FindBrokerLeaderRequest
(*FindBrokerLeaderResponse)(nil), // 2: messaging_pb.FindBrokerLeaderResponse
@@ -3925,7 +3925,7 @@ func file_mq_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_mq_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*FindBrokerLeaderRequest); i {
case 0:
return &v.state
@@ -3937,7 +3937,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*FindBrokerLeaderResponse); i {
case 0:
return &v.state
@@ -3949,7 +3949,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*Topic); i {
case 0:
return &v.state
@@ -3961,7 +3961,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*Partition); i {
case 0:
return &v.state
@@ -3973,7 +3973,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*Offset); i {
case 0:
return &v.state
@@ -3985,7 +3985,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*PartitionOffset); i {
case 0:
return &v.state
@@ -3997,7 +3997,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*BrokerStats); i {
case 0:
return &v.state
@@ -4009,7 +4009,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*TopicPartitionStats); i {
case 0:
return &v.state
@@ -4021,7 +4021,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*PublisherToPubBalancerRequest); i {
case 0:
return &v.state
@@ -4033,7 +4033,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*PublisherToPubBalancerResponse); i {
case 0:
return &v.state
@@ -4045,7 +4045,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*BalanceTopicsRequest); i {
case 0:
return &v.state
@@ -4057,7 +4057,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*BalanceTopicsResponse); i {
case 0:
return &v.state
@@ -4069,7 +4069,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*ConfigureTopicRequest); i {
case 0:
return &v.state
@@ -4081,7 +4081,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*ConfigureTopicResponse); i {
case 0:
return &v.state
@@ -4093,7 +4093,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*ListTopicsRequest); i {
case 0:
return &v.state
@@ -4105,7 +4105,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*ListTopicsResponse); i {
case 0:
return &v.state
@@ -4117,7 +4117,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*LookupTopicBrokersRequest); i {
case 0:
return &v.state
@@ -4129,7 +4129,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*LookupTopicBrokersResponse); i {
case 0:
return &v.state
@@ -4141,7 +4141,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[18].Exporter = func(v any, i int) any {
switch v := v.(*BrokerPartitionAssignment); i {
case 0:
return &v.state
@@ -4153,7 +4153,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[19].Exporter = func(v any, i int) any {
switch v := v.(*AssignTopicPartitionsRequest); i {
case 0:
return &v.state
@@ -4165,7 +4165,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[20].Exporter = func(v any, i int) any {
switch v := v.(*AssignTopicPartitionsResponse); i {
case 0:
return &v.state
@@ -4177,7 +4177,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[21].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorRequest); i {
case 0:
return &v.state
@@ -4189,7 +4189,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[22].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorResponse); i {
case 0:
return &v.state
@@ -4201,7 +4201,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[23].Exporter = func(v any, i int) any {
switch v := v.(*ControlMessage); i {
case 0:
return &v.state
@@ -4213,7 +4213,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[24].Exporter = func(v any, i int) any {
switch v := v.(*DataMessage); i {
case 0:
return &v.state
@@ -4225,7 +4225,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[25].Exporter = func(v any, i int) any {
switch v := v.(*PublishMessageRequest); i {
case 0:
return &v.state
@@ -4237,7 +4237,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[26].Exporter = func(v any, i int) any {
switch v := v.(*PublishMessageResponse); i {
case 0:
return &v.state
@@ -4249,7 +4249,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[27].Exporter = func(v any, i int) any {
switch v := v.(*PublishFollowMeRequest); i {
case 0:
return &v.state
@@ -4261,7 +4261,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[28].Exporter = func(v any, i int) any {
switch v := v.(*PublishFollowMeResponse); i {
case 0:
return &v.state
@@ -4273,7 +4273,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[29].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeMessageRequest); i {
case 0:
return &v.state
@@ -4285,7 +4285,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[30].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeMessageResponse); i {
case 0:
return &v.state
@@ -4297,7 +4297,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[31].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeFollowMeRequest); i {
case 0:
return &v.state
@@ -4309,7 +4309,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[32].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeFollowMeResponse); i {
case 0:
return &v.state
@@ -4321,7 +4321,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[33].Exporter = func(v any, i int) any {
switch v := v.(*ClosePublishersRequest); i {
case 0:
return &v.state
@@ -4333,7 +4333,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[34].Exporter = func(v any, i int) any {
switch v := v.(*ClosePublishersResponse); i {
case 0:
return &v.state
@@ -4345,7 +4345,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[35].Exporter = func(v any, i int) any {
switch v := v.(*CloseSubscribersRequest); i {
case 0:
return &v.state
@@ -4357,7 +4357,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[36].Exporter = func(v any, i int) any {
switch v := v.(*CloseSubscribersResponse); i {
case 0:
return &v.state
@@ -4369,7 +4369,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[38].Exporter = func(v any, i int) any {
switch v := v.(*PublisherToPubBalancerRequest_InitMessage); i {
case 0:
return &v.state
@@ -4381,7 +4381,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[39].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorRequest_InitMessage); i {
case 0:
return &v.state
@@ -4393,7 +4393,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[40].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage); i {
case 0:
return &v.state
@@ -4405,7 +4405,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[41].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorRequest_AckAssignmentMessage); i {
case 0:
return &v.state
@@ -4417,7 +4417,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[42].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorResponse_Assignment); i {
case 0:
return &v.state
@@ -4429,7 +4429,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[43].Exporter = func(v any, i int) any {
switch v := v.(*SubscriberToSubCoordinatorResponse_UnAssignment); i {
case 0:
return &v.state
@@ -4441,7 +4441,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[44].Exporter = func(v any, i int) any {
switch v := v.(*PublishMessageRequest_InitMessage); i {
case 0:
return &v.state
@@ -4453,7 +4453,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[45].Exporter = func(v any, i int) any {
switch v := v.(*PublishFollowMeRequest_InitMessage); i {
case 0:
return &v.state
@@ -4465,7 +4465,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[46].Exporter = func(v any, i int) any {
switch v := v.(*PublishFollowMeRequest_FlushMessage); i {
case 0:
return &v.state
@@ -4477,7 +4477,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[47].Exporter = func(v any, i int) any {
switch v := v.(*PublishFollowMeRequest_CloseMessage); i {
case 0:
return &v.state
@@ -4489,7 +4489,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[48].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeMessageRequest_InitMessage); i {
case 0:
return &v.state
@@ -4501,7 +4501,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[49].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeMessageRequest_AckMessage); i {
case 0:
return &v.state
@@ -4513,7 +4513,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[50].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeMessageResponse_SubscribeCtrlMessage); i {
case 0:
return &v.state
@@ -4525,7 +4525,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[51].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeFollowMeRequest_InitMessage); i {
case 0:
return &v.state
@@ -4537,7 +4537,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[52].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeFollowMeRequest_AckMessage); i {
case 0:
return &v.state
@@ -4549,7 +4549,7 @@ func file_mq_proto_init() {
return nil
}
}
file_mq_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
file_mq_proto_msgTypes[53].Exporter = func(v any, i int) any {
switch v := v.(*SubscribeFollowMeRequest_CloseMessage); i {
case 0:
return &v.state
@@ -4562,38 +4562,38 @@ func file_mq_proto_init() {
}
}
}
file_mq_proto_msgTypes[8].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[8].OneofWrappers = []any{
(*PublisherToPubBalancerRequest_Init)(nil),
(*PublisherToPubBalancerRequest_Stats)(nil),
}
file_mq_proto_msgTypes[21].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[21].OneofWrappers = []any{
(*SubscriberToSubCoordinatorRequest_Init)(nil),
(*SubscriberToSubCoordinatorRequest_AckAssignment)(nil),
(*SubscriberToSubCoordinatorRequest_AckUnAssignment)(nil),
}
file_mq_proto_msgTypes[22].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[22].OneofWrappers = []any{
(*SubscriberToSubCoordinatorResponse_Assignment_)(nil),
(*SubscriberToSubCoordinatorResponse_UnAssignment_)(nil),
}
file_mq_proto_msgTypes[25].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[25].OneofWrappers = []any{
(*PublishMessageRequest_Init)(nil),
(*PublishMessageRequest_Data)(nil),
}
file_mq_proto_msgTypes[27].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[27].OneofWrappers = []any{
(*PublishFollowMeRequest_Init)(nil),
(*PublishFollowMeRequest_Data)(nil),
(*PublishFollowMeRequest_Flush)(nil),
(*PublishFollowMeRequest_Close)(nil),
}
file_mq_proto_msgTypes[29].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[29].OneofWrappers = []any{
(*SubscribeMessageRequest_Init)(nil),
(*SubscribeMessageRequest_Ack)(nil),
}
file_mq_proto_msgTypes[30].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[30].OneofWrappers = []any{
(*SubscribeMessageResponse_Ctrl)(nil),
(*SubscribeMessageResponse_Data)(nil),
}
file_mq_proto_msgTypes[31].OneofWrappers = []interface{}{
file_mq_proto_msgTypes[31].OneofWrappers = []any{
(*SubscribeFollowMeRequest_Init)(nil),
(*SubscribeFollowMeRequest_Ack)(nil),
(*SubscribeFollowMeRequest_Close)(nil),