diff --git a/cpp/beeremote.pb.cc b/cpp/beeremote.pb.cc index 834372a..e4887df 100644 --- a/cpp/beeremote.pb.cc +++ b/cpp/beeremote.pb.cc @@ -284,13 +284,16 @@ struct GetJobsRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetJobsRequestDefaultTypeInternal _GetJobsRequest_default_instance_; -inline constexpr UpdateWorkRequest::Impl_::Impl_( +inline constexpr UpdatePathsRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, - work_{nullptr} {} + path_prefix_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + requested_update_{nullptr} {} template -PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_pbi::ConstantInitialized) +PROTOBUF_CONSTEXPR UpdatePathsRequest::UpdatePathsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE @@ -298,27 +301,24 @@ PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_pbi::ConstantInitiali #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } -struct UpdateWorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkRequestDefaultTypeInternal() {} +struct UpdatePathsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdatePathsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdatePathsRequestDefaultTypeInternal() {} union { - UpdateWorkRequest _instance; + UpdatePathsRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdatePathsRequestDefaultTypeInternal _UpdatePathsRequest_default_instance_; -inline constexpr UpdatePathsRequest::Impl_::Impl_( +inline constexpr UpdateWorkRequest::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, - path_prefix_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - requested_update_{nullptr} {} + work_{nullptr} {} template -PROTOBUF_CONSTEXPR UpdatePathsRequest::UpdatePathsRequest(::_pbi::ConstantInitialized) +PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE @@ -326,16 +326,16 @@ PROTOBUF_CONSTEXPR UpdatePathsRequest::UpdatePathsRequest(::_pbi::ConstantInitia #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } -struct UpdatePathsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdatePathsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdatePathsRequestDefaultTypeInternal() {} +struct UpdateWorkRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateWorkRequestDefaultTypeInternal() {} union { - UpdatePathsRequest _instance; + UpdateWorkRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdatePathsRequestDefaultTypeInternal _UpdatePathsRequest_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; inline constexpr JobResult_WorkResult::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept @@ -378,6 +378,8 @@ inline constexpr JobRequest::Impl_::Impl_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), generation_status_{nullptr}, + delay_execution_{nullptr}, + bulk_info_{nullptr}, priority_{0}, remote_storage_target_{0u}, force_{false}, @@ -690,6 +692,8 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.update_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.restore_policy_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.cooldown_secs_), + PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.delay_execution_), + PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.bulk_info_), PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.type_), ~0u, ~0u, @@ -701,9 +705,11 @@ const ::uint32_t ~0u, ~0u, 0, + 3, + 4, + 5, 1, 2, - 3, PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _internal_metadata_), ~0u, // no _extensions_ @@ -931,25 +937,25 @@ static const ::_pbi::MigrationSchema {0, 9, -1, sizeof(::beeremote::SubmitJobRequest)}, {10, 20, -1, sizeof(::beeremote::SubmitJobResponse)}, {22, -1, -1, sizeof(::beeremote::JobRequest_GenerationStatus)}, - {32, 54, -1, sizeof(::beeremote::JobRequest)}, - {67, 78, -1, sizeof(::beeremote::Job_Status)}, - {81, 96, -1, sizeof(::beeremote::Job)}, - {103, 114, -1, sizeof(::beeremote::JobResult_WorkResult)}, - {117, 128, -1, sizeof(::beeremote::JobResult)}, - {131, 141, -1, sizeof(::beeremote::UpdatePathsRequest)}, - {143, 153, -1, sizeof(::beeremote::UpdatePathsResponse)}, - {155, 165, -1, sizeof(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse)}, - {167, 180, -1, sizeof(::beeremote::UpdateJobsRequest)}, - {185, -1, -1, sizeof(::beeremote::UpdateJobsResponse)}, - {196, -1, -1, sizeof(::beeremote::GetJobsRequest_QueryIdAndPath)}, - {206, -1, -1, sizeof(::beeremote::GetJobsRequest)}, - {221, -1, -1, sizeof(::beeremote::GetJobsResponse)}, - {231, 240, -1, sizeof(::beeremote::UpdateWorkRequest)}, - {241, -1, -1, sizeof(::beeremote::UpdateWorkResponse)}, - {249, -1, -1, sizeof(::beeremote::GetRSTConfigRequest)}, - {257, -1, -1, sizeof(::beeremote::GetRSTConfigResponse)}, - {266, -1, -1, sizeof(::beeremote::GetStubContentsRequest)}, - {275, 285, -1, sizeof(::beeremote::GetStubContentsResponse)}, + {32, 56, -1, sizeof(::beeremote::JobRequest)}, + {71, 82, -1, sizeof(::beeremote::Job_Status)}, + {85, 100, -1, sizeof(::beeremote::Job)}, + {107, 118, -1, sizeof(::beeremote::JobResult_WorkResult)}, + {121, 132, -1, sizeof(::beeremote::JobResult)}, + {135, 145, -1, sizeof(::beeremote::UpdatePathsRequest)}, + {147, 157, -1, sizeof(::beeremote::UpdatePathsResponse)}, + {159, 169, -1, sizeof(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse)}, + {171, 184, -1, sizeof(::beeremote::UpdateJobsRequest)}, + {189, -1, -1, sizeof(::beeremote::UpdateJobsResponse)}, + {200, -1, -1, sizeof(::beeremote::GetJobsRequest_QueryIdAndPath)}, + {210, -1, -1, sizeof(::beeremote::GetJobsRequest)}, + {225, -1, -1, sizeof(::beeremote::GetJobsResponse)}, + {235, 244, -1, sizeof(::beeremote::UpdateWorkRequest)}, + {245, -1, -1, sizeof(::beeremote::UpdateWorkResponse)}, + {253, -1, -1, sizeof(::beeremote::GetRSTConfigRequest)}, + {261, -1, -1, sizeof(::beeremote::GetRSTConfigResponse)}, + {270, -1, -1, sizeof(::beeremote::GetStubContentsRequest)}, + {279, 289, -1, sizeof(::beeremote::GetStubContentsResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { &::beeremote::_SubmitJobRequest_default_instance_._instance, @@ -978,116 +984,122 @@ static const ::_pb::Message* const file_default_instances[] = { const char descriptor_table_protodef_beeremote_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { "\n\017beeremote.proto\022\tbeeremote\032\nflex.proto" - "\032\037google/protobuf/timestamp.proto\":\n\020Sub" - "mitJobRequest\022&\n\007request\030\001 \001(\0132\025.beeremo" - "te.JobRequest\"\210\002\n\021SubmitJobResponse\022$\n\006r" - "esult\030\001 \001(\0132\024.beeremote.JobResult\022;\n\006sta" - "tus\030\002 \001(\0162+.beeremote.SubmitJobResponse." - "ResponseStatus\"\217\001\n\016ResponseStatus\022\013\n\007INV" - "ALID\020\000\022\013\n\007CREATED\020\001\022\014\n\010EXISTING\020\002\022\017\n\013NOT" - "_ALLOWED\020\003\022\024\n\020ALREADY_COMPLETE\020\004\022\025\n\021ALRE" - "ADY_OFFLOADED\020\005\022\027\n\023FAILED_PRECONDITION\020\006" - "\"\213\005\n\nJobRequest\022\014\n\004path\030\001 \001(\t\022\014\n\004name\030\002 " - "\001(\t\022\020\n\010priority\030\003 \001(\005\022\035\n\025remote_storage_" - "target\030\004 \001(\r\022\035\n\004sync\030\n \001(\0132\r.flex.SyncJo" - "bH\000\022\035\n\004mock\030\013 \001(\0132\r.flex.MockJobH\000\022#\n\007bu" - "ilder\030\014 \001(\0132\020.flex.BuilderJobH\000\022\r\n\005force" - "\030\005 \001(\010\022\022\n\nstub_local\030\007 \001(\010\022A\n\021generation" - "_status\030\010 \001(\0132&.beeremote.JobRequest.Gen" - "erationStatus\022\023\n\006update\030\t \001(\010H\001\210\001\001\0220\n\016re" - "store_policy\030\r \001(\0162\023.flex.RestorePolicyH" - "\002\210\001\001\022\032\n\rcooldown_secs\030\016 \001(\rH\003\210\001\001\032\313\001\n\020Gen" - "erationStatus\022;\n\005state\030\001 \001(\0162,.beeremote" - ".JobRequest.GenerationStatus.State\022\017\n\007me" - "ssage\030\002 \001(\t\"i\n\005State\022\017\n\013UNSPECIFIED\020\000\022\024\n" - "\020ALREADY_COMPLETE\020\001\022\025\n\021ALREADY_OFFLOADED" - "\020\002\022\027\n\023FAILED_PRECONDITION\020\003\022\t\n\005ERROR\020\004B\006" - "\n\004typeB\t\n\007_updateB\021\n\017_restore_policyB\020\n\016" - "_cooldown_secs\"\261\004\n\003Job\022\n\n\002id\030\001 \001(\t\022&\n\007re" - "quest\030\002 \001(\0132\025.beeremote.JobRequest\022+\n\007cr" - "eated\030\003 \001(\0132\032.google.protobuf.Timestamp\022" - "%\n\006status\030\004 \001(\0132\025.beeremote.Job.Status\022\023" - "\n\013external_id\030\005 \001(\t\0224\n\013start_mtime\030\006 \001(\013" - "2\032.google.protobuf.TimestampH\000\210\001\001\0223\n\nsto" - "p_mtime\030\007 \001(\0132\032.google.protobuf.Timestam" - "pH\001\210\001\001\032k\n\006Status\022#\n\005state\030\001 \001(\0162\024.beerem" - "ote.Job.State\022\017\n\007message\030\002 \001(\t\022+\n\007update" - "d\030\003 \001(\0132\032.google.protobuf.Timestamp\"\225\001\n\005" - "State\022\017\n\013UNSPECIFIED\020\000\022\013\n\007UNKNOWN\020\001\022\016\n\nU" - "NASSIGNED\020\002\022\r\n\tSCHEDULED\020\003\022\013\n\007RUNNING\020\004\022" - "\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007\022\r\n\tCANCELLED\020\010\022\r\n" - "\tCOMPLETED\020\t\022\r\n\tOFFLOADED\020\nB\016\n\014_start_mt" - "imeB\r\n\013_stop_mtime\"\337\001\n\tJobResult\022\033\n\003job\030" - "\001 \001(\0132\016.beeremote.Job\022(\n\rwork_requests\030\002" - " \003(\0132\021.flex.WorkRequest\0225\n\014work_results\030" - "\003 \003(\0132\037.beeremote.JobResult.WorkResult\032T" - "\n\nWorkResult\022\030\n\004work\030\001 \001(\0132\n.flex.Work\022\025" - "\n\rassigned_node\030\002 \001(\t\022\025\n\rassigned_pool\030\003" - " \001(\t\"a\n\022UpdatePathsRequest\022\023\n\013path_prefi" - "x\030\001 \001(\t\0226\n\020requested_update\030\002 \001(\0132\034.beer" - "emote.UpdateJobsRequest\"Y\n\023UpdatePathsRe" - "sponse\022\014\n\004path\030\001 \001(\t\0224\n\rupdate_result\030\002 " - "\001(\0132\035.beeremote.UpdateJobsResponse\"\311\002\n\021U" - "pdateJobsRequest\022\014\n\004path\030\001 \001(\t\022\023\n\006job_id" - "\030\002 \001(\tH\000\210\001\001\022G\n\016remote_targets\030\003 \003(\0132/.be" - "eremote.UpdateJobsRequest.RemoteTargetsE" - "ntry\0228\n\tnew_state\030\n \001(\0162%.beeremote.Upda" - "teJobsRequest.NewState\022\024\n\014force_update\030\004" - " \001(\010\0324\n\022RemoteTargetsEntry\022\013\n\003key\030\001 \001(\r\022" - "\r\n\005value\030\002 \001(\010:\0028\001\"7\n\010NewState\022\017\n\013UNSPEC" - "IFIED\020\000\022\r\n\tCANCELLED\020\001\022\013\n\007DELETED\020\002B\t\n\007_" - "job_id\"X\n\022UpdateJobsResponse\022\n\n\002ok\030\001 \001(\010" - "\022\017\n\007message\030\002 \001(\t\022%\n\007results\030\003 \003(\0132\024.bee" - "remote.JobResult\"\236\002\n\016GetJobsRequest\022F\n\022b" - "y_job_id_and_path\030\001 \001(\0132(.beeremote.GetJ" - "obsRequest.QueryIdAndPathH\000\022\027\n\rby_exact_" - "path\030\002 \001(\tH\000\022\030\n\016by_path_prefix\030\003 \001(\tH\000\022\035" - "\n\025include_work_requests\030\004 \001(\010\022\034\n\024include" - "_work_results\030\005 \001(\010\022\033\n\023update_work_resul" - "ts\030\006 \001(\010\032.\n\016QueryIdAndPath\022\016\n\006job_id\030\001 \001" - "(\t\022\014\n\004path\030\002 \001(\tB\007\n\005query\"F\n\017GetJobsResp" - "onse\022\014\n\004path\030\001 \001(\t\022%\n\007results\030\002 \003(\0132\024.be" - "eremote.JobResult\"-\n\021UpdateWorkRequest\022\030" - "\n\004work\030\001 \001(\0132\n.flex.Work\"\024\n\022UpdateWorkRe" - "sponse\"\025\n\023GetRSTConfigRequest\"\?\n\024GetRSTC" - "onfigResponse\022\'\n\004rsts\030\001 \003(\0132\031.flex.Remot" - "eStorageTarget\"&\n\026GetStubContentsRequest" - "\022\014\n\004path\030\001 \001(\t\"S\n\027GetStubContentsRespons" - "e\022\023\n\006rst_id\030\001 \001(\rH\000\210\001\001\022\020\n\003url\030\002 \001(\tH\001\210\001\001" - "B\t\n\007_rst_idB\006\n\004_url2\370\004\n\tBeeRemote\022F\n\tSub" - "mitJob\022\033.beeremote.SubmitJobRequest\032\034.be" - "eremote.SubmitJobResponse\022N\n\013UpdatePaths" - "\022\035.beeremote.UpdatePathsRequest\032\036.beerem" - "ote.UpdatePathsResponse0\001\022I\n\nUpdateJobs\022" - "\034.beeremote.UpdateJobsRequest\032\035.beeremot" - "e.UpdateJobsResponse\022B\n\007GetJobs\022\031.beerem" - "ote.GetJobsRequest\032\032.beeremote.GetJobsRe" - "sponse0\001\022I\n\nUpdateWork\022\034.beeremote.Updat" - "eWorkRequest\032\035.beeremote.UpdateWorkRespo" - "nse\022O\n\014GetRSTConfig\022\036.beeremote.GetRSTCo" - "nfigRequest\032\037.beeremote.GetRSTConfigResp" - "onse\022X\n\017GetStubContents\022!.beeremote.GetS" - "tubContentsRequest\032\".beeremote.GetStubCo" - "ntentsResponse\022N\n\017GetCapabilities\022\034.flex" - ".GetCapabilitiesRequest\032\035.flex.GetCapabi" - "litiesResponseB,Z*github.com/thinkparq/p" - "rotobuf/go/beeremoteb\006proto3" + "\032\036google/protobuf/duration.proto\032\037google" + "/protobuf/timestamp.proto\":\n\020SubmitJobRe" + "quest\022&\n\007request\030\001 \001(\0132\025.beeremote.JobRe" + "quest\"\210\002\n\021SubmitJobResponse\022$\n\006result\030\001 " + "\001(\0132\024.beeremote.JobResult\022;\n\006status\030\002 \001(" + "\0162+.beeremote.SubmitJobResponse.Response" + "Status\"\217\001\n\016ResponseStatus\022\013\n\007INVALID\020\000\022\013" + "\n\007CREATED\020\001\022\014\n\010EXISTING\020\002\022\017\n\013NOT_ALLOWED" + "\020\003\022\024\n\020ALREADY_COMPLETE\020\004\022\025\n\021ALREADY_OFFL" + "OADED\020\005\022\027\n\023FAILED_PRECONDITION\020\006\"\230\006\n\nJob" + "Request\022\014\n\004path\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\020\n\010p" + "riority\030\003 \001(\005\022\035\n\025remote_storage_target\030\004" + " \001(\r\022\035\n\004sync\030\n \001(\0132\r.flex.SyncJobH\000\022\035\n\004m" + "ock\030\013 \001(\0132\r.flex.MockJobH\000\022#\n\007builder\030\014 " + "\001(\0132\020.flex.BuilderJobH\000\022\r\n\005force\030\005 \001(\010\022\022" + "\n\nstub_local\030\007 \001(\010\022A\n\021generation_status\030" + "\010 \001(\0132&.beeremote.JobRequest.GenerationS" + "tatus\022\023\n\006update\030\t \001(\010H\001\210\001\001\0220\n\016restore_po" + "licy\030\r \001(\0162\023.flex.RestorePolicyH\002\210\001\001\022\032\n\r" + "cooldown_secs\030\016 \001(\rH\003\210\001\001\0227\n\017delay_execut" + "ion\030\017 \001(\0132\031.google.protobuf.DurationH\004\210\001" + "\001\0220\n\tbulk_info\030\020 \001(\0132\030.flex.BulkJobReque" + "stInfoH\005\210\001\001\032\313\001\n\020GenerationStatus\022;\n\005stat" + "e\030\001 \001(\0162,.beeremote.JobRequest.Generatio" + "nStatus.State\022\017\n\007message\030\002 \001(\t\"i\n\005State\022" + "\017\n\013UNSPECIFIED\020\000\022\024\n\020ALREADY_COMPLETE\020\001\022\025" + "\n\021ALREADY_OFFLOADED\020\002\022\027\n\023FAILED_PRECONDI" + "TION\020\003\022\t\n\005ERROR\020\004B\006\n\004typeB\t\n\007_updateB\021\n\017" + "_restore_policyB\020\n\016_cooldown_secsB\022\n\020_de" + "lay_executionB\014\n\n_bulk_info\"\261\004\n\003Job\022\n\n\002i" + "d\030\001 \001(\t\022&\n\007request\030\002 \001(\0132\025.beeremote.Job" + "Request\022+\n\007created\030\003 \001(\0132\032.google.protob" + "uf.Timestamp\022%\n\006status\030\004 \001(\0132\025.beeremote" + ".Job.Status\022\023\n\013external_id\030\005 \001(\t\0224\n\013star" + "t_mtime\030\006 \001(\0132\032.google.protobuf.Timestam" + "pH\000\210\001\001\0223\n\nstop_mtime\030\007 \001(\0132\032.google.prot" + "obuf.TimestampH\001\210\001\001\032k\n\006Status\022#\n\005state\030\001" + " \001(\0162\024.beeremote.Job.State\022\017\n\007message\030\002 " + "\001(\t\022+\n\007updated\030\003 \001(\0132\032.google.protobuf.T" + "imestamp\"\225\001\n\005State\022\017\n\013UNSPECIFIED\020\000\022\013\n\007U" + "NKNOWN\020\001\022\016\n\nUNASSIGNED\020\002\022\r\n\tSCHEDULED\020\003\022" + "\013\n\007RUNNING\020\004\022\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007\022\r\n\tC" + "ANCELLED\020\010\022\r\n\tCOMPLETED\020\t\022\r\n\tOFFLOADED\020\n" + "B\016\n\014_start_mtimeB\r\n\013_stop_mtime\"\337\001\n\tJobR" + "esult\022\033\n\003job\030\001 \001(\0132\016.beeremote.Job\022(\n\rwo" + "rk_requests\030\002 \003(\0132\021.flex.WorkRequest\0225\n\014" + "work_results\030\003 \003(\0132\037.beeremote.JobResult" + ".WorkResult\032T\n\nWorkResult\022\030\n\004work\030\001 \001(\0132" + "\n.flex.Work\022\025\n\rassigned_node\030\002 \001(\t\022\025\n\ras" + "signed_pool\030\003 \001(\t\"a\n\022UpdatePathsRequest\022" + "\023\n\013path_prefix\030\001 \001(\t\0226\n\020requested_update" + "\030\002 \001(\0132\034.beeremote.UpdateJobsRequest\"Y\n\023" + "UpdatePathsResponse\022\014\n\004path\030\001 \001(\t\0224\n\rupd" + "ate_result\030\002 \001(\0132\035.beeremote.UpdateJobsR" + "esponse\"\311\002\n\021UpdateJobsRequest\022\014\n\004path\030\001 " + "\001(\t\022\023\n\006job_id\030\002 \001(\tH\000\210\001\001\022G\n\016remote_targe" + "ts\030\003 \003(\0132/.beeremote.UpdateJobsRequest.R" + "emoteTargetsEntry\0228\n\tnew_state\030\n \001(\0162%.b" + "eeremote.UpdateJobsRequest.NewState\022\024\n\014f" + "orce_update\030\004 \001(\010\0324\n\022RemoteTargetsEntry\022" + "\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\010:\0028\001\"7\n\010NewSt" + "ate\022\017\n\013UNSPECIFIED\020\000\022\r\n\tCANCELLED\020\001\022\013\n\007D" + "ELETED\020\002B\t\n\007_job_id\"X\n\022UpdateJobsRespons" + "e\022\n\n\002ok\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\022%\n\007result" + "s\030\003 \003(\0132\024.beeremote.JobResult\"\236\002\n\016GetJob" + "sRequest\022F\n\022by_job_id_and_path\030\001 \001(\0132(.b" + "eeremote.GetJobsRequest.QueryIdAndPathH\000" + "\022\027\n\rby_exact_path\030\002 \001(\tH\000\022\030\n\016by_path_pre" + "fix\030\003 \001(\tH\000\022\035\n\025include_work_requests\030\004 \001" + "(\010\022\034\n\024include_work_results\030\005 \001(\010\022\033\n\023upda" + "te_work_results\030\006 \001(\010\032.\n\016QueryIdAndPath\022" + "\016\n\006job_id\030\001 \001(\t\022\014\n\004path\030\002 \001(\tB\007\n\005query\"F" + "\n\017GetJobsResponse\022\014\n\004path\030\001 \001(\t\022%\n\007resul" + "ts\030\002 \003(\0132\024.beeremote.JobResult\"-\n\021Update" + "WorkRequest\022\030\n\004work\030\001 \001(\0132\n.flex.Work\"\024\n" + "\022UpdateWorkResponse\"\025\n\023GetRSTConfigReque" + "st\"\?\n\024GetRSTConfigResponse\022\'\n\004rsts\030\001 \003(\013" + "2\031.flex.RemoteStorageTarget\"&\n\026GetStubCo" + "ntentsRequest\022\014\n\004path\030\001 \001(\t\"S\n\027GetStubCo" + "ntentsResponse\022\023\n\006rst_id\030\001 \001(\rH\000\210\001\001\022\020\n\003u" + "rl\030\002 \001(\tH\001\210\001\001B\t\n\007_rst_idB\006\n\004_url2\370\004\n\tBee" + "Remote\022F\n\tSubmitJob\022\033.beeremote.SubmitJo" + "bRequest\032\034.beeremote.SubmitJobResponse\022N" + "\n\013UpdatePaths\022\035.beeremote.UpdatePathsReq" + "uest\032\036.beeremote.UpdatePathsResponse0\001\022I" + "\n\nUpdateJobs\022\034.beeremote.UpdateJobsReque" + "st\032\035.beeremote.UpdateJobsResponse\022B\n\007Get" + "Jobs\022\031.beeremote.GetJobsRequest\032\032.beerem" + "ote.GetJobsResponse0\001\022I\n\nUpdateWork\022\034.be" + "eremote.UpdateWorkRequest\032\035.beeremote.Up" + "dateWorkResponse\022O\n\014GetRSTConfig\022\036.beere" + "mote.GetRSTConfigRequest\032\037.beeremote.Get" + "RSTConfigResponse\022X\n\017GetStubContents\022!.b" + "eeremote.GetStubContentsRequest\032\".beerem" + "ote.GetStubContentsResponse\022N\n\017GetCapabi" + "lities\022\034.flex.GetCapabilitiesRequest\032\035.f" + "lex.GetCapabilitiesResponseB,Z*github.co" + "m/thinkparq/protobuf/go/beeremoteb\006proto" + "3" }; -static const ::_pbi::DescriptorTable* const descriptor_table_beeremote_2eproto_deps[2] = +static const ::_pbi::DescriptorTable* const descriptor_table_beeremote_2eproto_deps[3] = { &::descriptor_table_flex_2eproto, + &::descriptor_table_google_2fprotobuf_2fduration_2eproto, &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, }; static ::absl::once_flag descriptor_table_beeremote_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beeremote_2eproto = { false, false, - 3788, + 3961, descriptor_table_protodef_beeremote_2eproto, "beeremote.proto", &descriptor_table_beeremote_2eproto_once, descriptor_table_beeremote_2eproto_deps, - 2, + 3, 22, schemas, file_default_instances, @@ -2070,6 +2082,16 @@ void JobRequest::clear_builder() { clear_has_type(); } } +void JobRequest::clear_delay_execution() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.delay_execution_ != nullptr) _impl_.delay_execution_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void JobRequest::clear_bulk_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bulk_info_ != nullptr) _impl_.bulk_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} JobRequest::JobRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { @@ -2106,6 +2128,12 @@ JobRequest::JobRequest( _impl_.generation_status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest_GenerationStatus>( arena, *from._impl_.generation_status_) : nullptr; + _impl_.delay_execution_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Duration>( + arena, *from._impl_.delay_execution_) + : nullptr; + _impl_.bulk_info_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::flex::BulkJobRequestInfo>( + arena, *from._impl_.bulk_info_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, priority_), reinterpret_cast(&from._impl_) + @@ -2158,6 +2186,8 @@ inline void JobRequest::SharedDtor(MessageLite& self) { this_._impl_.path_.Destroy(); this_._impl_.name_.Destroy(); delete this_._impl_.generation_status_; + delete this_._impl_.delay_execution_; + delete this_._impl_.bulk_info_; if (this_.has_type()) { this_.clear_type(); } @@ -2236,16 +2266,16 @@ const ::google::protobuf::internal::ClassData* JobRequest::GetClassData() const return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 13, 4, 45, 2> JobRequest::_table_ = { +const ::_pbi::TcParseTable<4, 15, 6, 45, 2> JobRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(JobRequest, _impl_._has_bits_), 0, // no _extensions_ - 14, 120, // max_field_number, fast_idx_mask + 16, 120, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294950944, // skipmap + 4294901792, // skipmap offsetof(decltype(_table_), field_entries), - 13, // num_field_entries - 4, // num_aux_entries + 15, // num_field_entries + 6, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler @@ -2254,7 +2284,9 @@ const ::_pbi::TcParseTable<4, 13, 4, 45, 2> JobRequest::_table_ = { ::_pbi::TcParser::GetTable<::beeremote::JobRequest>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ - {::_pbi::TcParser::MiniParse, {}}, + // optional .flex.BulkJobRequestInfo bulk_info = 16; + {::_pbi::TcParser::FastMtS2, + {386, 2, 5, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.bulk_info_)}}, // string path = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_)}}, @@ -2278,18 +2310,20 @@ const ::_pbi::TcParseTable<4, 13, 4, 45, 2> JobRequest::_table_ = { {::_pbi::TcParser::FastMtS1, {66, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_)}}, // optional bool update = 9; - {::_pbi::TcParser::SingularVarintNoZag1(), - {72, 1, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_)}}, + {::_pbi::TcParser::SingularVarintNoZag1(), + {72, 3, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, // optional .flex.RestorePolicy restore_policy = 13; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.restore_policy_), 2>(), - {104, 2, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.restore_policy_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.restore_policy_), 4>(), + {104, 4, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.restore_policy_)}}, // optional uint32 cooldown_secs = 14; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.cooldown_secs_), 3>(), - {112, 3, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.cooldown_secs_)}}, - {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.cooldown_secs_), 5>(), + {112, 5, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.cooldown_secs_)}}, + // optional .google.protobuf.Duration delay_execution = 15; + {::_pbi::TcParser::FastMtS1, + {122, 1, 4, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.delay_execution_)}}, }}, {{ 65535, 65535 }}, {{ @@ -2315,7 +2349,7 @@ const ::_pbi::TcParseTable<4, 13, 4, 45, 2> JobRequest::_table_ = { {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // optional bool update = 9; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_), _Internal::kHasBitsOffset + 1, 0, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)}, // .flex.SyncJob sync = 10; {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.sync_), _Internal::kOneofCaseOffset + 0, 1, @@ -2327,16 +2361,24 @@ const ::_pbi::TcParseTable<4, 13, 4, 45, 2> JobRequest::_table_ = { {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.builder_), _Internal::kOneofCaseOffset + 0, 3, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, // optional .flex.RestorePolicy restore_policy = 13; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.restore_policy_), _Internal::kHasBitsOffset + 2, 0, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.restore_policy_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // optional uint32 cooldown_secs = 14; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.cooldown_secs_), _Internal::kHasBitsOffset + 3, 0, + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.cooldown_secs_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // optional .google.protobuf.Duration delay_execution = 15; + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.delay_execution_), _Internal::kHasBitsOffset + 1, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .flex.BulkJobRequestInfo bulk_info = 16; + {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.bulk_info_), _Internal::kHasBitsOffset + 2, 5, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::beeremote::JobRequest_GenerationStatus>()}, {::_pbi::TcParser::GetTable<::flex::SyncJob>()}, {::_pbi::TcParser::GetTable<::flex::MockJob>()}, {::_pbi::TcParser::GetTable<::flex::BuilderJob>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()}, + {::_pbi::TcParser::GetTable<::flex::BulkJobRequestInfo>()}, }}, {{ "\24\4\4\0\0\0\0\0\0\0\0\0\0\0\0\0" "beeremote.JobRequest" @@ -2355,14 +2397,24 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { _impl_.path_.ClearToEmpty(); _impl_.name_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.generation_status_ != nullptr); - _impl_.generation_status_->Clear(); + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.generation_status_ != nullptr); + _impl_.generation_status_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.delay_execution_ != nullptr); + _impl_.delay_execution_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.bulk_info_ != nullptr); + _impl_.bulk_info_->Clear(); + } } ::memset(&_impl_.priority_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.stub_local_) - reinterpret_cast(&_impl_.priority_)) + sizeof(_impl_.stub_local_)); - if (cached_has_bits & 0x0000000eu) { + if (cached_has_bits & 0x00000038u) { ::memset(&_impl_.update_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.cooldown_secs_) - reinterpret_cast(&_impl_.update_)) + sizeof(_impl_.cooldown_secs_)); @@ -2440,7 +2492,7 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { } // optional bool update = 9; - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000008u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 9, this_._internal_update(), target); @@ -2469,19 +2521,33 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { break; } // optional .flex.RestorePolicy restore_policy = 13; - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000010u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 13, this_._internal_restore_policy(), target); } // optional uint32 cooldown_secs = 14; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000020u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 14, this_._internal_cooldown_secs(), target); } + // optional .google.protobuf.Duration delay_execution = 15; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, *this_._impl_.delay_execution_, this_._impl_.delay_execution_->GetCachedSize(), target, + stream); + } + + // optional .flex.BulkJobRequestInfo bulk_info = 16; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 16, *this_._impl_.bulk_info_, this_._impl_.bulk_info_->GetCachedSize(), target, + stream); + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -2518,13 +2584,23 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { this_._internal_name()); } } - { + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { // .beeremote.JobRequest.GenerationStatus generation_status = 8; - cached_has_bits = this_._impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.generation_status_); } + // optional .google.protobuf.Duration delay_execution = 15; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.delay_execution_); + } + // optional .flex.BulkJobRequestInfo bulk_info = 16; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bulk_info_); + } } { // int32 priority = 3; @@ -2546,18 +2622,18 @@ PROTOBUF_NOINLINE void JobRequest::Clear() { total_size += 2; } } - if (cached_has_bits & 0x0000000eu) { + if (cached_has_bits & 0x00000038u) { // optional bool update = 9; - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000008u) { total_size += 2; } // optional .flex.RestorePolicy restore_policy = 13; - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000010u) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_restore_policy()); } // optional uint32 cooldown_secs = 14; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000020u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_cooldown_secs()); } @@ -2605,13 +2681,33 @@ void JobRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog _this->_internal_set_name(from._internal_name()); } cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.generation_status_ != nullptr); - if (_this->_impl_.generation_status_ == nullptr) { - _this->_impl_.generation_status_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest_GenerationStatus>(arena, *from._impl_.generation_status_); - } else { - _this->_impl_.generation_status_->MergeFrom(*from._impl_.generation_status_); + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.generation_status_ != nullptr); + if (_this->_impl_.generation_status_ == nullptr) { + _this->_impl_.generation_status_ = + ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest_GenerationStatus>(arena, *from._impl_.generation_status_); + } else { + _this->_impl_.generation_status_->MergeFrom(*from._impl_.generation_status_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.delay_execution_ != nullptr); + if (_this->_impl_.delay_execution_ == nullptr) { + _this->_impl_.delay_execution_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Duration>(arena, *from._impl_.delay_execution_); + } else { + _this->_impl_.delay_execution_->MergeFrom(*from._impl_.delay_execution_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.bulk_info_ != nullptr); + if (_this->_impl_.bulk_info_ == nullptr) { + _this->_impl_.bulk_info_ = + ::google::protobuf::Message::CopyConstruct<::flex::BulkJobRequestInfo>(arena, *from._impl_.bulk_info_); + } else { + _this->_impl_.bulk_info_->MergeFrom(*from._impl_.bulk_info_); + } } } if (from._internal_priority() != 0) { @@ -2626,14 +2722,14 @@ void JobRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog if (from._internal_stub_local() != 0) { _this->_impl_.stub_local_ = from._impl_.stub_local_; } - if (cached_has_bits & 0x0000000eu) { - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000038u) { + if (cached_has_bits & 0x00000008u) { _this->_impl_.update_ = from._impl_.update_; } - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000010u) { _this->_impl_.restore_policy_ = from._impl_.restore_policy_; } - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000020u) { _this->_impl_.cooldown_secs_ = from._impl_.cooldown_secs_; } } diff --git a/cpp/beeremote.pb.h b/cpp/beeremote.pb.h index 672b027..3b33215 100644 --- a/cpp/beeremote.pb.h +++ b/cpp/beeremote.pb.h @@ -35,6 +35,7 @@ #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "flex.pb.h" +#include "google/protobuf/duration.pb.h" #include "google/protobuf/timestamp.pb.h" // @@protoc_insertion_point(includes) @@ -2265,31 +2266,31 @@ class GetJobsRequest final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class UpdateWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdateWorkRequest) */ { +class UpdatePathsRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:beeremote.UpdatePathsRequest) */ { public: - inline UpdateWorkRequest() : UpdateWorkRequest(nullptr) {} - ~UpdateWorkRequest() PROTOBUF_FINAL; + inline UpdatePathsRequest() : UpdatePathsRequest(nullptr) {} + ~UpdatePathsRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { + void operator delete(UpdatePathsRequest* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( + explicit PROTOBUF_CONSTEXPR UpdatePathsRequest( ::google::protobuf::internal::ConstantInitialized); - inline UpdateWorkRequest(const UpdateWorkRequest& from) : UpdateWorkRequest(nullptr, from) {} - inline UpdateWorkRequest(UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(nullptr, std::move(from)) {} - inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { + inline UpdatePathsRequest(const UpdatePathsRequest& from) : UpdatePathsRequest(nullptr, from) {} + inline UpdatePathsRequest(UpdatePathsRequest&& from) noexcept + : UpdatePathsRequest(nullptr, std::move(from)) {} + inline UpdatePathsRequest& operator=(const UpdatePathsRequest& from) { CopyFrom(from); return *this; } - inline UpdateWorkRequest& operator=(UpdateWorkRequest&& from) noexcept { + inline UpdatePathsRequest& operator=(UpdatePathsRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -2317,16 +2318,16 @@ class UpdateWorkRequest final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateWorkRequest& default_instance() { + static const UpdatePathsRequest& default_instance() { return *internal_default_instance(); } - static inline const UpdateWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkRequest_default_instance_); + static inline const UpdatePathsRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdatePathsRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 16; - friend void swap(UpdateWorkRequest& a, UpdateWorkRequest& b) { a.Swap(&b); } - inline void Swap(UpdateWorkRequest* other) { + static constexpr int kIndexInFileMessages = 8; + friend void swap(UpdatePathsRequest& a, UpdatePathsRequest& b) { a.Swap(&b); } + inline void Swap(UpdatePathsRequest* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2334,7 +2335,7 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkRequest* other) { + void UnsafeArenaSwap(UpdatePathsRequest* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2342,13 +2343,13 @@ class UpdateWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + UpdatePathsRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateWorkRequest& from); + void CopyFrom(const UpdatePathsRequest& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::MergeImpl(*this, from); } + void MergeFrom(const UpdatePathsRequest& from) { UpdatePathsRequest::MergeImpl(*this, from); } private: static void MergeImpl( @@ -2385,18 +2386,18 @@ class UpdateWorkRequest final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateWorkRequest* other); + void InternalSwap(UpdatePathsRequest* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdateWorkRequest"; } + static ::absl::string_view FullMessageName() { return "beeremote.UpdatePathsRequest"; } protected: - explicit UpdateWorkRequest(::google::protobuf::Arena* arena); - UpdateWorkRequest(::google::protobuf::Arena* arena, const UpdateWorkRequest& from); - UpdateWorkRequest(::google::protobuf::Arena* arena, UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(arena) { + explicit UpdatePathsRequest(::google::protobuf::Arena* arena); + UpdatePathsRequest(::google::protobuf::Arena* arena, const UpdatePathsRequest& from); + UpdatePathsRequest(::google::protobuf::Arena* arena, UpdatePathsRequest&& from) noexcept + : UpdatePathsRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -2411,30 +2412,47 @@ class UpdateWorkRequest final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kWorkFieldNumber = 1, + kPathPrefixFieldNumber = 1, + kRequestedUpdateFieldNumber = 2, }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); + // string path_prefix = 1; + void clear_path_prefix() ; + const std::string& path_prefix() const; + template + void set_path_prefix(Arg_&& arg, Args_... args); + std::string* mutable_path_prefix(); + PROTOBUF_NODISCARD std::string* release_path_prefix(); + void set_allocated_path_prefix(std::string* value); private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + const std::string& _internal_path_prefix() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_path_prefix( + const std::string& value); + std::string* _internal_mutable_path_prefix(); public: - // @@protoc_insertion_point(class_scope:beeremote.UpdateWorkRequest) + // .beeremote.UpdateJobsRequest requested_update = 2; + bool has_requested_update() const; + void clear_requested_update() ; + const ::beeremote::UpdateJobsRequest& requested_update() const; + PROTOBUF_NODISCARD ::beeremote::UpdateJobsRequest* release_requested_update(); + ::beeremote::UpdateJobsRequest* mutable_requested_update(); + void set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); + void unsafe_arena_set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); + ::beeremote::UpdateJobsRequest* unsafe_arena_release_requested_update(); + + private: + const ::beeremote::UpdateJobsRequest& _internal_requested_update() const; + ::beeremote::UpdateJobsRequest* _internal_mutable_requested_update(); + + public: + // @@protoc_insertion_point(class_scope:beeremote.UpdatePathsRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, - 0, 2> + 1, 2, 1, + 48, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2450,10 +2468,11 @@ class UpdateWorkRequest final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const UpdateWorkRequest& from_msg); + const UpdatePathsRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; + ::google::protobuf::internal::ArenaStringPtr path_prefix_; + ::beeremote::UpdateJobsRequest* requested_update_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -2461,31 +2480,31 @@ class UpdateWorkRequest final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class UpdatePathsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdatePathsRequest) */ { +class UpdateWorkRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:beeremote.UpdateWorkRequest) */ { public: - inline UpdatePathsRequest() : UpdatePathsRequest(nullptr) {} - ~UpdatePathsRequest() PROTOBUF_FINAL; + inline UpdateWorkRequest() : UpdateWorkRequest(nullptr) {} + ~UpdateWorkRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdatePathsRequest* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsRequest)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdatePathsRequest( + explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( ::google::protobuf::internal::ConstantInitialized); - inline UpdatePathsRequest(const UpdatePathsRequest& from) : UpdatePathsRequest(nullptr, from) {} - inline UpdatePathsRequest(UpdatePathsRequest&& from) noexcept - : UpdatePathsRequest(nullptr, std::move(from)) {} - inline UpdatePathsRequest& operator=(const UpdatePathsRequest& from) { + inline UpdateWorkRequest(const UpdateWorkRequest& from) : UpdateWorkRequest(nullptr, from) {} + inline UpdateWorkRequest(UpdateWorkRequest&& from) noexcept + : UpdateWorkRequest(nullptr, std::move(from)) {} + inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { CopyFrom(from); return *this; } - inline UpdatePathsRequest& operator=(UpdatePathsRequest&& from) noexcept { + inline UpdateWorkRequest& operator=(UpdateWorkRequest&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -2513,16 +2532,16 @@ class UpdatePathsRequest final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdatePathsRequest& default_instance() { + static const UpdateWorkRequest& default_instance() { return *internal_default_instance(); } - static inline const UpdatePathsRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdatePathsRequest_default_instance_); + static inline const UpdateWorkRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateWorkRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 8; - friend void swap(UpdatePathsRequest& a, UpdatePathsRequest& b) { a.Swap(&b); } - inline void Swap(UpdatePathsRequest* other) { + static constexpr int kIndexInFileMessages = 16; + friend void swap(UpdateWorkRequest& a, UpdateWorkRequest& b) { a.Swap(&b); } + inline void Swap(UpdateWorkRequest* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -2530,7 +2549,7 @@ class UpdatePathsRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdatePathsRequest* other) { + void UnsafeArenaSwap(UpdateWorkRequest* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -2538,13 +2557,13 @@ class UpdatePathsRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdatePathsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdatePathsRequest& from); + void CopyFrom(const UpdateWorkRequest& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdatePathsRequest& from) { UpdatePathsRequest::MergeImpl(*this, from); } + void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::MergeImpl(*this, from); } private: static void MergeImpl( @@ -2581,18 +2600,18 @@ class UpdatePathsRequest final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdatePathsRequest* other); + void InternalSwap(UpdateWorkRequest* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdatePathsRequest"; } + static ::absl::string_view FullMessageName() { return "beeremote.UpdateWorkRequest"; } protected: - explicit UpdatePathsRequest(::google::protobuf::Arena* arena); - UpdatePathsRequest(::google::protobuf::Arena* arena, const UpdatePathsRequest& from); - UpdatePathsRequest(::google::protobuf::Arena* arena, UpdatePathsRequest&& from) noexcept - : UpdatePathsRequest(arena) { + explicit UpdateWorkRequest(::google::protobuf::Arena* arena); + UpdateWorkRequest(::google::protobuf::Arena* arena, const UpdateWorkRequest& from); + UpdateWorkRequest(::google::protobuf::Arena* arena, UpdateWorkRequest&& from) noexcept + : UpdateWorkRequest(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -2607,47 +2626,30 @@ class UpdatePathsRequest final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kPathPrefixFieldNumber = 1, - kRequestedUpdateFieldNumber = 2, + kWorkFieldNumber = 1, }; - // string path_prefix = 1; - void clear_path_prefix() ; - const std::string& path_prefix() const; - template - void set_path_prefix(Arg_&& arg, Args_... args); - std::string* mutable_path_prefix(); - PROTOBUF_NODISCARD std::string* release_path_prefix(); - void set_allocated_path_prefix(std::string* value); - - private: - const std::string& _internal_path_prefix() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path_prefix( - const std::string& value); - std::string* _internal_mutable_path_prefix(); - - public: - // .beeremote.UpdateJobsRequest requested_update = 2; - bool has_requested_update() const; - void clear_requested_update() ; - const ::beeremote::UpdateJobsRequest& requested_update() const; - PROTOBUF_NODISCARD ::beeremote::UpdateJobsRequest* release_requested_update(); - ::beeremote::UpdateJobsRequest* mutable_requested_update(); - void set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); - void unsafe_arena_set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); - ::beeremote::UpdateJobsRequest* unsafe_arena_release_requested_update(); + // .flex.Work work = 1; + bool has_work() const; + void clear_work() ; + const ::flex::Work& work() const; + PROTOBUF_NODISCARD ::flex::Work* release_work(); + ::flex::Work* mutable_work(); + void set_allocated_work(::flex::Work* value); + void unsafe_arena_set_allocated_work(::flex::Work* value); + ::flex::Work* unsafe_arena_release_work(); private: - const ::beeremote::UpdateJobsRequest& _internal_requested_update() const; - ::beeremote::UpdateJobsRequest* _internal_mutable_requested_update(); + const ::flex::Work& _internal_work() const; + ::flex::Work* _internal_mutable_work(); public: - // @@protoc_insertion_point(class_scope:beeremote.UpdatePathsRequest) + // @@protoc_insertion_point(class_scope:beeremote.UpdateWorkRequest) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 48, 2> + 0, 1, 1, + 0, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -2663,11 +2665,10 @@ class UpdatePathsRequest final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const UpdatePathsRequest& from_msg); + const UpdateWorkRequest& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr path_prefix_; - ::beeremote::UpdateJobsRequest* requested_update_; + ::flex::Work* work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -3063,6 +3064,8 @@ class JobRequest final : public ::google::protobuf::Message kPathFieldNumber = 1, kNameFieldNumber = 2, kGenerationStatusFieldNumber = 8, + kDelayExecutionFieldNumber = 15, + kBulkInfoFieldNumber = 16, kPriorityFieldNumber = 3, kRemoteStorageTargetFieldNumber = 4, kForceFieldNumber = 5, @@ -3120,6 +3123,36 @@ class JobRequest final : public ::google::protobuf::Message const ::beeremote::JobRequest_GenerationStatus& _internal_generation_status() const; ::beeremote::JobRequest_GenerationStatus* _internal_mutable_generation_status(); + public: + // optional .google.protobuf.Duration delay_execution = 15; + bool has_delay_execution() const; + void clear_delay_execution() ; + const ::google::protobuf::Duration& delay_execution() const; + PROTOBUF_NODISCARD ::google::protobuf::Duration* release_delay_execution(); + ::google::protobuf::Duration* mutable_delay_execution(); + void set_allocated_delay_execution(::google::protobuf::Duration* value); + void unsafe_arena_set_allocated_delay_execution(::google::protobuf::Duration* value); + ::google::protobuf::Duration* unsafe_arena_release_delay_execution(); + + private: + const ::google::protobuf::Duration& _internal_delay_execution() const; + ::google::protobuf::Duration* _internal_mutable_delay_execution(); + + public: + // optional .flex.BulkJobRequestInfo bulk_info = 16; + bool has_bulk_info() const; + void clear_bulk_info() ; + const ::flex::BulkJobRequestInfo& bulk_info() const; + PROTOBUF_NODISCARD ::flex::BulkJobRequestInfo* release_bulk_info(); + ::flex::BulkJobRequestInfo* mutable_bulk_info(); + void set_allocated_bulk_info(::flex::BulkJobRequestInfo* value); + void unsafe_arena_set_allocated_bulk_info(::flex::BulkJobRequestInfo* value); + ::flex::BulkJobRequestInfo* unsafe_arena_release_bulk_info(); + + private: + const ::flex::BulkJobRequestInfo& _internal_bulk_info() const; + ::flex::BulkJobRequestInfo* _internal_mutable_bulk_info(); + public: // int32 priority = 3; void clear_priority() ; @@ -3263,7 +3296,7 @@ class JobRequest final : public ::google::protobuf::Message inline void clear_has_type(); friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 4, 13, 4, + 4, 15, 6, 45, 2> _table_; @@ -3286,6 +3319,8 @@ class JobRequest final : public ::google::protobuf::Message ::google::protobuf::internal::ArenaStringPtr path_; ::google::protobuf::internal::ArenaStringPtr name_; ::beeremote::JobRequest_GenerationStatus* generation_status_; + ::google::protobuf::Duration* delay_execution_; + ::flex::BulkJobRequestInfo* bulk_info_; ::int32_t priority_; ::uint32_t remote_storage_target_; bool force_; @@ -5949,13 +5984,13 @@ inline void JobRequest::set_allocated_generation_status(::beeremote::JobRequest_ // optional bool update = 9; inline bool JobRequest::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; return value; } inline void JobRequest::clear_update() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } inline bool JobRequest::update() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.update) @@ -5963,7 +5998,7 @@ inline bool JobRequest::update() const { } inline void JobRequest::set_update(bool value) { _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.update) } inline bool JobRequest::_internal_update() const { @@ -5977,13 +6012,13 @@ inline void JobRequest::_internal_set_update(bool value) { // optional .flex.RestorePolicy restore_policy = 13; inline bool JobRequest::has_restore_policy() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; return value; } inline void JobRequest::clear_restore_policy() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.restore_policy_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; + _impl_._has_bits_[0] &= ~0x00000010u; } inline ::flex::RestorePolicy JobRequest::restore_policy() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.restore_policy) @@ -5991,7 +6026,7 @@ inline ::flex::RestorePolicy JobRequest::restore_policy() const { } inline void JobRequest::set_restore_policy(::flex::RestorePolicy value) { _internal_set_restore_policy(value); - _impl_._has_bits_[0] |= 0x00000004u; + _impl_._has_bits_[0] |= 0x00000010u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.restore_policy) } inline ::flex::RestorePolicy JobRequest::_internal_restore_policy() const { @@ -6005,13 +6040,13 @@ inline void JobRequest::_internal_set_restore_policy(::flex::RestorePolicy value // optional uint32 cooldown_secs = 14; inline bool JobRequest::has_cooldown_secs() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; return value; } inline void JobRequest::clear_cooldown_secs() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_.cooldown_secs_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_._has_bits_[0] &= ~0x00000020u; } inline ::uint32_t JobRequest::cooldown_secs() const { // @@protoc_insertion_point(field_get:beeremote.JobRequest.cooldown_secs) @@ -6019,7 +6054,7 @@ inline ::uint32_t JobRequest::cooldown_secs() const { } inline void JobRequest::set_cooldown_secs(::uint32_t value) { _internal_set_cooldown_secs(value); - _impl_._has_bits_[0] |= 0x00000008u; + _impl_._has_bits_[0] |= 0x00000020u; // @@protoc_insertion_point(field_set:beeremote.JobRequest.cooldown_secs) } inline ::uint32_t JobRequest::_internal_cooldown_secs() const { @@ -6031,6 +6066,188 @@ inline void JobRequest::_internal_set_cooldown_secs(::uint32_t value) { _impl_.cooldown_secs_ = value; } +// optional .google.protobuf.Duration delay_execution = 15; +inline bool JobRequest::has_delay_execution() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.delay_execution_ != nullptr); + return value; +} +inline const ::google::protobuf::Duration& JobRequest::_internal_delay_execution() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Duration* p = _impl_.delay_execution_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Duration_default_instance_); +} +inline const ::google::protobuf::Duration& JobRequest::delay_execution() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:beeremote.JobRequest.delay_execution) + return _internal_delay_execution(); +} +inline void JobRequest::unsafe_arena_set_allocated_delay_execution(::google::protobuf::Duration* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.delay_execution_); + } + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.delay_execution) +} +inline ::google::protobuf::Duration* JobRequest::release_delay_execution() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Duration* released = _impl_.delay_execution_; + _impl_.delay_execution_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Duration* JobRequest::unsafe_arena_release_delay_execution() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:beeremote.JobRequest.delay_execution) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Duration* temp = _impl_.delay_execution_; + _impl_.delay_execution_ = nullptr; + return temp; +} +inline ::google::protobuf::Duration* JobRequest::_internal_mutable_delay_execution() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.delay_execution_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena()); + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(p); + } + return _impl_.delay_execution_; +} +inline ::google::protobuf::Duration* JobRequest::mutable_delay_execution() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Duration* _msg = _internal_mutable_delay_execution(); + // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.delay_execution) + return _msg; +} +inline void JobRequest::set_allocated_delay_execution(::google::protobuf::Duration* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.delay_execution_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(value); + // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.delay_execution) +} + +// optional .flex.BulkJobRequestInfo bulk_info = 16; +inline bool JobRequest::has_bulk_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bulk_info_ != nullptr); + return value; +} +inline const ::flex::BulkJobRequestInfo& JobRequest::_internal_bulk_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::flex::BulkJobRequestInfo* p = _impl_.bulk_info_; + return p != nullptr ? *p : reinterpret_cast(::flex::_BulkJobRequestInfo_default_instance_); +} +inline const ::flex::BulkJobRequestInfo& JobRequest::bulk_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:beeremote.JobRequest.bulk_info) + return _internal_bulk_info(); +} +inline void JobRequest::unsafe_arena_set_allocated_bulk_info(::flex::BulkJobRequestInfo* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bulk_info_); + } + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.bulk_info) +} +inline ::flex::BulkJobRequestInfo* JobRequest::release_bulk_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::flex::BulkJobRequestInfo* released = _impl_.bulk_info_; + _impl_.bulk_info_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::flex::BulkJobRequestInfo* JobRequest::unsafe_arena_release_bulk_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:beeremote.JobRequest.bulk_info) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::flex::BulkJobRequestInfo* temp = _impl_.bulk_info_; + _impl_.bulk_info_ = nullptr; + return temp; +} +inline ::flex::BulkJobRequestInfo* JobRequest::_internal_mutable_bulk_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.bulk_info_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BulkJobRequestInfo>(GetArena()); + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(p); + } + return _impl_.bulk_info_; +} +inline ::flex::BulkJobRequestInfo* JobRequest::mutable_bulk_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::flex::BulkJobRequestInfo* _msg = _internal_mutable_bulk_info(); + // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.bulk_info) + return _msg; +} +inline void JobRequest::set_allocated_bulk_info(::flex::BulkJobRequestInfo* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bulk_info_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.bulk_info) +} + inline bool JobRequest::has_type() const { return type_case() != TYPE_NOT_SET; } diff --git a/cpp/flex.pb.cc b/cpp/flex.pb.cc index 1b67706..4d8f7df 100644 --- a/cpp/flex.pb.cc +++ b/cpp/flex.pb.cc @@ -84,7 +84,8 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr Work_Part::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : entity_tag_( + : _cached_size_{0}, + entity_tag_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), checksum_sha256_( @@ -94,7 +95,7 @@ inline constexpr Work_Part::Impl_::Impl_( offset_stop_{::int64_t{0}}, part_number_{0}, completed_{false}, - _cached_size_{0} {} + started_{false} {} template PROTOBUF_CONSTEXPR Work_Part::Work_Part(::_pbi::ConstantInitialized) @@ -437,6 +438,72 @@ struct BulkUpdateWorkRequestDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkUpdateWorkRequestDefaultTypeInternal _BulkUpdateWorkRequest_default_instance_; +inline constexpr BulkOperation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + state_mount_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + operation_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + errors_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + next_job_index_{::int64_t{0}}, + rst_id_{0u} {} + +template +PROTOBUF_CONSTEXPR BulkOperation::BulkOperation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BulkOperationDefaultTypeInternal { + PROTOBUF_CONSTEXPR BulkOperationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BulkOperationDefaultTypeInternal() {} + union { + BulkOperation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkOperationDefaultTypeInternal _BulkOperation_default_instance_; + +inline constexpr BulkJobRequestInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : state_mount_path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + operation_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + job_index_{::int64_t{0}}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BulkJobRequestInfo::BulkJobRequestInfo(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BulkJobRequestInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR BulkJobRequestInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BulkJobRequestInfoDefaultTypeInternal() {} + union { + BulkJobRequestInfo _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkJobRequestInfoDefaultTypeInternal _BulkJobRequestInfo_default_instance_; + inline constexpr BuildInfo::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : binary_name_( @@ -516,24 +583,13 @@ struct BeeRemoteNodeDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BeeRemoteNodeDefaultTypeInternal _BeeRemoteNode_default_instance_; -inline constexpr Work::Impl_::Impl_( +inline constexpr Work_JobBuilderInfo::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - parts_{}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - request_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - status_{nullptr}, - job_builder_{false} {} + : bulk_operations_{}, + _cached_size_{0} {} template -PROTOBUF_CONSTEXPR Work::Work(::_pbi::ConstantInitialized) +PROTOBUF_CONSTEXPR Work_JobBuilderInfo::Work_JobBuilderInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE @@ -541,16 +597,16 @@ PROTOBUF_CONSTEXPR Work::Work(::_pbi::ConstantInitialized) #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } -struct WorkDefaultTypeInternal { - PROTOBUF_CONSTEXPR WorkDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~WorkDefaultTypeInternal() {} +struct Work_JobBuilderInfoDefaultTypeInternal { + PROTOBUF_CONSTEXPR Work_JobBuilderInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Work_JobBuilderInfoDefaultTypeInternal() {} union { - Work _instance; + Work_JobBuilderInfo _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkDefaultTypeInternal _Work_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Work_JobBuilderInfoDefaultTypeInternal _Work_JobBuilderInfo_default_instance_; inline constexpr RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept @@ -663,13 +719,25 @@ struct GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal _GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_; -inline constexpr UpdateWorkResponse::Impl_::Impl_( +inline constexpr Work::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, - work_{nullptr} {} + parts_{}, + path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + job_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + request_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_{nullptr}, + job_builder_info_{nullptr}, + job_builder_{false} {} template -PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_pbi::ConstantInitialized) +PROTOBUF_CONSTEXPR Work::Work(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(_class_data_.base()), #else // PROTOBUF_CUSTOM_VTABLE @@ -677,16 +745,16 @@ PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_pbi::ConstantInitia #endif // PROTOBUF_CUSTOM_VTABLE _impl_(::_pbi::ConstantInitialized()) { } -struct UpdateWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkResponseDefaultTypeInternal() {} +struct WorkDefaultTypeInternal { + PROTOBUF_CONSTEXPR WorkDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WorkDefaultTypeInternal() {} union { - UpdateWorkResponse _instance; + Work _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkDefaultTypeInternal _Work_default_instance_; inline constexpr SyncJob::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept @@ -728,31 +796,6 @@ struct SyncJobDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SyncJobDefaultTypeInternal _SyncJob_default_instance_; -inline constexpr SubmitWorkResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - work_{nullptr} {} - -template -PROTOBUF_CONSTEXPR SubmitWorkResponse::SubmitWorkResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct SubmitWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubmitWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SubmitWorkResponseDefaultTypeInternal() {} - union { - SubmitWorkResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitWorkResponseDefaultTypeInternal _SubmitWorkResponse_default_instance_; - inline constexpr RemoteStorageTarget_S3::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : storage_class_{}, @@ -901,6 +944,81 @@ struct GetCapabilitiesResponseDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCapabilitiesResponseDefaultTypeInternal _GetCapabilitiesResponse_default_instance_; +inline constexpr UpdateWorkResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + work_{nullptr} {} + +template +PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct UpdateWorkResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateWorkResponseDefaultTypeInternal() {} + union { + UpdateWorkResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; + +inline constexpr SubmitWorkResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + work_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SubmitWorkResponse::SubmitWorkResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SubmitWorkResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubmitWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubmitWorkResponseDefaultTypeInternal() {} + union { + SubmitWorkResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitWorkResponseDefaultTypeInternal _SubmitWorkResponse_default_instance_; + +inline constexpr RemoteStorageTarget_XtreemStore::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + s3_{nullptr} {} + +template +PROTOBUF_CONSTEXPR RemoteStorageTarget_XtreemStore::RemoteStorageTarget_XtreemStore(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct RemoteStorageTarget_XtreemStoreDefaultTypeInternal { + PROTOBUF_CONSTEXPR RemoteStorageTarget_XtreemStoreDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RemoteStorageTarget_XtreemStoreDefaultTypeInternal() {} + union { + RemoteStorageTarget_XtreemStore _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_XtreemStoreDefaultTypeInternal _RemoteStorageTarget_XtreemStore_default_instance_; + inline constexpr RemoteStorageTarget_Azure::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, @@ -964,9 +1082,11 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT inline constexpr BuilderJob::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : _cached_size_{0}, + bulk_operations_{}, cfg_{nullptr}, submitted_{0}, - errors_{0} {} + errors_{0}, + conflicts_{0} {} template PROTOBUF_CONSTEXPR BuilderJob::BuilderJob(::_pbi::ConstantInitialized) @@ -1004,6 +1124,9 @@ inline constexpr WorkRequest::Impl_::Impl_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), segment_{nullptr}, + execute_after_{nullptr}, + delay_execution_{nullptr}, + bulk_info_{nullptr}, remote_storage_target_{0u}, stub_local_{false}, priority_{0}, @@ -1332,6 +1455,9 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.priority_), PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.restore_policy_), PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.cooldown_secs_), + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.execute_after_), + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.delay_execution_), + PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.bulk_info_), PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.Type_), ~0u, ~0u, @@ -1343,9 +1469,41 @@ const ::uint32_t ~0u, ~0u, ~0u, + 4, + 5, + 6, 1, 2, 3, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flex::BulkJobRequestInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::flex::BulkJobRequestInfo, _impl_.state_mount_path_), + PROTOBUF_FIELD_OFFSET(::flex::BulkJobRequestInfo, _impl_.operation_), + PROTOBUF_FIELD_OFFSET(::flex::BulkJobRequestInfo, _impl_.job_index_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_.state_mount_path_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_.rst_id_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_.operation_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_.next_job_index_), + PROTOBUF_FIELD_OFFSET(::flex::BulkOperation, _impl_.errors_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _internal_metadata_), ~0u, // no _extensions_ @@ -1357,9 +1515,13 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.cfg_), PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.submitted_), PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.errors_), + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.conflicts_), + PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.bulk_operations_), 0, ~0u, ~0u, + ~0u, + ~0u, PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::flex::MockJob, _internal_metadata_), ~0u, // no _extensions_ @@ -1430,7 +1592,7 @@ const ::uint32_t ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_.state_), PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_.message_), - ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1444,6 +1606,23 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.entity_tag_), PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.checksum_sha256_), PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.completed_), + PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.started_), + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flex::Work_JobBuilderInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::flex::Work_JobBuilderInfo, _impl_.bulk_operations_), PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::flex::Work, _internal_metadata_), ~0u, // no _extensions_ @@ -1458,12 +1637,14 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.status_), PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.parts_), PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.job_builder_), + PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.job_builder_info_), ~0u, ~0u, ~0u, 0, ~0u, ~0u, + 1, PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1564,6 +1745,16 @@ const ::uint32_t PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_.account_), 0, ~0u, + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_XtreemStore, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_XtreemStore, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_XtreemStore, _impl_.s3_), + 0, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_POSIX, _internal_metadata_), ~0u, // no _extensions_ @@ -1588,6 +1779,7 @@ const ::uint32_t ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_.type_), ~0u, ~0u, @@ -1596,6 +1788,7 @@ const ::uint32_t ~0u, ~0u, ~0u, + ~0u, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1680,30 +1873,34 @@ static const ::_pbi::MigrationSchema {123, 133, -1, sizeof(::flex::JobRequestCfg_MetadataEntry_DoNotUse)}, {135, 161, -1, sizeof(::flex::JobRequestCfg)}, {179, -1, -1, sizeof(::flex::WorkRequest_Segment)}, - {191, 213, -1, sizeof(::flex::WorkRequest)}, - {226, 237, -1, sizeof(::flex::BuilderJob)}, - {240, 254, -1, sizeof(::flex::MockJob)}, - {260, 270, -1, sizeof(::flex::SyncJob_MetadataEntry_DoNotUse)}, - {272, 290, -1, sizeof(::flex::SyncJob)}, - {300, -1, -1, sizeof(::flex::Work_Status)}, - {310, -1, -1, sizeof(::flex::Work_Part)}, - {324, 338, -1, sizeof(::flex::Work)}, - {344, 354, -1, sizeof(::flex::UpdateConfigRequest)}, - {356, -1, -1, sizeof(::flex::UpdateConfigResponse)}, - {366, -1, -1, sizeof(::flex::BeeRemoteNode)}, - {383, -1, -1, sizeof(::flex::RemoteStorageTarget_Policies)}, - {392, -1, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass_Archival)}, - {405, 415, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass)}, - {417, -1, -1, sizeof(::flex::RemoteStorageTarget_S3)}, - {432, 442, -1, sizeof(::flex::RemoteStorageTarget_Azure)}, - {444, -1, -1, sizeof(::flex::RemoteStorageTarget_POSIX)}, - {453, 469, -1, sizeof(::flex::RemoteStorageTarget)}, - {476, -1, -1, sizeof(::flex::GetCapabilitiesRequest)}, - {484, 494, -1, sizeof(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse)}, - {496, 507, -1, sizeof(::flex::GetCapabilitiesResponse)}, - {510, 520, -1, sizeof(::flex::Feature_SubFeatureEntry_DoNotUse)}, - {522, -1, -1, sizeof(::flex::Feature)}, - {531, -1, -1, sizeof(::flex::BuildInfo)}, + {191, 216, -1, sizeof(::flex::WorkRequest)}, + {232, -1, -1, sizeof(::flex::BulkJobRequestInfo)}, + {243, 256, -1, sizeof(::flex::BulkOperation)}, + {261, 274, -1, sizeof(::flex::BuilderJob)}, + {279, 293, -1, sizeof(::flex::MockJob)}, + {299, 309, -1, sizeof(::flex::SyncJob_MetadataEntry_DoNotUse)}, + {311, 329, -1, sizeof(::flex::SyncJob)}, + {339, -1, -1, sizeof(::flex::Work_Status)}, + {349, 364, -1, sizeof(::flex::Work_Part)}, + {371, -1, -1, sizeof(::flex::Work_JobBuilderInfo)}, + {380, 395, -1, sizeof(::flex::Work)}, + {402, 412, -1, sizeof(::flex::UpdateConfigRequest)}, + {414, -1, -1, sizeof(::flex::UpdateConfigResponse)}, + {424, -1, -1, sizeof(::flex::BeeRemoteNode)}, + {441, -1, -1, sizeof(::flex::RemoteStorageTarget_Policies)}, + {450, -1, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass_Archival)}, + {463, 473, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass)}, + {475, -1, -1, sizeof(::flex::RemoteStorageTarget_S3)}, + {490, 500, -1, sizeof(::flex::RemoteStorageTarget_Azure)}, + {502, 511, -1, sizeof(::flex::RemoteStorageTarget_XtreemStore)}, + {512, -1, -1, sizeof(::flex::RemoteStorageTarget_POSIX)}, + {521, 538, -1, sizeof(::flex::RemoteStorageTarget)}, + {546, -1, -1, sizeof(::flex::GetCapabilitiesRequest)}, + {554, 564, -1, sizeof(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse)}, + {566, 577, -1, sizeof(::flex::GetCapabilitiesResponse)}, + {580, 590, -1, sizeof(::flex::Feature_SubFeatureEntry_DoNotUse)}, + {592, -1, -1, sizeof(::flex::Feature)}, + {601, -1, -1, sizeof(::flex::BuildInfo)}, }; static const ::_pb::Message* const file_default_instances[] = { &::flex::_HeartbeatRequest_default_instance_._instance, @@ -1720,12 +1917,15 @@ static const ::_pb::Message* const file_default_instances[] = { &::flex::_JobRequestCfg_default_instance_._instance, &::flex::_WorkRequest_Segment_default_instance_._instance, &::flex::_WorkRequest_default_instance_._instance, + &::flex::_BulkJobRequestInfo_default_instance_._instance, + &::flex::_BulkOperation_default_instance_._instance, &::flex::_BuilderJob_default_instance_._instance, &::flex::_MockJob_default_instance_._instance, &::flex::_SyncJob_MetadataEntry_DoNotUse_default_instance_._instance, &::flex::_SyncJob_default_instance_._instance, &::flex::_Work_Status_default_instance_._instance, &::flex::_Work_Part_default_instance_._instance, + &::flex::_Work_JobBuilderInfo_default_instance_._instance, &::flex::_Work_default_instance_._instance, &::flex::_UpdateConfigRequest_default_instance_._instance, &::flex::_UpdateConfigResponse_default_instance_._instance, @@ -1735,6 +1935,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::flex::_RemoteStorageTarget_S3_StorageClass_default_instance_._instance, &::flex::_RemoteStorageTarget_S3_default_instance_._instance, &::flex::_RemoteStorageTarget_Azure_default_instance_._instance, + &::flex::_RemoteStorageTarget_XtreemStore_default_instance_._instance, &::flex::_RemoteStorageTarget_POSIX_default_instance_._instance, &::flex::_RemoteStorageTarget_default_instance_._instance, &::flex::_GetCapabilitiesRequest_default_instance_._instance, @@ -1746,170 +1947,190 @@ static const ::_pb::Message* const file_default_instances[] = { }; const char descriptor_table_protodef_flex_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { - "\n\nflex.proto\022\004flex\032\037google/protobuf/time" - "stamp.proto\")\n\020HeartbeatRequest\022\025\n\rinclu" - "de_stats\030\001 \001(\010\"J\n\021HeartbeatResponse\022\020\n\010i" - "s_ready\030\001 \001(\010\022#\n\nnode_stats\030\002 \001(\0132\017.flex" - ".NodeStats\"S\n\tNodeStats\022-\n\ttimestamp\030\001 \001" - "(\0132\032.google.protobuf.Timestamp\022\027\n\017active" - "_requests\030\002 \001(\003\"7\n\021SubmitWorkRequest\022\"\n\007" - "request\030\001 \001(\0132\021.flex.WorkRequest\".\n\022Subm" - "itWorkResponse\022\030\n\004work\030\001 \001(\0132\n.flex.Work" - "\"\230\001\n\021UpdateWorkRequest\022\016\n\006job_id\030\001 \001(\t\022\022" - "\n\nrequest_id\030\002 \001(\t\0223\n\tnew_state\030\003 \001(\0162 ." - "flex.UpdateWorkRequest.NewState\"*\n\010NewSt" - "ate\022\017\n\013UNSPECIFIED\020\000\022\r\n\tCANCELLED\020\001\".\n\022U" - "pdateWorkResponse\022\030\n\004work\030\001 \001(\0132\n.flex.W" - "ork\"|\n\025BulkUpdateWorkRequest\0227\n\tnew_stat" - "e\030\001 \001(\0162$.flex.BulkUpdateWorkRequest.New" - "State\"*\n\010NewState\022\017\n\013UNSPECIFIED\020\000\022\r\n\tUN" - "CHANGED\020\001\":\n\026BulkUpdateWorkResponse\022\017\n\007s" - "uccess\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\"\241\002\n\rJobLoc" - "kedInfo\022\031\n\021read_write_locked\030\001 \001(\010\022\016\n\006ex" - "ists\030\002 \001(\010\022\014\n\004size\030\003 \001(\003\022\014\n\004mode\030\004 \001(\r\022)" - "\n\005mtime\030\005 \001(\0132\032.google.protobuf.Timestam" - "p\022\023\n\013remote_size\030\006 \001(\003\0220\n\014remote_mtime\030\007" - " \001(\0132\032.google.protobuf.Timestamp\022\027\n\017stub" - "_url_rst_id\030\010 \001(\r\022\025\n\rstub_url_path\030\t \001(\t" - "\022\022\n\nexternalId\030\n \001(\t\022\023\n\013is_archived\030\013 \001(" - "\010\"\226\005\n\rJobRequestCfg\022\033\n\023remoteStorageTarg" - "et\030\001 \001(\r\022\014\n\004path\030\002 \001(\t\022\022\n\nremotePath\030\003 \001" - "(\t\022\020\n\010download\030\004 \001(\010\022\022\n\nstub_local\030\005 \001(\010" - "\022\021\n\toverwrite\030\006 \001(\010\022\017\n\007flatten\030\007 \001(\010\022\r\n\005" - "force\030\010 \001(\010\022(\n\013locked_info\030\t \001(\0132\023.flex." - "JobLockedInfo\022\023\n\006update\030\n \001(\010H\000\210\001\001\0223\n\010me" - "tadata\030\r \003(\0132!.flex.JobRequestCfg.Metada" - "taEntry\022\024\n\007tagging\030\016 \001(\tH\001\210\001\001\022\025\n\010priorit" - "y\030\013 \001(\005H\002\210\001\001\022\032\n\rstorage_class\030\014 \001(\tH\003\210\001\001" - "\022\032\n\rallow_restore\030\017 \001(\010H\004\210\001\001\022\030\n\013filter_e" - "xpr\030\020 \001(\tH\005\210\001\001\0220\n\016restore_policy\030\021 \001(\0162\023" - ".flex.RestorePolicyH\006\210\001\001\022\032\n\rcooldown_sec" - "s\030\022 \001(\rH\007\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001" - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\t\n\007_updateB\n\n\010_tag" - "gingB\013\n\t_priorityB\020\n\016_storage_classB\020\n\016_" - "allow_restoreB\016\n\014_filter_exprB\021\n\017_restor" - "e_policyB\020\n\016_cooldown_secs\"\224\004\n\013WorkReque" - "st\022\016\n\006job_id\030\001 \001(\t\022\022\n\nrequest_id\030\002 \001(\t\022\023" - "\n\013external_id\030\003 \001(\t\022\014\n\004path\030\004 \001(\t\022*\n\007seg" - "ment\030\005 \001(\0132\031.flex.WorkRequest.Segment\022\035\n" - "\025remote_storage_target\030\006 \001(\r\022\035\n\004mock\030\n \001" - "(\0132\r.flex.MockJobH\000\022\035\n\004sync\030\013 \001(\0132\r.flex" - ".SyncJobH\000\022#\n\007builder\030\014 \001(\0132\020.flex.Build" - "erJobH\000\022\022\n\nstub_local\030\010 \001(\010\022\025\n\010priority\030" - "\t \001(\005H\001\210\001\001\0220\n\016restore_policy\030\r \001(\0162\023.fle" - "x.RestorePolicyH\002\210\001\001\022\032\n\rcooldown_secs\030\016 " - "\001(\rH\003\210\001\001\032]\n\007Segment\022\024\n\014offset_start\030\001 \001(" - "\003\022\023\n\013offset_stop\030\002 \001(\003\022\023\n\013parts_start\030\003 " - "\001(\005\022\022\n\nparts_stop\030\004 \001(\005B\006\n\004TypeB\013\n\t_prio" - "rityB\021\n\017_restore_policyB\020\n\016_cooldown_sec" - "s\"Q\n\nBuilderJob\022 \n\003cfg\030\001 \001(\0132\023.flex.JobR" - "equestCfg\022\021\n\tsubmitted\030\002 \001(\005\022\016\n\006errors\030\003" - " \001(\005\"\255\001\n\007MockJob\022\031\n\021num_test_segments\030\001 " - "\001(\005\022\021\n\tfile_size\030\002 \001(\003\022\023\n\013external_id\030\003 " - "\001(\t\022\023\n\013should_fail\030\004 \001(\010\022(\n\013locked_info\030" - "\006 \001(\0132\023.flex.JobLockedInfo\022 \n\003cfg\030\007 \001(\0132" - "\023.flex.JobRequestCfg\"\316\003\n\007SyncJob\022*\n\toper" - "ation\030\001 \001(\0162\027.flex.SyncJob.Operation\022\021\n\t" - "overwrite\030\002 \001(\010\022\023\n\013remote_path\030\003 \001(\t\022\017\n\007" - "flatten\030\005 \001(\010\022(\n\013locked_info\030\006 \001(\0132\023.fle" - "x.JobLockedInfo\022\023\n\006update\030\007 \001(\010H\000\210\001\001\022-\n\010" - "metadata\030\t \003(\0132\033.flex.SyncJob.MetadataEn" - "try\022\024\n\007tagging\030\n \001(\tH\001\210\001\001\022\032\n\rstorage_cla" - "ss\030\014 \001(\tH\002\210\001\001\022\032\n\rallow_restore\030\r \001(\010H\003\210\001" - "\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" - "\030\002 \001(\t:\0028\001\"6\n\tOperation\022\017\n\013UNSPECIFIED\020\000" - "\022\n\n\006UPLOAD\020\001\022\014\n\010DOWNLOAD\020\002B\t\n\007_updateB\n\n" - "\010_taggingB\020\n\016_storage_classB\020\n\016_allow_re" - "store\"\354\003\n\004Work\022\014\n\004path\030\001 \001(\t\022\016\n\006job_id\030\002" - " \001(\t\022\022\n\nrequest_id\030\003 \001(\t\022!\n\006status\030\004 \001(\013" - "2\021.flex.Work.Status\022\036\n\005parts\030\005 \003(\0132\017.fle" - "x.Work.Part\022\023\n\013job_builder\030\006 \001(\010\032:\n\006Stat" - "us\022\037\n\005state\030\001 \001(\0162\020.flex.Work.State\022\017\n\007m" - "essage\030\002 \001(\t\032\206\001\n\004Part\022\023\n\013part_number\030\001 \001" - "(\005\022\024\n\014offset_start\030\002 \001(\003\022\023\n\013offset_stop\030" - "\003 \001(\003\022\022\n\nentity_tag\030\004 \001(\t\022\027\n\017checksum_sh" - "a256\030\005 \001(\t\022\021\n\tcompleted\030\006 \001(\010\"\224\001\n\005State\022" - "\017\n\013UNSPECIFIED\020\000\022\013\n\007UNKNOWN\020\001\022\013\n\007CREATED" - "\020\002\022\r\n\tSCHEDULED\020\003\022\013\n\007RUNNING\020\004\022\017\n\013RESCHE" - "DULED\020\005\022\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007\022\r\n\tCANCEL" - "LED\020\010\022\r\n\tCOMPLETED\020\t\"g\n\023UpdateConfigRequ" - "est\022\'\n\nbee_remote\030\001 \001(\0132\023.flex.BeeRemote" - "Node\022\'\n\004rsts\030\002 \003(\0132\031.flex.RemoteStorageT" - "arget\"\234\001\n\024UpdateConfigResponse\0221\n\006result" - "\030\001 \001(\0162!.flex.UpdateConfigResponse.Resul" - "t\022\017\n\007message\030\002 \001(\t\"@\n\006Result\022\017\n\013UNSPECIF" - "IED\020\000\022\013\n\007SUCCESS\020\001\022\013\n\007PARTIAL\020\002\022\013\n\007FAILU" - "RE\020\003\"\342\001\n\rBeeRemoteNode\022\n\n\002id\030\001 \001(\t\022\017\n\007ad" - "dress\030\002 \001(\t\022\025\n\rmgmtd_address\030\003 \001(\t\022\026\n\016mg" - "mtd_tls_cert\030\004 \001(\014\022&\n\036mgmtd_tls_disable_" - "verification\030\005 \001(\010\022\031\n\021mgmtd_tls_disable\030" - "\006 \001(\010\022\027\n\017mgmtd_use_proxy\030\t \001(\010\022\023\n\013auth_s" - "ecret\030\007 \001(\014\022\024\n\014auth_disable\030\010 \001(\010\"\301\006\n\023Re" - "moteStorageTarget\022\n\n\002id\030\001 \001(\r\022\014\n\004name\030\002 " - "\001(\t\0224\n\010policies\030\003 \001(\0132\".flex.RemoteStora" - "geTarget.Policies\022*\n\002s3\030\004 \001(\0132\034.flex.Rem" - "oteStorageTarget.S3H\000\0220\n\005posix\030\005 \001(\0132\037.f" - "lex.RemoteStorageTarget.POSIXH\000\0220\n\005azure" - "\030\006 \001(\0132\037.flex.RemoteStorageTarget.AzureH" - "\000\022\016\n\004mock\030\007 \001(\tH\000\032\'\n\010Policies\022\033\n\023fast_st" - "art_max_size\030\001 \001(\003\032\255\003\n\002S3\022\024\n\014endpoint_ur" - "l\030\001 \001(\t\022\024\n\014partition_id\030\002 \001(\t\022\016\n\006region\030" - "\003 \001(\t\022\016\n\006bucket\030\004 \001(\t\022\022\n\naccess_key\030\005 \001(" - "\t\022\022\n\nsecret_key\030\006 \001(\t\022@\n\rstorage_class\030\010" - " \003(\0132).flex.RemoteStorageTarget.S3.Stora" - "geClass\032\360\001\n\014StorageClass\022\014\n\004name\030\001 \001(\t\022I" - "\n\010archival\030\002 \001(\01322.flex.RemoteStorageTar" - "get.S3.StorageClass.ArchivalH\000\210\001\001\032z\n\010Arc" - "hival\022\026\n\016retrieval_tier\030\001 \001(\t\022\026\n\016retenti" - "on_days\030\002 \001(\005\022\022\n\ncheck_time\030\003 \001(\t\022\024\n\014rec" - "heck_time\030\004 \001(\t\022\024\n\014auto_restore\030\005 \001(\010B\013\n" - "\t_archival\032B\n\005Azure\022(\n\002s3\030\001 \001(\0132\034.flex.R" - "emoteStorageTarget.S3\022\017\n\007account\030\002 \001(\t\032\025" - "\n\005POSIX\022\014\n\004path\030\001 \001(\tB\006\n\004type\"\030\n\026GetCapa" - "bilitiesRequest\"\362\001\n\027GetCapabilitiesRespo" - "nse\022#\n\nbuild_info\030\001 \001(\0132\017.flex.BuildInfo" - "\022=\n\010features\030\002 \003(\0132+.flex.GetCapabilitie" - "sResponse.FeaturesEntry\0223\n\017start_timesta" - "mp\030\003 \001(\0132\032.google.protobuf.Timestamp\032>\n\r" - "FeaturesEntry\022\013\n\003key\030\001 \001(\t\022\034\n\005value\030\002 \001(" - "\0132\r.flex.Feature:\0028\001\"\177\n\007Feature\0222\n\013sub_f" - "eature\030\001 \003(\0132\035.flex.Feature.SubFeatureEn" - "try\032@\n\017SubFeatureEntry\022\013\n\003key\030\001 \001(\t\022\034\n\005v" - "alue\030\002 \001(\0132\r.flex.Feature:\0028\001\"U\n\tBuildIn" - "fo\022\023\n\013binary_name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t" - "\022\016\n\006commit\030\003 \001(\t\022\022\n\nbuild_time\030\004 \001(\t*\177\n\r" - "RestorePolicy\022\036\n\032RESTORE_POLICY_UNSPECIF" - "IED\020\000\022\031\n\025RESTORE_POLICY_MANUAL\020\001\022\027\n\023REST" - "ORE_POLICY_AUTO\020\002\022\032\n\026RESTORE_POLICY_DELA" - "YED\020\0032\260\003\n\nWorkerNode\022E\n\014UpdateConfig\022\031.f" - "lex.UpdateConfigRequest\032\032.flex.UpdateCon" - "figResponse\022<\n\tHeartbeat\022\026.flex.Heartbea" - "tRequest\032\027.flex.HeartbeatResponse\022\?\n\nSub" - "mitWork\022\027.flex.SubmitWorkRequest\032\030.flex." - "SubmitWorkResponse\022\?\n\nUpdateWork\022\027.flex." - "UpdateWorkRequest\032\030.flex.UpdateWorkRespo" - "nse\022K\n\016BulkUpdateWork\022\033.flex.BulkUpdateW" - "orkRequest\032\034.flex.BulkUpdateWorkResponse" - "\022N\n\017GetCapabilities\022\034.flex.GetCapabiliti" - "esRequest\032\035.flex.GetCapabilitiesResponse" - "B\'Z%github.com/thinkparq/protobuf/go/fle" - "xb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_flex_2eproto_deps[1] = + "\n\nflex.proto\022\004flex\032\036google/protobuf/dura" + "tion.proto\032\037google/protobuf/timestamp.pr" + "oto\")\n\020HeartbeatRequest\022\025\n\rinclude_stats" + "\030\001 \001(\010\"J\n\021HeartbeatResponse\022\020\n\010is_ready\030" + "\001 \001(\010\022#\n\nnode_stats\030\002 \001(\0132\017.flex.NodeSta" + "ts\"S\n\tNodeStats\022-\n\ttimestamp\030\001 \001(\0132\032.goo" + "gle.protobuf.Timestamp\022\027\n\017active_request" + "s\030\002 \001(\003\"7\n\021SubmitWorkRequest\022\"\n\007request\030" + "\001 \001(\0132\021.flex.WorkRequest\".\n\022SubmitWorkRe" + "sponse\022\030\n\004work\030\001 \001(\0132\n.flex.Work\"\230\001\n\021Upd" + "ateWorkRequest\022\016\n\006job_id\030\001 \001(\t\022\022\n\nreques" + "t_id\030\002 \001(\t\0223\n\tnew_state\030\003 \001(\0162 .flex.Upd" + "ateWorkRequest.NewState\"*\n\010NewState\022\017\n\013U" + "NSPECIFIED\020\000\022\r\n\tCANCELLED\020\001\".\n\022UpdateWor" + "kResponse\022\030\n\004work\030\001 \001(\0132\n.flex.Work\"|\n\025B" + "ulkUpdateWorkRequest\0227\n\tnew_state\030\001 \001(\0162" + "$.flex.BulkUpdateWorkRequest.NewState\"*\n" + "\010NewState\022\017\n\013UNSPECIFIED\020\000\022\r\n\tUNCHANGED\020" + "\001\":\n\026BulkUpdateWorkResponse\022\017\n\007success\030\001" + " \001(\010\022\017\n\007message\030\002 \001(\t\"\241\002\n\rJobLockedInfo\022" + "\031\n\021read_write_locked\030\001 \001(\010\022\016\n\006exists\030\002 \001" + "(\010\022\014\n\004size\030\003 \001(\003\022\014\n\004mode\030\004 \001(\r\022)\n\005mtime\030" + "\005 \001(\0132\032.google.protobuf.Timestamp\022\023\n\013rem" + "ote_size\030\006 \001(\003\0220\n\014remote_mtime\030\007 \001(\0132\032.g" + "oogle.protobuf.Timestamp\022\027\n\017stub_url_rst" + "_id\030\010 \001(\r\022\025\n\rstub_url_path\030\t \001(\t\022\022\n\nexte" + "rnalId\030\n \001(\t\022\023\n\013is_archived\030\013 \001(\010\"\226\005\n\rJo" + "bRequestCfg\022\033\n\023remoteStorageTarget\030\001 \001(\r" + "\022\014\n\004path\030\002 \001(\t\022\022\n\nremotePath\030\003 \001(\t\022\020\n\010do" + "wnload\030\004 \001(\010\022\022\n\nstub_local\030\005 \001(\010\022\021\n\tover" + "write\030\006 \001(\010\022\017\n\007flatten\030\007 \001(\010\022\r\n\005force\030\010 " + "\001(\010\022(\n\013locked_info\030\t \001(\0132\023.flex.JobLocke" + "dInfo\022\023\n\006update\030\n \001(\010H\000\210\001\001\0223\n\010metadata\030\r" + " \003(\0132!.flex.JobRequestCfg.MetadataEntry\022" + "\024\n\007tagging\030\016 \001(\tH\001\210\001\001\022\025\n\010priority\030\013 \001(\005H" + "\002\210\001\001\022\032\n\rstorage_class\030\014 \001(\tH\003\210\001\001\022\032\n\rallo" + "w_restore\030\017 \001(\010H\004\210\001\001\022\030\n\013filter_expr\030\020 \001(" + "\tH\005\210\001\001\0220\n\016restore_policy\030\021 \001(\0162\023.flex.Re" + "storePolicyH\006\210\001\001\022\032\n\rcooldown_secs\030\022 \001(\rH" + "\007\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001B\t\n\007_updateB\n\n\010_taggingB\013\n\t" + "_priorityB\020\n\016_storage_classB\020\n\016_allow_re" + "storeB\016\n\014_filter_exprB\021\n\017_restore_policy" + "B\020\n\016_cooldown_secs\"\273\005\n\013WorkRequest\022\016\n\006jo" + "b_id\030\001 \001(\t\022\022\n\nrequest_id\030\002 \001(\t\022\023\n\013extern" + "al_id\030\003 \001(\t\022\014\n\004path\030\004 \001(\t\022*\n\007segment\030\005 \001" + "(\0132\031.flex.WorkRequest.Segment\022\035\n\025remote_" + "storage_target\030\006 \001(\r\022\035\n\004mock\030\n \001(\0132\r.fle" + "x.MockJobH\000\022\035\n\004sync\030\013 \001(\0132\r.flex.SyncJob" + "H\000\022#\n\007builder\030\014 \001(\0132\020.flex.BuilderJobH\000\022" + "\022\n\nstub_local\030\010 \001(\010\022\025\n\010priority\030\t \001(\005H\001\210" + "\001\001\0220\n\016restore_policy\030\r \001(\0162\023.flex.Restor" + "ePolicyH\002\210\001\001\022\032\n\rcooldown_secs\030\016 \001(\rH\003\210\001\001" + "\0221\n\rexecute_after\030\017 \001(\0132\032.google.protobu" + "f.Timestamp\0222\n\017delay_execution\030\020 \001(\0132\031.g" + "oogle.protobuf.Duration\0220\n\tbulk_info\030\021 \001" + "(\0132\030.flex.BulkJobRequestInfoH\004\210\001\001\032]\n\007Seg" + "ment\022\024\n\014offset_start\030\001 \001(\003\022\023\n\013offset_sto" + "p\030\002 \001(\003\022\023\n\013parts_start\030\003 \001(\005\022\022\n\nparts_st" + "op\030\004 \001(\005B\006\n\004TypeB\013\n\t_priorityB\021\n\017_restor" + "e_policyB\020\n\016_cooldown_secsB\014\n\n_bulk_info" + "\"T\n\022BulkJobRequestInfo\022\030\n\020state_mount_pa" + "th\030\001 \001(\t\022\021\n\toperation\030\002 \001(\t\022\021\n\tjob_index" + "\030\003 \001(\003\"\204\001\n\rBulkOperation\022\030\n\020state_mount_" + "path\030\001 \001(\t\022\016\n\006rst_id\030\002 \001(\r\022\021\n\toperation\030" + "\003 \001(\t\022\026\n\016next_job_index\030\004 \001(\003\022\023\n\006errors\030" + "\005 \001(\tH\000\210\001\001B\t\n\007_errors\"\222\001\n\nBuilderJob\022 \n\003" + "cfg\030\001 \001(\0132\023.flex.JobRequestCfg\022\021\n\tsubmit" + "ted\030\002 \001(\005\022\016\n\006errors\030\003 \001(\005\022\021\n\tconflicts\030\005" + " \001(\005\022,\n\017bulk_operations\030\004 \003(\0132\023.flex.Bul" + "kOperation\"\255\001\n\007MockJob\022\031\n\021num_test_segme" + "nts\030\001 \001(\005\022\021\n\tfile_size\030\002 \001(\003\022\023\n\013external" + "_id\030\003 \001(\t\022\023\n\013should_fail\030\004 \001(\010\022(\n\013locked" + "_info\030\006 \001(\0132\023.flex.JobLockedInfo\022 \n\003cfg\030" + "\007 \001(\0132\023.flex.JobRequestCfg\"\316\003\n\007SyncJob\022*" + "\n\toperation\030\001 \001(\0162\027.flex.SyncJob.Operati" + "on\022\021\n\toverwrite\030\002 \001(\010\022\023\n\013remote_path\030\003 \001" + "(\t\022\017\n\007flatten\030\005 \001(\010\022(\n\013locked_info\030\006 \001(\013" + "2\023.flex.JobLockedInfo\022\023\n\006update\030\007 \001(\010H\000\210" + "\001\001\022-\n\010metadata\030\t \003(\0132\033.flex.SyncJob.Meta" + "dataEntry\022\024\n\007tagging\030\n \001(\tH\001\210\001\001\022\032\n\rstora" + "ge_class\030\014 \001(\tH\002\210\001\001\022\032\n\rallow_restore\030\r \001" + "(\010H\003\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"6\n\tOperation\022\017\n\013UNSPECI" + "FIED\020\000\022\n\n\006UPLOAD\020\001\022\014\n\010DOWNLOAD\020\002B\t\n\007_upd" + "ateB\n\n\010_taggingB\020\n\016_storage_classB\020\n\016_al" + "low_restore\"\235\005\n\004Work\022\014\n\004path\030\001 \001(\t\022\016\n\006jo" + "b_id\030\002 \001(\t\022\022\n\nrequest_id\030\003 \001(\t\022!\n\006status" + "\030\004 \001(\0132\021.flex.Work.Status\022\036\n\005parts\030\005 \003(\013" + "2\017.flex.Work.Part\022\023\n\013job_builder\030\006 \001(\010\0228" + "\n\020job_builder_info\030\007 \001(\0132\031.flex.Work.Job" + "BuilderInfoH\000\210\001\001\032:\n\006Status\022\037\n\005state\030\001 \001(" + "\0162\020.flex.Work.State\022\017\n\007message\030\002 \001(\t\032\250\001\n" + "\004Part\022\023\n\013part_number\030\001 \001(\005\022\024\n\014offset_sta" + "rt\030\002 \001(\003\022\023\n\013offset_stop\030\003 \001(\003\022\022\n\nentity_" + "tag\030\004 \001(\t\022\027\n\017checksum_sha256\030\005 \001(\t\022\021\n\tco" + "mpleted\030\006 \001(\010\022\024\n\007started\030\007 \001(\010H\000\210\001\001B\n\n\010_" + "started\032>\n\016JobBuilderInfo\022,\n\017bulk_operat" + "ions\030\001 \003(\0132\023.flex.BulkOperation\"\224\001\n\005Stat" + "e\022\017\n\013UNSPECIFIED\020\000\022\013\n\007UNKNOWN\020\001\022\013\n\007CREAT" + "ED\020\002\022\r\n\tSCHEDULED\020\003\022\013\n\007RUNNING\020\004\022\017\n\013RESC" + "HEDULED\020\005\022\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007\022\r\n\tCANC" + "ELLED\020\010\022\r\n\tCOMPLETED\020\tB\023\n\021_job_builder_i" + "nfo\"g\n\023UpdateConfigRequest\022\'\n\nbee_remote" + "\030\001 \001(\0132\023.flex.BeeRemoteNode\022\'\n\004rsts\030\002 \003(" + "\0132\031.flex.RemoteStorageTarget\"\234\001\n\024UpdateC" + "onfigResponse\0221\n\006result\030\001 \001(\0162!.flex.Upd" + "ateConfigResponse.Result\022\017\n\007message\030\002 \001(" + "\t\"@\n\006Result\022\017\n\013UNSPECIFIED\020\000\022\013\n\007SUCCESS\020" + "\001\022\013\n\007PARTIAL\020\002\022\013\n\007FAILURE\020\003\"\342\001\n\rBeeRemot" + "eNode\022\n\n\002id\030\001 \001(\t\022\017\n\007address\030\002 \001(\t\022\025\n\rmg" + "mtd_address\030\003 \001(\t\022\026\n\016mgmtd_tls_cert\030\004 \001(" + "\014\022&\n\036mgmtd_tls_disable_verification\030\005 \001(" + "\010\022\031\n\021mgmtd_tls_disable\030\006 \001(\010\022\027\n\017mgmtd_us" + "e_proxy\030\t \001(\010\022\023\n\013auth_secret\030\007 \001(\014\022\024\n\014au" + "th_disable\030\010 \001(\010\"\270\007\n\023RemoteStorageTarget" + "\022\n\n\002id\030\001 \001(\r\022\014\n\004name\030\002 \001(\t\0224\n\010policies\030\003" + " \001(\0132\".flex.RemoteStorageTarget.Policies" + "\022*\n\002s3\030\004 \001(\0132\034.flex.RemoteStorageTarget." + "S3H\000\0220\n\005posix\030\005 \001(\0132\037.flex.RemoteStorage" + "Target.POSIXH\000\0220\n\005azure\030\006 \001(\0132\037.flex.Rem" + "oteStorageTarget.AzureH\000\022\016\n\004mock\030\007 \001(\tH\000" + "\022<\n\013xtreemstore\030\010 \001(\0132%.flex.RemoteStora" + "geTarget.XtreemStoreH\000\032\'\n\010Policies\022\033\n\023fa" + "st_start_max_size\030\001 \001(\003\032\255\003\n\002S3\022\024\n\014endpoi" + "nt_url\030\001 \001(\t\022\024\n\014partition_id\030\002 \001(\t\022\016\n\006re" + "gion\030\003 \001(\t\022\016\n\006bucket\030\004 \001(\t\022\022\n\naccess_key" + "\030\005 \001(\t\022\022\n\nsecret_key\030\006 \001(\t\022@\n\rstorage_cl" + "ass\030\010 \003(\0132).flex.RemoteStorageTarget.S3." + "StorageClass\032\360\001\n\014StorageClass\022\014\n\004name\030\001 " + "\001(\t\022I\n\010archival\030\002 \001(\01322.flex.RemoteStora" + "geTarget.S3.StorageClass.ArchivalH\000\210\001\001\032z" + "\n\010Archival\022\026\n\016retrieval_tier\030\001 \001(\t\022\026\n\016re" + "tention_days\030\002 \001(\005\022\022\n\ncheck_time\030\003 \001(\t\022\024" + "\n\014recheck_time\030\004 \001(\t\022\024\n\014auto_restore\030\005 \001" + "(\010B\013\n\t_archival\032B\n\005Azure\022(\n\002s3\030\001 \001(\0132\034.f" + "lex.RemoteStorageTarget.S3\022\017\n\007account\030\002 " + "\001(\t\0327\n\013XtreemStore\022(\n\002s3\030\001 \001(\0132\034.flex.Re" + "moteStorageTarget.S3\032\025\n\005POSIX\022\014\n\004path\030\001 " + "\001(\tB\006\n\004type\"\030\n\026GetCapabilitiesRequest\"\362\001" + "\n\027GetCapabilitiesResponse\022#\n\nbuild_info\030" + "\001 \001(\0132\017.flex.BuildInfo\022=\n\010features\030\002 \003(\013" + "2+.flex.GetCapabilitiesResponse.Features" + "Entry\0223\n\017start_timestamp\030\003 \001(\0132\032.google." + "protobuf.Timestamp\032>\n\rFeaturesEntry\022\013\n\003k" + "ey\030\001 \001(\t\022\034\n\005value\030\002 \001(\0132\r.flex.Feature:\002" + "8\001\"\177\n\007Feature\0222\n\013sub_feature\030\001 \003(\0132\035.fle" + "x.Feature.SubFeatureEntry\032@\n\017SubFeatureE" + "ntry\022\013\n\003key\030\001 \001(\t\022\034\n\005value\030\002 \001(\0132\r.flex." + "Feature:\0028\001\"U\n\tBuildInfo\022\023\n\013binary_name\030" + "\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\016\n\006commit\030\003 \001(\t\022\022" + "\n\nbuild_time\030\004 \001(\t*\177\n\rRestorePolicy\022\036\n\032R" + "ESTORE_POLICY_UNSPECIFIED\020\000\022\031\n\025RESTORE_P" + "OLICY_MANUAL\020\001\022\027\n\023RESTORE_POLICY_AUTO\020\002\022" + "\032\n\026RESTORE_POLICY_DELAYED\020\0032\260\003\n\nWorkerNo" + "de\022E\n\014UpdateConfig\022\031.flex.UpdateConfigRe" + "quest\032\032.flex.UpdateConfigResponse\022<\n\tHea" + "rtbeat\022\026.flex.HeartbeatRequest\032\027.flex.He" + "artbeatResponse\022\?\n\nSubmitWork\022\027.flex.Sub" + "mitWorkRequest\032\030.flex.SubmitWorkResponse" + "\022\?\n\nUpdateWork\022\027.flex.UpdateWorkRequest\032" + "\030.flex.UpdateWorkResponse\022K\n\016BulkUpdateW" + "ork\022\033.flex.BulkUpdateWorkRequest\032\034.flex." + "BulkUpdateWorkResponse\022N\n\017GetCapabilitie" + "s\022\034.flex.GetCapabilitiesRequest\032\035.flex.G" + "etCapabilitiesResponseB\'Z%github.com/thi" + "nkparq/protobuf/go/flexb\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_flex_2eproto_deps[2] = { + &::descriptor_table_google_2fprotobuf_2fduration_2eproto, &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, }; static ::absl::once_flag descriptor_table_flex_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_flex_2eproto = { false, false, - 5889, + 6671, descriptor_table_protodef_flex_2eproto, "flex.proto", &descriptor_table_flex_2eproto_once, descriptor_table_flex_2eproto_deps, - 1, - 37, + 2, + 41, schemas, file_default_instances, TableStruct_flex_2eproto::offsets, @@ -6037,6 +6258,16 @@ void WorkRequest::set_allocated_builder(::flex::BuilderJob* builder) { } // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.builder) } +void WorkRequest::clear_execute_after() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.execute_after_ != nullptr) _impl_.execute_after_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void WorkRequest::clear_delay_execution() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.delay_execution_ != nullptr) _impl_.delay_execution_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} WorkRequest::WorkRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { @@ -6075,6 +6306,15 @@ WorkRequest::WorkRequest( _impl_.segment_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest_Segment>( arena, *from._impl_.segment_) : nullptr; + _impl_.execute_after_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.execute_after_) + : nullptr; + _impl_.delay_execution_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Duration>( + arena, *from._impl_.delay_execution_) + : nullptr; + _impl_.bulk_info_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::flex::BulkJobRequestInfo>( + arena, *from._impl_.bulk_info_) + : nullptr; ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, remote_storage_target_), reinterpret_cast(&from._impl_) + @@ -6131,6 +6371,9 @@ inline void WorkRequest::SharedDtor(MessageLite& self) { this_._impl_.external_id_.Destroy(); this_._impl_.path_.Destroy(); delete this_._impl_.segment_; + delete this_._impl_.execute_after_; + delete this_._impl_.delay_execution_; + delete this_._impl_.bulk_info_; if (this_.has_Type()) { this_.clear_Type(); } @@ -6209,16 +6452,16 @@ const ::google::protobuf::internal::ClassData* WorkRequest::GetClassData() const return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 13, 4, 64, 2> WorkRequest::_table_ = { +const ::_pbi::TcParseTable<5, 16, 7, 72, 2> WorkRequest::_table_ = { { PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_._has_bits_), 0, // no _extensions_ - 14, 120, // max_field_number, fast_idx_mask + 17, 248, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294950976, // skipmap + 4294836288, // skipmap offsetof(decltype(_table_), field_entries), - 13, // num_field_entries - 4, // num_aux_entries + 16, // num_field_entries + 7, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler @@ -6251,29 +6494,51 @@ const ::_pbi::TcParseTable<4, 13, 4, 64, 2> WorkRequest::_table_ = { {::_pbi::TcParser::SingularVarintNoZag1(), {64, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_)}}, // optional int32 priority = 9; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.priority_), 1>(), - {72, 1, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.priority_), 4>(), + {72, 4, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_)}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, {::_pbi::TcParser::MiniParse, {}}, // optional .flex.RestorePolicy restore_policy = 13; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.restore_policy_), 2>(), - {104, 2, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.restore_policy_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.restore_policy_), 5>(), + {104, 5, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.restore_policy_)}}, // optional uint32 cooldown_secs = 14; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.cooldown_secs_), 3>(), - {112, 3, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_)}}, + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.cooldown_secs_), 6>(), + {112, 6, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_)}}, + // .google.protobuf.Timestamp execute_after = 15; + {::_pbi::TcParser::FastMtS1, + {122, 1, 4, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.execute_after_)}}, + // .google.protobuf.Duration delay_execution = 16; + {::_pbi::TcParser::FastMtS2, + {386, 2, 5, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.delay_execution_)}}, + // optional .flex.BulkJobRequestInfo bulk_info = 17; + {::_pbi::TcParser::FastMtS2, + {394, 3, 6, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.bulk_info_)}}, {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string job_id = 1; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.job_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string request_id = 2; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string external_id = 3; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_), -1, 0, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string job_id = 1; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.job_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string request_id = 2; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string external_id = 3; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string path = 4; {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.path_), -1, 0, @@ -6288,7 +6553,7 @@ const ::_pbi::TcParseTable<4, 13, 4, 64, 2> WorkRequest::_table_ = { {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // optional int32 priority = 9; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_), _Internal::kHasBitsOffset + 1, 0, + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, // .flex.MockJob mock = 10; {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.Type_.mock_), _Internal::kOneofCaseOffset + 0, 1, @@ -6300,18 +6565,30 @@ const ::_pbi::TcParseTable<4, 13, 4, 64, 2> WorkRequest::_table_ = { {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.Type_.builder_), _Internal::kOneofCaseOffset + 0, 3, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, // optional .flex.RestorePolicy restore_policy = 13; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.restore_policy_), _Internal::kHasBitsOffset + 2, 0, + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.restore_policy_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, // optional uint32 cooldown_secs = 14; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_), _Internal::kHasBitsOffset + 3, 0, + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, + // .google.protobuf.Timestamp execute_after = 15; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.execute_after_), _Internal::kHasBitsOffset + 1, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .google.protobuf.Duration delay_execution = 16; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.delay_execution_), _Internal::kHasBitsOffset + 2, 5, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .flex.BulkJobRequestInfo bulk_info = 17; + {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.bulk_info_), _Internal::kHasBitsOffset + 3, 6, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::flex::WorkRequest_Segment>()}, {::_pbi::TcParser::GetTable<::flex::MockJob>()}, {::_pbi::TcParser::GetTable<::flex::SyncJob>()}, {::_pbi::TcParser::GetTable<::flex::BuilderJob>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()}, + {::_pbi::TcParser::GetTable<::flex::BulkJobRequestInfo>()}, }}, {{ - "\20\6\12\13\4\0\0\0\0\0\0\0\0\0\0\0" + "\20\6\12\13\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" "flex.WorkRequest" "job_id" "request_id" @@ -6332,14 +6609,28 @@ PROTOBUF_NOINLINE void WorkRequest::Clear() { _impl_.external_id_.ClearToEmpty(); _impl_.path_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.segment_ != nullptr); - _impl_.segment_->Clear(); + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.segment_ != nullptr); + _impl_.segment_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.execute_after_ != nullptr); + _impl_.execute_after_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.delay_execution_ != nullptr); + _impl_.delay_execution_->Clear(); + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(_impl_.bulk_info_ != nullptr); + _impl_.bulk_info_->Clear(); + } } ::memset(&_impl_.remote_storage_target_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.stub_local_) - reinterpret_cast(&_impl_.remote_storage_target_)) + sizeof(_impl_.stub_local_)); - if (cached_has_bits & 0x0000000eu) { + if (cached_has_bits & 0x00000070u) { ::memset(&_impl_.priority_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.cooldown_secs_) - reinterpret_cast(&_impl_.priority_)) + sizeof(_impl_.cooldown_secs_)); @@ -6419,7 +6710,7 @@ PROTOBUF_NOINLINE void WorkRequest::Clear() { } // optional int32 priority = 9; - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000010u) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArrayWithField<9>( stream, this_._internal_priority(), target); @@ -6448,19 +6739,40 @@ PROTOBUF_NOINLINE void WorkRequest::Clear() { break; } // optional .flex.RestorePolicy restore_policy = 13; - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000020u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteEnumToArray( 13, this_._internal_restore_policy(), target); } // optional uint32 cooldown_secs = 14; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000040u) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray( 14, this_._internal_cooldown_secs(), target); } + // .google.protobuf.Timestamp execute_after = 15; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, *this_._impl_.execute_after_, this_._impl_.execute_after_->GetCachedSize(), target, + stream); + } + + // .google.protobuf.Duration delay_execution = 16; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 16, *this_._impl_.delay_execution_, this_._impl_.delay_execution_->GetCachedSize(), target, + stream); + } + + // optional .flex.BulkJobRequestInfo bulk_info = 17; + if (cached_has_bits & 0x00000008u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 17, *this_._impl_.bulk_info_, this_._impl_.bulk_info_->GetCachedSize(), target, + stream); + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -6507,13 +6819,28 @@ PROTOBUF_NOINLINE void WorkRequest::Clear() { this_._internal_path()); } } - { + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x0000000fu) { // .flex.WorkRequest.Segment segment = 5; - cached_has_bits = this_._impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.segment_); } + // .google.protobuf.Timestamp execute_after = 15; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.execute_after_); + } + // .google.protobuf.Duration delay_execution = 16; + if (cached_has_bits & 0x00000004u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.delay_execution_); + } + // optional .flex.BulkJobRequestInfo bulk_info = 17; + if (cached_has_bits & 0x00000008u) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bulk_info_); + } } { // uint32 remote_storage_target = 6; @@ -6526,19 +6853,19 @@ PROTOBUF_NOINLINE void WorkRequest::Clear() { total_size += 2; } } - if (cached_has_bits & 0x0000000eu) { + if (cached_has_bits & 0x00000070u) { // optional int32 priority = 9; - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000010u) { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this_._internal_priority()); } // optional .flex.RestorePolicy restore_policy = 13; - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000020u) { total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_restore_policy()); } // optional uint32 cooldown_secs = 14; - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000040u) { total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( this_._internal_cooldown_secs()); } @@ -6592,13 +6919,42 @@ void WorkRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goo _this->_internal_set_path(from._internal_path()); } cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.segment_ != nullptr); - if (_this->_impl_.segment_ == nullptr) { - _this->_impl_.segment_ = - ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest_Segment>(arena, *from._impl_.segment_); - } else { - _this->_impl_.segment_->MergeFrom(*from._impl_.segment_); + if (cached_has_bits & 0x0000000fu) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.segment_ != nullptr); + if (_this->_impl_.segment_ == nullptr) { + _this->_impl_.segment_ = + ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest_Segment>(arena, *from._impl_.segment_); + } else { + _this->_impl_.segment_->MergeFrom(*from._impl_.segment_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.execute_after_ != nullptr); + if (_this->_impl_.execute_after_ == nullptr) { + _this->_impl_.execute_after_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.execute_after_); + } else { + _this->_impl_.execute_after_->MergeFrom(*from._impl_.execute_after_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.delay_execution_ != nullptr); + if (_this->_impl_.delay_execution_ == nullptr) { + _this->_impl_.delay_execution_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Duration>(arena, *from._impl_.delay_execution_); + } else { + _this->_impl_.delay_execution_->MergeFrom(*from._impl_.delay_execution_); + } + } + if (cached_has_bits & 0x00000008u) { + ABSL_DCHECK(from._impl_.bulk_info_ != nullptr); + if (_this->_impl_.bulk_info_ == nullptr) { + _this->_impl_.bulk_info_ = + ::google::protobuf::Message::CopyConstruct<::flex::BulkJobRequestInfo>(arena, *from._impl_.bulk_info_); + } else { + _this->_impl_.bulk_info_->MergeFrom(*from._impl_.bulk_info_); + } } } if (from._internal_remote_storage_target() != 0) { @@ -6607,14 +6963,14 @@ void WorkRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goo if (from._internal_stub_local() != 0) { _this->_impl_.stub_local_ = from._impl_.stub_local_; } - if (cached_has_bits & 0x0000000eu) { - if (cached_has_bits & 0x00000002u) { + if (cached_has_bits & 0x00000070u) { + if (cached_has_bits & 0x00000010u) { _this->_impl_.priority_ = from._impl_.priority_; } - if (cached_has_bits & 0x00000004u) { + if (cached_has_bits & 0x00000020u) { _this->_impl_.restore_policy_ = from._impl_.restore_policy_; } - if (cached_has_bits & 0x00000008u) { + if (cached_has_bits & 0x00000040u) { _this->_impl_.cooldown_secs_ = from._impl_.cooldown_secs_; } } @@ -6678,21 +7034,680 @@ void WorkRequest::InternalSwap(WorkRequest* PROTOBUF_RESTRICT other) { ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.job_id_, &other->_impl_.job_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.external_id_, &other->_impl_.external_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.job_id_, &other->_impl_.job_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.external_id_, &other->_impl_.external_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_) + + sizeof(WorkRequest::_impl_.cooldown_secs_) + - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_)>( + reinterpret_cast(&_impl_.segment_), + reinterpret_cast(&other->_impl_.segment_)); + swap(_impl_.Type_, other->_impl_.Type_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata WorkRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BulkJobRequestInfo::_Internal { + public: +}; + +BulkJobRequestInfo::BulkJobRequestInfo(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BulkJobRequestInfo) +} +inline PROTOBUF_NDEBUG_INLINE BulkJobRequestInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::flex::BulkJobRequestInfo& from_msg) + : state_mount_path_(arena, from.state_mount_path_), + operation_(arena, from.operation_), + _cached_size_{0} {} + +BulkJobRequestInfo::BulkJobRequestInfo( + ::google::protobuf::Arena* arena, + const BulkJobRequestInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BulkJobRequestInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.job_index_ = from._impl_.job_index_; + + // @@protoc_insertion_point(copy_constructor:flex.BulkJobRequestInfo) +} +inline PROTOBUF_NDEBUG_INLINE BulkJobRequestInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : state_mount_path_(arena), + operation_(arena), + _cached_size_{0} {} + +inline void BulkJobRequestInfo::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.job_index_ = {}; +} +BulkJobRequestInfo::~BulkJobRequestInfo() { + // @@protoc_insertion_point(destructor:flex.BulkJobRequestInfo) + SharedDtor(*this); +} +inline void BulkJobRequestInfo::SharedDtor(MessageLite& self) { + BulkJobRequestInfo& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.state_mount_path_.Destroy(); + this_._impl_.operation_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* BulkJobRequestInfo::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BulkJobRequestInfo(arena); +} +constexpr auto BulkJobRequestInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BulkJobRequestInfo), + alignof(BulkJobRequestInfo)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BulkJobRequestInfo::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BulkJobRequestInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BulkJobRequestInfo::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BulkJobRequestInfo::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BulkJobRequestInfo::ByteSizeLong, + &BulkJobRequestInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_._cached_size_), + false, + }, + &BulkJobRequestInfo::kDescriptorMethods, + &descriptor_table_flex_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BulkJobRequestInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 57, 2> BulkJobRequestInfo::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::flex::BulkJobRequestInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string state_mount_path = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.state_mount_path_)}}, + // string operation = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.operation_)}}, + // int64 job_index = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(BulkJobRequestInfo, _impl_.job_index_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.job_index_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string state_mount_path = 1; + {PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.state_mount_path_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string operation = 2; + {PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.operation_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int64 job_index = 3; + {PROTOBUF_FIELD_OFFSET(BulkJobRequestInfo, _impl_.job_index_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, + }}, + // no aux_entries + {{ + "\27\20\11\0\0\0\0\0" + "flex.BulkJobRequestInfo" + "state_mount_path" + "operation" + }}, +}; + +PROTOBUF_NOINLINE void BulkJobRequestInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:flex.BulkJobRequestInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.state_mount_path_.ClearToEmpty(); + _impl_.operation_.ClearToEmpty(); + _impl_.job_index_ = ::int64_t{0}; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BulkJobRequestInfo::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BulkJobRequestInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BulkJobRequestInfo::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BulkJobRequestInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:flex.BulkJobRequestInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string state_mount_path = 1; + if (!this_._internal_state_mount_path().empty()) { + const std::string& _s = this_._internal_state_mount_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BulkJobRequestInfo.state_mount_path"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string operation = 2; + if (!this_._internal_operation().empty()) { + const std::string& _s = this_._internal_operation(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BulkJobRequestInfo.operation"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // int64 job_index = 3; + if (this_._internal_job_index() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt64ToArrayWithField<3>( + stream, this_._internal_job_index(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:flex.BulkJobRequestInfo) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BulkJobRequestInfo::ByteSizeLong(const MessageLite& base) { + const BulkJobRequestInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BulkJobRequestInfo::ByteSizeLong() const { + const BulkJobRequestInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:flex.BulkJobRequestInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string state_mount_path = 1; + if (!this_._internal_state_mount_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_state_mount_path()); + } + // string operation = 2; + if (!this_._internal_operation().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_operation()); + } + // int64 job_index = 3; + if (this_._internal_job_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_job_index()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BulkJobRequestInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:flex.BulkJobRequestInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_state_mount_path().empty()) { + _this->_internal_set_state_mount_path(from._internal_state_mount_path()); + } + if (!from._internal_operation().empty()) { + _this->_internal_set_operation(from._internal_operation()); + } + if (from._internal_job_index() != 0) { + _this->_impl_.job_index_ = from._impl_.job_index_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BulkJobRequestInfo::CopyFrom(const BulkJobRequestInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flex.BulkJobRequestInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BulkJobRequestInfo::InternalSwap(BulkJobRequestInfo* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.state_mount_path_, &other->_impl_.state_mount_path_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.operation_, &other->_impl_.operation_, arena); + swap(_impl_.job_index_, other->_impl_.job_index_); +} + +::google::protobuf::Metadata BulkJobRequestInfo::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BulkOperation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_._has_bits_); +}; + +BulkOperation::BulkOperation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.BulkOperation) +} +inline PROTOBUF_NDEBUG_INLINE BulkOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::flex::BulkOperation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + state_mount_path_(arena, from.state_mount_path_), + operation_(arena, from.operation_), + errors_(arena, from.errors_) {} + +BulkOperation::BulkOperation( + ::google::protobuf::Arena* arena, + const BulkOperation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BulkOperation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, next_job_index_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, next_job_index_), + offsetof(Impl_, rst_id_) - + offsetof(Impl_, next_job_index_) + + sizeof(Impl_::rst_id_)); + + // @@protoc_insertion_point(copy_constructor:flex.BulkOperation) +} +inline PROTOBUF_NDEBUG_INLINE BulkOperation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + state_mount_path_(arena), + operation_(arena), + errors_(arena) {} + +inline void BulkOperation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, next_job_index_), + 0, + offsetof(Impl_, rst_id_) - + offsetof(Impl_, next_job_index_) + + sizeof(Impl_::rst_id_)); +} +BulkOperation::~BulkOperation() { + // @@protoc_insertion_point(destructor:flex.BulkOperation) + SharedDtor(*this); +} +inline void BulkOperation::SharedDtor(MessageLite& self) { + BulkOperation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.state_mount_path_.Destroy(); + this_._impl_.operation_.Destroy(); + this_._impl_.errors_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* BulkOperation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BulkOperation(arena); +} +constexpr auto BulkOperation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BulkOperation), + alignof(BulkOperation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BulkOperation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BulkOperation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BulkOperation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BulkOperation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BulkOperation::ByteSizeLong, + &BulkOperation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_._cached_size_), + false, + }, + &BulkOperation::kDescriptorMethods, + &descriptor_table_flex_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BulkOperation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 0, 58, 2> BulkOperation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::flex::BulkOperation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // string state_mount_path = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.state_mount_path_)}}, + // uint32 rst_id = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BulkOperation, _impl_.rst_id_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.rst_id_)}}, + // string operation = 3; + {::_pbi::TcParser::FastUS1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.operation_)}}, + // int64 next_job_index = 4; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(BulkOperation, _impl_.next_job_index_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.next_job_index_)}}, + // optional string errors = 5; + {::_pbi::TcParser::FastUS1, + {42, 0, 0, PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.errors_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // string state_mount_path = 1; + {PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.state_mount_path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // uint32 rst_id = 2; + {PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.rst_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // string operation = 3; + {PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.operation_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // int64 next_job_index = 4; + {PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.next_job_index_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, + // optional string errors = 5; + {PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.errors_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\22\20\0\11\0\6\0\0" + "flex.BulkOperation" + "state_mount_path" + "operation" + "errors" + }}, +}; + +PROTOBUF_NOINLINE void BulkOperation::Clear() { +// @@protoc_insertion_point(message_clear_start:flex.BulkOperation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.state_mount_path_.ClearToEmpty(); + _impl_.operation_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _impl_.errors_.ClearNonDefaultToEmpty(); + } + ::memset(&_impl_.next_job_index_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.rst_id_) - + reinterpret_cast(&_impl_.next_job_index_)) + sizeof(_impl_.rst_id_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BulkOperation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BulkOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BulkOperation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BulkOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:flex.BulkOperation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string state_mount_path = 1; + if (!this_._internal_state_mount_path().empty()) { + const std::string& _s = this_._internal_state_mount_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BulkOperation.state_mount_path"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // uint32 rst_id = 2; + if (this_._internal_rst_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_rst_id(), target); + } + + // string operation = 3; + if (!this_._internal_operation().empty()) { + const std::string& _s = this_._internal_operation(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BulkOperation.operation"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // int64 next_job_index = 4; + if (this_._internal_next_job_index() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt64ToArrayWithField<4>( + stream, this_._internal_next_job_index(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // optional string errors = 5; + if (cached_has_bits & 0x00000001u) { + const std::string& _s = this_._internal_errors(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BulkOperation.errors"); + target = stream->WriteStringMaybeAliased(5, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:flex.BulkOperation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BulkOperation::ByteSizeLong(const MessageLite& base) { + const BulkOperation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BulkOperation::ByteSizeLong() const { + const BulkOperation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:flex.BulkOperation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string state_mount_path = 1; + if (!this_._internal_state_mount_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_state_mount_path()); + } + // string operation = 3; + if (!this_._internal_operation().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_operation()); + } + } + { + // optional string errors = 5; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_errors()); + } + } + { + // int64 next_job_index = 4; + if (this_._internal_next_job_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( + this_._internal_next_job_index()); + } + // uint32 rst_id = 2; + if (this_._internal_rst_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rst_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BulkOperation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:flex.BulkOperation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_state_mount_path().empty()) { + _this->_internal_set_state_mount_path(from._internal_state_mount_path()); + } + if (!from._internal_operation().empty()) { + _this->_internal_set_operation(from._internal_operation()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _this->_internal_set_errors(from._internal_errors()); + } + if (from._internal_next_job_index() != 0) { + _this->_impl_.next_job_index_ = from._impl_.next_job_index_; + } + if (from._internal_rst_id() != 0) { + _this->_impl_.rst_id_ = from._impl_.rst_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BulkOperation::CopyFrom(const BulkOperation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flex.BulkOperation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BulkOperation::InternalSwap(BulkOperation* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.state_mount_path_, &other->_impl_.state_mount_path_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.operation_, &other->_impl_.operation_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.errors_, &other->_impl_.errors_, arena); ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.cooldown_secs_) - + sizeof(WorkRequest::_impl_.cooldown_secs_) - - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_)>( - reinterpret_cast(&_impl_.segment_), - reinterpret_cast(&other->_impl_.segment_)); - swap(_impl_.Type_, other->_impl_.Type_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); + PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.rst_id_) + + sizeof(BulkOperation::_impl_.rst_id_) + - PROTOBUF_FIELD_OFFSET(BulkOperation, _impl_.next_job_index_)>( + reinterpret_cast(&_impl_.next_job_index_), + reinterpret_cast(&other->_impl_.next_job_index_)); } -::google::protobuf::Metadata WorkRequest::GetMetadata() const { +::google::protobuf::Metadata BulkOperation::GetMetadata() const { return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== @@ -6718,7 +7733,8 @@ inline PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::flex::BuilderJob& from_msg) : _has_bits_{from._has_bits_}, - _cached_size_{0} {} + _cached_size_{0}, + bulk_operations_{visibility, arena, from.bulk_operations_} {} BuilderJob::BuilderJob( ::google::protobuf::Arena* arena, @@ -6741,25 +7757,26 @@ BuilderJob::BuilderJob( offsetof(Impl_, submitted_), reinterpret_cast(&from._impl_) + offsetof(Impl_, submitted_), - offsetof(Impl_, errors_) - + offsetof(Impl_, conflicts_) - offsetof(Impl_, submitted_) + - sizeof(Impl_::errors_)); + sizeof(Impl_::conflicts_)); // @@protoc_insertion_point(copy_constructor:flex.BuilderJob) } inline PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) - : _cached_size_{0} {} + : _cached_size_{0}, + bulk_operations_{visibility, arena} {} inline void BuilderJob::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, cfg_), 0, - offsetof(Impl_, errors_) - + offsetof(Impl_, conflicts_) - offsetof(Impl_, cfg_) + - sizeof(Impl_::errors_)); + sizeof(Impl_::conflicts_)); } BuilderJob::~BuilderJob() { // @@protoc_insertion_point(destructor:flex.BuilderJob) @@ -6778,8 +7795,20 @@ inline void* BuilderJob::PlacementNew_(const void*, void* mem, return ::new (mem) BuilderJob(arena); } constexpr auto BuilderJob::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BuilderJob), - alignof(BuilderJob)); + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.bulk_operations_) + + decltype(BuilderJob::_impl_.bulk_operations_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BuilderJob), alignof(BuilderJob), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BuilderJob::PlacementNew_, + sizeof(BuilderJob), + alignof(BuilderJob)); + } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6809,16 +7838,16 @@ const ::google::protobuf::internal::ClassData* BuilderJob::GetClassData() const return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 0, 2> BuilderJob::_table_ = { +const ::_pbi::TcParseTable<3, 5, 2, 0, 2> BuilderJob::_table_ = { { PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_._has_bits_), 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask + 5, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap + 4294967264, // skipmap offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries + 5, // num_field_entries + 2, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler @@ -6837,6 +7866,14 @@ const ::_pbi::TcParseTable<2, 3, 1, 0, 2> BuilderJob::_table_ = { // int32 errors = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BuilderJob, _impl_.errors_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_)}}, + // repeated .flex.BulkOperation bulk_operations = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 1, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.bulk_operations_)}}, + // int32 conflicts = 5; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BuilderJob, _impl_.conflicts_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.conflicts_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ @@ -6849,8 +7886,15 @@ const ::_pbi::TcParseTable<2, 3, 1, 0, 2> BuilderJob::_table_ = { // int32 errors = 3; {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + // repeated .flex.BulkOperation bulk_operations = 4; + {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.bulk_operations_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // int32 conflicts = 5; + {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.conflicts_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, }}, {{ {::_pbi::TcParser::GetTable<::flex::JobRequestCfg>()}, + {::_pbi::TcParser::GetTable<::flex::BulkOperation>()}, }}, {{ }}, }; @@ -6862,14 +7906,15 @@ PROTOBUF_NOINLINE void BuilderJob::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + _impl_.bulk_operations_.Clear(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(_impl_.cfg_ != nullptr); _impl_.cfg_->Clear(); } ::memset(&_impl_.submitted_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.errors_) - - reinterpret_cast(&_impl_.submitted_)) + sizeof(_impl_.errors_)); + reinterpret_cast(&_impl_.conflicts_) - + reinterpret_cast(&_impl_.submitted_)) + sizeof(_impl_.conflicts_)); _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } @@ -6911,6 +7956,24 @@ PROTOBUF_NOINLINE void BuilderJob::Clear() { stream, this_._internal_errors(), target); } + // repeated .flex.BulkOperation bulk_operations = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_bulk_operations_size()); + i < n; i++) { + const auto& repfield = this_._internal_bulk_operations().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + // int32 conflicts = 5; + if (this_._internal_conflicts() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<5>( + stream, this_._internal_conflicts(), target); + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -6935,6 +7998,15 @@ PROTOBUF_NOINLINE void BuilderJob::Clear() { (void)cached_has_bits; ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .flex.BulkOperation bulk_operations = 4; + { + total_size += 1UL * this_._internal_bulk_operations_size(); + for (const auto& msg : this_._internal_bulk_operations()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } { // .flex.JobRequestCfg cfg = 1; cached_has_bits = this_._impl_._has_bits_[0]; @@ -6954,6 +8026,11 @@ PROTOBUF_NOINLINE void BuilderJob::Clear() { total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( this_._internal_errors()); } + // int32 conflicts = 5; + if (this_._internal_conflicts() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_conflicts()); + } } return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); @@ -6968,6 +8045,8 @@ void BuilderJob::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog ::uint32_t cached_has_bits = 0; (void) cached_has_bits; + _this->_internal_mutable_bulk_operations()->MergeFrom( + from._internal_bulk_operations()); cached_has_bits = from._impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { ABSL_DCHECK(from._impl_.cfg_ != nullptr); @@ -6984,6 +8063,9 @@ void BuilderJob::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::goog if (from._internal_errors() != 0) { _this->_impl_.errors_ = from._impl_.errors_; } + if (from._internal_conflicts() != 0) { + _this->_impl_.conflicts_ = from._impl_.conflicts_; + } _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -7000,9 +8082,10 @@ void BuilderJob::InternalSwap(BuilderJob* PROTOBUF_RESTRICT other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.bulk_operations_.InternalSwap(&other->_impl_.bulk_operations_); ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_) - + sizeof(BuilderJob::_impl_.errors_) + PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.conflicts_) + + sizeof(BuilderJob::_impl_.conflicts_) - PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.cfg_)>( reinterpret_cast(&_impl_.cfg_), reinterpret_cast(&other->_impl_.cfg_)); @@ -8336,6 +9419,10 @@ ::google::protobuf::Metadata Work_Status::GetMetadata() const { class Work_Part::_Internal { public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Work_Part, _impl_._has_bits_); }; Work_Part::Work_Part(::google::protobuf::Arena* arena) @@ -8350,9 +9437,10 @@ Work_Part::Work_Part(::google::protobuf::Arena* arena) inline PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const ::flex::Work_Part& from_msg) - : entity_tag_(arena, from.entity_tag_), - checksum_sha256_(arena, from.checksum_sha256_), - _cached_size_{0} {} + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + entity_tag_(arena, from.entity_tag_), + checksum_sha256_(arena, from.checksum_sha256_) {} Work_Part::Work_Part( ::google::protobuf::Arena* arena, @@ -8371,27 +9459,27 @@ Work_Part::Work_Part( offsetof(Impl_, offset_start_), reinterpret_cast(&from._impl_) + offsetof(Impl_, offset_start_), - offsetof(Impl_, completed_) - + offsetof(Impl_, started_) - offsetof(Impl_, offset_start_) + - sizeof(Impl_::completed_)); + sizeof(Impl_::started_)); // @@protoc_insertion_point(copy_constructor:flex.Work.Part) } inline PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) - : entity_tag_(arena), - checksum_sha256_(arena), - _cached_size_{0} {} + : _cached_size_{0}, + entity_tag_(arena), + checksum_sha256_(arena) {} inline void Work_Part::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, offset_start_), 0, - offsetof(Impl_, completed_) - + offsetof(Impl_, started_) - offsetof(Impl_, offset_start_) + - sizeof(Impl_::completed_)); + sizeof(Impl_::started_)); } Work_Part::~Work_Part() { // @@protoc_insertion_point(destructor:flex.Work.Part) @@ -8442,15 +9530,15 @@ const ::google::protobuf::internal::ClassData* Work_Part::GetClassData() const { return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 6, 0, 48, 2> Work_Part::_table_ = { +const ::_pbi::TcParseTable<3, 7, 0, 48, 2> Work_Part::_table_ = { { - 0, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(Work_Part, _impl_._has_bits_), 0, // no _extensions_ - 6, 56, // max_field_number, fast_idx_mask + 7, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967232, // skipmap + 4294967168, // skipmap offsetof(decltype(_table_), field_entries), - 6, // num_field_entries + 7, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries _class_data_.base(), @@ -8479,28 +9567,33 @@ const ::_pbi::TcParseTable<3, 6, 0, 48, 2> Work_Part::_table_ = { // bool completed = 6; {::_pbi::TcParser::SingularVarintNoZag1(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_)}}, - {::_pbi::TcParser::MiniParse, {}}, + // optional bool started = 7; + {::_pbi::TcParser::SingularVarintNoZag1(), + {56, 0, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.started_)}}, }}, {{ 65535, 65535 }}, {{ // int32 part_number = 1; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.part_number_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.part_number_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // int64 offset_start = 2; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 offset_stop = 3; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // string entity_tag = 4; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string checksum_sha256 = 5; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // bool completed = 6; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_), 0, 0, + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // optional bool started = 7; + {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.started_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kBool)}, }}, // no aux_entries {{ @@ -8523,6 +9616,8 @@ PROTOBUF_NOINLINE void Work_Part::Clear() { ::memset(&_impl_.offset_start_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.completed_) - reinterpret_cast(&_impl_.offset_start_)) + sizeof(_impl_.completed_)); + _impl_.started_ = false; + _impl_._has_bits_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } @@ -8585,6 +9680,14 @@ PROTOBUF_NOINLINE void Work_Part::Clear() { 6, this_._internal_completed(), target); } + cached_has_bits = this_._impl_._has_bits_[0]; + // optional bool started = 7; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 7, this_._internal_started(), target); + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -8639,6 +9742,13 @@ PROTOBUF_NOINLINE void Work_Part::Clear() { if (this_._internal_completed() != 0) { total_size += 2; } + } + { + // optional bool started = 7; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 2; + } } return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); @@ -8670,6 +9780,11 @@ void Work_Part::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::googl if (from._internal_completed() != 0) { _this->_impl_.completed_ = from._impl_.completed_; } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + _this->_impl_.started_ = from._impl_.started_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } @@ -8686,11 +9801,12 @@ void Work_Part::InternalSwap(Work_Part* PROTOBUF_RESTRICT other) { auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entity_tag_, &other->_impl_.entity_tag_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.checksum_sha256_, &other->_impl_.checksum_sha256_, arena); ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_) - + sizeof(Work_Part::_impl_.completed_) + PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.started_) + + sizeof(Work_Part::_impl_.started_) - PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_)>( reinterpret_cast(&_impl_.offset_start_), reinterpret_cast(&other->_impl_.offset_start_)); @@ -8701,6 +9817,248 @@ ::google::protobuf::Metadata Work_Part::GetMetadata() const { } // =================================================================== +class Work_JobBuilderInfo::_Internal { + public: +}; + +Work_JobBuilderInfo::Work_JobBuilderInfo(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.Work.JobBuilderInfo) +} +inline PROTOBUF_NDEBUG_INLINE Work_JobBuilderInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::flex::Work_JobBuilderInfo& from_msg) + : bulk_operations_{visibility, arena, from.bulk_operations_}, + _cached_size_{0} {} + +Work_JobBuilderInfo::Work_JobBuilderInfo( + ::google::protobuf::Arena* arena, + const Work_JobBuilderInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Work_JobBuilderInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:flex.Work.JobBuilderInfo) +} +inline PROTOBUF_NDEBUG_INLINE Work_JobBuilderInfo::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : bulk_operations_{visibility, arena}, + _cached_size_{0} {} + +inline void Work_JobBuilderInfo::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Work_JobBuilderInfo::~Work_JobBuilderInfo() { + // @@protoc_insertion_point(destructor:flex.Work.JobBuilderInfo) + SharedDtor(*this); +} +inline void Work_JobBuilderInfo::SharedDtor(MessageLite& self) { + Work_JobBuilderInfo& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Work_JobBuilderInfo::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Work_JobBuilderInfo(arena); +} +constexpr auto Work_JobBuilderInfo::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Work_JobBuilderInfo, _impl_.bulk_operations_) + + decltype(Work_JobBuilderInfo::_impl_.bulk_operations_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Work_JobBuilderInfo), alignof(Work_JobBuilderInfo), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Work_JobBuilderInfo::PlacementNew_, + sizeof(Work_JobBuilderInfo), + alignof(Work_JobBuilderInfo)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Work_JobBuilderInfo::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Work_JobBuilderInfo_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Work_JobBuilderInfo::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Work_JobBuilderInfo::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Work_JobBuilderInfo::ByteSizeLong, + &Work_JobBuilderInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Work_JobBuilderInfo, _impl_._cached_size_), + false, + }, + &Work_JobBuilderInfo::kDescriptorMethods, + &descriptor_table_flex_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Work_JobBuilderInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Work_JobBuilderInfo::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::flex::Work_JobBuilderInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .flex.BulkOperation bulk_operations = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Work_JobBuilderInfo, _impl_.bulk_operations_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .flex.BulkOperation bulk_operations = 1; + {PROTOBUF_FIELD_OFFSET(Work_JobBuilderInfo, _impl_.bulk_operations_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::flex::BulkOperation>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Work_JobBuilderInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:flex.Work.JobBuilderInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.bulk_operations_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Work_JobBuilderInfo::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Work_JobBuilderInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Work_JobBuilderInfo::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Work_JobBuilderInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:flex.Work.JobBuilderInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .flex.BulkOperation bulk_operations = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_bulk_operations_size()); + i < n; i++) { + const auto& repfield = this_._internal_bulk_operations().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:flex.Work.JobBuilderInfo) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Work_JobBuilderInfo::ByteSizeLong(const MessageLite& base) { + const Work_JobBuilderInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Work_JobBuilderInfo::ByteSizeLong() const { + const Work_JobBuilderInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:flex.Work.JobBuilderInfo) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .flex.BulkOperation bulk_operations = 1; + { + total_size += 1UL * this_._internal_bulk_operations_size(); + for (const auto& msg : this_._internal_bulk_operations()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Work_JobBuilderInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:flex.Work.JobBuilderInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_bulk_operations()->MergeFrom( + from._internal_bulk_operations()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Work_JobBuilderInfo::CopyFrom(const Work_JobBuilderInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flex.Work.JobBuilderInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Work_JobBuilderInfo::InternalSwap(Work_JobBuilderInfo* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.bulk_operations_.InternalSwap(&other->_impl_.bulk_operations_); +} + +::google::protobuf::Metadata Work_JobBuilderInfo::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + class Work::_Internal { public: using HasBits = @@ -8745,6 +10103,9 @@ Work::Work( _impl_.status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work_Status>( arena, *from._impl_.status_) : nullptr; + _impl_.job_builder_info_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work_JobBuilderInfo>( + arena, *from._impl_.job_builder_info_) + : nullptr; _impl_.job_builder_ = from._impl_.job_builder_; // @@protoc_insertion_point(copy_constructor:flex.Work) @@ -8779,6 +10140,7 @@ inline void Work::SharedDtor(MessageLite& self) { this_._impl_.job_id_.Destroy(); this_._impl_.request_id_.Destroy(); delete this_._impl_.status_; + delete this_._impl_.job_builder_info_; this_._impl_.~Impl_(); } @@ -8830,16 +10192,16 @@ const ::google::protobuf::internal::ClassData* Work::GetClassData() const { return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 6, 2, 38, 2> Work::_table_ = { +const ::_pbi::TcParseTable<3, 7, 3, 38, 2> Work::_table_ = { { PROTOBUF_FIELD_OFFSET(Work, _impl_._has_bits_), 0, // no _extensions_ - 6, 56, // max_field_number, fast_idx_mask + 7, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967232, // skipmap + 4294967168, // skipmap offsetof(decltype(_table_), field_entries), - 6, // num_field_entries - 2, // num_aux_entries + 7, // num_field_entries + 3, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler @@ -8867,7 +10229,9 @@ const ::_pbi::TcParseTable<3, 6, 2, 38, 2> Work::_table_ = { // bool job_builder = 6; {::_pbi::TcParser::SingularVarintNoZag1(), {48, 63, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_)}}, - {::_pbi::TcParser::MiniParse, {}}, + // optional .flex.Work.JobBuilderInfo job_builder_info = 7; + {::_pbi::TcParser::FastMtS1, + {58, 1, 2, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_info_)}}, }}, {{ 65535, 65535 }}, {{ @@ -8889,9 +10253,13 @@ const ::_pbi::TcParseTable<3, 6, 2, 38, 2> Work::_table_ = { // bool job_builder = 6; {PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_), -1, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // optional .flex.Work.JobBuilderInfo job_builder_info = 7; + {PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_info_), _Internal::kHasBitsOffset + 1, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::flex::Work_Status>()}, {::_pbi::TcParser::GetTable<::flex::Work_Part>()}, + {::_pbi::TcParser::GetTable<::flex::Work_JobBuilderInfo>()}, }}, {{ "\11\4\6\12\0\0\0\0" "flex.Work" @@ -8913,9 +10281,15 @@ PROTOBUF_NOINLINE void Work::Clear() { _impl_.job_id_.ClearToEmpty(); _impl_.request_id_.ClearToEmpty(); cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.status_ != nullptr); - _impl_.status_->Clear(); + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.status_ != nullptr); + _impl_.status_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.job_builder_info_ != nullptr); + _impl_.job_builder_info_->Clear(); + } } _impl_.job_builder_ = false; _impl_._has_bits_.Clear(); @@ -8987,6 +10361,13 @@ PROTOBUF_NOINLINE void Work::Clear() { 6, this_._internal_job_builder(), target); } + // optional .flex.Work.JobBuilderInfo job_builder_info = 7; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.job_builder_info_, this_._impl_.job_builder_info_->GetCachedSize(), target, + stream); + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -9037,13 +10418,18 @@ PROTOBUF_NOINLINE void Work::Clear() { this_._internal_request_id()); } } - { + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { // .flex.Work.Status status = 4; - cached_has_bits = this_._impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); } + // optional .flex.Work.JobBuilderInfo job_builder_info = 7; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.job_builder_info_); + } } { // bool job_builder = 6; @@ -9076,13 +10462,24 @@ void Work::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::pr _this->_internal_set_request_id(from._internal_request_id()); } cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.status_ != nullptr); - if (_this->_impl_.status_ == nullptr) { - _this->_impl_.status_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work_Status>(arena, *from._impl_.status_); - } else { - _this->_impl_.status_->MergeFrom(*from._impl_.status_); + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = + ::google::protobuf::Message::CopyConstruct<::flex::Work_Status>(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.job_builder_info_ != nullptr); + if (_this->_impl_.job_builder_info_ == nullptr) { + _this->_impl_.job_builder_info_ = + ::google::protobuf::Message::CopyConstruct<::flex::Work_JobBuilderInfo>(arena, *from._impl_.job_builder_info_); + } else { + _this->_impl_.job_builder_info_->MergeFrom(*from._impl_.job_builder_info_); + } } } if (from._internal_job_builder() != 0) { @@ -11671,6 +13068,256 @@ ::google::protobuf::Metadata RemoteStorageTarget_Azure::GetMetadata() const { } // =================================================================== +class RemoteStorageTarget_XtreemStore::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_XtreemStore, _impl_._has_bits_); +}; + +RemoteStorageTarget_XtreemStore::RemoteStorageTarget_XtreemStore(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:flex.RemoteStorageTarget.XtreemStore) +} +inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_XtreemStore::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::flex::RemoteStorageTarget_XtreemStore& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RemoteStorageTarget_XtreemStore::RemoteStorageTarget_XtreemStore( + ::google::protobuf::Arena* arena, + const RemoteStorageTarget_XtreemStore& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RemoteStorageTarget_XtreemStore* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.s3_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>( + arena, *from._impl_.s3_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.XtreemStore) +} +inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_XtreemStore::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RemoteStorageTarget_XtreemStore::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.s3_ = {}; +} +RemoteStorageTarget_XtreemStore::~RemoteStorageTarget_XtreemStore() { + // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.XtreemStore) + SharedDtor(*this); +} +inline void RemoteStorageTarget_XtreemStore::SharedDtor(MessageLite& self) { + RemoteStorageTarget_XtreemStore& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.s3_; + this_._impl_.~Impl_(); +} + +inline void* RemoteStorageTarget_XtreemStore::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RemoteStorageTarget_XtreemStore(arena); +} +constexpr auto RemoteStorageTarget_XtreemStore::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RemoteStorageTarget_XtreemStore), + alignof(RemoteStorageTarget_XtreemStore)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_XtreemStore::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_RemoteStorageTarget_XtreemStore_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &RemoteStorageTarget_XtreemStore::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &RemoteStorageTarget_XtreemStore::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_XtreemStore::ByteSizeLong, + &RemoteStorageTarget_XtreemStore::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_XtreemStore, _impl_._cached_size_), + false, + }, + &RemoteStorageTarget_XtreemStore::kDescriptorMethods, + &descriptor_table_flex_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RemoteStorageTarget_XtreemStore::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> RemoteStorageTarget_XtreemStore::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_XtreemStore, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_XtreemStore>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .flex.RemoteStorageTarget.S3 s3 = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_XtreemStore, _impl_.s3_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .flex.RemoteStorageTarget.S3 s3 = 1; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_XtreemStore, _impl_.s3_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RemoteStorageTarget_XtreemStore::Clear() { +// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.XtreemStore) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.s3_ != nullptr); + _impl_.s3_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RemoteStorageTarget_XtreemStore::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RemoteStorageTarget_XtreemStore& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RemoteStorageTarget_XtreemStore::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RemoteStorageTarget_XtreemStore& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.XtreemStore) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .flex.RemoteStorageTarget.S3 s3 = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.s3_, this_._impl_.s3_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:flex.RemoteStorageTarget.XtreemStore) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RemoteStorageTarget_XtreemStore::ByteSizeLong(const MessageLite& base) { + const RemoteStorageTarget_XtreemStore& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RemoteStorageTarget_XtreemStore::ByteSizeLong() const { + const RemoteStorageTarget_XtreemStore& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.XtreemStore) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .flex.RemoteStorageTarget.S3 s3 = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.s3_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void RemoteStorageTarget_XtreemStore::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:flex.RemoteStorageTarget.XtreemStore) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.s3_ != nullptr); + if (_this->_impl_.s3_ == nullptr) { + _this->_impl_.s3_ = + ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>(arena, *from._impl_.s3_); + } else { + _this->_impl_.s3_->MergeFrom(*from._impl_.s3_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void RemoteStorageTarget_XtreemStore::CopyFrom(const RemoteStorageTarget_XtreemStore& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.XtreemStore) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void RemoteStorageTarget_XtreemStore::InternalSwap(RemoteStorageTarget_XtreemStore* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.s3_, other->_impl_.s3_); +} + +::google::protobuf::Metadata RemoteStorageTarget_XtreemStore::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + class RemoteStorageTarget_POSIX::_Internal { public: }; @@ -11951,6 +13598,19 @@ void RemoteStorageTarget::set_allocated_azure(::flex::RemoteStorageTarget_Azure* } // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.azure) } +void RemoteStorageTarget::set_allocated_xtreemstore(::flex::RemoteStorageTarget_XtreemStore* xtreemstore) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_type(); + if (xtreemstore) { + ::google::protobuf::Arena* submessage_arena = xtreemstore->GetArena(); + if (message_arena != submessage_arena) { + xtreemstore = ::google::protobuf::internal::GetOwnedMessage(message_arena, xtreemstore, submessage_arena); + } + set_has_xtreemstore(); + _impl_.type_.xtreemstore_ = xtreemstore; + } + // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.xtreemstore) +} RemoteStorageTarget::RemoteStorageTarget(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) : ::google::protobuf::Message(arena, _class_data_.base()) { @@ -12002,6 +13662,9 @@ RemoteStorageTarget::RemoteStorageTarget( case kMock: new (&_impl_.type_.mock_) decltype(_impl_.type_.mock_){arena, from._impl_.type_.mock_}; break; + case kXtreemstore: + _impl_.type_.xtreemstore_ = ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_XtreemStore>(arena, *from._impl_.type_.xtreemstore_); + break; } // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget) @@ -12071,6 +13734,14 @@ void RemoteStorageTarget::clear_type() { _impl_.type_.mock_.Destroy(); break; } + case kXtreemstore: { + if (GetArena() == nullptr) { + delete _impl_.type_.xtreemstore_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.xtreemstore_); + } + break; + } case TYPE_NOT_SET: { break; } @@ -12115,16 +13786,16 @@ const ::google::protobuf::internal::ClassData* RemoteStorageTarget::GetClassData return _class_data_.base(); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 7, 4, 41, 2> RemoteStorageTarget::_table_ = { +const ::_pbi::TcParseTable<2, 8, 5, 49, 2> RemoteStorageTarget::_table_ = { { PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_._has_bits_), 0, // no _extensions_ - 7, 24, // max_field_number, fast_idx_mask + 8, 24, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap + 4294967040, // skipmap offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 4, // num_aux_entries + 8, // num_field_entries + 5, // num_aux_entries offsetof(decltype(_table_), aux_entries), _class_data_.base(), nullptr, // post_loop_handler @@ -12167,13 +13838,17 @@ const ::_pbi::TcParseTable<2, 7, 4, 41, 2> RemoteStorageTarget::_table_ = { // string mock = 7; {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.mock_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .flex.RemoteStorageTarget.XtreemStore xtreemstore = 8; + {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.xtreemstore_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, }}, {{ {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_Policies>()}, {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3>()}, {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_POSIX>()}, {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_Azure>()}, + {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_XtreemStore>()}, }}, {{ - "\30\0\4\0\0\0\0\4" + "\30\0\4\0\0\0\0\4\0\0\0\0\0\0\0\0" "flex.RemoteStorageTarget" "name" "mock" @@ -12263,6 +13938,12 @@ PROTOBUF_NOINLINE void RemoteStorageTarget::Clear() { target = stream->WriteStringMaybeAliased(7, _s, target); break; } + case kXtreemstore: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.type_.xtreemstore_, this_._impl_.type_.xtreemstore_->GetCachedSize(), target, + stream); + break; + } default: break; } @@ -12337,6 +14018,12 @@ PROTOBUF_NOINLINE void RemoteStorageTarget::Clear() { this_._internal_mock()); break; } + // .flex.RemoteStorageTarget.XtreemStore xtreemstore = 8; + case kXtreemstore: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.xtreemstore_); + break; + } case TYPE_NOT_SET: { break; } @@ -12416,6 +14103,15 @@ void RemoteStorageTarget::MergeImpl(::google::protobuf::MessageLite& to_msg, con _this->_impl_.type_.mock_.Set(from._internal_mock(), arena); break; } + case kXtreemstore: { + if (oneof_needs_init) { + _this->_impl_.type_.xtreemstore_ = + ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_XtreemStore>(arena, *from._impl_.type_.xtreemstore_); + } else { + _this->_impl_.type_.xtreemstore_->MergeFrom(from._internal_xtreemstore()); + } + break; + } case TYPE_NOT_SET: break; } diff --git a/cpp/flex.pb.h b/cpp/flex.pb.h index 8d088b1..c1dbf0a 100644 --- a/cpp/flex.pb.h +++ b/cpp/flex.pb.h @@ -34,6 +34,7 @@ #include "google/protobuf/map_field_inl.h" #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" +#include "google/protobuf/duration.pb.h" #include "google/protobuf/timestamp.pb.h" // @@protoc_insertion_point(includes) @@ -67,6 +68,12 @@ extern BuildInfoDefaultTypeInternal _BuildInfo_default_instance_; class BuilderJob; struct BuilderJobDefaultTypeInternal; extern BuilderJobDefaultTypeInternal _BuilderJob_default_instance_; +class BulkJobRequestInfo; +struct BulkJobRequestInfoDefaultTypeInternal; +extern BulkJobRequestInfoDefaultTypeInternal _BulkJobRequestInfo_default_instance_; +class BulkOperation; +struct BulkOperationDefaultTypeInternal; +extern BulkOperationDefaultTypeInternal _BulkOperation_default_instance_; class BulkUpdateWorkRequest; struct BulkUpdateWorkRequestDefaultTypeInternal; extern BulkUpdateWorkRequestDefaultTypeInternal _BulkUpdateWorkRequest_default_instance_; @@ -130,6 +137,9 @@ extern RemoteStorageTarget_S3_StorageClassDefaultTypeInternal _RemoteStorageTarg class RemoteStorageTarget_S3_StorageClass_Archival; struct RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal; extern RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_Archival_default_instance_; +class RemoteStorageTarget_XtreemStore; +struct RemoteStorageTarget_XtreemStoreDefaultTypeInternal; +extern RemoteStorageTarget_XtreemStoreDefaultTypeInternal _RemoteStorageTarget_XtreemStore_default_instance_; class SubmitWorkRequest; struct SubmitWorkRequestDefaultTypeInternal; extern SubmitWorkRequestDefaultTypeInternal _SubmitWorkRequest_default_instance_; @@ -163,6 +173,9 @@ extern WorkRequestDefaultTypeInternal _WorkRequest_default_instance_; class WorkRequest_Segment; struct WorkRequest_SegmentDefaultTypeInternal; extern WorkRequest_SegmentDefaultTypeInternal _WorkRequest_Segment_default_instance_; +class Work_JobBuilderInfo; +struct Work_JobBuilderInfoDefaultTypeInternal; +extern Work_JobBuilderInfoDefaultTypeInternal _Work_JobBuilderInfo_default_instance_; class Work_Part; struct Work_PartDefaultTypeInternal; extern Work_PartDefaultTypeInternal _Work_Part_default_instance_; @@ -678,7 +691,7 @@ class Work_Status final : public ::google::protobuf::Message return reinterpret_cast( &_Work_Status_default_instance_); } - static constexpr int kIndexInFileMessages = 18; + static constexpr int kIndexInFileMessages = 20; friend void swap(Work_Status& a, Work_Status& b) { a.Swap(&b); } inline void Swap(Work_Status* other) { if (other == this) return; @@ -886,7 +899,7 @@ class Work_Part final : public ::google::protobuf::Message return reinterpret_cast( &_Work_Part_default_instance_); } - static constexpr int kIndexInFileMessages = 19; + static constexpr int kIndexInFileMessages = 21; friend void swap(Work_Part& a, Work_Part& b) { a.Swap(&b); } inline void Swap(Work_Part* other) { if (other == this) return; @@ -979,6 +992,7 @@ class Work_Part final : public ::google::protobuf::Message kOffsetStopFieldNumber = 3, kPartNumberFieldNumber = 1, kCompletedFieldNumber = 6, + kStartedFieldNumber = 7, }; // string entity_tag = 4; void clear_entity_tag() ; @@ -1051,13 +1065,24 @@ class Work_Part final : public ::google::protobuf::Message bool _internal_completed() const; void _internal_set_completed(bool value); + public: + // optional bool started = 7; + bool has_started() const; + void clear_started() ; + bool started() const; + void set_started(bool value); + + private: + bool _internal_started() const; + void _internal_set_started(bool value); + public: // @@protoc_insertion_point(class_scope:flex.Work.Part) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 3, 6, 0, + 3, 7, 0, 48, 2> _table_; @@ -1075,13 +1100,15 @@ class Work_Part final : public ::google::protobuf::Message inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, const Work_Part& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr entity_tag_; ::google::protobuf::internal::ArenaStringPtr checksum_sha256_; ::int64_t offset_start_; ::int64_t offset_stop_; ::int32_t part_number_; bool completed_; - ::google::protobuf::internal::CachedSize _cached_size_; + bool started_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -1393,7 +1420,7 @@ class UpdateConfigResponse final : public ::google::protobuf::Message return reinterpret_cast( &_UpdateConfigResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 22; + static constexpr int kIndexInFileMessages = 25; friend void swap(UpdateConfigResponse& a, UpdateConfigResponse& b) { a.Swap(&b); } inline void Swap(UpdateConfigResponse* other) { if (other == this) return; @@ -1661,7 +1688,7 @@ class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::prot return reinterpret_cast( &_RemoteStorageTarget_S3_StorageClass_Archival_default_instance_); } - static constexpr int kIndexInFileMessages = 25; + static constexpr int kIndexInFileMessages = 28; friend void swap(RemoteStorageTarget_S3_StorageClass_Archival& a, RemoteStorageTarget_S3_StorageClass_Archival& b) { a.Swap(&b); } inline void Swap(RemoteStorageTarget_S3_StorageClass_Archival* other) { if (other == this) return; @@ -1917,7 +1944,7 @@ class RemoteStorageTarget_Policies final : public ::google::protobuf::Message return reinterpret_cast( &_RemoteStorageTarget_Policies_default_instance_); } - static constexpr int kIndexInFileMessages = 24; + static constexpr int kIndexInFileMessages = 27; friend void swap(RemoteStorageTarget_Policies& a, RemoteStorageTarget_Policies& b) { a.Swap(&b); } inline void Swap(RemoteStorageTarget_Policies* other) { if (other == this) return; @@ -2107,7 +2134,7 @@ class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message return reinterpret_cast( &_RemoteStorageTarget_POSIX_default_instance_); } - static constexpr int kIndexInFileMessages = 29; + static constexpr int kIndexInFileMessages = 33; friend void swap(RemoteStorageTarget_POSIX& a, RemoteStorageTarget_POSIX& b) { a.Swap(&b); } inline void Swap(RemoteStorageTarget_POSIX* other) { if (other == this) return; @@ -2531,7 +2558,7 @@ class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFi return reinterpret_cast( &_GetCapabilitiesRequest_default_instance_); } - static constexpr int kIndexInFileMessages = 31; + static constexpr int kIndexInFileMessages = 35; friend void swap(GetCapabilitiesRequest& a, GetCapabilitiesRequest& b) { a.Swap(&b); } inline void Swap(GetCapabilitiesRequest* other) { if (other == this) return; @@ -2677,7 +2704,7 @@ class Feature final : public ::google::protobuf::Message return reinterpret_cast( &_Feature_default_instance_); } - static constexpr int kIndexInFileMessages = 35; + static constexpr int kIndexInFileMessages = 39; friend void swap(Feature& a, Feature& b) { a.Swap(&b); } inline void Swap(Feature* other) { if (other == this) return; @@ -3272,31 +3299,31 @@ class BulkUpdateWorkRequest final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class BuildInfo final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BuildInfo) */ { +class BulkOperation final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.BulkOperation) */ { public: - inline BuildInfo() : BuildInfo(nullptr) {} - ~BuildInfo() PROTOBUF_FINAL; + inline BulkOperation() : BulkOperation(nullptr) {} + ~BulkOperation() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuildInfo* msg, std::destroying_delete_t) { + void operator delete(BulkOperation* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BuildInfo)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkOperation)); } #endif template - explicit PROTOBUF_CONSTEXPR BuildInfo( + explicit PROTOBUF_CONSTEXPR BulkOperation( ::google::protobuf::internal::ConstantInitialized); - inline BuildInfo(const BuildInfo& from) : BuildInfo(nullptr, from) {} - inline BuildInfo(BuildInfo&& from) noexcept - : BuildInfo(nullptr, std::move(from)) {} - inline BuildInfo& operator=(const BuildInfo& from) { + inline BulkOperation(const BulkOperation& from) : BulkOperation(nullptr, from) {} + inline BulkOperation(BulkOperation&& from) noexcept + : BulkOperation(nullptr, std::move(from)) {} + inline BulkOperation& operator=(const BulkOperation& from) { CopyFrom(from); return *this; } - inline BuildInfo& operator=(BuildInfo&& from) noexcept { + inline BulkOperation& operator=(BulkOperation&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -3324,16 +3351,16 @@ class BuildInfo final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const BuildInfo& default_instance() { + static const BulkOperation& default_instance() { return *internal_default_instance(); } - static inline const BuildInfo* internal_default_instance() { - return reinterpret_cast( - &_BuildInfo_default_instance_); + static inline const BulkOperation* internal_default_instance() { + return reinterpret_cast( + &_BulkOperation_default_instance_); } - static constexpr int kIndexInFileMessages = 36; - friend void swap(BuildInfo& a, BuildInfo& b) { a.Swap(&b); } - inline void Swap(BuildInfo* other) { + static constexpr int kIndexInFileMessages = 15; + friend void swap(BulkOperation& a, BulkOperation& b) { a.Swap(&b); } + inline void Swap(BulkOperation* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3341,7 +3368,7 @@ class BuildInfo final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BuildInfo* other) { + void UnsafeArenaSwap(BulkOperation* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3349,13 +3376,13 @@ class BuildInfo final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BuildInfo* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + BulkOperation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BuildInfo& from); + void CopyFrom(const BulkOperation& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BuildInfo& from) { BuildInfo::MergeImpl(*this, from); } + void MergeFrom(const BulkOperation& from) { BulkOperation::MergeImpl(*this, from); } private: static void MergeImpl( @@ -3392,18 +3419,18 @@ class BuildInfo final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BuildInfo* other); + void InternalSwap(BulkOperation* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BuildInfo"; } + static ::absl::string_view FullMessageName() { return "flex.BulkOperation"; } protected: - explicit BuildInfo(::google::protobuf::Arena* arena); - BuildInfo(::google::protobuf::Arena* arena, const BuildInfo& from); - BuildInfo(::google::protobuf::Arena* arena, BuildInfo&& from) noexcept - : BuildInfo(arena) { + explicit BulkOperation(::google::protobuf::Arena* arena); + BulkOperation(::google::protobuf::Arena* arena, const BulkOperation& from); + BulkOperation(::google::protobuf::Arena* arena, BulkOperation&& from) noexcept + : BulkOperation(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -3418,82 +3445,88 @@ class BuildInfo final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kBinaryNameFieldNumber = 1, - kVersionFieldNumber = 2, - kCommitFieldNumber = 3, - kBuildTimeFieldNumber = 4, + kStateMountPathFieldNumber = 1, + kOperationFieldNumber = 3, + kErrorsFieldNumber = 5, + kNextJobIndexFieldNumber = 4, + kRstIdFieldNumber = 2, }; - // string binary_name = 1; - void clear_binary_name() ; - const std::string& binary_name() const; + // string state_mount_path = 1; + void clear_state_mount_path() ; + const std::string& state_mount_path() const; template - void set_binary_name(Arg_&& arg, Args_... args); - std::string* mutable_binary_name(); - PROTOBUF_NODISCARD std::string* release_binary_name(); - void set_allocated_binary_name(std::string* value); + void set_state_mount_path(Arg_&& arg, Args_... args); + std::string* mutable_state_mount_path(); + PROTOBUF_NODISCARD std::string* release_state_mount_path(); + void set_allocated_state_mount_path(std::string* value); private: - const std::string& _internal_binary_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_name( + const std::string& _internal_state_mount_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_state_mount_path( const std::string& value); - std::string* _internal_mutable_binary_name(); + std::string* _internal_mutable_state_mount_path(); public: - // string version = 2; - void clear_version() ; - const std::string& version() const; + // string operation = 3; + void clear_operation() ; + const std::string& operation() const; template - void set_version(Arg_&& arg, Args_... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* value); + void set_operation(Arg_&& arg, Args_... args); + std::string* mutable_operation(); + PROTOBUF_NODISCARD std::string* release_operation(); + void set_allocated_operation(std::string* value); private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version( + const std::string& _internal_operation() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_operation( const std::string& value); - std::string* _internal_mutable_version(); + std::string* _internal_mutable_operation(); public: - // string commit = 3; - void clear_commit() ; - const std::string& commit() const; + // optional string errors = 5; + bool has_errors() const; + void clear_errors() ; + const std::string& errors() const; template - void set_commit(Arg_&& arg, Args_... args); - std::string* mutable_commit(); - PROTOBUF_NODISCARD std::string* release_commit(); - void set_allocated_commit(std::string* value); + void set_errors(Arg_&& arg, Args_... args); + std::string* mutable_errors(); + PROTOBUF_NODISCARD std::string* release_errors(); + void set_allocated_errors(std::string* value); private: - const std::string& _internal_commit() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_commit( + const std::string& _internal_errors() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_errors( const std::string& value); - std::string* _internal_mutable_commit(); + std::string* _internal_mutable_errors(); public: - // string build_time = 4; - void clear_build_time() ; - const std::string& build_time() const; - template - void set_build_time(Arg_&& arg, Args_... args); - std::string* mutable_build_time(); - PROTOBUF_NODISCARD std::string* release_build_time(); - void set_allocated_build_time(std::string* value); + // int64 next_job_index = 4; + void clear_next_job_index() ; + ::int64_t next_job_index() const; + void set_next_job_index(::int64_t value); private: - const std::string& _internal_build_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_time( - const std::string& value); - std::string* _internal_mutable_build_time(); + ::int64_t _internal_next_job_index() const; + void _internal_set_next_job_index(::int64_t value); public: - // @@protoc_insertion_point(class_scope:flex.BuildInfo) + // uint32 rst_id = 2; + void clear_rst_id() ; + ::uint32_t rst_id() const; + void set_rst_id(::uint32_t value); + + private: + ::uint32_t _internal_rst_id() const; + void _internal_set_rst_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:flex.BulkOperation) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 2, 4, 0, - 57, 2> + 3, 5, 0, + 58, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -3509,12 +3542,14 @@ class BuildInfo final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const BuildInfo& from_msg); - ::google::protobuf::internal::ArenaStringPtr binary_name_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr commit_; - ::google::protobuf::internal::ArenaStringPtr build_time_; + const BulkOperation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr state_mount_path_; + ::google::protobuf::internal::ArenaStringPtr operation_; + ::google::protobuf::internal::ArenaStringPtr errors_; + ::int64_t next_job_index_; + ::uint32_t rst_id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -3522,31 +3557,31 @@ class BuildInfo final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class BeeRemoteNode final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BeeRemoteNode) */ { +class BulkJobRequestInfo final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.BulkJobRequestInfo) */ { public: - inline BeeRemoteNode() : BeeRemoteNode(nullptr) {} - ~BeeRemoteNode() PROTOBUF_FINAL; + inline BulkJobRequestInfo() : BulkJobRequestInfo(nullptr) {} + ~BulkJobRequestInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BeeRemoteNode* msg, std::destroying_delete_t) { + void operator delete(BulkJobRequestInfo* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BeeRemoteNode)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkJobRequestInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR BeeRemoteNode( + explicit PROTOBUF_CONSTEXPR BulkJobRequestInfo( ::google::protobuf::internal::ConstantInitialized); - inline BeeRemoteNode(const BeeRemoteNode& from) : BeeRemoteNode(nullptr, from) {} - inline BeeRemoteNode(BeeRemoteNode&& from) noexcept - : BeeRemoteNode(nullptr, std::move(from)) {} - inline BeeRemoteNode& operator=(const BeeRemoteNode& from) { + inline BulkJobRequestInfo(const BulkJobRequestInfo& from) : BulkJobRequestInfo(nullptr, from) {} + inline BulkJobRequestInfo(BulkJobRequestInfo&& from) noexcept + : BulkJobRequestInfo(nullptr, std::move(from)) {} + inline BulkJobRequestInfo& operator=(const BulkJobRequestInfo& from) { CopyFrom(from); return *this; } - inline BeeRemoteNode& operator=(BeeRemoteNode&& from) noexcept { + inline BulkJobRequestInfo& operator=(BulkJobRequestInfo&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -3574,16 +3609,16 @@ class BeeRemoteNode final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const BeeRemoteNode& default_instance() { + static const BulkJobRequestInfo& default_instance() { return *internal_default_instance(); } - static inline const BeeRemoteNode* internal_default_instance() { - return reinterpret_cast( - &_BeeRemoteNode_default_instance_); + static inline const BulkJobRequestInfo* internal_default_instance() { + return reinterpret_cast( + &_BulkJobRequestInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 23; - friend void swap(BeeRemoteNode& a, BeeRemoteNode& b) { a.Swap(&b); } - inline void Swap(BeeRemoteNode* other) { + static constexpr int kIndexInFileMessages = 14; + friend void swap(BulkJobRequestInfo& a, BulkJobRequestInfo& b) { a.Swap(&b); } + inline void Swap(BulkJobRequestInfo* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3591,7 +3626,7 @@ class BeeRemoteNode final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BeeRemoteNode* other) { + void UnsafeArenaSwap(BulkJobRequestInfo* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3599,13 +3634,13 @@ class BeeRemoteNode final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BeeRemoteNode* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + BulkJobRequestInfo* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BeeRemoteNode& from); + void CopyFrom(const BulkJobRequestInfo& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BeeRemoteNode& from) { BeeRemoteNode::MergeImpl(*this, from); } + void MergeFrom(const BulkJobRequestInfo& from) { BulkJobRequestInfo::MergeImpl(*this, from); } private: static void MergeImpl( @@ -3642,18 +3677,18 @@ class BeeRemoteNode final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BeeRemoteNode* other); + void InternalSwap(BulkJobRequestInfo* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BeeRemoteNode"; } + static ::absl::string_view FullMessageName() { return "flex.BulkJobRequestInfo"; } protected: - explicit BeeRemoteNode(::google::protobuf::Arena* arena); - BeeRemoteNode(::google::protobuf::Arena* arena, const BeeRemoteNode& from); - BeeRemoteNode(::google::protobuf::Arena* arena, BeeRemoteNode&& from) noexcept - : BeeRemoteNode(arena) { + explicit BulkJobRequestInfo(::google::protobuf::Arena* arena); + BulkJobRequestInfo(::google::protobuf::Arena* arena, const BulkJobRequestInfo& from); + BulkJobRequestInfo(::google::protobuf::Arena* arena, BulkJobRequestInfo&& from) noexcept + : BulkJobRequestInfo(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -3668,201 +3703,111 @@ class BeeRemoteNode final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kIdFieldNumber = 1, - kAddressFieldNumber = 2, - kMgmtdAddressFieldNumber = 3, - kMgmtdTlsCertFieldNumber = 4, - kAuthSecretFieldNumber = 7, - kMgmtdTlsDisableVerificationFieldNumber = 5, - kMgmtdTlsDisableFieldNumber = 6, - kMgmtdUseProxyFieldNumber = 9, - kAuthDisableFieldNumber = 8, + kStateMountPathFieldNumber = 1, + kOperationFieldNumber = 2, + kJobIndexFieldNumber = 3, }; - // string id = 1; - void clear_id() ; - const std::string& id() const; + // string state_mount_path = 1; + void clear_state_mount_path() ; + const std::string& state_mount_path() const; template - void set_id(Arg_&& arg, Args_... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* value); + void set_state_mount_path(Arg_&& arg, Args_... args); + std::string* mutable_state_mount_path(); + PROTOBUF_NODISCARD std::string* release_state_mount_path(); + void set_allocated_state_mount_path(std::string* value); private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( + const std::string& _internal_state_mount_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_state_mount_path( const std::string& value); - std::string* _internal_mutable_id(); + std::string* _internal_mutable_state_mount_path(); public: - // string address = 2; - void clear_address() ; - const std::string& address() const; + // string operation = 2; + void clear_operation() ; + const std::string& operation() const; template - void set_address(Arg_&& arg, Args_... args); - std::string* mutable_address(); - PROTOBUF_NODISCARD std::string* release_address(); - void set_allocated_address(std::string* value); + void set_operation(Arg_&& arg, Args_... args); + std::string* mutable_operation(); + PROTOBUF_NODISCARD std::string* release_operation(); + void set_allocated_operation(std::string* value); private: - const std::string& _internal_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_address( + const std::string& _internal_operation() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_operation( const std::string& value); - std::string* _internal_mutable_address(); + std::string* _internal_mutable_operation(); public: - // string mgmtd_address = 3; - void clear_mgmtd_address() ; - const std::string& mgmtd_address() const; - template - void set_mgmtd_address(Arg_&& arg, Args_... args); - std::string* mutable_mgmtd_address(); - PROTOBUF_NODISCARD std::string* release_mgmtd_address(); - void set_allocated_mgmtd_address(std::string* value); + // int64 job_index = 3; + void clear_job_index() ; + ::int64_t job_index() const; + void set_job_index(::int64_t value); private: - const std::string& _internal_mgmtd_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_address( - const std::string& value); - std::string* _internal_mutable_mgmtd_address(); + ::int64_t _internal_job_index() const; + void _internal_set_job_index(::int64_t value); public: - // bytes mgmtd_tls_cert = 4; - void clear_mgmtd_tls_cert() ; - const std::string& mgmtd_tls_cert() const; - template - void set_mgmtd_tls_cert(Arg_&& arg, Args_... args); - std::string* mutable_mgmtd_tls_cert(); - PROTOBUF_NODISCARD std::string* release_mgmtd_tls_cert(); - void set_allocated_mgmtd_tls_cert(std::string* value); + // @@protoc_insertion_point(class_scope:flex.BulkJobRequestInfo) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 57, 2> + _table_; - private: - const std::string& _internal_mgmtd_tls_cert() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_tls_cert( - const std::string& value); - std::string* _internal_mutable_mgmtd_tls_cert(); + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BulkJobRequestInfo& from_msg); + ::google::protobuf::internal::ArenaStringPtr state_mount_path_; + ::google::protobuf::internal::ArenaStringPtr operation_; + ::int64_t job_index_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- - public: - // bytes auth_secret = 7; - void clear_auth_secret() ; - const std::string& auth_secret() const; - template - void set_auth_secret(Arg_&& arg, Args_... args); - std::string* mutable_auth_secret(); - PROTOBUF_NODISCARD std::string* release_auth_secret(); - void set_allocated_auth_secret(std::string* value); +class BuildInfo final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.BuildInfo) */ { + public: + inline BuildInfo() : BuildInfo(nullptr) {} + ~BuildInfo() PROTOBUF_FINAL; - private: - const std::string& _internal_auth_secret() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_secret( - const std::string& value); - std::string* _internal_mutable_auth_secret(); - - public: - // bool mgmtd_tls_disable_verification = 5; - void clear_mgmtd_tls_disable_verification() ; - bool mgmtd_tls_disable_verification() const; - void set_mgmtd_tls_disable_verification(bool value); - - private: - bool _internal_mgmtd_tls_disable_verification() const; - void _internal_set_mgmtd_tls_disable_verification(bool value); - - public: - // bool mgmtd_tls_disable = 6; - void clear_mgmtd_tls_disable() ; - bool mgmtd_tls_disable() const; - void set_mgmtd_tls_disable(bool value); - - private: - bool _internal_mgmtd_tls_disable() const; - void _internal_set_mgmtd_tls_disable(bool value); - - public: - // bool mgmtd_use_proxy = 9; - void clear_mgmtd_use_proxy() ; - bool mgmtd_use_proxy() const; - void set_mgmtd_use_proxy(bool value); - - private: - bool _internal_mgmtd_use_proxy() const; - void _internal_set_mgmtd_use_proxy(bool value); - - public: - // bool auth_disable = 8; - void clear_auth_disable() ; - bool auth_disable() const; - void set_auth_disable(bool value); - - private: - bool _internal_auth_disable() const; - void _internal_set_auth_disable(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.BeeRemoteNode) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 9, 0, - 57, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const BeeRemoteNode& from_msg); - ::google::protobuf::internal::ArenaStringPtr id_; - ::google::protobuf::internal::ArenaStringPtr address_; - ::google::protobuf::internal::ArenaStringPtr mgmtd_address_; - ::google::protobuf::internal::ArenaStringPtr mgmtd_tls_cert_; - ::google::protobuf::internal::ArenaStringPtr auth_secret_; - bool mgmtd_tls_disable_verification_; - bool mgmtd_tls_disable_; - bool mgmtd_use_proxy_; - bool auth_disable_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Work final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.Work) */ { - public: - inline Work() : Work(nullptr) {} - ~Work() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Work)); - } -#endif +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BuildInfo* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BuildInfo)); + } +#endif template - explicit PROTOBUF_CONSTEXPR Work( + explicit PROTOBUF_CONSTEXPR BuildInfo( ::google::protobuf::internal::ConstantInitialized); - inline Work(const Work& from) : Work(nullptr, from) {} - inline Work(Work&& from) noexcept - : Work(nullptr, std::move(from)) {} - inline Work& operator=(const Work& from) { + inline BuildInfo(const BuildInfo& from) : BuildInfo(nullptr, from) {} + inline BuildInfo(BuildInfo&& from) noexcept + : BuildInfo(nullptr, std::move(from)) {} + inline BuildInfo& operator=(const BuildInfo& from) { CopyFrom(from); return *this; } - inline Work& operator=(Work&& from) noexcept { + inline BuildInfo& operator=(BuildInfo&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -3890,16 +3835,16 @@ class Work final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const Work& default_instance() { + static const BuildInfo& default_instance() { return *internal_default_instance(); } - static inline const Work* internal_default_instance() { - return reinterpret_cast( - &_Work_default_instance_); + static inline const BuildInfo* internal_default_instance() { + return reinterpret_cast( + &_BuildInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 20; - friend void swap(Work& a, Work& b) { a.Swap(&b); } - inline void Swap(Work* other) { + static constexpr int kIndexInFileMessages = 40; + friend void swap(BuildInfo& a, BuildInfo& b) { a.Swap(&b); } + inline void Swap(BuildInfo* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -3907,7 +3852,7 @@ class Work final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(Work* other) { + void UnsafeArenaSwap(BuildInfo* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -3915,13 +3860,13 @@ class Work final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - Work* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + BuildInfo* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Work& from); + void CopyFrom(const BuildInfo& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Work& from) { Work::MergeImpl(*this, from); } + void MergeFrom(const BuildInfo& from) { BuildInfo::MergeImpl(*this, from); } private: static void MergeImpl( @@ -3958,18 +3903,18 @@ class Work final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(Work* other); + void InternalSwap(BuildInfo* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.Work"; } + static ::absl::string_view FullMessageName() { return "flex.BuildInfo"; } protected: - explicit Work(::google::protobuf::Arena* arena); - Work(::google::protobuf::Arena* arena, const Work& from); - Work(::google::protobuf::Arena* arena, Work&& from) noexcept - : Work(arena) { + explicit BuildInfo(::google::protobuf::Arena* arena); + BuildInfo(::google::protobuf::Arena* arena, const BuildInfo& from); + BuildInfo(::google::protobuf::Arena* arena, BuildInfo&& from) noexcept + : BuildInfo(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -3981,142 +3926,85 @@ class Work final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using Status = Work_Status; - using Part = Work_Part; - using State = Work_State; - static constexpr State UNSPECIFIED = Work_State_UNSPECIFIED; - static constexpr State UNKNOWN = Work_State_UNKNOWN; - static constexpr State CREATED = Work_State_CREATED; - static constexpr State SCHEDULED = Work_State_SCHEDULED; - static constexpr State RUNNING = Work_State_RUNNING; - static constexpr State RESCHEDULED = Work_State_RESCHEDULED; - static constexpr State ERROR = Work_State_ERROR; - static constexpr State FAILED = Work_State_FAILED; - static constexpr State CANCELLED = Work_State_CANCELLED; - static constexpr State COMPLETED = Work_State_COMPLETED; - static inline bool State_IsValid(int value) { - return Work_State_IsValid(value); - } - static constexpr State State_MIN = Work_State_State_MIN; - static constexpr State State_MAX = Work_State_State_MAX; - static constexpr int State_ARRAYSIZE = Work_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { - return Work_State_descriptor(); - } - template - static inline const std::string& State_Name(T value) { - return Work_State_Name(value); - } - static inline bool State_Parse(absl::string_view name, State* value) { - return Work_State_Parse(name, value); - } // accessors ------------------------------------------------------- enum : int { - kPartsFieldNumber = 5, - kPathFieldNumber = 1, - kJobIdFieldNumber = 2, - kRequestIdFieldNumber = 3, - kStatusFieldNumber = 4, - kJobBuilderFieldNumber = 6, + kBinaryNameFieldNumber = 1, + kVersionFieldNumber = 2, + kCommitFieldNumber = 3, + kBuildTimeFieldNumber = 4, }; - // repeated .flex.Work.Part parts = 5; - int parts_size() const; - private: - int _internal_parts_size() const; - - public: - void clear_parts() ; - ::flex::Work_Part* mutable_parts(int index); - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* mutable_parts(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& _internal_parts() const; - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* _internal_mutable_parts(); - public: - const ::flex::Work_Part& parts(int index) const; - ::flex::Work_Part* add_parts(); - const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& parts() const; - // string path = 1; - void clear_path() ; - const std::string& path() const; + // string binary_name = 1; + void clear_binary_name() ; + const std::string& binary_name() const; template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); + void set_binary_name(Arg_&& arg, Args_... args); + std::string* mutable_binary_name(); + PROTOBUF_NODISCARD std::string* release_binary_name(); + void set_allocated_binary_name(std::string* value); private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& _internal_binary_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_name( const std::string& value); - std::string* _internal_mutable_path(); + std::string* _internal_mutable_binary_name(); public: - // string job_id = 2; - void clear_job_id() ; - const std::string& job_id() const; + // string version = 2; + void clear_version() ; + const std::string& version() const; template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); + void set_version(Arg_&& arg, Args_... args); + std::string* mutable_version(); + PROTOBUF_NODISCARD std::string* release_version(); + void set_allocated_version(std::string* value); private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( + const std::string& _internal_version() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_version( const std::string& value); - std::string* _internal_mutable_job_id(); + std::string* _internal_mutable_version(); public: - // string request_id = 3; - void clear_request_id() ; - const std::string& request_id() const; + // string commit = 3; + void clear_commit() ; + const std::string& commit() const; template - void set_request_id(Arg_&& arg, Args_... args); - std::string* mutable_request_id(); - PROTOBUF_NODISCARD std::string* release_request_id(); - void set_allocated_request_id(std::string* value); + void set_commit(Arg_&& arg, Args_... args); + std::string* mutable_commit(); + PROTOBUF_NODISCARD std::string* release_commit(); + void set_allocated_commit(std::string* value); private: - const std::string& _internal_request_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( + const std::string& _internal_commit() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_commit( const std::string& value); - std::string* _internal_mutable_request_id(); + std::string* _internal_mutable_commit(); public: - // .flex.Work.Status status = 4; - bool has_status() const; - void clear_status() ; - const ::flex::Work_Status& status() const; - PROTOBUF_NODISCARD ::flex::Work_Status* release_status(); - ::flex::Work_Status* mutable_status(); - void set_allocated_status(::flex::Work_Status* value); - void unsafe_arena_set_allocated_status(::flex::Work_Status* value); - ::flex::Work_Status* unsafe_arena_release_status(); - - private: - const ::flex::Work_Status& _internal_status() const; - ::flex::Work_Status* _internal_mutable_status(); - - public: - // bool job_builder = 6; - void clear_job_builder() ; - bool job_builder() const; - void set_job_builder(bool value); + // string build_time = 4; + void clear_build_time() ; + const std::string& build_time() const; + template + void set_build_time(Arg_&& arg, Args_... args); + std::string* mutable_build_time(); + PROTOBUF_NODISCARD std::string* release_build_time(); + void set_allocated_build_time(std::string* value); private: - bool _internal_job_builder() const; - void _internal_set_job_builder(bool value); + const std::string& _internal_build_time() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_time( + const std::string& value); + std::string* _internal_mutable_build_time(); public: - // @@protoc_insertion_point(class_scope:flex.Work) + // @@protoc_insertion_point(class_scope:flex.BuildInfo) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 38, 2> + 2, 4, 0, + 57, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4132,15 +4020,12 @@ class Work final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const Work& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; + const BuildInfo& from_msg); + ::google::protobuf::internal::ArenaStringPtr binary_name_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::google::protobuf::internal::ArenaStringPtr commit_; + ::google::protobuf::internal::ArenaStringPtr build_time_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::flex::Work_Part > parts_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::flex::Work_Status* status_; - bool job_builder_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -4148,31 +4033,31 @@ class Work final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3.StorageClass) */ { +class BeeRemoteNode final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.BeeRemoteNode) */ { public: - inline RemoteStorageTarget_S3_StorageClass() : RemoteStorageTarget_S3_StorageClass(nullptr) {} - ~RemoteStorageTarget_S3_StorageClass() PROTOBUF_FINAL; + inline BeeRemoteNode() : BeeRemoteNode(nullptr) {} + ~BeeRemoteNode() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3_StorageClass* msg, std::destroying_delete_t) { + void operator delete(BeeRemoteNode* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3_StorageClass)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BeeRemoteNode)); } #endif template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass( + explicit PROTOBUF_CONSTEXPR BeeRemoteNode( ::google::protobuf::internal::ConstantInitialized); - inline RemoteStorageTarget_S3_StorageClass(const RemoteStorageTarget_S3_StorageClass& from) : RemoteStorageTarget_S3_StorageClass(nullptr, from) {} - inline RemoteStorageTarget_S3_StorageClass(RemoteStorageTarget_S3_StorageClass&& from) noexcept - : RemoteStorageTarget_S3_StorageClass(nullptr, std::move(from)) {} - inline RemoteStorageTarget_S3_StorageClass& operator=(const RemoteStorageTarget_S3_StorageClass& from) { + inline BeeRemoteNode(const BeeRemoteNode& from) : BeeRemoteNode(nullptr, from) {} + inline BeeRemoteNode(BeeRemoteNode&& from) noexcept + : BeeRemoteNode(nullptr, std::move(from)) {} + inline BeeRemoteNode& operator=(const BeeRemoteNode& from) { CopyFrom(from); return *this; } - inline RemoteStorageTarget_S3_StorageClass& operator=(RemoteStorageTarget_S3_StorageClass&& from) noexcept { + inline BeeRemoteNode& operator=(BeeRemoteNode&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -4200,16 +4085,16 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RemoteStorageTarget_S3_StorageClass& default_instance() { + static const BeeRemoteNode& default_instance() { return *internal_default_instance(); } - static inline const RemoteStorageTarget_S3_StorageClass* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_S3_StorageClass_default_instance_); + static inline const BeeRemoteNode* internal_default_instance() { + return reinterpret_cast( + &_BeeRemoteNode_default_instance_); } static constexpr int kIndexInFileMessages = 26; - friend void swap(RemoteStorageTarget_S3_StorageClass& a, RemoteStorageTarget_S3_StorageClass& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_S3_StorageClass* other) { + friend void swap(BeeRemoteNode& a, BeeRemoteNode& b) { a.Swap(&b); } + inline void Swap(BeeRemoteNode* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4217,7 +4102,7 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass* other) { + void UnsafeArenaSwap(BeeRemoteNode* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4225,13 +4110,13 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes // implements Message ---------------------------------------------- - RemoteStorageTarget_S3_StorageClass* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + BeeRemoteNode* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_S3_StorageClass& from); + void CopyFrom(const BeeRemoteNode& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_S3_StorageClass& from) { RemoteStorageTarget_S3_StorageClass::MergeImpl(*this, from); } + void MergeFrom(const BeeRemoteNode& from) { BeeRemoteNode::MergeImpl(*this, from); } private: static void MergeImpl( @@ -4268,18 +4153,18 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_S3_StorageClass* other); + void InternalSwap(BeeRemoteNode* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3.StorageClass"; } + static ::absl::string_view FullMessageName() { return "flex.BeeRemoteNode"; } protected: - explicit RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena); - RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3_StorageClass& from); - RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, RemoteStorageTarget_S3_StorageClass&& from) noexcept - : RemoteStorageTarget_S3_StorageClass(arena) { + explicit BeeRemoteNode(::google::protobuf::Arena* arena); + BeeRemoteNode(::google::protobuf::Arena* arena, const BeeRemoteNode& from); + BeeRemoteNode(::google::protobuf::Arena* arena, BeeRemoteNode&& from) noexcept + : BeeRemoteNode(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -4291,51 +4176,146 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using Archival = RemoteStorageTarget_S3_StorageClass_Archival; // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 1, - kArchivalFieldNumber = 2, + kIdFieldNumber = 1, + kAddressFieldNumber = 2, + kMgmtdAddressFieldNumber = 3, + kMgmtdTlsCertFieldNumber = 4, + kAuthSecretFieldNumber = 7, + kMgmtdTlsDisableVerificationFieldNumber = 5, + kMgmtdTlsDisableFieldNumber = 6, + kMgmtdUseProxyFieldNumber = 9, + kAuthDisableFieldNumber = 8, }; - // string name = 1; - void clear_name() ; - const std::string& name() const; + // string id = 1; + void clear_id() ; + const std::string& id() const; template - void set_name(Arg_&& arg, Args_... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* value); + void set_id(Arg_&& arg, Args_... args); + std::string* mutable_id(); + PROTOBUF_NODISCARD std::string* release_id(); + void set_allocated_id(std::string* value); private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& _internal_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( const std::string& value); - std::string* _internal_mutable_name(); + std::string* _internal_mutable_id(); public: - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - bool has_archival() const; - void clear_archival() ; - const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& archival() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3_StorageClass_Archival* release_archival(); - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* mutable_archival(); - void set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); - void unsafe_arena_set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* unsafe_arena_release_archival(); + // string address = 2; + void clear_address() ; + const std::string& address() const; + template + void set_address(Arg_&& arg, Args_... args); + std::string* mutable_address(); + PROTOBUF_NODISCARD std::string* release_address(); + void set_allocated_address(std::string* value); private: - const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& _internal_archival() const; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* _internal_mutable_archival(); + const std::string& _internal_address() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_address( + const std::string& value); + std::string* _internal_mutable_address(); public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3.StorageClass) + // string mgmtd_address = 3; + void clear_mgmtd_address() ; + const std::string& mgmtd_address() const; + template + void set_mgmtd_address(Arg_&& arg, Args_... args); + std::string* mutable_mgmtd_address(); + PROTOBUF_NODISCARD std::string* release_mgmtd_address(); + void set_allocated_mgmtd_address(std::string* value); + + private: + const std::string& _internal_mgmtd_address() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_address( + const std::string& value); + std::string* _internal_mutable_mgmtd_address(); + + public: + // bytes mgmtd_tls_cert = 4; + void clear_mgmtd_tls_cert() ; + const std::string& mgmtd_tls_cert() const; + template + void set_mgmtd_tls_cert(Arg_&& arg, Args_... args); + std::string* mutable_mgmtd_tls_cert(); + PROTOBUF_NODISCARD std::string* release_mgmtd_tls_cert(); + void set_allocated_mgmtd_tls_cert(std::string* value); + + private: + const std::string& _internal_mgmtd_tls_cert() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_tls_cert( + const std::string& value); + std::string* _internal_mutable_mgmtd_tls_cert(); + + public: + // bytes auth_secret = 7; + void clear_auth_secret() ; + const std::string& auth_secret() const; + template + void set_auth_secret(Arg_&& arg, Args_... args); + std::string* mutable_auth_secret(); + PROTOBUF_NODISCARD std::string* release_auth_secret(); + void set_allocated_auth_secret(std::string* value); + + private: + const std::string& _internal_auth_secret() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_secret( + const std::string& value); + std::string* _internal_mutable_auth_secret(); + + public: + // bool mgmtd_tls_disable_verification = 5; + void clear_mgmtd_tls_disable_verification() ; + bool mgmtd_tls_disable_verification() const; + void set_mgmtd_tls_disable_verification(bool value); + + private: + bool _internal_mgmtd_tls_disable_verification() const; + void _internal_set_mgmtd_tls_disable_verification(bool value); + + public: + // bool mgmtd_tls_disable = 6; + void clear_mgmtd_tls_disable() ; + bool mgmtd_tls_disable() const; + void set_mgmtd_tls_disable(bool value); + + private: + bool _internal_mgmtd_tls_disable() const; + void _internal_set_mgmtd_tls_disable(bool value); + + public: + // bool mgmtd_use_proxy = 9; + void clear_mgmtd_use_proxy() ; + bool mgmtd_use_proxy() const; + void set_mgmtd_use_proxy(bool value); + + private: + bool _internal_mgmtd_use_proxy() const; + void _internal_set_mgmtd_use_proxy(bool value); + + public: + // bool auth_disable = 8; + void clear_auth_disable() ; + bool auth_disable() const; + void set_auth_disable(bool value); + + private: + bool _internal_auth_disable() const; + void _internal_set_auth_disable(bool value); + + public: + // @@protoc_insertion_point(class_scope:flex.BeeRemoteNode) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 53, 2> + 4, 9, 0, + 57, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -4351,11 +4331,17 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const RemoteStorageTarget_S3_StorageClass& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; + const BeeRemoteNode& from_msg); + ::google::protobuf::internal::ArenaStringPtr id_; + ::google::protobuf::internal::ArenaStringPtr address_; + ::google::protobuf::internal::ArenaStringPtr mgmtd_address_; + ::google::protobuf::internal::ArenaStringPtr mgmtd_tls_cert_; + ::google::protobuf::internal::ArenaStringPtr auth_secret_; + bool mgmtd_tls_disable_verification_; + bool mgmtd_tls_disable_; + bool mgmtd_use_proxy_; + bool auth_disable_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* archival_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -4363,31 +4349,31 @@ class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Mes }; // ------------------------------------------------------------------- -class NodeStats final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.NodeStats) */ { +class Work_JobBuilderInfo final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.Work.JobBuilderInfo) */ { public: - inline NodeStats() : NodeStats(nullptr) {} - ~NodeStats() PROTOBUF_FINAL; + inline Work_JobBuilderInfo() : Work_JobBuilderInfo(nullptr) {} + ~Work_JobBuilderInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(NodeStats* msg, std::destroying_delete_t) { + void operator delete(Work_JobBuilderInfo* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(NodeStats)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Work_JobBuilderInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR NodeStats( + explicit PROTOBUF_CONSTEXPR Work_JobBuilderInfo( ::google::protobuf::internal::ConstantInitialized); - inline NodeStats(const NodeStats& from) : NodeStats(nullptr, from) {} - inline NodeStats(NodeStats&& from) noexcept - : NodeStats(nullptr, std::move(from)) {} - inline NodeStats& operator=(const NodeStats& from) { + inline Work_JobBuilderInfo(const Work_JobBuilderInfo& from) : Work_JobBuilderInfo(nullptr, from) {} + inline Work_JobBuilderInfo(Work_JobBuilderInfo&& from) noexcept + : Work_JobBuilderInfo(nullptr, std::move(from)) {} + inline Work_JobBuilderInfo& operator=(const Work_JobBuilderInfo& from) { CopyFrom(from); return *this; } - inline NodeStats& operator=(NodeStats&& from) noexcept { + inline Work_JobBuilderInfo& operator=(Work_JobBuilderInfo&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -4415,16 +4401,16 @@ class NodeStats final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const NodeStats& default_instance() { + static const Work_JobBuilderInfo& default_instance() { return *internal_default_instance(); } - static inline const NodeStats* internal_default_instance() { - return reinterpret_cast( - &_NodeStats_default_instance_); + static inline const Work_JobBuilderInfo* internal_default_instance() { + return reinterpret_cast( + &_Work_JobBuilderInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 2; - friend void swap(NodeStats& a, NodeStats& b) { a.Swap(&b); } - inline void Swap(NodeStats* other) { + static constexpr int kIndexInFileMessages = 22; + friend void swap(Work_JobBuilderInfo& a, Work_JobBuilderInfo& b) { a.Swap(&b); } + inline void Swap(Work_JobBuilderInfo* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4432,7 +4418,7 @@ class NodeStats final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(NodeStats* other) { + void UnsafeArenaSwap(Work_JobBuilderInfo* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4440,13 +4426,13 @@ class NodeStats final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - NodeStats* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + Work_JobBuilderInfo* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const NodeStats& from); + void CopyFrom(const Work_JobBuilderInfo& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const NodeStats& from) { NodeStats::MergeImpl(*this, from); } + void MergeFrom(const Work_JobBuilderInfo& from) { Work_JobBuilderInfo::MergeImpl(*this, from); } private: static void MergeImpl( @@ -4483,18 +4469,18 @@ class NodeStats final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(NodeStats* other); + void InternalSwap(Work_JobBuilderInfo* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.NodeStats"; } + static ::absl::string_view FullMessageName() { return "flex.Work.JobBuilderInfo"; } protected: - explicit NodeStats(::google::protobuf::Arena* arena); - NodeStats(::google::protobuf::Arena* arena, const NodeStats& from); - NodeStats(::google::protobuf::Arena* arena, NodeStats&& from) noexcept - : NodeStats(arena) { + explicit Work_JobBuilderInfo(::google::protobuf::Arena* arena); + Work_JobBuilderInfo(::google::protobuf::Arena* arena, const Work_JobBuilderInfo& from); + Work_JobBuilderInfo(::google::protobuf::Arena* arena, Work_JobBuilderInfo&& from) noexcept + : Work_JobBuilderInfo(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -4509,40 +4495,31 @@ class NodeStats final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kTimestampFieldNumber = 1, - kActiveRequestsFieldNumber = 2, + kBulkOperationsFieldNumber = 1, }; - // .google.protobuf.Timestamp timestamp = 1; - bool has_timestamp() const; - void clear_timestamp() ; - const ::google::protobuf::Timestamp& timestamp() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_timestamp(); - ::google::protobuf::Timestamp* mutable_timestamp(); - void set_allocated_timestamp(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_timestamp(); - + // repeated .flex.BulkOperation bulk_operations = 1; + int bulk_operations_size() const; private: - const ::google::protobuf::Timestamp& _internal_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_timestamp(); + int _internal_bulk_operations_size() const; public: - // int64 active_requests = 2; - void clear_active_requests() ; - ::int64_t active_requests() const; - void set_active_requests(::int64_t value); + void clear_bulk_operations() ; + ::flex::BulkOperation* mutable_bulk_operations(int index); + ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* mutable_bulk_operations(); private: - ::int64_t _internal_active_requests() const; - void _internal_set_active_requests(::int64_t value); - + const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& _internal_bulk_operations() const; + ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* _internal_mutable_bulk_operations(); public: - // @@protoc_insertion_point(class_scope:flex.NodeStats) + const ::flex::BulkOperation& bulk_operations(int index) const; + ::flex::BulkOperation* add_bulk_operations(); + const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& bulk_operations() const; + // @@protoc_insertion_point(class_scope:flex.Work.JobBuilderInfo) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, + 0, 1, 1, 0, 2> _table_; @@ -4559,11 +4536,9 @@ class NodeStats final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const NodeStats& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; + const Work_JobBuilderInfo& from_msg); + ::google::protobuf::RepeatedPtrField< ::flex::BulkOperation > bulk_operations_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::Timestamp* timestamp_; - ::int64_t active_requests_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -4571,31 +4546,31 @@ class NodeStats final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class JobLockedInfo final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.JobLockedInfo) */ { +class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3.StorageClass) */ { public: - inline JobLockedInfo() : JobLockedInfo(nullptr) {} - ~JobLockedInfo() PROTOBUF_FINAL; + inline RemoteStorageTarget_S3_StorageClass() : RemoteStorageTarget_S3_StorageClass(nullptr) {} + ~RemoteStorageTarget_S3_StorageClass() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobLockedInfo* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_S3_StorageClass* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobLockedInfo)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3_StorageClass)); } #endif template - explicit PROTOBUF_CONSTEXPR JobLockedInfo( + explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass( ::google::protobuf::internal::ConstantInitialized); - inline JobLockedInfo(const JobLockedInfo& from) : JobLockedInfo(nullptr, from) {} - inline JobLockedInfo(JobLockedInfo&& from) noexcept - : JobLockedInfo(nullptr, std::move(from)) {} - inline JobLockedInfo& operator=(const JobLockedInfo& from) { + inline RemoteStorageTarget_S3_StorageClass(const RemoteStorageTarget_S3_StorageClass& from) : RemoteStorageTarget_S3_StorageClass(nullptr, from) {} + inline RemoteStorageTarget_S3_StorageClass(RemoteStorageTarget_S3_StorageClass&& from) noexcept + : RemoteStorageTarget_S3_StorageClass(nullptr, std::move(from)) {} + inline RemoteStorageTarget_S3_StorageClass& operator=(const RemoteStorageTarget_S3_StorageClass& from) { CopyFrom(from); return *this; } - inline JobLockedInfo& operator=(JobLockedInfo&& from) noexcept { + inline RemoteStorageTarget_S3_StorageClass& operator=(RemoteStorageTarget_S3_StorageClass&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -4623,16 +4598,16 @@ class JobLockedInfo final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const JobLockedInfo& default_instance() { + static const RemoteStorageTarget_S3_StorageClass& default_instance() { return *internal_default_instance(); } - static inline const JobLockedInfo* internal_default_instance() { - return reinterpret_cast( - &_JobLockedInfo_default_instance_); + static inline const RemoteStorageTarget_S3_StorageClass* internal_default_instance() { + return reinterpret_cast( + &_RemoteStorageTarget_S3_StorageClass_default_instance_); } - static constexpr int kIndexInFileMessages = 9; - friend void swap(JobLockedInfo& a, JobLockedInfo& b) { a.Swap(&b); } - inline void Swap(JobLockedInfo* other) { + static constexpr int kIndexInFileMessages = 29; + friend void swap(RemoteStorageTarget_S3_StorageClass& a, RemoteStorageTarget_S3_StorageClass& b) { a.Swap(&b); } + inline void Swap(RemoteStorageTarget_S3_StorageClass* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -4640,7 +4615,7 @@ class JobLockedInfo final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobLockedInfo* other) { + void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -4648,13 +4623,13 @@ class JobLockedInfo final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobLockedInfo* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + RemoteStorageTarget_S3_StorageClass* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobLockedInfo& from); + void CopyFrom(const RemoteStorageTarget_S3_StorageClass& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobLockedInfo& from) { JobLockedInfo::MergeImpl(*this, from); } + void MergeFrom(const RemoteStorageTarget_S3_StorageClass& from) { RemoteStorageTarget_S3_StorageClass::MergeImpl(*this, from); } private: static void MergeImpl( @@ -4691,18 +4666,18 @@ class JobLockedInfo final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobLockedInfo* other); + void InternalSwap(RemoteStorageTarget_S3_StorageClass* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.JobLockedInfo"; } + static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3.StorageClass"; } protected: - explicit JobLockedInfo(::google::protobuf::Arena* arena); - JobLockedInfo(::google::protobuf::Arena* arena, const JobLockedInfo& from); - JobLockedInfo(::google::protobuf::Arena* arena, JobLockedInfo&& from) noexcept - : JobLockedInfo(arena) { + explicit RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena); + RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3_StorageClass& from); + RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, RemoteStorageTarget_S3_StorageClass&& from) noexcept + : RemoteStorageTarget_S3_StorageClass(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -4714,260 +4689,103 @@ class JobLockedInfo final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- + using Archival = RemoteStorageTarget_S3_StorageClass_Archival; // accessors ------------------------------------------------------- enum : int { - kStubUrlPathFieldNumber = 9, - kExternalIdFieldNumber = 10, - kMtimeFieldNumber = 5, - kRemoteMtimeFieldNumber = 7, - kSizeFieldNumber = 3, - kModeFieldNumber = 4, - kReadWriteLockedFieldNumber = 1, - kExistsFieldNumber = 2, - kIsArchivedFieldNumber = 11, - kRemoteSizeFieldNumber = 6, - kStubUrlRstIdFieldNumber = 8, + kNameFieldNumber = 1, + kArchivalFieldNumber = 2, }; - // string stub_url_path = 9; - void clear_stub_url_path() ; - const std::string& stub_url_path() const; + // string name = 1; + void clear_name() ; + const std::string& name() const; template - void set_stub_url_path(Arg_&& arg, Args_... args); - std::string* mutable_stub_url_path(); - PROTOBUF_NODISCARD std::string* release_stub_url_path(); - void set_allocated_stub_url_path(std::string* value); + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); private: - const std::string& _internal_stub_url_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stub_url_path( + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( const std::string& value); - std::string* _internal_mutable_stub_url_path(); + std::string* _internal_mutable_name(); public: - // string externalId = 10; - void clear_externalid() ; - const std::string& externalid() const; - template - void set_externalid(Arg_&& arg, Args_... args); - std::string* mutable_externalid(); - PROTOBUF_NODISCARD std::string* release_externalid(); - void set_allocated_externalid(std::string* value); + // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; + bool has_archival() const; + void clear_archival() ; + const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& archival() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3_StorageClass_Archival* release_archival(); + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* mutable_archival(); + void set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); + void unsafe_arena_set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* unsafe_arena_release_archival(); private: - const std::string& _internal_externalid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_externalid( - const std::string& value); - std::string* _internal_mutable_externalid(); + const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& _internal_archival() const; + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* _internal_mutable_archival(); public: - // .google.protobuf.Timestamp mtime = 5; - bool has_mtime() const; - void clear_mtime() ; - const ::google::protobuf::Timestamp& mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_mtime(); - ::google::protobuf::Timestamp* mutable_mtime(); - void set_allocated_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_mtime(); - - private: - const ::google::protobuf::Timestamp& _internal_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_mtime(); + // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3.StorageClass) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 53, 2> + _table_; - public: - // .google.protobuf.Timestamp remote_mtime = 7; - bool has_remote_mtime() const; - void clear_remote_mtime() ; - const ::google::protobuf::Timestamp& remote_mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_remote_mtime(); - ::google::protobuf::Timestamp* mutable_remote_mtime(); - void set_allocated_remote_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_remote_mtime(); + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RemoteStorageTarget_S3_StorageClass& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::flex::RemoteStorageTarget_S3_StorageClass_Archival* archival_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- - private: - const ::google::protobuf::Timestamp& _internal_remote_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_remote_mtime(); - - public: - // int64 size = 3; - void clear_size() ; - ::int64_t size() const; - void set_size(::int64_t value); - - private: - ::int64_t _internal_size() const; - void _internal_set_size(::int64_t value); - - public: - // uint32 mode = 4; - void clear_mode() ; - ::uint32_t mode() const; - void set_mode(::uint32_t value); - - private: - ::uint32_t _internal_mode() const; - void _internal_set_mode(::uint32_t value); - - public: - // bool read_write_locked = 1; - void clear_read_write_locked() ; - bool read_write_locked() const; - void set_read_write_locked(bool value); - - private: - bool _internal_read_write_locked() const; - void _internal_set_read_write_locked(bool value); - - public: - // bool exists = 2; - void clear_exists() ; - bool exists() const; - void set_exists(bool value); - - private: - bool _internal_exists() const; - void _internal_set_exists(bool value); - - public: - // bool is_archived = 11; - void clear_is_archived() ; - bool is_archived() const; - void set_is_archived(bool value); - - private: - bool _internal_is_archived() const; - void _internal_set_is_archived(bool value); - - public: - // int64 remote_size = 6; - void clear_remote_size() ; - ::int64_t remote_size() const; - void set_remote_size(::int64_t value); - - private: - ::int64_t _internal_remote_size() const; - void _internal_set_remote_size(::int64_t value); - - public: - // uint32 stub_url_rst_id = 8; - void clear_stub_url_rst_id() ; - ::uint32_t stub_url_rst_id() const; - void set_stub_url_rst_id(::uint32_t value); - - private: - ::uint32_t _internal_stub_url_rst_id() const; - void _internal_set_stub_url_rst_id(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.JobLockedInfo) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 11, 2, - 58, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const JobLockedInfo& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr stub_url_path_; - ::google::protobuf::internal::ArenaStringPtr externalid_; - ::google::protobuf::Timestamp* mtime_; - ::google::protobuf::Timestamp* remote_mtime_; - ::int64_t size_; - ::uint32_t mode_; - bool read_write_locked_; - bool exists_; - bool is_archived_; - ::int64_t remote_size_; - ::uint32_t stub_url_rst_id_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class GetCapabilitiesResponse_FeaturesEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; - GetCapabilitiesResponse_FeaturesEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* arena); - static const GetCapabilitiesResponse_FeaturesEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_flex_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 54, 2> - _table_; - - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; -}; -// ------------------------------------------------------------------- - -class UpdateWorkResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateWorkResponse) */ { - public: - inline UpdateWorkResponse() : UpdateWorkResponse(nullptr) {} - ~UpdateWorkResponse() PROTOBUF_FINAL; +class NodeStats final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.NodeStats) */ { + public: + inline NodeStats() : NodeStats(nullptr) {} + ~NodeStats() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { + void operator delete(NodeStats* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(NodeStats)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( + explicit PROTOBUF_CONSTEXPR NodeStats( ::google::protobuf::internal::ConstantInitialized); - inline UpdateWorkResponse(const UpdateWorkResponse& from) : UpdateWorkResponse(nullptr, from) {} - inline UpdateWorkResponse(UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(nullptr, std::move(from)) {} - inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { + inline NodeStats(const NodeStats& from) : NodeStats(nullptr, from) {} + inline NodeStats(NodeStats&& from) noexcept + : NodeStats(nullptr, std::move(from)) {} + inline NodeStats& operator=(const NodeStats& from) { CopyFrom(from); return *this; } - inline UpdateWorkResponse& operator=(UpdateWorkResponse&& from) noexcept { + inline NodeStats& operator=(NodeStats&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -4995,16 +4813,16 @@ class UpdateWorkResponse final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateWorkResponse& default_instance() { + static const NodeStats& default_instance() { return *internal_default_instance(); } - static inline const UpdateWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkResponse_default_instance_); + static inline const NodeStats* internal_default_instance() { + return reinterpret_cast( + &_NodeStats_default_instance_); } - static constexpr int kIndexInFileMessages = 6; - friend void swap(UpdateWorkResponse& a, UpdateWorkResponse& b) { a.Swap(&b); } - inline void Swap(UpdateWorkResponse* other) { + static constexpr int kIndexInFileMessages = 2; + friend void swap(NodeStats& a, NodeStats& b) { a.Swap(&b); } + inline void Swap(NodeStats* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5012,7 +4830,7 @@ class UpdateWorkResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateWorkResponse* other) { + void UnsafeArenaSwap(NodeStats* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5020,13 +4838,13 @@ class UpdateWorkResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + NodeStats* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateWorkResponse& from); + void CopyFrom(const NodeStats& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateWorkResponse& from) { UpdateWorkResponse::MergeImpl(*this, from); } + void MergeFrom(const NodeStats& from) { NodeStats::MergeImpl(*this, from); } private: static void MergeImpl( @@ -5063,18 +4881,18 @@ class UpdateWorkResponse final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateWorkResponse* other); + void InternalSwap(NodeStats* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateWorkResponse"; } + static ::absl::string_view FullMessageName() { return "flex.NodeStats"; } protected: - explicit UpdateWorkResponse(::google::protobuf::Arena* arena); - UpdateWorkResponse(::google::protobuf::Arena* arena, const UpdateWorkResponse& from); - UpdateWorkResponse(::google::protobuf::Arena* arena, UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(arena) { + explicit NodeStats(::google::protobuf::Arena* arena); + NodeStats(::google::protobuf::Arena* arena, const NodeStats& from); + NodeStats(::google::protobuf::Arena* arena, NodeStats&& from) noexcept + : NodeStats(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -5089,29 +4907,40 @@ class UpdateWorkResponse final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kWorkFieldNumber = 1, + kTimestampFieldNumber = 1, + kActiveRequestsFieldNumber = 2, }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); + // .google.protobuf.Timestamp timestamp = 1; + bool has_timestamp() const; + void clear_timestamp() ; + const ::google::protobuf::Timestamp& timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_timestamp(); + ::google::protobuf::Timestamp* mutable_timestamp(); + void set_allocated_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_timestamp(); private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + const ::google::protobuf::Timestamp& _internal_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_timestamp(); public: - // @@protoc_insertion_point(class_scope:flex.UpdateWorkResponse) + // int64 active_requests = 2; + void clear_active_requests() ; + ::int64_t active_requests() const; + void set_active_requests(::int64_t value); + + private: + ::int64_t _internal_active_requests() const; + void _internal_set_active_requests(::int64_t value); + + public: + // @@protoc_insertion_point(class_scope:flex.NodeStats) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, + 1, 2, 1, 0, 2> _table_; @@ -5128,10 +4957,11 @@ class UpdateWorkResponse final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const UpdateWorkResponse& from_msg); + const NodeStats& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; + ::google::protobuf::Timestamp* timestamp_; + ::int64_t active_requests_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -5139,31 +4969,31 @@ class UpdateWorkResponse final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class SyncJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SyncJob) */ { +class JobLockedInfo final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.JobLockedInfo) */ { public: - inline SyncJob() : SyncJob(nullptr) {} - ~SyncJob() PROTOBUF_FINAL; + inline JobLockedInfo() : JobLockedInfo(nullptr) {} + ~JobLockedInfo() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SyncJob* msg, std::destroying_delete_t) { + void operator delete(JobLockedInfo* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SyncJob)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(JobLockedInfo)); } #endif template - explicit PROTOBUF_CONSTEXPR SyncJob( + explicit PROTOBUF_CONSTEXPR JobLockedInfo( ::google::protobuf::internal::ConstantInitialized); - inline SyncJob(const SyncJob& from) : SyncJob(nullptr, from) {} - inline SyncJob(SyncJob&& from) noexcept - : SyncJob(nullptr, std::move(from)) {} - inline SyncJob& operator=(const SyncJob& from) { + inline JobLockedInfo(const JobLockedInfo& from) : JobLockedInfo(nullptr, from) {} + inline JobLockedInfo(JobLockedInfo&& from) noexcept + : JobLockedInfo(nullptr, std::move(from)) {} + inline JobLockedInfo& operator=(const JobLockedInfo& from) { CopyFrom(from); return *this; } - inline SyncJob& operator=(SyncJob&& from) noexcept { + inline JobLockedInfo& operator=(JobLockedInfo&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -5191,16 +5021,16 @@ class SyncJob final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SyncJob& default_instance() { + static const JobLockedInfo& default_instance() { return *internal_default_instance(); } - static inline const SyncJob* internal_default_instance() { - return reinterpret_cast( - &_SyncJob_default_instance_); + static inline const JobLockedInfo* internal_default_instance() { + return reinterpret_cast( + &_JobLockedInfo_default_instance_); } - static constexpr int kIndexInFileMessages = 17; - friend void swap(SyncJob& a, SyncJob& b) { a.Swap(&b); } - inline void Swap(SyncJob* other) { + static constexpr int kIndexInFileMessages = 9; + friend void swap(JobLockedInfo& a, JobLockedInfo& b) { a.Swap(&b); } + inline void Swap(JobLockedInfo* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5208,7 +5038,7 @@ class SyncJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SyncJob* other) { + void UnsafeArenaSwap(JobLockedInfo* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5216,13 +5046,13 @@ class SyncJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SyncJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + JobLockedInfo* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SyncJob& from); + void CopyFrom(const JobLockedInfo& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SyncJob& from) { SyncJob::MergeImpl(*this, from); } + void MergeFrom(const JobLockedInfo& from) { JobLockedInfo::MergeImpl(*this, from); } private: static void MergeImpl( @@ -5259,18 +5089,18 @@ class SyncJob final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SyncJob* other); + void InternalSwap(JobLockedInfo* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SyncJob"; } + static ::absl::string_view FullMessageName() { return "flex.JobLockedInfo"; } protected: - explicit SyncJob(::google::protobuf::Arena* arena); - SyncJob(::google::protobuf::Arena* arena, const SyncJob& from); - SyncJob(::google::protobuf::Arena* arena, SyncJob&& from) noexcept - : SyncJob(arena) { + explicit JobLockedInfo(::google::protobuf::Arena* arena); + JobLockedInfo(::google::protobuf::Arena* arena, const JobLockedInfo& from); + JobLockedInfo(::google::protobuf::Arena* arena, JobLockedInfo&& from) noexcept + : JobLockedInfo(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -5282,179 +5112,160 @@ class SyncJob final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using Operation = SyncJob_Operation; - static constexpr Operation UNSPECIFIED = SyncJob_Operation_UNSPECIFIED; - static constexpr Operation UPLOAD = SyncJob_Operation_UPLOAD; - static constexpr Operation DOWNLOAD = SyncJob_Operation_DOWNLOAD; - static inline bool Operation_IsValid(int value) { - return SyncJob_Operation_IsValid(value); - } - static constexpr Operation Operation_MIN = SyncJob_Operation_Operation_MIN; - static constexpr Operation Operation_MAX = SyncJob_Operation_Operation_MAX; - static constexpr int Operation_ARRAYSIZE = SyncJob_Operation_Operation_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Operation_descriptor() { - return SyncJob_Operation_descriptor(); - } - template - static inline const std::string& Operation_Name(T value) { - return SyncJob_Operation_Name(value); - } - static inline bool Operation_Parse(absl::string_view name, Operation* value) { - return SyncJob_Operation_Parse(name, value); - } // accessors ------------------------------------------------------- enum : int { - kMetadataFieldNumber = 9, - kRemotePathFieldNumber = 3, - kTaggingFieldNumber = 10, - kStorageClassFieldNumber = 12, - kLockedInfoFieldNumber = 6, - kOperationFieldNumber = 1, - kOverwriteFieldNumber = 2, - kFlattenFieldNumber = 5, - kUpdateFieldNumber = 7, - kAllowRestoreFieldNumber = 13, + kStubUrlPathFieldNumber = 9, + kExternalIdFieldNumber = 10, + kMtimeFieldNumber = 5, + kRemoteMtimeFieldNumber = 7, + kSizeFieldNumber = 3, + kModeFieldNumber = 4, + kReadWriteLockedFieldNumber = 1, + kExistsFieldNumber = 2, + kIsArchivedFieldNumber = 11, + kRemoteSizeFieldNumber = 6, + kStubUrlRstIdFieldNumber = 8, }; - // map metadata = 9; - int metadata_size() const; - private: - int _internal_metadata_size() const; - - public: - void clear_metadata() ; - const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); + // string stub_url_path = 9; + void clear_stub_url_path() ; + const std::string& stub_url_path() const; + template + void set_stub_url_path(Arg_&& arg, Args_... args); + std::string* mutable_stub_url_path(); + PROTOBUF_NODISCARD std::string* release_stub_url_path(); + void set_allocated_stub_url_path(std::string* value); private: - const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); + const std::string& _internal_stub_url_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_stub_url_path( + const std::string& value); + std::string* _internal_mutable_stub_url_path(); public: - // string remote_path = 3; - void clear_remote_path() ; - const std::string& remote_path() const; + // string externalId = 10; + void clear_externalid() ; + const std::string& externalid() const; template - void set_remote_path(Arg_&& arg, Args_... args); - std::string* mutable_remote_path(); - PROTOBUF_NODISCARD std::string* release_remote_path(); - void set_allocated_remote_path(std::string* value); + void set_externalid(Arg_&& arg, Args_... args); + std::string* mutable_externalid(); + PROTOBUF_NODISCARD std::string* release_externalid(); + void set_allocated_externalid(std::string* value); private: - const std::string& _internal_remote_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_path( + const std::string& _internal_externalid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_externalid( const std::string& value); - std::string* _internal_mutable_remote_path(); + std::string* _internal_mutable_externalid(); public: - // optional string tagging = 10; - bool has_tagging() const; - void clear_tagging() ; - const std::string& tagging() const; - template - void set_tagging(Arg_&& arg, Args_... args); - std::string* mutable_tagging(); - PROTOBUF_NODISCARD std::string* release_tagging(); - void set_allocated_tagging(std::string* value); + // .google.protobuf.Timestamp mtime = 5; + bool has_mtime() const; + void clear_mtime() ; + const ::google::protobuf::Timestamp& mtime() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_mtime(); + ::google::protobuf::Timestamp* mutable_mtime(); + void set_allocated_mtime(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_mtime(); private: - const std::string& _internal_tagging() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( - const std::string& value); - std::string* _internal_mutable_tagging(); + const ::google::protobuf::Timestamp& _internal_mtime() const; + ::google::protobuf::Timestamp* _internal_mutable_mtime(); public: - // optional string storage_class = 12; - bool has_storage_class() const; - void clear_storage_class() ; - const std::string& storage_class() const; - template - void set_storage_class(Arg_&& arg, Args_... args); - std::string* mutable_storage_class(); - PROTOBUF_NODISCARD std::string* release_storage_class(); - void set_allocated_storage_class(std::string* value); + // .google.protobuf.Timestamp remote_mtime = 7; + bool has_remote_mtime() const; + void clear_remote_mtime() ; + const ::google::protobuf::Timestamp& remote_mtime() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_remote_mtime(); + ::google::protobuf::Timestamp* mutable_remote_mtime(); + void set_allocated_remote_mtime(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_remote_mtime(); private: - const std::string& _internal_storage_class() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( - const std::string& value); - std::string* _internal_mutable_storage_class(); + const ::google::protobuf::Timestamp& _internal_remote_mtime() const; + ::google::protobuf::Timestamp* _internal_mutable_remote_mtime(); public: - // .flex.JobLockedInfo locked_info = 6; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); + // int64 size = 3; + void clear_size() ; + ::int64_t size() const; + void set_size(::int64_t value); private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); + ::int64_t _internal_size() const; + void _internal_set_size(::int64_t value); public: - // .flex.SyncJob.Operation operation = 1; - void clear_operation() ; - ::flex::SyncJob_Operation operation() const; - void set_operation(::flex::SyncJob_Operation value); + // uint32 mode = 4; + void clear_mode() ; + ::uint32_t mode() const; + void set_mode(::uint32_t value); private: - ::flex::SyncJob_Operation _internal_operation() const; - void _internal_set_operation(::flex::SyncJob_Operation value); + ::uint32_t _internal_mode() const; + void _internal_set_mode(::uint32_t value); public: - // bool overwrite = 2; - void clear_overwrite() ; - bool overwrite() const; - void set_overwrite(bool value); + // bool read_write_locked = 1; + void clear_read_write_locked() ; + bool read_write_locked() const; + void set_read_write_locked(bool value); private: - bool _internal_overwrite() const; - void _internal_set_overwrite(bool value); + bool _internal_read_write_locked() const; + void _internal_set_read_write_locked(bool value); public: - // bool flatten = 5; - void clear_flatten() ; - bool flatten() const; - void set_flatten(bool value); + // bool exists = 2; + void clear_exists() ; + bool exists() const; + void set_exists(bool value); private: - bool _internal_flatten() const; - void _internal_set_flatten(bool value); + bool _internal_exists() const; + void _internal_set_exists(bool value); public: - // optional bool update = 7; - bool has_update() const; - void clear_update() ; - bool update() const; - void set_update(bool value); + // bool is_archived = 11; + void clear_is_archived() ; + bool is_archived() const; + void set_is_archived(bool value); private: - bool _internal_update() const; - void _internal_set_update(bool value); + bool _internal_is_archived() const; + void _internal_set_is_archived(bool value); public: - // optional bool allow_restore = 13; - bool has_allow_restore() const; - void clear_allow_restore() ; - bool allow_restore() const; - void set_allow_restore(bool value); + // int64 remote_size = 6; + void clear_remote_size() ; + ::int64_t remote_size() const; + void set_remote_size(::int64_t value); private: - bool _internal_allow_restore() const; - void _internal_set_allow_restore(bool value); + ::int64_t _internal_remote_size() const; + void _internal_set_remote_size(::int64_t value); public: - // @@protoc_insertion_point(class_scope:flex.SyncJob) + // uint32 stub_url_rst_id = 8; + void clear_stub_url_rst_id() ; + ::uint32_t stub_url_rst_id() const; + void set_stub_url_rst_id(::uint32_t value); + + private: + ::uint32_t _internal_stub_url_rst_id() const; + void _internal_set_stub_url_rst_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:flex.JobLockedInfo) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 4, 10, 2, - 68, 2> + 4, 11, 2, + 58, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5470,22 +5281,20 @@ class SyncJob final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const SyncJob& from_msg); + const JobLockedInfo& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - metadata_; - ::google::protobuf::internal::ArenaStringPtr remote_path_; - ::google::protobuf::internal::ArenaStringPtr tagging_; - ::google::protobuf::internal::ArenaStringPtr storage_class_; - ::flex::JobLockedInfo* locked_info_; - int operation_; - bool overwrite_; - bool flatten_; - bool update_; - bool allow_restore_; + ::google::protobuf::internal::ArenaStringPtr stub_url_path_; + ::google::protobuf::internal::ArenaStringPtr externalid_; + ::google::protobuf::Timestamp* mtime_; + ::google::protobuf::Timestamp* remote_mtime_; + ::int64_t size_; + ::uint32_t mode_; + bool read_write_locked_; + bool exists_; + bool is_archived_; + ::int64_t remote_size_; + ::uint32_t stub_url_rst_id_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -5493,31 +5302,70 @@ class SyncJob final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class SubmitWorkResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SubmitWorkResponse) */ { +class GetCapabilitiesResponse_FeaturesEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { public: - inline SubmitWorkResponse() : SubmitWorkResponse(nullptr) {} - ~SubmitWorkResponse() PROTOBUF_FINAL; + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + GetCapabilitiesResponse_FeaturesEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* arena); + static const GetCapabilitiesResponse_FeaturesEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_flex_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 54, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class Work final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.Work) */ { + public: + inline Work() : Work(nullptr) {} + ~Work() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitWorkResponse* msg, std::destroying_delete_t) { + void operator delete(Work* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkResponse)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Work)); } #endif template - explicit PROTOBUF_CONSTEXPR SubmitWorkResponse( + explicit PROTOBUF_CONSTEXPR Work( ::google::protobuf::internal::ConstantInitialized); - inline SubmitWorkResponse(const SubmitWorkResponse& from) : SubmitWorkResponse(nullptr, from) {} - inline SubmitWorkResponse(SubmitWorkResponse&& from) noexcept - : SubmitWorkResponse(nullptr, std::move(from)) {} - inline SubmitWorkResponse& operator=(const SubmitWorkResponse& from) { + inline Work(const Work& from) : Work(nullptr, from) {} + inline Work(Work&& from) noexcept + : Work(nullptr, std::move(from)) {} + inline Work& operator=(const Work& from) { CopyFrom(from); return *this; } - inline SubmitWorkResponse& operator=(SubmitWorkResponse&& from) noexcept { + inline Work& operator=(Work&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -5545,16 +5393,16 @@ class SubmitWorkResponse final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SubmitWorkResponse& default_instance() { + static const Work& default_instance() { return *internal_default_instance(); } - static inline const SubmitWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_SubmitWorkResponse_default_instance_); + static inline const Work* internal_default_instance() { + return reinterpret_cast( + &_Work_default_instance_); } - static constexpr int kIndexInFileMessages = 4; - friend void swap(SubmitWorkResponse& a, SubmitWorkResponse& b) { a.Swap(&b); } - inline void Swap(SubmitWorkResponse* other) { + static constexpr int kIndexInFileMessages = 23; + friend void swap(Work& a, Work& b) { a.Swap(&b); } + inline void Swap(Work* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5562,7 +5410,7 @@ class SubmitWorkResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitWorkResponse* other) { + void UnsafeArenaSwap(Work* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5570,13 +5418,13 @@ class SubmitWorkResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + Work* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitWorkResponse& from); + void CopyFrom(const Work& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitWorkResponse& from) { SubmitWorkResponse::MergeImpl(*this, from); } + void MergeFrom(const Work& from) { Work::MergeImpl(*this, from); } private: static void MergeImpl( @@ -5613,18 +5461,18 @@ class SubmitWorkResponse final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitWorkResponse* other); + void InternalSwap(Work* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SubmitWorkResponse"; } + static ::absl::string_view FullMessageName() { return "flex.Work"; } protected: - explicit SubmitWorkResponse(::google::protobuf::Arena* arena); - SubmitWorkResponse(::google::protobuf::Arena* arena, const SubmitWorkResponse& from); - SubmitWorkResponse(::google::protobuf::Arena* arena, SubmitWorkResponse&& from) noexcept - : SubmitWorkResponse(arena) { + explicit Work(::google::protobuf::Arena* arena); + Work(::google::protobuf::Arena* arena, const Work& from); + Work(::google::protobuf::Arena* arena, Work&& from) noexcept + : Work(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -5636,84 +5484,216 @@ class SubmitWorkResponse final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- + using Status = Work_Status; + using Part = Work_Part; + using JobBuilderInfo = Work_JobBuilderInfo; + using State = Work_State; + static constexpr State UNSPECIFIED = Work_State_UNSPECIFIED; + static constexpr State UNKNOWN = Work_State_UNKNOWN; + static constexpr State CREATED = Work_State_CREATED; + static constexpr State SCHEDULED = Work_State_SCHEDULED; + static constexpr State RUNNING = Work_State_RUNNING; + static constexpr State RESCHEDULED = Work_State_RESCHEDULED; + static constexpr State ERROR = Work_State_ERROR; + static constexpr State FAILED = Work_State_FAILED; + static constexpr State CANCELLED = Work_State_CANCELLED; + static constexpr State COMPLETED = Work_State_COMPLETED; + static inline bool State_IsValid(int value) { + return Work_State_IsValid(value); + } + static constexpr State State_MIN = Work_State_State_MIN; + static constexpr State State_MAX = Work_State_State_MAX; + static constexpr int State_ARRAYSIZE = Work_State_State_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { + return Work_State_descriptor(); + } + template + static inline const std::string& State_Name(T value) { + return Work_State_Name(value); + } + static inline bool State_Parse(absl::string_view name, State* value) { + return Work_State_Parse(name, value); + } // accessors ------------------------------------------------------- enum : int { - kWorkFieldNumber = 1, + kPartsFieldNumber = 5, + kPathFieldNumber = 1, + kJobIdFieldNumber = 2, + kRequestIdFieldNumber = 3, + kStatusFieldNumber = 4, + kJobBuilderInfoFieldNumber = 7, + kJobBuilderFieldNumber = 6, }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); - + // repeated .flex.Work.Part parts = 5; + int parts_size() const; private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); + int _internal_parts_size() const; public: - // @@protoc_insertion_point(class_scope:flex.SubmitWorkResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, - 0, 2> - _table_; + void clear_parts() ; + ::flex::Work_Part* mutable_parts(int index); + ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* mutable_parts(); - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SubmitWorkResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- + private: + const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& _internal_parts() const; + ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* _internal_mutable_parts(); + public: + const ::flex::Work_Part& parts(int index) const; + ::flex::Work_Part* add_parts(); + const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& parts() const; + // string path = 1; + void clear_path() ; + const std::string& path() const; + template + void set_path(Arg_&& arg, Args_... args); + std::string* mutable_path(); + PROTOBUF_NODISCARD std::string* release_path(); + void set_allocated_path(std::string* value); -class RemoteStorageTarget_S3 final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3) */ { - public: - inline RemoteStorageTarget_S3() : RemoteStorageTarget_S3(nullptr) {} - ~RemoteStorageTarget_S3() PROTOBUF_FINAL; + private: + const std::string& _internal_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& value); + std::string* _internal_mutable_path(); + + public: + // string job_id = 2; + void clear_job_id() ; + const std::string& job_id() const; + template + void set_job_id(Arg_&& arg, Args_... args); + std::string* mutable_job_id(); + PROTOBUF_NODISCARD std::string* release_job_id(); + void set_allocated_job_id(std::string* value); + + private: + const std::string& _internal_job_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( + const std::string& value); + std::string* _internal_mutable_job_id(); + + public: + // string request_id = 3; + void clear_request_id() ; + const std::string& request_id() const; + template + void set_request_id(Arg_&& arg, Args_... args); + std::string* mutable_request_id(); + PROTOBUF_NODISCARD std::string* release_request_id(); + void set_allocated_request_id(std::string* value); + + private: + const std::string& _internal_request_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( + const std::string& value); + std::string* _internal_mutable_request_id(); + + public: + // .flex.Work.Status status = 4; + bool has_status() const; + void clear_status() ; + const ::flex::Work_Status& status() const; + PROTOBUF_NODISCARD ::flex::Work_Status* release_status(); + ::flex::Work_Status* mutable_status(); + void set_allocated_status(::flex::Work_Status* value); + void unsafe_arena_set_allocated_status(::flex::Work_Status* value); + ::flex::Work_Status* unsafe_arena_release_status(); + + private: + const ::flex::Work_Status& _internal_status() const; + ::flex::Work_Status* _internal_mutable_status(); + + public: + // optional .flex.Work.JobBuilderInfo job_builder_info = 7; + bool has_job_builder_info() const; + void clear_job_builder_info() ; + const ::flex::Work_JobBuilderInfo& job_builder_info() const; + PROTOBUF_NODISCARD ::flex::Work_JobBuilderInfo* release_job_builder_info(); + ::flex::Work_JobBuilderInfo* mutable_job_builder_info(); + void set_allocated_job_builder_info(::flex::Work_JobBuilderInfo* value); + void unsafe_arena_set_allocated_job_builder_info(::flex::Work_JobBuilderInfo* value); + ::flex::Work_JobBuilderInfo* unsafe_arena_release_job_builder_info(); + + private: + const ::flex::Work_JobBuilderInfo& _internal_job_builder_info() const; + ::flex::Work_JobBuilderInfo* _internal_mutable_job_builder_info(); + + public: + // bool job_builder = 6; + void clear_job_builder() ; + bool job_builder() const; + void set_job_builder(bool value); + + private: + bool _internal_job_builder() const; + void _internal_set_job_builder(bool value); + + public: + // @@protoc_insertion_point(class_scope:flex.Work) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 7, 3, + 38, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Work& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::flex::Work_Part > parts_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::google::protobuf::internal::ArenaStringPtr job_id_; + ::google::protobuf::internal::ArenaStringPtr request_id_; + ::flex::Work_Status* status_; + ::flex::Work_JobBuilderInfo* job_builder_info_; + bool job_builder_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- + +class SyncJob final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.SyncJob) */ { + public: + inline SyncJob() : SyncJob(nullptr) {} + ~SyncJob() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3* msg, std::destroying_delete_t) { + void operator delete(SyncJob* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SyncJob)); } #endif template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3( + explicit PROTOBUF_CONSTEXPR SyncJob( ::google::protobuf::internal::ConstantInitialized); - inline RemoteStorageTarget_S3(const RemoteStorageTarget_S3& from) : RemoteStorageTarget_S3(nullptr, from) {} - inline RemoteStorageTarget_S3(RemoteStorageTarget_S3&& from) noexcept - : RemoteStorageTarget_S3(nullptr, std::move(from)) {} - inline RemoteStorageTarget_S3& operator=(const RemoteStorageTarget_S3& from) { + inline SyncJob(const SyncJob& from) : SyncJob(nullptr, from) {} + inline SyncJob(SyncJob&& from) noexcept + : SyncJob(nullptr, std::move(from)) {} + inline SyncJob& operator=(const SyncJob& from) { CopyFrom(from); return *this; } - inline RemoteStorageTarget_S3& operator=(RemoteStorageTarget_S3&& from) noexcept { + inline SyncJob& operator=(SyncJob&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -5741,16 +5721,16 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RemoteStorageTarget_S3& default_instance() { + static const SyncJob& default_instance() { return *internal_default_instance(); } - static inline const RemoteStorageTarget_S3* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_S3_default_instance_); + static inline const SyncJob* internal_default_instance() { + return reinterpret_cast( + &_SyncJob_default_instance_); } - static constexpr int kIndexInFileMessages = 27; - friend void swap(RemoteStorageTarget_S3& a, RemoteStorageTarget_S3& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_S3* other) { + static constexpr int kIndexInFileMessages = 19; + friend void swap(SyncJob& a, SyncJob& b) { a.Swap(&b); } + inline void Swap(SyncJob* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -5758,7 +5738,7 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_S3* other) { + void UnsafeArenaSwap(SyncJob* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -5766,13 +5746,13 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_S3* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + SyncJob* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_S3& from); + void CopyFrom(const SyncJob& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_S3& from) { RemoteStorageTarget_S3::MergeImpl(*this, from); } + void MergeFrom(const SyncJob& from) { SyncJob::MergeImpl(*this, from); } private: static void MergeImpl( @@ -5809,18 +5789,18 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_S3* other); + void InternalSwap(SyncJob* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3"; } + static ::absl::string_view FullMessageName() { return "flex.SyncJob"; } protected: - explicit RemoteStorageTarget_S3(::google::protobuf::Arena* arena); - RemoteStorageTarget_S3(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3& from); - RemoteStorageTarget_S3(::google::protobuf::Arena* arena, RemoteStorageTarget_S3&& from) noexcept - : RemoteStorageTarget_S3(arena) { + explicit SyncJob(::google::protobuf::Arena* arena); + SyncJob(::google::protobuf::Arena* arena, const SyncJob& from); + SyncJob(::google::protobuf::Arena* arena, SyncJob&& from) noexcept + : SyncJob(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -5832,138 +5812,179 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using StorageClass = RemoteStorageTarget_S3_StorageClass; + using Operation = SyncJob_Operation; + static constexpr Operation UNSPECIFIED = SyncJob_Operation_UNSPECIFIED; + static constexpr Operation UPLOAD = SyncJob_Operation_UPLOAD; + static constexpr Operation DOWNLOAD = SyncJob_Operation_DOWNLOAD; + static inline bool Operation_IsValid(int value) { + return SyncJob_Operation_IsValid(value); + } + static constexpr Operation Operation_MIN = SyncJob_Operation_Operation_MIN; + static constexpr Operation Operation_MAX = SyncJob_Operation_Operation_MAX; + static constexpr int Operation_ARRAYSIZE = SyncJob_Operation_Operation_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* Operation_descriptor() { + return SyncJob_Operation_descriptor(); + } + template + static inline const std::string& Operation_Name(T value) { + return SyncJob_Operation_Name(value); + } + static inline bool Operation_Parse(absl::string_view name, Operation* value) { + return SyncJob_Operation_Parse(name, value); + } // accessors ------------------------------------------------------- enum : int { - kStorageClassFieldNumber = 8, - kEndpointUrlFieldNumber = 1, - kPartitionIdFieldNumber = 2, - kRegionFieldNumber = 3, - kBucketFieldNumber = 4, - kAccessKeyFieldNumber = 5, - kSecretKeyFieldNumber = 6, + kMetadataFieldNumber = 9, + kRemotePathFieldNumber = 3, + kTaggingFieldNumber = 10, + kStorageClassFieldNumber = 12, + kLockedInfoFieldNumber = 6, + kOperationFieldNumber = 1, + kOverwriteFieldNumber = 2, + kFlattenFieldNumber = 5, + kUpdateFieldNumber = 7, + kAllowRestoreFieldNumber = 13, }; - // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - int storage_class_size() const; + // map metadata = 9; + int metadata_size() const; private: - int _internal_storage_class_size() const; + int _internal_metadata_size() const; public: - void clear_storage_class() ; - ::flex::RemoteStorageTarget_S3_StorageClass* mutable_storage_class(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* mutable_storage_class(); + void clear_metadata() ; + const ::google::protobuf::Map& metadata() const; + ::google::protobuf::Map* mutable_metadata(); private: - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& _internal_storage_class() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* _internal_mutable_storage_class(); + const ::google::protobuf::Map& _internal_metadata() const; + ::google::protobuf::Map* _internal_mutable_metadata(); + public: - const ::flex::RemoteStorageTarget_S3_StorageClass& storage_class(int index) const; - ::flex::RemoteStorageTarget_S3_StorageClass* add_storage_class(); - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& storage_class() const; - // string endpoint_url = 1; - void clear_endpoint_url() ; - const std::string& endpoint_url() const; + // string remote_path = 3; + void clear_remote_path() ; + const std::string& remote_path() const; template - void set_endpoint_url(Arg_&& arg, Args_... args); - std::string* mutable_endpoint_url(); - PROTOBUF_NODISCARD std::string* release_endpoint_url(); - void set_allocated_endpoint_url(std::string* value); + void set_remote_path(Arg_&& arg, Args_... args); + std::string* mutable_remote_path(); + PROTOBUF_NODISCARD std::string* release_remote_path(); + void set_allocated_remote_path(std::string* value); private: - const std::string& _internal_endpoint_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_url( + const std::string& _internal_remote_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_path( const std::string& value); - std::string* _internal_mutable_endpoint_url(); + std::string* _internal_mutable_remote_path(); public: - // string partition_id = 2; - void clear_partition_id() ; - const std::string& partition_id() const; + // optional string tagging = 10; + bool has_tagging() const; + void clear_tagging() ; + const std::string& tagging() const; template - void set_partition_id(Arg_&& arg, Args_... args); - std::string* mutable_partition_id(); - PROTOBUF_NODISCARD std::string* release_partition_id(); - void set_allocated_partition_id(std::string* value); + void set_tagging(Arg_&& arg, Args_... args); + std::string* mutable_tagging(); + PROTOBUF_NODISCARD std::string* release_tagging(); + void set_allocated_tagging(std::string* value); private: - const std::string& _internal_partition_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_partition_id( + const std::string& _internal_tagging() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( const std::string& value); - std::string* _internal_mutable_partition_id(); + std::string* _internal_mutable_tagging(); public: - // string region = 3; - void clear_region() ; - const std::string& region() const; + // optional string storage_class = 12; + bool has_storage_class() const; + void clear_storage_class() ; + const std::string& storage_class() const; template - void set_region(Arg_&& arg, Args_... args); - std::string* mutable_region(); - PROTOBUF_NODISCARD std::string* release_region(); - void set_allocated_region(std::string* value); + void set_storage_class(Arg_&& arg, Args_... args); + std::string* mutable_storage_class(); + PROTOBUF_NODISCARD std::string* release_storage_class(); + void set_allocated_storage_class(std::string* value); private: - const std::string& _internal_region() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_region( + const std::string& _internal_storage_class() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( const std::string& value); - std::string* _internal_mutable_region(); + std::string* _internal_mutable_storage_class(); public: - // string bucket = 4; - void clear_bucket() ; - const std::string& bucket() const; - template - void set_bucket(Arg_&& arg, Args_... args); - std::string* mutable_bucket(); - PROTOBUF_NODISCARD std::string* release_bucket(); - void set_allocated_bucket(std::string* value); + // .flex.JobLockedInfo locked_info = 6; + bool has_locked_info() const; + void clear_locked_info() ; + const ::flex::JobLockedInfo& locked_info() const; + PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); + ::flex::JobLockedInfo* mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); + ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); private: - const std::string& _internal_bucket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_bucket( - const std::string& value); - std::string* _internal_mutable_bucket(); + const ::flex::JobLockedInfo& _internal_locked_info() const; + ::flex::JobLockedInfo* _internal_mutable_locked_info(); public: - // string access_key = 5; - void clear_access_key() ; - const std::string& access_key() const; - template - void set_access_key(Arg_&& arg, Args_... args); - std::string* mutable_access_key(); - PROTOBUF_NODISCARD std::string* release_access_key(); - void set_allocated_access_key(std::string* value); + // .flex.SyncJob.Operation operation = 1; + void clear_operation() ; + ::flex::SyncJob_Operation operation() const; + void set_operation(::flex::SyncJob_Operation value); private: - const std::string& _internal_access_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_access_key( - const std::string& value); - std::string* _internal_mutable_access_key(); + ::flex::SyncJob_Operation _internal_operation() const; + void _internal_set_operation(::flex::SyncJob_Operation value); public: - // string secret_key = 6; - void clear_secret_key() ; - const std::string& secret_key() const; - template - void set_secret_key(Arg_&& arg, Args_... args); - std::string* mutable_secret_key(); - PROTOBUF_NODISCARD std::string* release_secret_key(); - void set_allocated_secret_key(std::string* value); + // bool overwrite = 2; + void clear_overwrite() ; + bool overwrite() const; + void set_overwrite(bool value); private: - const std::string& _internal_secret_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret_key( - const std::string& value); - std::string* _internal_mutable_secret_key(); + bool _internal_overwrite() const; + void _internal_set_overwrite(bool value); public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3) + // bool flatten = 5; + void clear_flatten() ; + bool flatten() const; + void set_flatten(bool value); + + private: + bool _internal_flatten() const; + void _internal_set_flatten(bool value); + + public: + // optional bool update = 7; + bool has_update() const; + void clear_update() ; + bool update() const; + void set_update(bool value); + + private: + bool _internal_update() const; + void _internal_set_update(bool value); + + public: + // optional bool allow_restore = 13; + bool has_allow_restore() const; + void clear_allow_restore() ; + bool allow_restore() const; + void set_allow_restore(bool value); + + private: + bool _internal_allow_restore() const; + void _internal_set_allow_restore(bool value); + + public: + // @@protoc_insertion_point(class_scope:flex.SyncJob) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 3, 7, 1, - 92, 2> + 4, 10, 2, + 68, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -5979,15 +6000,22 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const RemoteStorageTarget_S3& from_msg); - ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget_S3_StorageClass > storage_class_; - ::google::protobuf::internal::ArenaStringPtr endpoint_url_; - ::google::protobuf::internal::ArenaStringPtr partition_id_; - ::google::protobuf::internal::ArenaStringPtr region_; - ::google::protobuf::internal::ArenaStringPtr bucket_; - ::google::protobuf::internal::ArenaStringPtr access_key_; - ::google::protobuf::internal::ArenaStringPtr secret_key_; + const SyncJob& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::MapField + metadata_; + ::google::protobuf::internal::ArenaStringPtr remote_path_; + ::google::protobuf::internal::ArenaStringPtr tagging_; + ::google::protobuf::internal::ArenaStringPtr storage_class_; + ::flex::JobLockedInfo* locked_info_; + int operation_; + bool overwrite_; + bool flatten_; + bool update_; + bool allow_restore_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -5995,31 +6023,31 @@ class RemoteStorageTarget_S3 final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class JobRequestCfg final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.JobRequestCfg) */ { +class RemoteStorageTarget_S3 final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3) */ { public: - inline JobRequestCfg() : JobRequestCfg(nullptr) {} - ~JobRequestCfg() PROTOBUF_FINAL; + inline RemoteStorageTarget_S3() : RemoteStorageTarget_S3(nullptr) {} + ~RemoteStorageTarget_S3() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequestCfg* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_S3* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequestCfg)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3)); } #endif template - explicit PROTOBUF_CONSTEXPR JobRequestCfg( + explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3( ::google::protobuf::internal::ConstantInitialized); - inline JobRequestCfg(const JobRequestCfg& from) : JobRequestCfg(nullptr, from) {} - inline JobRequestCfg(JobRequestCfg&& from) noexcept - : JobRequestCfg(nullptr, std::move(from)) {} - inline JobRequestCfg& operator=(const JobRequestCfg& from) { + inline RemoteStorageTarget_S3(const RemoteStorageTarget_S3& from) : RemoteStorageTarget_S3(nullptr, from) {} + inline RemoteStorageTarget_S3(RemoteStorageTarget_S3&& from) noexcept + : RemoteStorageTarget_S3(nullptr, std::move(from)) {} + inline RemoteStorageTarget_S3& operator=(const RemoteStorageTarget_S3& from) { CopyFrom(from); return *this; } - inline JobRequestCfg& operator=(JobRequestCfg&& from) noexcept { + inline RemoteStorageTarget_S3& operator=(RemoteStorageTarget_S3&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -6047,16 +6075,16 @@ class JobRequestCfg final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const JobRequestCfg& default_instance() { + static const RemoteStorageTarget_S3& default_instance() { return *internal_default_instance(); } - static inline const JobRequestCfg* internal_default_instance() { - return reinterpret_cast( - &_JobRequestCfg_default_instance_); + static inline const RemoteStorageTarget_S3* internal_default_instance() { + return reinterpret_cast( + &_RemoteStorageTarget_S3_default_instance_); } - static constexpr int kIndexInFileMessages = 11; - friend void swap(JobRequestCfg& a, JobRequestCfg& b) { a.Swap(&b); } - inline void Swap(JobRequestCfg* other) { + static constexpr int kIndexInFileMessages = 30; + friend void swap(RemoteStorageTarget_S3& a, RemoteStorageTarget_S3& b) { a.Swap(&b); } + inline void Swap(RemoteStorageTarget_S3* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6064,7 +6092,7 @@ class JobRequestCfg final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(JobRequestCfg* other) { + void UnsafeArenaSwap(RemoteStorageTarget_S3* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6072,13 +6100,13 @@ class JobRequestCfg final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - JobRequestCfg* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + RemoteStorageTarget_S3* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobRequestCfg& from); + void CopyFrom(const RemoteStorageTarget_S3& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobRequestCfg& from) { JobRequestCfg::MergeImpl(*this, from); } + void MergeFrom(const RemoteStorageTarget_S3& from) { RemoteStorageTarget_S3::MergeImpl(*this, from); } private: static void MergeImpl( @@ -6115,18 +6143,18 @@ class JobRequestCfg final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(JobRequestCfg* other); + void InternalSwap(RemoteStorageTarget_S3* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.JobRequestCfg"; } + static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3"; } protected: - explicit JobRequestCfg(::google::protobuf::Arena* arena); - JobRequestCfg(::google::protobuf::Arena* arena, const JobRequestCfg& from); - JobRequestCfg(::google::protobuf::Arena* arena, JobRequestCfg&& from) noexcept - : JobRequestCfg(arena) { + explicit RemoteStorageTarget_S3(::google::protobuf::Arena* arena); + RemoteStorageTarget_S3(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3& from); + RemoteStorageTarget_S3(::google::protobuf::Arena* arena, RemoteStorageTarget_S3&& from) noexcept + : RemoteStorageTarget_S3(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -6138,263 +6166,138 @@ class JobRequestCfg final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- + using StorageClass = RemoteStorageTarget_S3_StorageClass; // accessors ------------------------------------------------------- enum : int { - kMetadataFieldNumber = 13, - kPathFieldNumber = 2, - kRemotePathFieldNumber = 3, - kStorageClassFieldNumber = 12, - kTaggingFieldNumber = 14, - kFilterExprFieldNumber = 16, - kLockedInfoFieldNumber = 9, - kRemoteStorageTargetFieldNumber = 1, - kDownloadFieldNumber = 4, - kStubLocalFieldNumber = 5, - kOverwriteFieldNumber = 6, - kFlattenFieldNumber = 7, - kPriorityFieldNumber = 11, - kForceFieldNumber = 8, - kUpdateFieldNumber = 10, - kAllowRestoreFieldNumber = 15, - kRestorePolicyFieldNumber = 17, - kCooldownSecsFieldNumber = 18, + kStorageClassFieldNumber = 8, + kEndpointUrlFieldNumber = 1, + kPartitionIdFieldNumber = 2, + kRegionFieldNumber = 3, + kBucketFieldNumber = 4, + kAccessKeyFieldNumber = 5, + kSecretKeyFieldNumber = 6, }; - // map metadata = 13; - int metadata_size() const; + // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; + int storage_class_size() const; private: - int _internal_metadata_size() const; + int _internal_storage_class_size() const; public: - void clear_metadata() ; - const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); + void clear_storage_class() ; + ::flex::RemoteStorageTarget_S3_StorageClass* mutable_storage_class(int index); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* mutable_storage_class(); private: - const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); - + const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& _internal_storage_class() const; + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* _internal_mutable_storage_class(); public: - // string path = 2; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); + const ::flex::RemoteStorageTarget_S3_StorageClass& storage_class(int index) const; + ::flex::RemoteStorageTarget_S3_StorageClass* add_storage_class(); + const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& storage_class() const; + // string endpoint_url = 1; + void clear_endpoint_url() ; + const std::string& endpoint_url() const; + template + void set_endpoint_url(Arg_&& arg, Args_... args); + std::string* mutable_endpoint_url(); + PROTOBUF_NODISCARD std::string* release_endpoint_url(); + void set_allocated_endpoint_url(std::string* value); private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& _internal_endpoint_url() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_url( const std::string& value); - std::string* _internal_mutable_path(); + std::string* _internal_mutable_endpoint_url(); public: - // string remotePath = 3; - void clear_remotepath() ; - const std::string& remotepath() const; + // string partition_id = 2; + void clear_partition_id() ; + const std::string& partition_id() const; template - void set_remotepath(Arg_&& arg, Args_... args); - std::string* mutable_remotepath(); - PROTOBUF_NODISCARD std::string* release_remotepath(); - void set_allocated_remotepath(std::string* value); + void set_partition_id(Arg_&& arg, Args_... args); + std::string* mutable_partition_id(); + PROTOBUF_NODISCARD std::string* release_partition_id(); + void set_allocated_partition_id(std::string* value); private: - const std::string& _internal_remotepath() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remotepath( + const std::string& _internal_partition_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_partition_id( const std::string& value); - std::string* _internal_mutable_remotepath(); + std::string* _internal_mutable_partition_id(); public: - // optional string storage_class = 12; - bool has_storage_class() const; - void clear_storage_class() ; - const std::string& storage_class() const; + // string region = 3; + void clear_region() ; + const std::string& region() const; template - void set_storage_class(Arg_&& arg, Args_... args); - std::string* mutable_storage_class(); - PROTOBUF_NODISCARD std::string* release_storage_class(); - void set_allocated_storage_class(std::string* value); + void set_region(Arg_&& arg, Args_... args); + std::string* mutable_region(); + PROTOBUF_NODISCARD std::string* release_region(); + void set_allocated_region(std::string* value); private: - const std::string& _internal_storage_class() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( + const std::string& _internal_region() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_region( const std::string& value); - std::string* _internal_mutable_storage_class(); + std::string* _internal_mutable_region(); public: - // optional string tagging = 14; - bool has_tagging() const; - void clear_tagging() ; - const std::string& tagging() const; + // string bucket = 4; + void clear_bucket() ; + const std::string& bucket() const; template - void set_tagging(Arg_&& arg, Args_... args); - std::string* mutable_tagging(); - PROTOBUF_NODISCARD std::string* release_tagging(); - void set_allocated_tagging(std::string* value); + void set_bucket(Arg_&& arg, Args_... args); + std::string* mutable_bucket(); + PROTOBUF_NODISCARD std::string* release_bucket(); + void set_allocated_bucket(std::string* value); private: - const std::string& _internal_tagging() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( + const std::string& _internal_bucket() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_bucket( const std::string& value); - std::string* _internal_mutable_tagging(); + std::string* _internal_mutable_bucket(); public: - // optional string filter_expr = 16; - bool has_filter_expr() const; - void clear_filter_expr() ; - const std::string& filter_expr() const; + // string access_key = 5; + void clear_access_key() ; + const std::string& access_key() const; template - void set_filter_expr(Arg_&& arg, Args_... args); - std::string* mutable_filter_expr(); - PROTOBUF_NODISCARD std::string* release_filter_expr(); - void set_allocated_filter_expr(std::string* value); + void set_access_key(Arg_&& arg, Args_... args); + std::string* mutable_access_key(); + PROTOBUF_NODISCARD std::string* release_access_key(); + void set_allocated_access_key(std::string* value); private: - const std::string& _internal_filter_expr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter_expr( + const std::string& _internal_access_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_access_key( const std::string& value); - std::string* _internal_mutable_filter_expr(); - - public: - // .flex.JobLockedInfo locked_info = 9; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); - - private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); - - public: - // uint32 remoteStorageTarget = 1; - void clear_remotestoragetarget() ; - ::uint32_t remotestoragetarget() const; - void set_remotestoragetarget(::uint32_t value); - - private: - ::uint32_t _internal_remotestoragetarget() const; - void _internal_set_remotestoragetarget(::uint32_t value); - - public: - // bool download = 4; - void clear_download() ; - bool download() const; - void set_download(bool value); - - private: - bool _internal_download() const; - void _internal_set_download(bool value); - - public: - // bool stub_local = 5; - void clear_stub_local() ; - bool stub_local() const; - void set_stub_local(bool value); - - private: - bool _internal_stub_local() const; - void _internal_set_stub_local(bool value); - - public: - // bool overwrite = 6; - void clear_overwrite() ; - bool overwrite() const; - void set_overwrite(bool value); - - private: - bool _internal_overwrite() const; - void _internal_set_overwrite(bool value); - - public: - // bool flatten = 7; - void clear_flatten() ; - bool flatten() const; - void set_flatten(bool value); - - private: - bool _internal_flatten() const; - void _internal_set_flatten(bool value); - - public: - // optional int32 priority = 11; - bool has_priority() const; - void clear_priority() ; - ::int32_t priority() const; - void set_priority(::int32_t value); - - private: - ::int32_t _internal_priority() const; - void _internal_set_priority(::int32_t value); - - public: - // bool force = 8; - void clear_force() ; - bool force() const; - void set_force(bool value); - - private: - bool _internal_force() const; - void _internal_set_force(bool value); - - public: - // optional bool update = 10; - bool has_update() const; - void clear_update() ; - bool update() const; - void set_update(bool value); - - private: - bool _internal_update() const; - void _internal_set_update(bool value); - - public: - // optional bool allow_restore = 15; - bool has_allow_restore() const; - void clear_allow_restore() ; - bool allow_restore() const; - void set_allow_restore(bool value); - - private: - bool _internal_allow_restore() const; - void _internal_set_allow_restore(bool value); - - public: - // optional .flex.RestorePolicy restore_policy = 17; - bool has_restore_policy() const; - void clear_restore_policy() ; - ::flex::RestorePolicy restore_policy() const; - void set_restore_policy(::flex::RestorePolicy value); - - private: - ::flex::RestorePolicy _internal_restore_policy() const; - void _internal_set_restore_policy(::flex::RestorePolicy value); + std::string* _internal_mutable_access_key(); public: - // optional uint32 cooldown_secs = 18; - bool has_cooldown_secs() const; - void clear_cooldown_secs() ; - ::uint32_t cooldown_secs() const; - void set_cooldown_secs(::uint32_t value); + // string secret_key = 6; + void clear_secret_key() ; + const std::string& secret_key() const; + template + void set_secret_key(Arg_&& arg, Args_... args); + std::string* mutable_secret_key(); + PROTOBUF_NODISCARD std::string* release_secret_key(); + void set_allocated_secret_key(std::string* value); private: - ::uint32_t _internal_cooldown_secs() const; - void _internal_set_cooldown_secs(::uint32_t value); + const std::string& _internal_secret_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret_key( + const std::string& value); + std::string* _internal_mutable_secret_key(); public: - // @@protoc_insertion_point(class_scope:flex.JobRequestCfg) + // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 5, 18, 2, - 96, 2> + 3, 7, 1, + 92, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6410,30 +6313,15 @@ class JobRequestCfg final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const JobRequestCfg& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; + const RemoteStorageTarget_S3& from_msg); + ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget_S3_StorageClass > storage_class_; + ::google::protobuf::internal::ArenaStringPtr endpoint_url_; + ::google::protobuf::internal::ArenaStringPtr partition_id_; + ::google::protobuf::internal::ArenaStringPtr region_; + ::google::protobuf::internal::ArenaStringPtr bucket_; + ::google::protobuf::internal::ArenaStringPtr access_key_; + ::google::protobuf::internal::ArenaStringPtr secret_key_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - metadata_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr remotepath_; - ::google::protobuf::internal::ArenaStringPtr storage_class_; - ::google::protobuf::internal::ArenaStringPtr tagging_; - ::google::protobuf::internal::ArenaStringPtr filter_expr_; - ::flex::JobLockedInfo* locked_info_; - ::uint32_t remotestoragetarget_; - bool download_; - bool stub_local_; - bool overwrite_; - bool flatten_; - ::int32_t priority_; - bool force_; - bool update_; - bool allow_restore_; - int restore_policy_; - ::uint32_t cooldown_secs_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -6441,31 +6329,31 @@ class JobRequestCfg final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class HeartbeatResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.HeartbeatResponse) */ { +class JobRequestCfg final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.JobRequestCfg) */ { public: - inline HeartbeatResponse() : HeartbeatResponse(nullptr) {} - ~HeartbeatResponse() PROTOBUF_FINAL; + inline JobRequestCfg() : JobRequestCfg(nullptr) {} + ~JobRequestCfg() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HeartbeatResponse* msg, std::destroying_delete_t) { + void operator delete(JobRequestCfg* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(HeartbeatResponse)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequestCfg)); } #endif template - explicit PROTOBUF_CONSTEXPR HeartbeatResponse( + explicit PROTOBUF_CONSTEXPR JobRequestCfg( ::google::protobuf::internal::ConstantInitialized); - inline HeartbeatResponse(const HeartbeatResponse& from) : HeartbeatResponse(nullptr, from) {} - inline HeartbeatResponse(HeartbeatResponse&& from) noexcept - : HeartbeatResponse(nullptr, std::move(from)) {} - inline HeartbeatResponse& operator=(const HeartbeatResponse& from) { + inline JobRequestCfg(const JobRequestCfg& from) : JobRequestCfg(nullptr, from) {} + inline JobRequestCfg(JobRequestCfg&& from) noexcept + : JobRequestCfg(nullptr, std::move(from)) {} + inline JobRequestCfg& operator=(const JobRequestCfg& from) { CopyFrom(from); return *this; } - inline HeartbeatResponse& operator=(HeartbeatResponse&& from) noexcept { + inline JobRequestCfg& operator=(JobRequestCfg&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -6493,16 +6381,16 @@ class HeartbeatResponse final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const HeartbeatResponse& default_instance() { + static const JobRequestCfg& default_instance() { return *internal_default_instance(); } - static inline const HeartbeatResponse* internal_default_instance() { - return reinterpret_cast( - &_HeartbeatResponse_default_instance_); + static inline const JobRequestCfg* internal_default_instance() { + return reinterpret_cast( + &_JobRequestCfg_default_instance_); } - static constexpr int kIndexInFileMessages = 1; - friend void swap(HeartbeatResponse& a, HeartbeatResponse& b) { a.Swap(&b); } - inline void Swap(HeartbeatResponse* other) { + static constexpr int kIndexInFileMessages = 11; + friend void swap(JobRequestCfg& a, JobRequestCfg& b) { a.Swap(&b); } + inline void Swap(JobRequestCfg* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6510,7 +6398,7 @@ class HeartbeatResponse final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(HeartbeatResponse* other) { + void UnsafeArenaSwap(JobRequestCfg* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6518,13 +6406,13 @@ class HeartbeatResponse final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - HeartbeatResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + JobRequestCfg* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const HeartbeatResponse& from); + void CopyFrom(const JobRequestCfg& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const HeartbeatResponse& from) { HeartbeatResponse::MergeImpl(*this, from); } + void MergeFrom(const JobRequestCfg& from) { JobRequestCfg::MergeImpl(*this, from); } private: static void MergeImpl( @@ -6561,18 +6449,18 @@ class HeartbeatResponse final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(HeartbeatResponse* other); + void InternalSwap(JobRequestCfg* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.HeartbeatResponse"; } + static ::absl::string_view FullMessageName() { return "flex.JobRequestCfg"; } protected: - explicit HeartbeatResponse(::google::protobuf::Arena* arena); - HeartbeatResponse(::google::protobuf::Arena* arena, const HeartbeatResponse& from); - HeartbeatResponse(::google::protobuf::Arena* arena, HeartbeatResponse&& from) noexcept - : HeartbeatResponse(arena) { + explicit JobRequestCfg(::google::protobuf::Arena* arena); + JobRequestCfg(::google::protobuf::Arena* arena, const JobRequestCfg& from); + JobRequestCfg(::google::protobuf::Arena* arena, JobRequestCfg&& from) noexcept + : JobRequestCfg(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -6587,270 +6475,260 @@ class HeartbeatResponse final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kNodeStatsFieldNumber = 2, - kIsReadyFieldNumber = 1, + kMetadataFieldNumber = 13, + kPathFieldNumber = 2, + kRemotePathFieldNumber = 3, + kStorageClassFieldNumber = 12, + kTaggingFieldNumber = 14, + kFilterExprFieldNumber = 16, + kLockedInfoFieldNumber = 9, + kRemoteStorageTargetFieldNumber = 1, + kDownloadFieldNumber = 4, + kStubLocalFieldNumber = 5, + kOverwriteFieldNumber = 6, + kFlattenFieldNumber = 7, + kPriorityFieldNumber = 11, + kForceFieldNumber = 8, + kUpdateFieldNumber = 10, + kAllowRestoreFieldNumber = 15, + kRestorePolicyFieldNumber = 17, + kCooldownSecsFieldNumber = 18, }; - // .flex.NodeStats node_stats = 2; - bool has_node_stats() const; - void clear_node_stats() ; - const ::flex::NodeStats& node_stats() const; - PROTOBUF_NODISCARD ::flex::NodeStats* release_node_stats(); - ::flex::NodeStats* mutable_node_stats(); - void set_allocated_node_stats(::flex::NodeStats* value); - void unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value); - ::flex::NodeStats* unsafe_arena_release_node_stats(); - + // map metadata = 13; + int metadata_size() const; private: - const ::flex::NodeStats& _internal_node_stats() const; - ::flex::NodeStats* _internal_mutable_node_stats(); + int _internal_metadata_size() const; public: - // bool is_ready = 1; - void clear_is_ready() ; - bool is_ready() const; - void set_is_ready(bool value); + void clear_metadata() ; + const ::google::protobuf::Map& metadata() const; + ::google::protobuf::Map* mutable_metadata(); private: - bool _internal_is_ready() const; - void _internal_set_is_ready(bool value); + const ::google::protobuf::Map& _internal_metadata() const; + ::google::protobuf::Map* _internal_mutable_metadata(); public: - // @@protoc_insertion_point(class_scope:flex.HeartbeatResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 0, 2> - _table_; + // string path = 2; + void clear_path() ; + const std::string& path() const; + template + void set_path(Arg_&& arg, Args_... args); + std::string* mutable_path(); + PROTOBUF_NODISCARD std::string* release_path(); + void set_allocated_path(std::string* value); - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const HeartbeatResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::NodeStats* node_stats_; - bool is_ready_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- + private: + const std::string& _internal_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& value); + std::string* _internal_mutable_path(); -class GetCapabilitiesResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.GetCapabilitiesResponse) */ { - public: - inline GetCapabilitiesResponse() : GetCapabilitiesResponse(nullptr) {} - ~GetCapabilitiesResponse() PROTOBUF_FINAL; + public: + // string remotePath = 3; + void clear_remotepath() ; + const std::string& remotepath() const; + template + void set_remotepath(Arg_&& arg, Args_... args); + std::string* mutable_remotepath(); + PROTOBUF_NODISCARD std::string* release_remotepath(); + void set_allocated_remotepath(std::string* value); -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCapabilitiesResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesResponse)); - } -#endif + private: + const std::string& _internal_remotepath() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_remotepath( + const std::string& value); + std::string* _internal_mutable_remotepath(); - template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse( - ::google::protobuf::internal::ConstantInitialized); + public: + // optional string storage_class = 12; + bool has_storage_class() const; + void clear_storage_class() ; + const std::string& storage_class() const; + template + void set_storage_class(Arg_&& arg, Args_... args); + std::string* mutable_storage_class(); + PROTOBUF_NODISCARD std::string* release_storage_class(); + void set_allocated_storage_class(std::string* value); - inline GetCapabilitiesResponse(const GetCapabilitiesResponse& from) : GetCapabilitiesResponse(nullptr, from) {} - inline GetCapabilitiesResponse(GetCapabilitiesResponse&& from) noexcept - : GetCapabilitiesResponse(nullptr, std::move(from)) {} - inline GetCapabilitiesResponse& operator=(const GetCapabilitiesResponse& from) { - CopyFrom(from); - return *this; - } - inline GetCapabilitiesResponse& operator=(GetCapabilitiesResponse&& from) noexcept { - if (this == &from) return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } + private: + const std::string& _internal_storage_class() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( + const std::string& value); + std::string* _internal_mutable_storage_class(); - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + public: + // optional string tagging = 14; + bool has_tagging() const; + void clear_tagging() ; + const std::string& tagging() const; + template + void set_tagging(Arg_&& arg, Args_... args); + std::string* mutable_tagging(); + PROTOBUF_NODISCARD std::string* release_tagging(); + void set_allocated_tagging(std::string* value); - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetCapabilitiesResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetCapabilitiesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetCapabilitiesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 33; - friend void swap(GetCapabilitiesResponse& a, GetCapabilitiesResponse& b) { a.Swap(&b); } - inline void Swap(GetCapabilitiesResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetCapabilitiesResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } + private: + const std::string& _internal_tagging() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( + const std::string& value); + std::string* _internal_mutable_tagging(); - // implements Message ---------------------------------------------- + public: + // optional string filter_expr = 16; + bool has_filter_expr() const; + void clear_filter_expr() ; + const std::string& filter_expr() const; + template + void set_filter_expr(Arg_&& arg, Args_... args); + std::string* mutable_filter_expr(); + PROTOBUF_NODISCARD std::string* release_filter_expr(); + void set_allocated_filter_expr(std::string* value); - GetCapabilitiesResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetCapabilitiesResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetCapabilitiesResponse& from) { GetCapabilitiesResponse::MergeImpl(*this, from); } + private: + const std::string& _internal_filter_expr() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter_expr( + const std::string& value); + std::string* _internal_mutable_filter_expr(); + + public: + // .flex.JobLockedInfo locked_info = 9; + bool has_locked_info() const; + void clear_locked_info() ; + const ::flex::JobLockedInfo& locked_info() const; + PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); + ::flex::JobLockedInfo* mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); + ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, - const ::google::protobuf::MessageLite& from_msg); + const ::flex::JobLockedInfo& _internal_locked_info() const; + ::flex::JobLockedInfo* _internal_mutable_locked_info(); public: - bool IsInitialized() const { - return true; - } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; - #if defined(PROTOBUF_CUSTOM_VTABLE) + // uint32 remoteStorageTarget = 1; + void clear_remotestoragetarget() ; + ::uint32_t remotestoragetarget() const; + void set_remotestoragetarget(::uint32_t value); + private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); + ::uint32_t _internal_remotestoragetarget() const; + void _internal_set_remotestoragetarget(::uint32_t value); public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } + // bool download = 4; + void clear_download() ; + bool download() const; + void set_download(bool value); private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetCapabilitiesResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.GetCapabilitiesResponse"; } + bool _internal_download() const; + void _internal_set_download(bool value); - protected: - explicit GetCapabilitiesResponse(::google::protobuf::Arena* arena); - GetCapabilitiesResponse(::google::protobuf::Arena* arena, const GetCapabilitiesResponse& from); - GetCapabilitiesResponse(::google::protobuf::Arena* arena, GetCapabilitiesResponse&& from) noexcept - : GetCapabilitiesResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; + public: + // bool stub_local = 5; + void clear_stub_local() ; + bool stub_local() const; + void set_stub_local(bool value); - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- + private: + bool _internal_stub_local() const; + void _internal_set_stub_local(bool value); + + public: + // bool overwrite = 6; + void clear_overwrite() ; + bool overwrite() const; + void set_overwrite(bool value); - // accessors ------------------------------------------------------- - enum : int { - kFeaturesFieldNumber = 2, - kBuildInfoFieldNumber = 1, - kStartTimestampFieldNumber = 3, - }; - // map features = 2; - int features_size() const; private: - int _internal_features_size() const; + bool _internal_overwrite() const; + void _internal_set_overwrite(bool value); public: - void clear_features() ; - const ::google::protobuf::Map& features() const; - ::google::protobuf::Map* mutable_features(); + // bool flatten = 7; + void clear_flatten() ; + bool flatten() const; + void set_flatten(bool value); private: - const ::google::protobuf::Map& _internal_features() const; - ::google::protobuf::Map* _internal_mutable_features(); + bool _internal_flatten() const; + void _internal_set_flatten(bool value); public: - // .flex.BuildInfo build_info = 1; - bool has_build_info() const; - void clear_build_info() ; - const ::flex::BuildInfo& build_info() const; - PROTOBUF_NODISCARD ::flex::BuildInfo* release_build_info(); - ::flex::BuildInfo* mutable_build_info(); - void set_allocated_build_info(::flex::BuildInfo* value); - void unsafe_arena_set_allocated_build_info(::flex::BuildInfo* value); - ::flex::BuildInfo* unsafe_arena_release_build_info(); + // optional int32 priority = 11; + bool has_priority() const; + void clear_priority() ; + ::int32_t priority() const; + void set_priority(::int32_t value); private: - const ::flex::BuildInfo& _internal_build_info() const; - ::flex::BuildInfo* _internal_mutable_build_info(); + ::int32_t _internal_priority() const; + void _internal_set_priority(::int32_t value); public: - // .google.protobuf.Timestamp start_timestamp = 3; - bool has_start_timestamp() const; - void clear_start_timestamp() ; - const ::google::protobuf::Timestamp& start_timestamp() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_start_timestamp(); - ::google::protobuf::Timestamp* mutable_start_timestamp(); - void set_allocated_start_timestamp(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_start_timestamp(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_start_timestamp(); + // bool force = 8; + void clear_force() ; + bool force() const; + void set_force(bool value); private: - const ::google::protobuf::Timestamp& _internal_start_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_start_timestamp(); + bool _internal_force() const; + void _internal_set_force(bool value); public: - // @@protoc_insertion_point(class_scope:flex.GetCapabilitiesResponse) + // optional bool update = 10; + bool has_update() const; + void clear_update() ; + bool update() const; + void set_update(bool value); + + private: + bool _internal_update() const; + void _internal_set_update(bool value); + + public: + // optional bool allow_restore = 15; + bool has_allow_restore() const; + void clear_allow_restore() ; + bool allow_restore() const; + void set_allow_restore(bool value); + + private: + bool _internal_allow_restore() const; + void _internal_set_allow_restore(bool value); + + public: + // optional .flex.RestorePolicy restore_policy = 17; + bool has_restore_policy() const; + void clear_restore_policy() ; + ::flex::RestorePolicy restore_policy() const; + void set_restore_policy(::flex::RestorePolicy value); + + private: + ::flex::RestorePolicy _internal_restore_policy() const; + void _internal_set_restore_policy(::flex::RestorePolicy value); + + public: + // optional uint32 cooldown_secs = 18; + bool has_cooldown_secs() const; + void clear_cooldown_secs() ; + ::uint32_t cooldown_secs() const; + void set_cooldown_secs(::uint32_t value); + + private: + ::uint32_t _internal_cooldown_secs() const; + void _internal_set_cooldown_secs(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:flex.JobRequestCfg) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 2, 3, 4, - 45, 2> + 5, 18, 2, + 96, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -6866,47 +6744,62 @@ class GetCapabilitiesResponse final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const GetCapabilitiesResponse& from_msg); + const JobRequestCfg& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - features_; - ::flex::BuildInfo* build_info_; - ::google::protobuf::Timestamp* start_timestamp_; - PROTOBUF_TSAN_DECLARE_MEMBER + ::google::protobuf::internal::WireFormatLite::TYPE_STRING> + metadata_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::google::protobuf::internal::ArenaStringPtr remotepath_; + ::google::protobuf::internal::ArenaStringPtr storage_class_; + ::google::protobuf::internal::ArenaStringPtr tagging_; + ::google::protobuf::internal::ArenaStringPtr filter_expr_; + ::flex::JobLockedInfo* locked_info_; + ::uint32_t remotestoragetarget_; + bool download_; + bool stub_local_; + bool overwrite_; + bool flatten_; + ::int32_t priority_; + bool force_; + bool update_; + bool allow_restore_; + int restore_policy_; + ::uint32_t cooldown_secs_; + PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; // ------------------------------------------------------------------- -class RemoteStorageTarget_Azure final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.Azure) */ { +class HeartbeatResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.HeartbeatResponse) */ { public: - inline RemoteStorageTarget_Azure() : RemoteStorageTarget_Azure(nullptr) {} - ~RemoteStorageTarget_Azure() PROTOBUF_FINAL; + inline HeartbeatResponse() : HeartbeatResponse(nullptr) {} + ~HeartbeatResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_Azure* msg, std::destroying_delete_t) { + void operator delete(HeartbeatResponse* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_Azure)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HeartbeatResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_Azure( + explicit PROTOBUF_CONSTEXPR HeartbeatResponse( ::google::protobuf::internal::ConstantInitialized); - inline RemoteStorageTarget_Azure(const RemoteStorageTarget_Azure& from) : RemoteStorageTarget_Azure(nullptr, from) {} - inline RemoteStorageTarget_Azure(RemoteStorageTarget_Azure&& from) noexcept - : RemoteStorageTarget_Azure(nullptr, std::move(from)) {} - inline RemoteStorageTarget_Azure& operator=(const RemoteStorageTarget_Azure& from) { + inline HeartbeatResponse(const HeartbeatResponse& from) : HeartbeatResponse(nullptr, from) {} + inline HeartbeatResponse(HeartbeatResponse&& from) noexcept + : HeartbeatResponse(nullptr, std::move(from)) {} + inline HeartbeatResponse& operator=(const HeartbeatResponse& from) { CopyFrom(from); return *this; } - inline RemoteStorageTarget_Azure& operator=(RemoteStorageTarget_Azure&& from) noexcept { + inline HeartbeatResponse& operator=(HeartbeatResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -6934,16 +6827,16 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RemoteStorageTarget_Azure& default_instance() { + static const HeartbeatResponse& default_instance() { return *internal_default_instance(); } - static inline const RemoteStorageTarget_Azure* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_Azure_default_instance_); + static inline const HeartbeatResponse* internal_default_instance() { + return reinterpret_cast( + &_HeartbeatResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 28; - friend void swap(RemoteStorageTarget_Azure& a, RemoteStorageTarget_Azure& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_Azure* other) { + static constexpr int kIndexInFileMessages = 1; + friend void swap(HeartbeatResponse& a, HeartbeatResponse& b) { a.Swap(&b); } + inline void Swap(HeartbeatResponse* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -6951,7 +6844,7 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget_Azure* other) { + void UnsafeArenaSwap(HeartbeatResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -6959,13 +6852,13 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget_Azure* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + HeartbeatResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_Azure& from); + void CopyFrom(const HeartbeatResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_Azure& from) { RemoteStorageTarget_Azure::MergeImpl(*this, from); } + void MergeFrom(const HeartbeatResponse& from) { HeartbeatResponse::MergeImpl(*this, from); } private: static void MergeImpl( @@ -7002,18 +6895,18 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget_Azure* other); + void InternalSwap(HeartbeatResponse* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.Azure"; } + static ::absl::string_view FullMessageName() { return "flex.HeartbeatResponse"; } protected: - explicit RemoteStorageTarget_Azure(::google::protobuf::Arena* arena); - RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, const RemoteStorageTarget_Azure& from); - RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, RemoteStorageTarget_Azure&& from) noexcept - : RemoteStorageTarget_Azure(arena) { + explicit HeartbeatResponse(::google::protobuf::Arena* arena); + HeartbeatResponse(::google::protobuf::Arena* arena, const HeartbeatResponse& from); + HeartbeatResponse(::google::protobuf::Arena* arena, HeartbeatResponse&& from) noexcept + : HeartbeatResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -7028,47 +6921,41 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kAccountFieldNumber = 2, - kS3FieldNumber = 1, + kNodeStatsFieldNumber = 2, + kIsReadyFieldNumber = 1, }; - // string account = 2; - void clear_account() ; - const std::string& account() const; - template - void set_account(Arg_&& arg, Args_... args); - std::string* mutable_account(); - PROTOBUF_NODISCARD std::string* release_account(); - void set_allocated_account(std::string* value); + // .flex.NodeStats node_stats = 2; + bool has_node_stats() const; + void clear_node_stats() ; + const ::flex::NodeStats& node_stats() const; + PROTOBUF_NODISCARD ::flex::NodeStats* release_node_stats(); + ::flex::NodeStats* mutable_node_stats(); + void set_allocated_node_stats(::flex::NodeStats* value); + void unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value); + ::flex::NodeStats* unsafe_arena_release_node_stats(); private: - const std::string& _internal_account() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_account( - const std::string& value); - std::string* _internal_mutable_account(); + const ::flex::NodeStats& _internal_node_stats() const; + ::flex::NodeStats* _internal_mutable_node_stats(); public: - // .flex.RemoteStorageTarget.S3 s3 = 1; - bool has_s3() const; - void clear_s3() ; - const ::flex::RemoteStorageTarget_S3& s3() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); - ::flex::RemoteStorageTarget_S3* mutable_s3(); - void set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - ::flex::RemoteStorageTarget_S3* unsafe_arena_release_s3(); + // bool is_ready = 1; + void clear_is_ready() ; + bool is_ready() const; + void set_is_ready(bool value); private: - const ::flex::RemoteStorageTarget_S3& _internal_s3() const; - ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); + bool _internal_is_ready() const; + void _internal_set_is_ready(bool value); public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.Azure) + // @@protoc_insertion_point(class_scope:flex.HeartbeatResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< 1, 2, 1, - 46, 2> + 0, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7084,11 +6971,11 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const RemoteStorageTarget_Azure& from_msg); + const HeartbeatResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr account_; - ::flex::RemoteStorageTarget_S3* s3_; + ::flex::NodeStats* node_stats_; + bool is_ready_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -7096,31 +6983,31 @@ class RemoteStorageTarget_Azure final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class MockJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.MockJob) */ { +class GetCapabilitiesResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.GetCapabilitiesResponse) */ { public: - inline MockJob() : MockJob(nullptr) {} - ~MockJob() PROTOBUF_FINAL; + inline GetCapabilitiesResponse() : GetCapabilitiesResponse(nullptr) {} + ~GetCapabilitiesResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MockJob* msg, std::destroying_delete_t) { + void operator delete(GetCapabilitiesResponse* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(MockJob)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR MockJob( + explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse( ::google::protobuf::internal::ConstantInitialized); - inline MockJob(const MockJob& from) : MockJob(nullptr, from) {} - inline MockJob(MockJob&& from) noexcept - : MockJob(nullptr, std::move(from)) {} - inline MockJob& operator=(const MockJob& from) { + inline GetCapabilitiesResponse(const GetCapabilitiesResponse& from) : GetCapabilitiesResponse(nullptr, from) {} + inline GetCapabilitiesResponse(GetCapabilitiesResponse&& from) noexcept + : GetCapabilitiesResponse(nullptr, std::move(from)) {} + inline GetCapabilitiesResponse& operator=(const GetCapabilitiesResponse& from) { CopyFrom(from); return *this; } - inline MockJob& operator=(MockJob&& from) noexcept { + inline GetCapabilitiesResponse& operator=(GetCapabilitiesResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -7148,16 +7035,16 @@ class MockJob final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const MockJob& default_instance() { + static const GetCapabilitiesResponse& default_instance() { return *internal_default_instance(); } - static inline const MockJob* internal_default_instance() { - return reinterpret_cast( - &_MockJob_default_instance_); + static inline const GetCapabilitiesResponse* internal_default_instance() { + return reinterpret_cast( + &_GetCapabilitiesResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 15; - friend void swap(MockJob& a, MockJob& b) { a.Swap(&b); } - inline void Swap(MockJob* other) { + static constexpr int kIndexInFileMessages = 37; + friend void swap(GetCapabilitiesResponse& a, GetCapabilitiesResponse& b) { a.Swap(&b); } + inline void Swap(GetCapabilitiesResponse* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7165,7 +7052,7 @@ class MockJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(MockJob* other) { + void UnsafeArenaSwap(GetCapabilitiesResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7173,13 +7060,13 @@ class MockJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - MockJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + GetCapabilitiesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const MockJob& from); + void CopyFrom(const GetCapabilitiesResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const MockJob& from) { MockJob::MergeImpl(*this, from); } + void MergeFrom(const GetCapabilitiesResponse& from) { GetCapabilitiesResponse::MergeImpl(*this, from); } private: static void MergeImpl( @@ -7216,18 +7103,18 @@ class MockJob final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(MockJob* other); + void InternalSwap(GetCapabilitiesResponse* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.MockJob"; } + static ::absl::string_view FullMessageName() { return "flex.GetCapabilitiesResponse"; } protected: - explicit MockJob(::google::protobuf::Arena* arena); - MockJob(::google::protobuf::Arena* arena, const MockJob& from); - MockJob(::google::protobuf::Arena* arena, MockJob&& from) noexcept - : MockJob(arena) { + explicit GetCapabilitiesResponse(::google::protobuf::Arena* arena); + GetCapabilitiesResponse(::google::protobuf::Arena* arena, const GetCapabilitiesResponse& from); + GetCapabilitiesResponse(::google::protobuf::Arena* arena, GetCapabilitiesResponse&& from) noexcept + : GetCapabilitiesResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -7242,96 +7129,62 @@ class MockJob final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kExternalIdFieldNumber = 3, - kLockedInfoFieldNumber = 6, - kCfgFieldNumber = 7, - kFileSizeFieldNumber = 2, - kNumTestSegmentsFieldNumber = 1, - kShouldFailFieldNumber = 4, + kFeaturesFieldNumber = 2, + kBuildInfoFieldNumber = 1, + kStartTimestampFieldNumber = 3, }; - // string external_id = 3; - void clear_external_id() ; - const std::string& external_id() const; - template - void set_external_id(Arg_&& arg, Args_... args); - std::string* mutable_external_id(); - PROTOBUF_NODISCARD std::string* release_external_id(); - void set_allocated_external_id(std::string* value); - + // map features = 2; + int features_size() const; private: - const std::string& _internal_external_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( - const std::string& value); - std::string* _internal_mutable_external_id(); + int _internal_features_size() const; public: - // .flex.JobLockedInfo locked_info = 6; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); + void clear_features() ; + const ::google::protobuf::Map& features() const; + ::google::protobuf::Map* mutable_features(); private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); + const ::google::protobuf::Map& _internal_features() const; + ::google::protobuf::Map* _internal_mutable_features(); public: - // .flex.JobRequestCfg cfg = 7; - bool has_cfg() const; - void clear_cfg() ; - const ::flex::JobRequestCfg& cfg() const; - PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); - ::flex::JobRequestCfg* mutable_cfg(); - void set_allocated_cfg(::flex::JobRequestCfg* value); - void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); - ::flex::JobRequestCfg* unsafe_arena_release_cfg(); + // .flex.BuildInfo build_info = 1; + bool has_build_info() const; + void clear_build_info() ; + const ::flex::BuildInfo& build_info() const; + PROTOBUF_NODISCARD ::flex::BuildInfo* release_build_info(); + ::flex::BuildInfo* mutable_build_info(); + void set_allocated_build_info(::flex::BuildInfo* value); + void unsafe_arena_set_allocated_build_info(::flex::BuildInfo* value); + ::flex::BuildInfo* unsafe_arena_release_build_info(); private: - const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); + const ::flex::BuildInfo& _internal_build_info() const; + ::flex::BuildInfo* _internal_mutable_build_info(); public: - // int64 file_size = 2; - void clear_file_size() ; - ::int64_t file_size() const; - void set_file_size(::int64_t value); - - private: - ::int64_t _internal_file_size() const; - void _internal_set_file_size(::int64_t value); - - public: - // int32 num_test_segments = 1; - void clear_num_test_segments() ; - ::int32_t num_test_segments() const; - void set_num_test_segments(::int32_t value); - - private: - ::int32_t _internal_num_test_segments() const; - void _internal_set_num_test_segments(::int32_t value); - - public: - // bool should_fail = 4; - void clear_should_fail() ; - bool should_fail() const; - void set_should_fail(bool value); + // .google.protobuf.Timestamp start_timestamp = 3; + bool has_start_timestamp() const; + void clear_start_timestamp() ; + const ::google::protobuf::Timestamp& start_timestamp() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_start_timestamp(); + ::google::protobuf::Timestamp* mutable_start_timestamp(); + void set_allocated_start_timestamp(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_start_timestamp(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_start_timestamp(); private: - bool _internal_should_fail() const; - void _internal_set_should_fail(bool value); + const ::google::protobuf::Timestamp& _internal_start_timestamp() const; + ::google::protobuf::Timestamp* _internal_mutable_start_timestamp(); public: - // @@protoc_insertion_point(class_scope:flex.MockJob) + // @@protoc_insertion_point(class_scope:flex.GetCapabilitiesResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 32, 2> + 2, 3, 4, + 45, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7347,15 +7200,15 @@ class MockJob final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const MockJob& from_msg); + const GetCapabilitiesResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::flex::JobLockedInfo* locked_info_; - ::flex::JobRequestCfg* cfg_; - ::int64_t file_size_; - ::int32_t num_test_segments_; - bool should_fail_; + ::google::protobuf::internal::MapField + features_; + ::flex::BuildInfo* build_info_; + ::google::protobuf::Timestamp* start_timestamp_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -7363,31 +7216,31 @@ class MockJob final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class BuilderJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BuilderJob) */ { +class UpdateWorkResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.UpdateWorkResponse) */ { public: - inline BuilderJob() : BuilderJob(nullptr) {} - ~BuilderJob() PROTOBUF_FINAL; + inline UpdateWorkResponse() : UpdateWorkResponse(nullptr) {} + ~UpdateWorkResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuilderJob* msg, std::destroying_delete_t) { + void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BuilderJob)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR BuilderJob( + explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( ::google::protobuf::internal::ConstantInitialized); - inline BuilderJob(const BuilderJob& from) : BuilderJob(nullptr, from) {} - inline BuilderJob(BuilderJob&& from) noexcept - : BuilderJob(nullptr, std::move(from)) {} - inline BuilderJob& operator=(const BuilderJob& from) { + inline UpdateWorkResponse(const UpdateWorkResponse& from) : UpdateWorkResponse(nullptr, from) {} + inline UpdateWorkResponse(UpdateWorkResponse&& from) noexcept + : UpdateWorkResponse(nullptr, std::move(from)) {} + inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { CopyFrom(from); return *this; } - inline BuilderJob& operator=(BuilderJob&& from) noexcept { + inline UpdateWorkResponse& operator=(UpdateWorkResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -7415,16 +7268,16 @@ class BuilderJob final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const BuilderJob& default_instance() { + static const UpdateWorkResponse& default_instance() { return *internal_default_instance(); } - static inline const BuilderJob* internal_default_instance() { - return reinterpret_cast( - &_BuilderJob_default_instance_); + static inline const UpdateWorkResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateWorkResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 14; - friend void swap(BuilderJob& a, BuilderJob& b) { a.Swap(&b); } - inline void Swap(BuilderJob* other) { + static constexpr int kIndexInFileMessages = 6; + friend void swap(UpdateWorkResponse& a, UpdateWorkResponse& b) { a.Swap(&b); } + inline void Swap(UpdateWorkResponse* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7432,7 +7285,7 @@ class BuilderJob final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(BuilderJob* other) { + void UnsafeArenaSwap(UpdateWorkResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7440,13 +7293,13 @@ class BuilderJob final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - BuilderJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BuilderJob& from); + void CopyFrom(const UpdateWorkResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BuilderJob& from) { BuilderJob::MergeImpl(*this, from); } + void MergeFrom(const UpdateWorkResponse& from) { UpdateWorkResponse::MergeImpl(*this, from); } private: static void MergeImpl( @@ -7483,18 +7336,18 @@ class BuilderJob final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(BuilderJob* other); + void InternalSwap(UpdateWorkResponse* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BuilderJob"; } + static ::absl::string_view FullMessageName() { return "flex.UpdateWorkResponse"; } protected: - explicit BuilderJob(::google::protobuf::Arena* arena); - BuilderJob(::google::protobuf::Arena* arena, const BuilderJob& from); - BuilderJob(::google::protobuf::Arena* arena, BuilderJob&& from) noexcept - : BuilderJob(arena) { + explicit UpdateWorkResponse(::google::protobuf::Arena* arena); + UpdateWorkResponse(::google::protobuf::Arena* arena, const UpdateWorkResponse& from); + UpdateWorkResponse(::google::protobuf::Arena* arena, UpdateWorkResponse&& from) noexcept + : UpdateWorkResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -7509,51 +7362,29 @@ class BuilderJob final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kCfgFieldNumber = 1, - kSubmittedFieldNumber = 2, - kErrorsFieldNumber = 3, + kWorkFieldNumber = 1, }; - // .flex.JobRequestCfg cfg = 1; - bool has_cfg() const; - void clear_cfg() ; - const ::flex::JobRequestCfg& cfg() const; - PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); - ::flex::JobRequestCfg* mutable_cfg(); - void set_allocated_cfg(::flex::JobRequestCfg* value); - void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); - ::flex::JobRequestCfg* unsafe_arena_release_cfg(); - - private: - const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); - - public: - // int32 submitted = 2; - void clear_submitted() ; - ::int32_t submitted() const; - void set_submitted(::int32_t value); - - private: - ::int32_t _internal_submitted() const; - void _internal_set_submitted(::int32_t value); - - public: - // int32 errors = 3; - void clear_errors() ; - ::int32_t errors() const; - void set_errors(::int32_t value); + // .flex.Work work = 1; + bool has_work() const; + void clear_work() ; + const ::flex::Work& work() const; + PROTOBUF_NODISCARD ::flex::Work* release_work(); + ::flex::Work* mutable_work(); + void set_allocated_work(::flex::Work* value); + void unsafe_arena_set_allocated_work(::flex::Work* value); + ::flex::Work* unsafe_arena_release_work(); private: - ::int32_t _internal_errors() const; - void _internal_set_errors(::int32_t value); + const ::flex::Work& _internal_work() const; + ::flex::Work* _internal_mutable_work(); public: - // @@protoc_insertion_point(class_scope:flex.BuilderJob) + // @@protoc_insertion_point(class_scope:flex.UpdateWorkResponse) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, + 0, 1, 1, 0, 2> _table_; @@ -7570,12 +7401,10 @@ class BuilderJob final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const BuilderJob& from_msg); + const UpdateWorkResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::JobRequestCfg* cfg_; - ::int32_t submitted_; - ::int32_t errors_; + ::flex::Work* work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -7583,31 +7412,31 @@ class BuilderJob final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class WorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.WorkRequest) */ { +class SubmitWorkResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.SubmitWorkResponse) */ { public: - inline WorkRequest() : WorkRequest(nullptr) {} - ~WorkRequest() PROTOBUF_FINAL; + inline SubmitWorkResponse() : SubmitWorkResponse(nullptr) {} + ~SubmitWorkResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(WorkRequest* msg, std::destroying_delete_t) { + void operator delete(SubmitWorkResponse* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkRequest)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkResponse)); } #endif template - explicit PROTOBUF_CONSTEXPR WorkRequest( + explicit PROTOBUF_CONSTEXPR SubmitWorkResponse( ::google::protobuf::internal::ConstantInitialized); - inline WorkRequest(const WorkRequest& from) : WorkRequest(nullptr, from) {} - inline WorkRequest(WorkRequest&& from) noexcept - : WorkRequest(nullptr, std::move(from)) {} - inline WorkRequest& operator=(const WorkRequest& from) { + inline SubmitWorkResponse(const SubmitWorkResponse& from) : SubmitWorkResponse(nullptr, from) {} + inline SubmitWorkResponse(SubmitWorkResponse&& from) noexcept + : SubmitWorkResponse(nullptr, std::move(from)) {} + inline SubmitWorkResponse& operator=(const SubmitWorkResponse& from) { CopyFrom(from); return *this; } - inline WorkRequest& operator=(WorkRequest&& from) noexcept { + inline SubmitWorkResponse& operator=(SubmitWorkResponse&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -7635,22 +7464,16 @@ class WorkRequest final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const WorkRequest& default_instance() { + static const SubmitWorkResponse& default_instance() { return *internal_default_instance(); } - enum TypeCase { - kMock = 10, - kSync = 11, - kBuilder = 12, - TYPE_NOT_SET = 0, - }; - static inline const WorkRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkRequest_default_instance_); + static inline const SubmitWorkResponse* internal_default_instance() { + return reinterpret_cast( + &_SubmitWorkResponse_default_instance_); } - static constexpr int kIndexInFileMessages = 13; - friend void swap(WorkRequest& a, WorkRequest& b) { a.Swap(&b); } - inline void Swap(WorkRequest* other) { + static constexpr int kIndexInFileMessages = 4; + friend void swap(SubmitWorkResponse& a, SubmitWorkResponse& b) { a.Swap(&b); } + inline void Swap(SubmitWorkResponse* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -7658,7 +7481,7 @@ class WorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(WorkRequest* other) { + void UnsafeArenaSwap(SubmitWorkResponse* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -7666,13 +7489,13 @@ class WorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - WorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + SubmitWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const WorkRequest& from); + void CopyFrom(const SubmitWorkResponse& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const WorkRequest& from) { WorkRequest::MergeImpl(*this, from); } + void MergeFrom(const SubmitWorkResponse& from) { SubmitWorkResponse::MergeImpl(*this, from); } private: static void MergeImpl( @@ -7709,18 +7532,18 @@ class WorkRequest final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(WorkRequest* other); + void InternalSwap(SubmitWorkResponse* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.WorkRequest"; } + static ::absl::string_view FullMessageName() { return "flex.SubmitWorkResponse"; } protected: - explicit WorkRequest(::google::protobuf::Arena* arena); - WorkRequest(::google::protobuf::Arena* arena, const WorkRequest& from); - WorkRequest(::google::protobuf::Arena* arena, WorkRequest&& from) noexcept - : WorkRequest(arena) { + explicit SubmitWorkResponse(::google::protobuf::Arena* arena); + SubmitWorkResponse(::google::protobuf::Arena* arena, const SubmitWorkResponse& from); + SubmitWorkResponse(::google::protobuf::Arena* arena, SubmitWorkResponse&& from) noexcept + : SubmitWorkResponse(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -7732,227 +7555,33 @@ class WorkRequest final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using Segment = WorkRequest_Segment; // accessors ------------------------------------------------------- enum : int { - kJobIdFieldNumber = 1, - kRequestIdFieldNumber = 2, - kExternalIdFieldNumber = 3, - kPathFieldNumber = 4, - kSegmentFieldNumber = 5, - kRemoteStorageTargetFieldNumber = 6, - kStubLocalFieldNumber = 8, - kPriorityFieldNumber = 9, - kRestorePolicyFieldNumber = 13, - kCooldownSecsFieldNumber = 14, - kMockFieldNumber = 10, - kSyncFieldNumber = 11, - kBuilderFieldNumber = 12, + kWorkFieldNumber = 1, }; - // string job_id = 1; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // string request_id = 2; - void clear_request_id() ; - const std::string& request_id() const; - template - void set_request_id(Arg_&& arg, Args_... args); - std::string* mutable_request_id(); - PROTOBUF_NODISCARD std::string* release_request_id(); - void set_allocated_request_id(std::string* value); - - private: - const std::string& _internal_request_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( - const std::string& value); - std::string* _internal_mutable_request_id(); - - public: - // string external_id = 3; - void clear_external_id() ; - const std::string& external_id() const; - template - void set_external_id(Arg_&& arg, Args_... args); - std::string* mutable_external_id(); - PROTOBUF_NODISCARD std::string* release_external_id(); - void set_allocated_external_id(std::string* value); - - private: - const std::string& _internal_external_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( - const std::string& value); - std::string* _internal_mutable_external_id(); - - public: - // string path = 4; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // .flex.WorkRequest.Segment segment = 5; - bool has_segment() const; - void clear_segment() ; - const ::flex::WorkRequest_Segment& segment() const; - PROTOBUF_NODISCARD ::flex::WorkRequest_Segment* release_segment(); - ::flex::WorkRequest_Segment* mutable_segment(); - void set_allocated_segment(::flex::WorkRequest_Segment* value); - void unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value); - ::flex::WorkRequest_Segment* unsafe_arena_release_segment(); - - private: - const ::flex::WorkRequest_Segment& _internal_segment() const; - ::flex::WorkRequest_Segment* _internal_mutable_segment(); - - public: - // uint32 remote_storage_target = 6; - void clear_remote_storage_target() ; - ::uint32_t remote_storage_target() const; - void set_remote_storage_target(::uint32_t value); - - private: - ::uint32_t _internal_remote_storage_target() const; - void _internal_set_remote_storage_target(::uint32_t value); - - public: - // bool stub_local = 8; - void clear_stub_local() ; - bool stub_local() const; - void set_stub_local(bool value); - - private: - bool _internal_stub_local() const; - void _internal_set_stub_local(bool value); - - public: - // optional int32 priority = 9; - bool has_priority() const; - void clear_priority() ; - ::int32_t priority() const; - void set_priority(::int32_t value); - - private: - ::int32_t _internal_priority() const; - void _internal_set_priority(::int32_t value); - - public: - // optional .flex.RestorePolicy restore_policy = 13; - bool has_restore_policy() const; - void clear_restore_policy() ; - ::flex::RestorePolicy restore_policy() const; - void set_restore_policy(::flex::RestorePolicy value); - - private: - ::flex::RestorePolicy _internal_restore_policy() const; - void _internal_set_restore_policy(::flex::RestorePolicy value); - - public: - // optional uint32 cooldown_secs = 14; - bool has_cooldown_secs() const; - void clear_cooldown_secs() ; - ::uint32_t cooldown_secs() const; - void set_cooldown_secs(::uint32_t value); - - private: - ::uint32_t _internal_cooldown_secs() const; - void _internal_set_cooldown_secs(::uint32_t value); - - public: - // .flex.MockJob mock = 10; - bool has_mock() const; - private: - bool _internal_has_mock() const; - - public: - void clear_mock() ; - const ::flex::MockJob& mock() const; - PROTOBUF_NODISCARD ::flex::MockJob* release_mock(); - ::flex::MockJob* mutable_mock(); - void set_allocated_mock(::flex::MockJob* value); - void unsafe_arena_set_allocated_mock(::flex::MockJob* value); - ::flex::MockJob* unsafe_arena_release_mock(); - - private: - const ::flex::MockJob& _internal_mock() const; - ::flex::MockJob* _internal_mutable_mock(); - - public: - // .flex.SyncJob sync = 11; - bool has_sync() const; - private: - bool _internal_has_sync() const; - - public: - void clear_sync() ; - const ::flex::SyncJob& sync() const; - PROTOBUF_NODISCARD ::flex::SyncJob* release_sync(); - ::flex::SyncJob* mutable_sync(); - void set_allocated_sync(::flex::SyncJob* value); - void unsafe_arena_set_allocated_sync(::flex::SyncJob* value); - ::flex::SyncJob* unsafe_arena_release_sync(); - - private: - const ::flex::SyncJob& _internal_sync() const; - ::flex::SyncJob* _internal_mutable_sync(); - - public: - // .flex.BuilderJob builder = 12; - bool has_builder() const; - private: - bool _internal_has_builder() const; - - public: - void clear_builder() ; - const ::flex::BuilderJob& builder() const; - PROTOBUF_NODISCARD ::flex::BuilderJob* release_builder(); - ::flex::BuilderJob* mutable_builder(); - void set_allocated_builder(::flex::BuilderJob* value); - void unsafe_arena_set_allocated_builder(::flex::BuilderJob* value); - ::flex::BuilderJob* unsafe_arena_release_builder(); + // .flex.Work work = 1; + bool has_work() const; + void clear_work() ; + const ::flex::Work& work() const; + PROTOBUF_NODISCARD ::flex::Work* release_work(); + ::flex::Work* mutable_work(); + void set_allocated_work(::flex::Work* value); + void unsafe_arena_set_allocated_work(::flex::Work* value); + ::flex::Work* unsafe_arena_release_work(); private: - const ::flex::BuilderJob& _internal_builder() const; - ::flex::BuilderJob* _internal_mutable_builder(); + const ::flex::Work& _internal_work() const; + ::flex::Work* _internal_mutable_work(); public: - void clear_Type(); - TypeCase Type_case() const; - // @@protoc_insertion_point(class_scope:flex.WorkRequest) + // @@protoc_insertion_point(class_scope:flex.SubmitWorkResponse) private: class _Internal; - void set_has_mock(); - void set_has_sync(); - void set_has_builder(); - inline bool has_Type() const; - inline void clear_has_Type(); friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 4, 13, 4, - 64, 2> + 0, 1, 1, + 0, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -7968,27 +7597,10 @@ class WorkRequest final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const WorkRequest& from_msg); + const SubmitWorkResponse& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::flex::WorkRequest_Segment* segment_; - ::uint32_t remote_storage_target_; - bool stub_local_; - ::int32_t priority_; - int restore_policy_; - ::uint32_t cooldown_secs_; - union TypeUnion { - constexpr TypeUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::MockJob* mock_; - ::flex::SyncJob* sync_; - ::flex::BuilderJob* builder_; - } Type_; - ::uint32_t _oneof_case_[1]; + ::flex::Work* work_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -7996,31 +7608,31 @@ class WorkRequest final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class RemoteStorageTarget final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget) */ { +class RemoteStorageTarget_XtreemStore final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.XtreemStore) */ { public: - inline RemoteStorageTarget() : RemoteStorageTarget(nullptr) {} - ~RemoteStorageTarget() PROTOBUF_FINAL; + inline RemoteStorageTarget_XtreemStore() : RemoteStorageTarget_XtreemStore(nullptr) {} + ~RemoteStorageTarget_XtreemStore() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_XtreemStore* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_XtreemStore)); } #endif template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget( + explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_XtreemStore( ::google::protobuf::internal::ConstantInitialized); - inline RemoteStorageTarget(const RemoteStorageTarget& from) : RemoteStorageTarget(nullptr, from) {} - inline RemoteStorageTarget(RemoteStorageTarget&& from) noexcept - : RemoteStorageTarget(nullptr, std::move(from)) {} - inline RemoteStorageTarget& operator=(const RemoteStorageTarget& from) { + inline RemoteStorageTarget_XtreemStore(const RemoteStorageTarget_XtreemStore& from) : RemoteStorageTarget_XtreemStore(nullptr, from) {} + inline RemoteStorageTarget_XtreemStore(RemoteStorageTarget_XtreemStore&& from) noexcept + : RemoteStorageTarget_XtreemStore(nullptr, std::move(from)) {} + inline RemoteStorageTarget_XtreemStore& operator=(const RemoteStorageTarget_XtreemStore& from) { CopyFrom(from); return *this; } - inline RemoteStorageTarget& operator=(RemoteStorageTarget&& from) noexcept { + inline RemoteStorageTarget_XtreemStore& operator=(RemoteStorageTarget_XtreemStore&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -8048,23 +7660,16 @@ class RemoteStorageTarget final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const RemoteStorageTarget& default_instance() { + static const RemoteStorageTarget_XtreemStore& default_instance() { return *internal_default_instance(); } - enum TypeCase { - kS3 = 4, - kPosix = 5, - kAzure = 6, - kMock = 7, - TYPE_NOT_SET = 0, - }; - static inline const RemoteStorageTarget* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_default_instance_); + static inline const RemoteStorageTarget_XtreemStore* internal_default_instance() { + return reinterpret_cast( + &_RemoteStorageTarget_XtreemStore_default_instance_); } - static constexpr int kIndexInFileMessages = 30; - friend void swap(RemoteStorageTarget& a, RemoteStorageTarget& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget* other) { + static constexpr int kIndexInFileMessages = 32; + friend void swap(RemoteStorageTarget_XtreemStore& a, RemoteStorageTarget_XtreemStore& b) { a.Swap(&b); } + inline void Swap(RemoteStorageTarget_XtreemStore* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8072,7 +7677,7 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(RemoteStorageTarget* other) { + void UnsafeArenaSwap(RemoteStorageTarget_XtreemStore* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8080,13 +7685,13 @@ class RemoteStorageTarget final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - RemoteStorageTarget* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + RemoteStorageTarget_XtreemStore* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget& from); + void CopyFrom(const RemoteStorageTarget_XtreemStore& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget& from) { RemoteStorageTarget::MergeImpl(*this, from); } + void MergeFrom(const RemoteStorageTarget_XtreemStore& from) { RemoteStorageTarget_XtreemStore::MergeImpl(*this, from); } private: static void MergeImpl( @@ -8123,18 +7728,18 @@ class RemoteStorageTarget final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(RemoteStorageTarget* other); + void InternalSwap(RemoteStorageTarget_XtreemStore* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget"; } + static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.XtreemStore"; } protected: - explicit RemoteStorageTarget(::google::protobuf::Arena* arena); - RemoteStorageTarget(::google::protobuf::Arena* arena, const RemoteStorageTarget& from); - RemoteStorageTarget(::google::protobuf::Arena* arena, RemoteStorageTarget&& from) noexcept - : RemoteStorageTarget(arena) { + explicit RemoteStorageTarget_XtreemStore(::google::protobuf::Arena* arena); + RemoteStorageTarget_XtreemStore(::google::protobuf::Arena* arena, const RemoteStorageTarget_XtreemStore& from); + RemoteStorageTarget_XtreemStore(::google::protobuf::Arena* arena, RemoteStorageTarget_XtreemStore&& from) noexcept + : RemoteStorageTarget_XtreemStore(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -8146,68 +7751,13 @@ class RemoteStorageTarget final : public ::google::protobuf::Message public: ::google::protobuf::Metadata GetMetadata() const; // nested types ---------------------------------------------------- - using Policies = RemoteStorageTarget_Policies; - using S3 = RemoteStorageTarget_S3; - using Azure = RemoteStorageTarget_Azure; - using POSIX = RemoteStorageTarget_POSIX; // accessors ------------------------------------------------------- enum : int { - kNameFieldNumber = 2, - kPoliciesFieldNumber = 3, - kIdFieldNumber = 1, - kS3FieldNumber = 4, - kPosixFieldNumber = 5, - kAzureFieldNumber = 6, - kMockFieldNumber = 7, + kS3FieldNumber = 1, }; - // string name = 2; - void clear_name() ; - const std::string& name() const; - template - void set_name(Arg_&& arg, Args_... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* value); - - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); - - public: - // .flex.RemoteStorageTarget.Policies policies = 3; - bool has_policies() const; - void clear_policies() ; - const ::flex::RemoteStorageTarget_Policies& policies() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Policies* release_policies(); - ::flex::RemoteStorageTarget_Policies* mutable_policies(); - void set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); - void unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); - ::flex::RemoteStorageTarget_Policies* unsafe_arena_release_policies(); - - private: - const ::flex::RemoteStorageTarget_Policies& _internal_policies() const; - ::flex::RemoteStorageTarget_Policies* _internal_mutable_policies(); - - public: - // uint32 id = 1; - void clear_id() ; - ::uint32_t id() const; - void set_id(::uint32_t value); - - private: - ::uint32_t _internal_id() const; - void _internal_set_id(::uint32_t value); - - public: - // .flex.RemoteStorageTarget.S3 s3 = 4; + // .flex.RemoteStorageTarget.S3 s3 = 1; bool has_s3() const; - private: - bool _internal_has_s3() const; - - public: void clear_s3() ; const ::flex::RemoteStorageTarget_S3& s3() const; PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); @@ -8221,76 +7771,13 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); public: - // .flex.RemoteStorageTarget.POSIX posix = 5; - bool has_posix() const; - private: - bool _internal_has_posix() const; - - public: - void clear_posix() ; - const ::flex::RemoteStorageTarget_POSIX& posix() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_POSIX* release_posix(); - ::flex::RemoteStorageTarget_POSIX* mutable_posix(); - void set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); - void unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); - ::flex::RemoteStorageTarget_POSIX* unsafe_arena_release_posix(); - - private: - const ::flex::RemoteStorageTarget_POSIX& _internal_posix() const; - ::flex::RemoteStorageTarget_POSIX* _internal_mutable_posix(); - - public: - // .flex.RemoteStorageTarget.Azure azure = 6; - bool has_azure() const; - private: - bool _internal_has_azure() const; - - public: - void clear_azure() ; - const ::flex::RemoteStorageTarget_Azure& azure() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Azure* release_azure(); - ::flex::RemoteStorageTarget_Azure* mutable_azure(); - void set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); - void unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); - ::flex::RemoteStorageTarget_Azure* unsafe_arena_release_azure(); - - private: - const ::flex::RemoteStorageTarget_Azure& _internal_azure() const; - ::flex::RemoteStorageTarget_Azure* _internal_mutable_azure(); - - public: - // string mock = 7; - bool has_mock() const; - void clear_mock() ; - const std::string& mock() const; - template - void set_mock(Arg_&& arg, Args_... args); - std::string* mutable_mock(); - PROTOBUF_NODISCARD std::string* release_mock(); - void set_allocated_mock(std::string* value); - - private: - const std::string& _internal_mock() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mock( - const std::string& value); - std::string* _internal_mutable_mock(); - - public: - void clear_type(); - TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget) + // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.XtreemStore) private: class _Internal; - void set_has_s3(); - void set_has_posix(); - void set_has_azure(); - void set_has_mock(); - inline bool has_type() const; - inline void clear_has_type(); friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 2, 7, 4, - 41, 2> + 0, 1, 1, + 0, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8306,21 +7793,10 @@ class RemoteStorageTarget final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const RemoteStorageTarget& from_msg); + const RemoteStorageTarget_XtreemStore& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flex::RemoteStorageTarget_Policies* policies_; - ::uint32_t id_; - union TypeUnion { - constexpr TypeUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::RemoteStorageTarget_S3* s3_; - ::flex::RemoteStorageTarget_POSIX* posix_; - ::flex::RemoteStorageTarget_Azure* azure_; - ::google::protobuf::internal::ArenaStringPtr mock_; - } type_; - ::uint32_t _oneof_case_[1]; + ::flex::RemoteStorageTarget_S3* s3_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -8328,31 +7804,31 @@ class RemoteStorageTarget final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class UpdateConfigRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateConfigRequest) */ { +class RemoteStorageTarget_Azure final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.Azure) */ { public: - inline UpdateConfigRequest() : UpdateConfigRequest(nullptr) {} - ~UpdateConfigRequest() PROTOBUF_FINAL; + inline RemoteStorageTarget_Azure() : RemoteStorageTarget_Azure(nullptr) {} + ~RemoteStorageTarget_Azure() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateConfigRequest* msg, std::destroying_delete_t) { + void operator delete(RemoteStorageTarget_Azure* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigRequest)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_Azure)); } #endif template - explicit PROTOBUF_CONSTEXPR UpdateConfigRequest( + explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_Azure( ::google::protobuf::internal::ConstantInitialized); - inline UpdateConfigRequest(const UpdateConfigRequest& from) : UpdateConfigRequest(nullptr, from) {} - inline UpdateConfigRequest(UpdateConfigRequest&& from) noexcept - : UpdateConfigRequest(nullptr, std::move(from)) {} - inline UpdateConfigRequest& operator=(const UpdateConfigRequest& from) { + inline RemoteStorageTarget_Azure(const RemoteStorageTarget_Azure& from) : RemoteStorageTarget_Azure(nullptr, from) {} + inline RemoteStorageTarget_Azure(RemoteStorageTarget_Azure&& from) noexcept + : RemoteStorageTarget_Azure(nullptr, std::move(from)) {} + inline RemoteStorageTarget_Azure& operator=(const RemoteStorageTarget_Azure& from) { CopyFrom(from); return *this; } - inline UpdateConfigRequest& operator=(UpdateConfigRequest&& from) noexcept { + inline RemoteStorageTarget_Azure& operator=(RemoteStorageTarget_Azure&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -8380,16 +7856,16 @@ class UpdateConfigRequest final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UpdateConfigRequest& default_instance() { + static const RemoteStorageTarget_Azure& default_instance() { return *internal_default_instance(); } - static inline const UpdateConfigRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateConfigRequest_default_instance_); + static inline const RemoteStorageTarget_Azure* internal_default_instance() { + return reinterpret_cast( + &_RemoteStorageTarget_Azure_default_instance_); } - static constexpr int kIndexInFileMessages = 21; - friend void swap(UpdateConfigRequest& a, UpdateConfigRequest& b) { a.Swap(&b); } - inline void Swap(UpdateConfigRequest* other) { + static constexpr int kIndexInFileMessages = 31; + friend void swap(RemoteStorageTarget_Azure& a, RemoteStorageTarget_Azure& b) { a.Swap(&b); } + inline void Swap(RemoteStorageTarget_Azure* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8397,7 +7873,7 @@ class UpdateConfigRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UpdateConfigRequest* other) { + void UnsafeArenaSwap(RemoteStorageTarget_Azure* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8405,13 +7881,13 @@ class UpdateConfigRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - UpdateConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + RemoteStorageTarget_Azure* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateConfigRequest& from); + void CopyFrom(const RemoteStorageTarget_Azure& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateConfigRequest& from) { UpdateConfigRequest::MergeImpl(*this, from); } + void MergeFrom(const RemoteStorageTarget_Azure& from) { RemoteStorageTarget_Azure::MergeImpl(*this, from); } private: static void MergeImpl( @@ -8448,18 +7924,18 @@ class UpdateConfigRequest final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(UpdateConfigRequest* other); + void InternalSwap(RemoteStorageTarget_Azure* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateConfigRequest"; } + static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.Azure"; } protected: - explicit UpdateConfigRequest(::google::protobuf::Arena* arena); - UpdateConfigRequest(::google::protobuf::Arena* arena, const UpdateConfigRequest& from); - UpdateConfigRequest(::google::protobuf::Arena* arena, UpdateConfigRequest&& from) noexcept - : UpdateConfigRequest(arena) { + explicit RemoteStorageTarget_Azure(::google::protobuf::Arena* arena); + RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, const RemoteStorageTarget_Azure& from); + RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, RemoteStorageTarget_Azure&& from) noexcept + : RemoteStorageTarget_Azure(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -8474,48 +7950,47 @@ class UpdateConfigRequest final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kRstsFieldNumber = 2, - kBeeRemoteFieldNumber = 1, + kAccountFieldNumber = 2, + kS3FieldNumber = 1, }; - // repeated .flex.RemoteStorageTarget rsts = 2; - int rsts_size() const; + // string account = 2; + void clear_account() ; + const std::string& account() const; + template + void set_account(Arg_&& arg, Args_... args); + std::string* mutable_account(); + PROTOBUF_NODISCARD std::string* release_account(); + void set_allocated_account(std::string* value); + private: - int _internal_rsts_size() const; + const std::string& _internal_account() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_account( + const std::string& value); + std::string* _internal_mutable_account(); public: - void clear_rsts() ; - ::flex::RemoteStorageTarget* mutable_rsts(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); + // .flex.RemoteStorageTarget.S3 s3 = 1; + bool has_s3() const; + void clear_s3() ; + const ::flex::RemoteStorageTarget_S3& s3() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); + ::flex::RemoteStorageTarget_S3* mutable_s3(); + void set_allocated_s3(::flex::RemoteStorageTarget_S3* value); + void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value); + ::flex::RemoteStorageTarget_S3* unsafe_arena_release_s3(); private: - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); - public: - const ::flex::RemoteStorageTarget& rsts(int index) const; - ::flex::RemoteStorageTarget* add_rsts(); - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& rsts() const; - // .flex.BeeRemoteNode bee_remote = 1; - bool has_bee_remote() const; - void clear_bee_remote() ; - const ::flex::BeeRemoteNode& bee_remote() const; - PROTOBUF_NODISCARD ::flex::BeeRemoteNode* release_bee_remote(); - ::flex::BeeRemoteNode* mutable_bee_remote(); - void set_allocated_bee_remote(::flex::BeeRemoteNode* value); - void unsafe_arena_set_allocated_bee_remote(::flex::BeeRemoteNode* value); - ::flex::BeeRemoteNode* unsafe_arena_release_bee_remote(); - - private: - const ::flex::BeeRemoteNode& _internal_bee_remote() const; - ::flex::BeeRemoteNode* _internal_mutable_bee_remote(); + const ::flex::RemoteStorageTarget_S3& _internal_s3() const; + ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); public: - // @@protoc_insertion_point(class_scope:flex.UpdateConfigRequest) + // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.Azure) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 1, 2, 2, - 0, 2> + 1, 2, 1, + 46, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8531,11 +8006,11 @@ class UpdateConfigRequest final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const UpdateConfigRequest& from_msg); + const RemoteStorageTarget_Azure& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget > rsts_; - ::flex::BeeRemoteNode* bee_remote_; + ::google::protobuf::internal::ArenaStringPtr account_; + ::flex::RemoteStorageTarget_S3* s3_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; @@ -8543,31 +8018,31 @@ class UpdateConfigRequest final : public ::google::protobuf::Message }; // ------------------------------------------------------------------- -class SubmitWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SubmitWorkRequest) */ { +class MockJob final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.MockJob) */ { public: - inline SubmitWorkRequest() : SubmitWorkRequest(nullptr) {} - ~SubmitWorkRequest() PROTOBUF_FINAL; + inline MockJob() : MockJob(nullptr) {} + ~MockJob() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitWorkRequest* msg, std::destroying_delete_t) { + void operator delete(MockJob* msg, std::destroying_delete_t) { SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkRequest)); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MockJob)); } #endif template - explicit PROTOBUF_CONSTEXPR SubmitWorkRequest( + explicit PROTOBUF_CONSTEXPR MockJob( ::google::protobuf::internal::ConstantInitialized); - inline SubmitWorkRequest(const SubmitWorkRequest& from) : SubmitWorkRequest(nullptr, from) {} - inline SubmitWorkRequest(SubmitWorkRequest&& from) noexcept - : SubmitWorkRequest(nullptr, std::move(from)) {} - inline SubmitWorkRequest& operator=(const SubmitWorkRequest& from) { + inline MockJob(const MockJob& from) : MockJob(nullptr, from) {} + inline MockJob(MockJob&& from) noexcept + : MockJob(nullptr, std::move(from)) {} + inline MockJob& operator=(const MockJob& from) { CopyFrom(from); return *this; } - inline SubmitWorkRequest& operator=(SubmitWorkRequest&& from) noexcept { + inline MockJob& operator=(MockJob&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); @@ -8595,16 +8070,16 @@ class SubmitWorkRequest final : public ::google::protobuf::Message static const ::google::protobuf::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SubmitWorkRequest& default_instance() { + static const MockJob& default_instance() { return *internal_default_instance(); } - static inline const SubmitWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_SubmitWorkRequest_default_instance_); + static inline const MockJob* internal_default_instance() { + return reinterpret_cast( + &_MockJob_default_instance_); } - static constexpr int kIndexInFileMessages = 3; - friend void swap(SubmitWorkRequest& a, SubmitWorkRequest& b) { a.Swap(&b); } - inline void Swap(SubmitWorkRequest* other) { + static constexpr int kIndexInFileMessages = 17; + friend void swap(MockJob& a, MockJob& b) { a.Swap(&b); } + inline void Swap(MockJob* other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); @@ -8612,7 +8087,7 @@ class SubmitWorkRequest final : public ::google::protobuf::Message ::google::protobuf::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SubmitWorkRequest* other) { + void UnsafeArenaSwap(MockJob* other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); @@ -8620,13 +8095,13 @@ class SubmitWorkRequest final : public ::google::protobuf::Message // implements Message ---------------------------------------------- - SubmitWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); + MockJob* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); } using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitWorkRequest& from); + void CopyFrom(const MockJob& from); using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitWorkRequest& from) { SubmitWorkRequest::MergeImpl(*this, from); } + void MergeFrom(const MockJob& from) { MockJob::MergeImpl(*this, from); } private: static void MergeImpl( @@ -8663,18 +8138,18 @@ class SubmitWorkRequest final : public ::google::protobuf::Message private: void SharedCtor(::google::protobuf::Arena* arena); static void SharedDtor(MessageLite& self); - void InternalSwap(SubmitWorkRequest* other); + void InternalSwap(MockJob* other); private: template friend ::absl::string_view( ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SubmitWorkRequest"; } + static ::absl::string_view FullMessageName() { return "flex.MockJob"; } protected: - explicit SubmitWorkRequest(::google::protobuf::Arena* arena); - SubmitWorkRequest(::google::protobuf::Arena* arena, const SubmitWorkRequest& from); - SubmitWorkRequest(::google::protobuf::Arena* arena, SubmitWorkRequest&& from) noexcept - : SubmitWorkRequest(arena) { + explicit MockJob(::google::protobuf::Arena* arena); + MockJob(::google::protobuf::Arena* arena, const MockJob& from); + MockJob(::google::protobuf::Arena* arena, MockJob&& from) noexcept + : MockJob(arena) { *this = ::std::move(from); } const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; @@ -8689,30 +8164,96 @@ class SubmitWorkRequest final : public ::google::protobuf::Message // accessors ------------------------------------------------------- enum : int { - kRequestFieldNumber = 1, + kExternalIdFieldNumber = 3, + kLockedInfoFieldNumber = 6, + kCfgFieldNumber = 7, + kFileSizeFieldNumber = 2, + kNumTestSegmentsFieldNumber = 1, + kShouldFailFieldNumber = 4, }; - // .flex.WorkRequest request = 1; - bool has_request() const; - void clear_request() ; - const ::flex::WorkRequest& request() const; - PROTOBUF_NODISCARD ::flex::WorkRequest* release_request(); - ::flex::WorkRequest* mutable_request(); - void set_allocated_request(::flex::WorkRequest* value); - void unsafe_arena_set_allocated_request(::flex::WorkRequest* value); - ::flex::WorkRequest* unsafe_arena_release_request(); + // string external_id = 3; + void clear_external_id() ; + const std::string& external_id() const; + template + void set_external_id(Arg_&& arg, Args_... args); + std::string* mutable_external_id(); + PROTOBUF_NODISCARD std::string* release_external_id(); + void set_allocated_external_id(std::string* value); private: - const ::flex::WorkRequest& _internal_request() const; - ::flex::WorkRequest* _internal_mutable_request(); + const std::string& _internal_external_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( + const std::string& value); + std::string* _internal_mutable_external_id(); public: - // @@protoc_insertion_point(class_scope:flex.SubmitWorkRequest) + // .flex.JobLockedInfo locked_info = 6; + bool has_locked_info() const; + void clear_locked_info() ; + const ::flex::JobLockedInfo& locked_info() const; + PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); + ::flex::JobLockedInfo* mutable_locked_info(); + void set_allocated_locked_info(::flex::JobLockedInfo* value); + void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); + ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); + + private: + const ::flex::JobLockedInfo& _internal_locked_info() const; + ::flex::JobLockedInfo* _internal_mutable_locked_info(); + + public: + // .flex.JobRequestCfg cfg = 7; + bool has_cfg() const; + void clear_cfg() ; + const ::flex::JobRequestCfg& cfg() const; + PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); + ::flex::JobRequestCfg* mutable_cfg(); + void set_allocated_cfg(::flex::JobRequestCfg* value); + void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); + ::flex::JobRequestCfg* unsafe_arena_release_cfg(); + + private: + const ::flex::JobRequestCfg& _internal_cfg() const; + ::flex::JobRequestCfg* _internal_mutable_cfg(); + + public: + // int64 file_size = 2; + void clear_file_size() ; + ::int64_t file_size() const; + void set_file_size(::int64_t value); + + private: + ::int64_t _internal_file_size() const; + void _internal_set_file_size(::int64_t value); + + public: + // int32 num_test_segments = 1; + void clear_num_test_segments() ; + ::int32_t num_test_segments() const; + void set_num_test_segments(::int32_t value); + + private: + ::int32_t _internal_num_test_segments() const; + void _internal_set_num_test_segments(::int32_t value); + + public: + // bool should_fail = 4; + void clear_should_fail() ; + bool should_fail() const; + void set_should_fail(bool value); + + private: + bool _internal_should_fail() const; + void _internal_set_should_fail(bool value); + + public: + // @@protoc_insertion_point(class_scope:flex.MockJob) private: class _Internal; friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 0, 1, 1, - 0, 2> + 3, 6, 2, + 32, 2> _table_; friend class ::google::protobuf::MessageLite; @@ -8728,119 +8269,1923 @@ class SubmitWorkRequest final : public ::google::protobuf::Message ::google::protobuf::Arena* arena); inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from, - const SubmitWorkRequest& from_msg); + const MockJob& from_msg); ::google::protobuf::internal::HasBits<1> _has_bits_; ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::WorkRequest* request_; + ::google::protobuf::internal::ArenaStringPtr external_id_; + ::flex::JobLockedInfo* locked_info_; + ::flex::JobRequestCfg* cfg_; + ::int64_t file_size_; + ::int32_t num_test_segments_; + bool should_fail_; PROTOBUF_TSAN_DECLARE_MEMBER }; union { Impl_ _impl_; }; friend struct ::TableStruct_flex_2eproto; }; +// ------------------------------------------------------------------- -// =================================================================== +class BuilderJob final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.BuilderJob) */ { + public: + inline BuilderJob() : BuilderJob(nullptr) {} + ~BuilderJob() PROTOBUF_FINAL; +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BuilderJob* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BuilderJob)); + } +#endif + template + explicit PROTOBUF_CONSTEXPR BuilderJob( + ::google::protobuf::internal::ConstantInitialized); + inline BuilderJob(const BuilderJob& from) : BuilderJob(nullptr, from) {} + inline BuilderJob(BuilderJob&& from) noexcept + : BuilderJob(nullptr, std::move(from)) {} + inline BuilderJob& operator=(const BuilderJob& from) { + CopyFrom(from); + return *this; + } + inline BuilderJob& operator=(BuilderJob&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } -// =================================================================== + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BuilderJob& default_instance() { + return *internal_default_instance(); + } + static inline const BuilderJob* internal_default_instance() { + return reinterpret_cast( + &_BuilderJob_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(BuilderJob& a, BuilderJob& b) { a.Swap(&b); } + inline void Swap(BuilderJob* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BuilderJob* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- + // implements Message ---------------------------------------------- + + BuilderJob* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BuilderJob& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BuilderJob& from) { BuilderJob::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BuilderJob* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "flex.BuilderJob"; } + + protected: + explicit BuilderJob(::google::protobuf::Arena* arena); + BuilderJob(::google::protobuf::Arena* arena, const BuilderJob& from); + BuilderJob(::google::protobuf::Arena* arena, BuilderJob&& from) noexcept + : BuilderJob(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kBulkOperationsFieldNumber = 4, + kCfgFieldNumber = 1, + kSubmittedFieldNumber = 2, + kErrorsFieldNumber = 3, + kConflictsFieldNumber = 5, + }; + // repeated .flex.BulkOperation bulk_operations = 4; + int bulk_operations_size() const; + private: + int _internal_bulk_operations_size() const; + + public: + void clear_bulk_operations() ; + ::flex::BulkOperation* mutable_bulk_operations(int index); + ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* mutable_bulk_operations(); + + private: + const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& _internal_bulk_operations() const; + ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* _internal_mutable_bulk_operations(); + public: + const ::flex::BulkOperation& bulk_operations(int index) const; + ::flex::BulkOperation* add_bulk_operations(); + const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& bulk_operations() const; + // .flex.JobRequestCfg cfg = 1; + bool has_cfg() const; + void clear_cfg() ; + const ::flex::JobRequestCfg& cfg() const; + PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); + ::flex::JobRequestCfg* mutable_cfg(); + void set_allocated_cfg(::flex::JobRequestCfg* value); + void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); + ::flex::JobRequestCfg* unsafe_arena_release_cfg(); + + private: + const ::flex::JobRequestCfg& _internal_cfg() const; + ::flex::JobRequestCfg* _internal_mutable_cfg(); + + public: + // int32 submitted = 2; + void clear_submitted() ; + ::int32_t submitted() const; + void set_submitted(::int32_t value); + + private: + ::int32_t _internal_submitted() const; + void _internal_set_submitted(::int32_t value); + + public: + // int32 errors = 3; + void clear_errors() ; + ::int32_t errors() const; + void set_errors(::int32_t value); + + private: + ::int32_t _internal_errors() const; + void _internal_set_errors(::int32_t value); + + public: + // int32 conflicts = 5; + void clear_conflicts() ; + ::int32_t conflicts() const; + void set_conflicts(::int32_t value); + + private: + ::int32_t _internal_conflicts() const; + void _internal_set_conflicts(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:flex.BuilderJob) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BuilderJob& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::flex::BulkOperation > bulk_operations_; + ::flex::JobRequestCfg* cfg_; + ::int32_t submitted_; + ::int32_t errors_; + ::int32_t conflicts_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.WorkRequest) */ { + public: + inline WorkRequest() : WorkRequest(nullptr) {} + ~WorkRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WorkRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WorkRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline WorkRequest(const WorkRequest& from) : WorkRequest(nullptr, from) {} + inline WorkRequest(WorkRequest&& from) noexcept + : WorkRequest(nullptr, std::move(from)) {} + inline WorkRequest& operator=(const WorkRequest& from) { + CopyFrom(from); + return *this; + } + inline WorkRequest& operator=(WorkRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WorkRequest& default_instance() { + return *internal_default_instance(); + } + enum TypeCase { + kMock = 10, + kSync = 11, + kBuilder = 12, + TYPE_NOT_SET = 0, + }; + static inline const WorkRequest* internal_default_instance() { + return reinterpret_cast( + &_WorkRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(WorkRequest& a, WorkRequest& b) { a.Swap(&b); } + inline void Swap(WorkRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WorkRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const WorkRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const WorkRequest& from) { WorkRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(WorkRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "flex.WorkRequest"; } + + protected: + explicit WorkRequest(::google::protobuf::Arena* arena); + WorkRequest(::google::protobuf::Arena* arena, const WorkRequest& from); + WorkRequest(::google::protobuf::Arena* arena, WorkRequest&& from) noexcept + : WorkRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Segment = WorkRequest_Segment; + + // accessors ------------------------------------------------------- + enum : int { + kJobIdFieldNumber = 1, + kRequestIdFieldNumber = 2, + kExternalIdFieldNumber = 3, + kPathFieldNumber = 4, + kSegmentFieldNumber = 5, + kExecuteAfterFieldNumber = 15, + kDelayExecutionFieldNumber = 16, + kBulkInfoFieldNumber = 17, + kRemoteStorageTargetFieldNumber = 6, + kStubLocalFieldNumber = 8, + kPriorityFieldNumber = 9, + kRestorePolicyFieldNumber = 13, + kCooldownSecsFieldNumber = 14, + kMockFieldNumber = 10, + kSyncFieldNumber = 11, + kBuilderFieldNumber = 12, + }; + // string job_id = 1; + void clear_job_id() ; + const std::string& job_id() const; + template + void set_job_id(Arg_&& arg, Args_... args); + std::string* mutable_job_id(); + PROTOBUF_NODISCARD std::string* release_job_id(); + void set_allocated_job_id(std::string* value); + + private: + const std::string& _internal_job_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( + const std::string& value); + std::string* _internal_mutable_job_id(); + + public: + // string request_id = 2; + void clear_request_id() ; + const std::string& request_id() const; + template + void set_request_id(Arg_&& arg, Args_... args); + std::string* mutable_request_id(); + PROTOBUF_NODISCARD std::string* release_request_id(); + void set_allocated_request_id(std::string* value); + + private: + const std::string& _internal_request_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( + const std::string& value); + std::string* _internal_mutable_request_id(); + + public: + // string external_id = 3; + void clear_external_id() ; + const std::string& external_id() const; + template + void set_external_id(Arg_&& arg, Args_... args); + std::string* mutable_external_id(); + PROTOBUF_NODISCARD std::string* release_external_id(); + void set_allocated_external_id(std::string* value); + + private: + const std::string& _internal_external_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( + const std::string& value); + std::string* _internal_mutable_external_id(); + + public: + // string path = 4; + void clear_path() ; + const std::string& path() const; + template + void set_path(Arg_&& arg, Args_... args); + std::string* mutable_path(); + PROTOBUF_NODISCARD std::string* release_path(); + void set_allocated_path(std::string* value); + + private: + const std::string& _internal_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& value); + std::string* _internal_mutable_path(); + + public: + // .flex.WorkRequest.Segment segment = 5; + bool has_segment() const; + void clear_segment() ; + const ::flex::WorkRequest_Segment& segment() const; + PROTOBUF_NODISCARD ::flex::WorkRequest_Segment* release_segment(); + ::flex::WorkRequest_Segment* mutable_segment(); + void set_allocated_segment(::flex::WorkRequest_Segment* value); + void unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value); + ::flex::WorkRequest_Segment* unsafe_arena_release_segment(); + + private: + const ::flex::WorkRequest_Segment& _internal_segment() const; + ::flex::WorkRequest_Segment* _internal_mutable_segment(); + + public: + // .google.protobuf.Timestamp execute_after = 15; + bool has_execute_after() const; + void clear_execute_after() ; + const ::google::protobuf::Timestamp& execute_after() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_execute_after(); + ::google::protobuf::Timestamp* mutable_execute_after(); + void set_allocated_execute_after(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_execute_after(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_execute_after(); + + private: + const ::google::protobuf::Timestamp& _internal_execute_after() const; + ::google::protobuf::Timestamp* _internal_mutable_execute_after(); + + public: + // .google.protobuf.Duration delay_execution = 16; + bool has_delay_execution() const; + void clear_delay_execution() ; + const ::google::protobuf::Duration& delay_execution() const; + PROTOBUF_NODISCARD ::google::protobuf::Duration* release_delay_execution(); + ::google::protobuf::Duration* mutable_delay_execution(); + void set_allocated_delay_execution(::google::protobuf::Duration* value); + void unsafe_arena_set_allocated_delay_execution(::google::protobuf::Duration* value); + ::google::protobuf::Duration* unsafe_arena_release_delay_execution(); + + private: + const ::google::protobuf::Duration& _internal_delay_execution() const; + ::google::protobuf::Duration* _internal_mutable_delay_execution(); + + public: + // optional .flex.BulkJobRequestInfo bulk_info = 17; + bool has_bulk_info() const; + void clear_bulk_info() ; + const ::flex::BulkJobRequestInfo& bulk_info() const; + PROTOBUF_NODISCARD ::flex::BulkJobRequestInfo* release_bulk_info(); + ::flex::BulkJobRequestInfo* mutable_bulk_info(); + void set_allocated_bulk_info(::flex::BulkJobRequestInfo* value); + void unsafe_arena_set_allocated_bulk_info(::flex::BulkJobRequestInfo* value); + ::flex::BulkJobRequestInfo* unsafe_arena_release_bulk_info(); + + private: + const ::flex::BulkJobRequestInfo& _internal_bulk_info() const; + ::flex::BulkJobRequestInfo* _internal_mutable_bulk_info(); + + public: + // uint32 remote_storage_target = 6; + void clear_remote_storage_target() ; + ::uint32_t remote_storage_target() const; + void set_remote_storage_target(::uint32_t value); + + private: + ::uint32_t _internal_remote_storage_target() const; + void _internal_set_remote_storage_target(::uint32_t value); + + public: + // bool stub_local = 8; + void clear_stub_local() ; + bool stub_local() const; + void set_stub_local(bool value); + + private: + bool _internal_stub_local() const; + void _internal_set_stub_local(bool value); + + public: + // optional int32 priority = 9; + bool has_priority() const; + void clear_priority() ; + ::int32_t priority() const; + void set_priority(::int32_t value); + + private: + ::int32_t _internal_priority() const; + void _internal_set_priority(::int32_t value); + + public: + // optional .flex.RestorePolicy restore_policy = 13; + bool has_restore_policy() const; + void clear_restore_policy() ; + ::flex::RestorePolicy restore_policy() const; + void set_restore_policy(::flex::RestorePolicy value); + + private: + ::flex::RestorePolicy _internal_restore_policy() const; + void _internal_set_restore_policy(::flex::RestorePolicy value); + + public: + // optional uint32 cooldown_secs = 14; + bool has_cooldown_secs() const; + void clear_cooldown_secs() ; + ::uint32_t cooldown_secs() const; + void set_cooldown_secs(::uint32_t value); + + private: + ::uint32_t _internal_cooldown_secs() const; + void _internal_set_cooldown_secs(::uint32_t value); + + public: + // .flex.MockJob mock = 10; + bool has_mock() const; + private: + bool _internal_has_mock() const; + + public: + void clear_mock() ; + const ::flex::MockJob& mock() const; + PROTOBUF_NODISCARD ::flex::MockJob* release_mock(); + ::flex::MockJob* mutable_mock(); + void set_allocated_mock(::flex::MockJob* value); + void unsafe_arena_set_allocated_mock(::flex::MockJob* value); + ::flex::MockJob* unsafe_arena_release_mock(); + + private: + const ::flex::MockJob& _internal_mock() const; + ::flex::MockJob* _internal_mutable_mock(); + + public: + // .flex.SyncJob sync = 11; + bool has_sync() const; + private: + bool _internal_has_sync() const; + + public: + void clear_sync() ; + const ::flex::SyncJob& sync() const; + PROTOBUF_NODISCARD ::flex::SyncJob* release_sync(); + ::flex::SyncJob* mutable_sync(); + void set_allocated_sync(::flex::SyncJob* value); + void unsafe_arena_set_allocated_sync(::flex::SyncJob* value); + ::flex::SyncJob* unsafe_arena_release_sync(); + + private: + const ::flex::SyncJob& _internal_sync() const; + ::flex::SyncJob* _internal_mutable_sync(); + + public: + // .flex.BuilderJob builder = 12; + bool has_builder() const; + private: + bool _internal_has_builder() const; + + public: + void clear_builder() ; + const ::flex::BuilderJob& builder() const; + PROTOBUF_NODISCARD ::flex::BuilderJob* release_builder(); + ::flex::BuilderJob* mutable_builder(); + void set_allocated_builder(::flex::BuilderJob* value); + void unsafe_arena_set_allocated_builder(::flex::BuilderJob* value); + ::flex::BuilderJob* unsafe_arena_release_builder(); + + private: + const ::flex::BuilderJob& _internal_builder() const; + ::flex::BuilderJob* _internal_mutable_builder(); + + public: + void clear_Type(); + TypeCase Type_case() const; + // @@protoc_insertion_point(class_scope:flex.WorkRequest) + private: + class _Internal; + void set_has_mock(); + void set_has_sync(); + void set_has_builder(); + inline bool has_Type() const; + inline void clear_has_Type(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 5, 16, 7, + 72, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WorkRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr job_id_; + ::google::protobuf::internal::ArenaStringPtr request_id_; + ::google::protobuf::internal::ArenaStringPtr external_id_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::flex::WorkRequest_Segment* segment_; + ::google::protobuf::Timestamp* execute_after_; + ::google::protobuf::Duration* delay_execution_; + ::flex::BulkJobRequestInfo* bulk_info_; + ::uint32_t remote_storage_target_; + bool stub_local_; + ::int32_t priority_; + int restore_policy_; + ::uint32_t cooldown_secs_; + union TypeUnion { + constexpr TypeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::flex::MockJob* mock_; + ::flex::SyncJob* sync_; + ::flex::BuilderJob* builder_; + } Type_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- + +class RemoteStorageTarget final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget) */ { + public: + inline RemoteStorageTarget() : RemoteStorageTarget(nullptr) {} + ~RemoteStorageTarget() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(RemoteStorageTarget* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR RemoteStorageTarget( + ::google::protobuf::internal::ConstantInitialized); + + inline RemoteStorageTarget(const RemoteStorageTarget& from) : RemoteStorageTarget(nullptr, from) {} + inline RemoteStorageTarget(RemoteStorageTarget&& from) noexcept + : RemoteStorageTarget(nullptr, std::move(from)) {} + inline RemoteStorageTarget& operator=(const RemoteStorageTarget& from) { + CopyFrom(from); + return *this; + } + inline RemoteStorageTarget& operator=(RemoteStorageTarget&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RemoteStorageTarget& default_instance() { + return *internal_default_instance(); + } + enum TypeCase { + kS3 = 4, + kPosix = 5, + kAzure = 6, + kMock = 7, + kXtreemstore = 8, + TYPE_NOT_SET = 0, + }; + static inline const RemoteStorageTarget* internal_default_instance() { + return reinterpret_cast( + &_RemoteStorageTarget_default_instance_); + } + static constexpr int kIndexInFileMessages = 34; + friend void swap(RemoteStorageTarget& a, RemoteStorageTarget& b) { a.Swap(&b); } + inline void Swap(RemoteStorageTarget* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RemoteStorageTarget* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RemoteStorageTarget* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RemoteStorageTarget& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RemoteStorageTarget& from) { RemoteStorageTarget::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RemoteStorageTarget* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget"; } + + protected: + explicit RemoteStorageTarget(::google::protobuf::Arena* arena); + RemoteStorageTarget(::google::protobuf::Arena* arena, const RemoteStorageTarget& from); + RemoteStorageTarget(::google::protobuf::Arena* arena, RemoteStorageTarget&& from) noexcept + : RemoteStorageTarget(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Policies = RemoteStorageTarget_Policies; + using S3 = RemoteStorageTarget_S3; + using Azure = RemoteStorageTarget_Azure; + using XtreemStore = RemoteStorageTarget_XtreemStore; + using POSIX = RemoteStorageTarget_POSIX; + + // accessors ------------------------------------------------------- + enum : int { + kNameFieldNumber = 2, + kPoliciesFieldNumber = 3, + kIdFieldNumber = 1, + kS3FieldNumber = 4, + kPosixFieldNumber = 5, + kAzureFieldNumber = 6, + kMockFieldNumber = 7, + kXtreemstoreFieldNumber = 8, + }; + // string name = 2; + void clear_name() ; + const std::string& name() const; + template + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); + + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& value); + std::string* _internal_mutable_name(); + + public: + // .flex.RemoteStorageTarget.Policies policies = 3; + bool has_policies() const; + void clear_policies() ; + const ::flex::RemoteStorageTarget_Policies& policies() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Policies* release_policies(); + ::flex::RemoteStorageTarget_Policies* mutable_policies(); + void set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); + void unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); + ::flex::RemoteStorageTarget_Policies* unsafe_arena_release_policies(); + + private: + const ::flex::RemoteStorageTarget_Policies& _internal_policies() const; + ::flex::RemoteStorageTarget_Policies* _internal_mutable_policies(); + + public: + // uint32 id = 1; + void clear_id() ; + ::uint32_t id() const; + void set_id(::uint32_t value); + + private: + ::uint32_t _internal_id() const; + void _internal_set_id(::uint32_t value); + + public: + // .flex.RemoteStorageTarget.S3 s3 = 4; + bool has_s3() const; + private: + bool _internal_has_s3() const; + + public: + void clear_s3() ; + const ::flex::RemoteStorageTarget_S3& s3() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); + ::flex::RemoteStorageTarget_S3* mutable_s3(); + void set_allocated_s3(::flex::RemoteStorageTarget_S3* value); + void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value); + ::flex::RemoteStorageTarget_S3* unsafe_arena_release_s3(); + + private: + const ::flex::RemoteStorageTarget_S3& _internal_s3() const; + ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); + + public: + // .flex.RemoteStorageTarget.POSIX posix = 5; + bool has_posix() const; + private: + bool _internal_has_posix() const; + + public: + void clear_posix() ; + const ::flex::RemoteStorageTarget_POSIX& posix() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_POSIX* release_posix(); + ::flex::RemoteStorageTarget_POSIX* mutable_posix(); + void set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); + void unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); + ::flex::RemoteStorageTarget_POSIX* unsafe_arena_release_posix(); + + private: + const ::flex::RemoteStorageTarget_POSIX& _internal_posix() const; + ::flex::RemoteStorageTarget_POSIX* _internal_mutable_posix(); + + public: + // .flex.RemoteStorageTarget.Azure azure = 6; + bool has_azure() const; + private: + bool _internal_has_azure() const; + + public: + void clear_azure() ; + const ::flex::RemoteStorageTarget_Azure& azure() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Azure* release_azure(); + ::flex::RemoteStorageTarget_Azure* mutable_azure(); + void set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); + void unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); + ::flex::RemoteStorageTarget_Azure* unsafe_arena_release_azure(); + + private: + const ::flex::RemoteStorageTarget_Azure& _internal_azure() const; + ::flex::RemoteStorageTarget_Azure* _internal_mutable_azure(); + + public: + // string mock = 7; + bool has_mock() const; + void clear_mock() ; + const std::string& mock() const; + template + void set_mock(Arg_&& arg, Args_... args); + std::string* mutable_mock(); + PROTOBUF_NODISCARD std::string* release_mock(); + void set_allocated_mock(std::string* value); + + private: + const std::string& _internal_mock() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mock( + const std::string& value); + std::string* _internal_mutable_mock(); + + public: + // .flex.RemoteStorageTarget.XtreemStore xtreemstore = 8; + bool has_xtreemstore() const; + private: + bool _internal_has_xtreemstore() const; + + public: + void clear_xtreemstore() ; + const ::flex::RemoteStorageTarget_XtreemStore& xtreemstore() const; + PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_XtreemStore* release_xtreemstore(); + ::flex::RemoteStorageTarget_XtreemStore* mutable_xtreemstore(); + void set_allocated_xtreemstore(::flex::RemoteStorageTarget_XtreemStore* value); + void unsafe_arena_set_allocated_xtreemstore(::flex::RemoteStorageTarget_XtreemStore* value); + ::flex::RemoteStorageTarget_XtreemStore* unsafe_arena_release_xtreemstore(); + + private: + const ::flex::RemoteStorageTarget_XtreemStore& _internal_xtreemstore() const; + ::flex::RemoteStorageTarget_XtreemStore* _internal_mutable_xtreemstore(); + + public: + void clear_type(); + TypeCase type_case() const; + // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget) + private: + class _Internal; + void set_has_s3(); + void set_has_posix(); + void set_has_azure(); + void set_has_mock(); + void set_has_xtreemstore(); + inline bool has_type() const; + inline void clear_has_type(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 8, 5, + 49, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RemoteStorageTarget& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::flex::RemoteStorageTarget_Policies* policies_; + ::uint32_t id_; + union TypeUnion { + constexpr TypeUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::flex::RemoteStorageTarget_S3* s3_; + ::flex::RemoteStorageTarget_POSIX* posix_; + ::flex::RemoteStorageTarget_Azure* azure_; + ::google::protobuf::internal::ArenaStringPtr mock_; + ::flex::RemoteStorageTarget_XtreemStore* xtreemstore_; + } type_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateConfigRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.UpdateConfigRequest) */ { + public: + inline UpdateConfigRequest() : UpdateConfigRequest(nullptr) {} + ~UpdateConfigRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(UpdateConfigRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR UpdateConfigRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline UpdateConfigRequest(const UpdateConfigRequest& from) : UpdateConfigRequest(nullptr, from) {} + inline UpdateConfigRequest(UpdateConfigRequest&& from) noexcept + : UpdateConfigRequest(nullptr, std::move(from)) {} + inline UpdateConfigRequest& operator=(const UpdateConfigRequest& from) { + CopyFrom(from); + return *this; + } + inline UpdateConfigRequest& operator=(UpdateConfigRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateConfigRequest& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateConfigRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateConfigRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 24; + friend void swap(UpdateConfigRequest& a, UpdateConfigRequest& b) { a.Swap(&b); } + inline void Swap(UpdateConfigRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateConfigRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const UpdateConfigRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const UpdateConfigRequest& from) { UpdateConfigRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(UpdateConfigRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "flex.UpdateConfigRequest"; } + + protected: + explicit UpdateConfigRequest(::google::protobuf::Arena* arena); + UpdateConfigRequest(::google::protobuf::Arena* arena, const UpdateConfigRequest& from); + UpdateConfigRequest(::google::protobuf::Arena* arena, UpdateConfigRequest&& from) noexcept + : UpdateConfigRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRstsFieldNumber = 2, + kBeeRemoteFieldNumber = 1, + }; + // repeated .flex.RemoteStorageTarget rsts = 2; + int rsts_size() const; + private: + int _internal_rsts_size() const; + + public: + void clear_rsts() ; + ::flex::RemoteStorageTarget* mutable_rsts(int index); + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); + + private: + const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; + ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); + public: + const ::flex::RemoteStorageTarget& rsts(int index) const; + ::flex::RemoteStorageTarget* add_rsts(); + const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& rsts() const; + // .flex.BeeRemoteNode bee_remote = 1; + bool has_bee_remote() const; + void clear_bee_remote() ; + const ::flex::BeeRemoteNode& bee_remote() const; + PROTOBUF_NODISCARD ::flex::BeeRemoteNode* release_bee_remote(); + ::flex::BeeRemoteNode* mutable_bee_remote(); + void set_allocated_bee_remote(::flex::BeeRemoteNode* value); + void unsafe_arena_set_allocated_bee_remote(::flex::BeeRemoteNode* value); + ::flex::BeeRemoteNode* unsafe_arena_release_bee_remote(); + + private: + const ::flex::BeeRemoteNode& _internal_bee_remote() const; + ::flex::BeeRemoteNode* _internal_mutable_bee_remote(); + + public: + // @@protoc_insertion_point(class_scope:flex.UpdateConfigRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const UpdateConfigRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget > rsts_; + ::flex::BeeRemoteNode* bee_remote_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; +// ------------------------------------------------------------------- + +class SubmitWorkRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:flex.SubmitWorkRequest) */ { + public: + inline SubmitWorkRequest() : SubmitWorkRequest(nullptr) {} + ~SubmitWorkRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SubmitWorkRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SubmitWorkRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubmitWorkRequest(const SubmitWorkRequest& from) : SubmitWorkRequest(nullptr, from) {} + inline SubmitWorkRequest(SubmitWorkRequest&& from) noexcept + : SubmitWorkRequest(nullptr, std::move(from)) {} + inline SubmitWorkRequest& operator=(const SubmitWorkRequest& from) { + CopyFrom(from); + return *this; + } + inline SubmitWorkRequest& operator=(SubmitWorkRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubmitWorkRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubmitWorkRequest* internal_default_instance() { + return reinterpret_cast( + &_SubmitWorkRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(SubmitWorkRequest& a, SubmitWorkRequest& b) { a.Swap(&b); } + inline void Swap(SubmitWorkRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubmitWorkRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubmitWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SubmitWorkRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SubmitWorkRequest& from) { SubmitWorkRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SubmitWorkRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "flex.SubmitWorkRequest"; } + + protected: + explicit SubmitWorkRequest(::google::protobuf::Arena* arena); + SubmitWorkRequest(::google::protobuf::Arena* arena, const SubmitWorkRequest& from); + SubmitWorkRequest(::google::protobuf::Arena* arena, SubmitWorkRequest&& from) noexcept + : SubmitWorkRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRequestFieldNumber = 1, + }; + // .flex.WorkRequest request = 1; + bool has_request() const; + void clear_request() ; + const ::flex::WorkRequest& request() const; + PROTOBUF_NODISCARD ::flex::WorkRequest* release_request(); + ::flex::WorkRequest* mutable_request(); + void set_allocated_request(::flex::WorkRequest* value); + void unsafe_arena_set_allocated_request(::flex::WorkRequest* value); + ::flex::WorkRequest* unsafe_arena_release_request(); + + private: + const ::flex::WorkRequest& _internal_request() const; + ::flex::WorkRequest* _internal_mutable_request(); + + public: + // @@protoc_insertion_point(class_scope:flex.SubmitWorkRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubmitWorkRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::flex::WorkRequest* request_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_flex_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// HeartbeatRequest + +// bool include_stats = 1; +inline void HeartbeatRequest::clear_include_stats() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_stats_ = false; +} +inline bool HeartbeatRequest::include_stats() const { + // @@protoc_insertion_point(field_get:flex.HeartbeatRequest.include_stats) + return _internal_include_stats(); +} +inline void HeartbeatRequest::set_include_stats(bool value) { + _internal_set_include_stats(value); + // @@protoc_insertion_point(field_set:flex.HeartbeatRequest.include_stats) +} +inline bool HeartbeatRequest::_internal_include_stats() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.include_stats_; +} +inline void HeartbeatRequest::_internal_set_include_stats(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.include_stats_ = value; +} + +// ------------------------------------------------------------------- + +// HeartbeatResponse + +// bool is_ready = 1; +inline void HeartbeatResponse::clear_is_ready() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_ready_ = false; +} +inline bool HeartbeatResponse::is_ready() const { + // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.is_ready) + return _internal_is_ready(); +} +inline void HeartbeatResponse::set_is_ready(bool value) { + _internal_set_is_ready(value); + // @@protoc_insertion_point(field_set:flex.HeartbeatResponse.is_ready) +} +inline bool HeartbeatResponse::_internal_is_ready() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_ready_; +} +inline void HeartbeatResponse::_internal_set_is_ready(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_ready_ = value; +} + +// .flex.NodeStats node_stats = 2; +inline bool HeartbeatResponse::has_node_stats() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.node_stats_ != nullptr); + return value; +} +inline void HeartbeatResponse::clear_node_stats() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.node_stats_ != nullptr) _impl_.node_stats_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::flex::NodeStats& HeartbeatResponse::_internal_node_stats() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::flex::NodeStats* p = _impl_.node_stats_; + return p != nullptr ? *p : reinterpret_cast(::flex::_NodeStats_default_instance_); +} +inline const ::flex::NodeStats& HeartbeatResponse::node_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.node_stats) + return _internal_node_stats(); +} +inline void HeartbeatResponse::unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_stats_); + } + _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.HeartbeatResponse.node_stats) +} +inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { + ::google::protobuf::internal::TSanWrite(&_impl_); -// HeartbeatRequest + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::NodeStats* released = _impl_.node_stats_; + _impl_.node_stats_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::flex::NodeStats* HeartbeatResponse::unsafe_arena_release_node_stats() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.HeartbeatResponse.node_stats) -// bool include_stats = 1; -inline void HeartbeatRequest::clear_include_stats() { + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::NodeStats* temp = _impl_.node_stats_; + _impl_.node_stats_ = nullptr; + return temp; +} +inline ::flex::NodeStats* HeartbeatResponse::_internal_mutable_node_stats() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_stats_ = false; + if (_impl_.node_stats_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::NodeStats>(GetArena()); + _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(p); + } + return _impl_.node_stats_; } -inline bool HeartbeatRequest::include_stats() const { - // @@protoc_insertion_point(field_get:flex.HeartbeatRequest.include_stats) - return _internal_include_stats(); +inline ::flex::NodeStats* HeartbeatResponse::mutable_node_stats() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::flex::NodeStats* _msg = _internal_mutable_node_stats(); + // @@protoc_insertion_point(field_mutable:flex.HeartbeatResponse.node_stats) + return _msg; +} +inline void HeartbeatResponse::set_allocated_node_stats(::flex::NodeStats* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.node_stats_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.HeartbeatResponse.node_stats) +} + +// ------------------------------------------------------------------- + +// NodeStats + +// .google.protobuf.Timestamp timestamp = 1; +inline bool NodeStats::has_timestamp() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.timestamp_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& NodeStats::_internal_timestamp() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.timestamp_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& NodeStats::timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.NodeStats.timestamp) + return _internal_timestamp(); +} +inline void NodeStats::unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + } + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.NodeStats.timestamp) +} +inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.timestamp_; + _impl_.timestamp_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* NodeStats::unsafe_arena_release_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.NodeStats.timestamp) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.timestamp_; + _impl_.timestamp_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* NodeStats::_internal_mutable_timestamp() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.timestamp_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.timestamp_; +} +inline ::google::protobuf::Timestamp* NodeStats::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp(); + // @@protoc_insertion_point(field_mutable:flex.NodeStats.timestamp) + return _msg; +} +inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.NodeStats.timestamp) +} + +// int64 active_requests = 2; +inline void NodeStats::clear_active_requests() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.active_requests_ = ::int64_t{0}; +} +inline ::int64_t NodeStats::active_requests() const { + // @@protoc_insertion_point(field_get:flex.NodeStats.active_requests) + return _internal_active_requests(); +} +inline void NodeStats::set_active_requests(::int64_t value) { + _internal_set_active_requests(value); + // @@protoc_insertion_point(field_set:flex.NodeStats.active_requests) +} +inline ::int64_t NodeStats::_internal_active_requests() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.active_requests_; +} +inline void NodeStats::_internal_set_active_requests(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.active_requests_ = value; +} + +// ------------------------------------------------------------------- + +// SubmitWorkRequest + +// .flex.WorkRequest request = 1; +inline bool SubmitWorkRequest::has_request() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr); + return value; +} +inline void SubmitWorkRequest::clear_request() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.request_ != nullptr) _impl_.request_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::flex::WorkRequest& SubmitWorkRequest::_internal_request() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::flex::WorkRequest* p = _impl_.request_; + return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_default_instance_); +} +inline const ::flex::WorkRequest& SubmitWorkRequest::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.SubmitWorkRequest.request) + return _internal_request(); +} +inline void SubmitWorkRequest::unsafe_arena_set_allocated_request(::flex::WorkRequest* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); + } + _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkRequest.request) +} +inline ::flex::WorkRequest* SubmitWorkRequest::release_request() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::WorkRequest* released = _impl_.request_; + _impl_.request_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::flex::WorkRequest* SubmitWorkRequest::unsafe_arena_release_request() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.SubmitWorkRequest.request) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::WorkRequest* temp = _impl_.request_; + _impl_.request_ = nullptr; + return temp; } -inline void HeartbeatRequest::set_include_stats(bool value) { - _internal_set_include_stats(value); - // @@protoc_insertion_point(field_set:flex.HeartbeatRequest.include_stats) +inline ::flex::WorkRequest* SubmitWorkRequest::_internal_mutable_request() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.request_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest>(GetArena()); + _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(p); + } + return _impl_.request_; } -inline bool HeartbeatRequest::_internal_include_stats() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.include_stats_; +inline ::flex::WorkRequest* SubmitWorkRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::flex::WorkRequest* _msg = _internal_mutable_request(); + // @@protoc_insertion_point(field_mutable:flex.SubmitWorkRequest.request) + return _msg; } -inline void HeartbeatRequest::_internal_set_include_stats(bool value) { +inline void SubmitWorkRequest::set_allocated_request(::flex::WorkRequest* value) { + ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_stats_ = value; + if (message_arena == nullptr) { + delete (_impl_.request_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkRequest.request) } // ------------------------------------------------------------------- -// HeartbeatResponse - -// bool is_ready = 1; -inline void HeartbeatResponse::clear_is_ready() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ready_ = false; -} -inline bool HeartbeatResponse::is_ready() const { - // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.is_ready) - return _internal_is_ready(); -} -inline void HeartbeatResponse::set_is_ready(bool value) { - _internal_set_is_ready(value); - // @@protoc_insertion_point(field_set:flex.HeartbeatResponse.is_ready) -} -inline bool HeartbeatResponse::_internal_is_ready() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.is_ready_; -} -inline void HeartbeatResponse::_internal_set_is_ready(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ready_ = value; -} +// SubmitWorkResponse -// .flex.NodeStats node_stats = 2; -inline bool HeartbeatResponse::has_node_stats() const { +// .flex.Work work = 1; +inline bool SubmitWorkResponse::has_work() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.node_stats_ != nullptr); + PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); return value; } -inline void HeartbeatResponse::clear_node_stats() { +inline void SubmitWorkResponse::clear_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_stats_ != nullptr) _impl_.node_stats_->Clear(); + if (_impl_.work_ != nullptr) _impl_.work_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const ::flex::NodeStats& HeartbeatResponse::_internal_node_stats() const { +inline const ::flex::Work& SubmitWorkResponse::_internal_work() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::NodeStats* p = _impl_.node_stats_; - return p != nullptr ? *p : reinterpret_cast(::flex::_NodeStats_default_instance_); + const ::flex::Work* p = _impl_.work_; + return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); } -inline const ::flex::NodeStats& HeartbeatResponse::node_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.node_stats) - return _internal_node_stats(); +inline const ::flex::Work& SubmitWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.SubmitWorkResponse.work) + return _internal_work(); } -inline void HeartbeatResponse::unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value) { +inline void SubmitWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_stats_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); } - _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); + _impl_.work_ = reinterpret_cast<::flex::Work*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.HeartbeatResponse.node_stats) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkResponse.work) } -inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { +inline ::flex::Work* SubmitWorkResponse::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::NodeStats* released = _impl_.node_stats_; - _impl_.node_stats_ = nullptr; + ::flex::Work* released = _impl_.work_; + _impl_.work_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -8854,34 +10199,34 @@ inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { } return released; } -inline ::flex::NodeStats* HeartbeatResponse::unsafe_arena_release_node_stats() { +inline ::flex::Work* SubmitWorkResponse::unsafe_arena_release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.HeartbeatResponse.node_stats) + // @@protoc_insertion_point(field_release:flex.SubmitWorkResponse.work) _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::NodeStats* temp = _impl_.node_stats_; - _impl_.node_stats_ = nullptr; + ::flex::Work* temp = _impl_.work_; + _impl_.work_ = nullptr; return temp; } -inline ::flex::NodeStats* HeartbeatResponse::_internal_mutable_node_stats() { +inline ::flex::Work* SubmitWorkResponse::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_stats_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::NodeStats>(GetArena()); - _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(p); + if (_impl_.work_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); + _impl_.work_ = reinterpret_cast<::flex::Work*>(p); } - return _impl_.node_stats_; + return _impl_.work_; } -inline ::flex::NodeStats* HeartbeatResponse::mutable_node_stats() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work* SubmitWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000001u; - ::flex::NodeStats* _msg = _internal_mutable_node_stats(); - // @@protoc_insertion_point(field_mutable:flex.HeartbeatResponse.node_stats) + ::flex::Work* _msg = _internal_mutable_work(); + // @@protoc_insertion_point(field_mutable:flex.SubmitWorkResponse.work) return _msg; } -inline void HeartbeatResponse::set_allocated_node_stats(::flex::NodeStats* value) { +inline void SubmitWorkResponse::set_allocated_work(::flex::Work* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.node_stats_); + delete (_impl_.work_); } if (value != nullptr) { @@ -8894,48 +10239,175 @@ inline void HeartbeatResponse::set_allocated_node_stats(::flex::NodeStats* value _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.HeartbeatResponse.node_stats) + _impl_.work_ = reinterpret_cast<::flex::Work*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkResponse.work) } // ------------------------------------------------------------------- -// NodeStats +// UpdateWorkRequest -// .google.protobuf.Timestamp timestamp = 1; -inline bool NodeStats::has_timestamp() const { +// string job_id = 1; +inline void UpdateWorkRequest::clear_job_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.ClearToEmpty(); +} +inline const std::string& UpdateWorkRequest::job_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.job_id) + return _internal_job_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_job_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.job_id) +} +inline std::string* UpdateWorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_job_id(); + // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.job_id) + return _s; +} +inline const std::string& UpdateWorkRequest::_internal_job_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.job_id_.Get(); +} +inline void UpdateWorkRequest::_internal_set_job_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.Set(value, GetArena()); +} +inline std::string* UpdateWorkRequest::_internal_mutable_job_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.job_id_.Mutable( GetArena()); +} +inline std::string* UpdateWorkRequest::release_job_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.job_id) + return _impl_.job_id_.Release(); +} +inline void UpdateWorkRequest::set_allocated_job_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { + _impl_.job_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.job_id) +} + +// string request_id = 2; +inline void UpdateWorkRequest::clear_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.ClearToEmpty(); +} +inline const std::string& UpdateWorkRequest::request_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.request_id) + return _internal_request_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_request_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.request_id) +} +inline std::string* UpdateWorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_request_id(); + // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.request_id) + return _s; +} +inline const std::string& UpdateWorkRequest::_internal_request_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.request_id_.Get(); +} +inline void UpdateWorkRequest::_internal_set_request_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.Set(value, GetArena()); +} +inline std::string* UpdateWorkRequest::_internal_mutable_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.request_id_.Mutable( GetArena()); +} +inline std::string* UpdateWorkRequest::release_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.request_id) + return _impl_.request_id_.Release(); +} +inline void UpdateWorkRequest::set_allocated_request_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { + _impl_.request_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.request_id) +} + +// .flex.UpdateWorkRequest.NewState new_state = 3; +inline void UpdateWorkRequest::clear_new_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.new_state_ = 0; +} +inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::new_state() const { + // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.new_state) + return _internal_new_state(); +} +inline void UpdateWorkRequest::set_new_state(::flex::UpdateWorkRequest_NewState value) { + _internal_set_new_state(value); + // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.new_state) +} +inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::_internal_new_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::flex::UpdateWorkRequest_NewState>(_impl_.new_state_); +} +inline void UpdateWorkRequest::_internal_set_new_state(::flex::UpdateWorkRequest_NewState value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.new_state_ = value; +} + +// ------------------------------------------------------------------- + +// UpdateWorkResponse + +// .flex.Work work = 1; +inline bool UpdateWorkResponse::has_work() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.timestamp_ != nullptr); + PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); return value; } -inline const ::google::protobuf::Timestamp& NodeStats::_internal_timestamp() const { +inline void UpdateWorkResponse::clear_work() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.work_ != nullptr) _impl_.work_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::flex::Work& UpdateWorkResponse::_internal_work() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.timestamp_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); + const ::flex::Work* p = _impl_.work_; + return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); } -inline const ::google::protobuf::Timestamp& NodeStats::timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.NodeStats.timestamp) - return _internal_timestamp(); +inline const ::flex::Work& UpdateWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.UpdateWorkResponse.work) + return _internal_work(); } -inline void NodeStats::unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value) { +inline void UpdateWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); } - _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + _impl_.work_ = reinterpret_cast<::flex::Work*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.NodeStats.timestamp) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateWorkResponse.work) } -inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { +inline ::flex::Work* UpdateWorkResponse::release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.timestamp_; - _impl_.timestamp_ = nullptr; + ::flex::Work* released = _impl_.work_; + _impl_.work_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -8949,38 +10421,38 @@ inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { } return released; } -inline ::google::protobuf::Timestamp* NodeStats::unsafe_arena_release_timestamp() { +inline ::flex::Work* UpdateWorkResponse::unsafe_arena_release_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.NodeStats.timestamp) + // @@protoc_insertion_point(field_release:flex.UpdateWorkResponse.work) _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.timestamp_; - _impl_.timestamp_ = nullptr; + ::flex::Work* temp = _impl_.work_; + _impl_.work_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* NodeStats::_internal_mutable_timestamp() { +inline ::flex::Work* UpdateWorkResponse::_internal_mutable_work() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.timestamp_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + if (_impl_.work_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); + _impl_.work_ = reinterpret_cast<::flex::Work*>(p); } - return _impl_.timestamp_; + return _impl_.work_; } -inline ::google::protobuf::Timestamp* NodeStats::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::flex::Work* UpdateWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp(); - // @@protoc_insertion_point(field_mutable:flex.NodeStats.timestamp) + ::flex::Work* _msg = _internal_mutable_work(); + // @@protoc_insertion_point(field_mutable:flex.UpdateWorkResponse.work) return _msg; } -inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* value) { +inline void UpdateWorkResponse::set_allocated_work(::flex::Work* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); + delete (_impl_.work_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -8989,175 +10461,236 @@ inline void NodeStats::set_allocated_timestamp(::google::protobuf::Timestamp* va _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.NodeStats.timestamp) + _impl_.work_ = reinterpret_cast<::flex::Work*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkResponse.work) } -// int64 active_requests = 2; -inline void NodeStats::clear_active_requests() { +// ------------------------------------------------------------------- + +// BulkUpdateWorkRequest + +// .flex.BulkUpdateWorkRequest.NewState new_state = 1; +inline void BulkUpdateWorkRequest::clear_new_state() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.active_requests_ = ::int64_t{0}; + _impl_.new_state_ = 0; } -inline ::int64_t NodeStats::active_requests() const { - // @@protoc_insertion_point(field_get:flex.NodeStats.active_requests) - return _internal_active_requests(); +inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::new_state() const { + // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkRequest.new_state) + return _internal_new_state(); } -inline void NodeStats::set_active_requests(::int64_t value) { - _internal_set_active_requests(value); - // @@protoc_insertion_point(field_set:flex.NodeStats.active_requests) +inline void BulkUpdateWorkRequest::set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { + _internal_set_new_state(value); + // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkRequest.new_state) } -inline ::int64_t NodeStats::_internal_active_requests() const { +inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::_internal_new_state() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.active_requests_; + return static_cast<::flex::BulkUpdateWorkRequest_NewState>(_impl_.new_state_); } -inline void NodeStats::_internal_set_active_requests(::int64_t value) { +inline void BulkUpdateWorkRequest::_internal_set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.active_requests_ = value; + _impl_.new_state_ = value; } // ------------------------------------------------------------------- -// SubmitWorkRequest +// BulkUpdateWorkResponse -// .flex.WorkRequest request = 1; -inline bool SubmitWorkRequest::has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr); - return value; +// bool success = 1; +inline void BulkUpdateWorkResponse::clear_success() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.success_ = false; } -inline void SubmitWorkRequest::clear_request() { +inline bool BulkUpdateWorkResponse::success() const { + // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.success) + return _internal_success(); +} +inline void BulkUpdateWorkResponse::set_success(bool value) { + _internal_set_success(value); + // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.success) +} +inline bool BulkUpdateWorkResponse::_internal_success() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.success_; +} +inline void BulkUpdateWorkResponse::_internal_set_success(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ != nullptr) _impl_.request_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_.success_ = value; } -inline const ::flex::WorkRequest& SubmitWorkRequest::_internal_request() const { + +// string message = 2; +inline void BulkUpdateWorkResponse::clear_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.ClearToEmpty(); +} +inline const std::string& BulkUpdateWorkResponse::message() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.message) + return _internal_message(); +} +template +inline PROTOBUF_ALWAYS_INLINE void BulkUpdateWorkResponse::set_message(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.message) +} +inline std::string* BulkUpdateWorkResponse::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_message(); + // @@protoc_insertion_point(field_mutable:flex.BulkUpdateWorkResponse.message) + return _s; +} +inline const std::string& BulkUpdateWorkResponse::_internal_message() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::WorkRequest* p = _impl_.request_; - return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_default_instance_); + return _impl_.message_.Get(); } -inline const ::flex::WorkRequest& SubmitWorkRequest::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SubmitWorkRequest.request) - return _internal_request(); +inline void BulkUpdateWorkResponse::_internal_set_message(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.Set(value, GetArena()); } -inline void SubmitWorkRequest::unsafe_arena_set_allocated_request(::flex::WorkRequest* value) { +inline std::string* BulkUpdateWorkResponse::_internal_mutable_message() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); - } - _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + return _impl_.message_.Mutable( GetArena()); +} +inline std::string* BulkUpdateWorkResponse::release_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.BulkUpdateWorkResponse.message) + return _impl_.message_.Release(); +} +inline void BulkUpdateWorkResponse::set_allocated_message(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.message_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { + _impl_.message_.Set("", GetArena()); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkRequest.request) + // @@protoc_insertion_point(field_set_allocated:flex.BulkUpdateWorkResponse.message) } -inline ::flex::WorkRequest* SubmitWorkRequest::release_request() { + +// ------------------------------------------------------------------- + +// JobLockedInfo + +// bool read_write_locked = 1; +inline void JobLockedInfo::clear_read_write_locked() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.read_write_locked_ = false; +} +inline bool JobLockedInfo::read_write_locked() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.read_write_locked) + return _internal_read_write_locked(); +} +inline void JobLockedInfo::set_read_write_locked(bool value) { + _internal_set_read_write_locked(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.read_write_locked) +} +inline bool JobLockedInfo::_internal_read_write_locked() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.read_write_locked_; +} +inline void JobLockedInfo::_internal_set_read_write_locked(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.read_write_locked_ = value; +} - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest* released = _impl_.request_; - _impl_.request_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; +// bool exists = 2; +inline void JobLockedInfo::clear_exists() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.exists_ = false; +} +inline bool JobLockedInfo::exists() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.exists) + return _internal_exists(); +} +inline void JobLockedInfo::set_exists(bool value) { + _internal_set_exists(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.exists) +} +inline bool JobLockedInfo::_internal_exists() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.exists_; +} +inline void JobLockedInfo::_internal_set_exists(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.exists_ = value; +} + +// int64 size = 3; +inline void JobLockedInfo::clear_size() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.size_ = ::int64_t{0}; +} +inline ::int64_t JobLockedInfo::size() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.size) + return _internal_size(); } -inline ::flex::WorkRequest* SubmitWorkRequest::unsafe_arena_release_request() { +inline void JobLockedInfo::set_size(::int64_t value) { + _internal_set_size(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.size) +} +inline ::int64_t JobLockedInfo::_internal_size() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.size_; +} +inline void JobLockedInfo::_internal_set_size(::int64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SubmitWorkRequest.request) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest* temp = _impl_.request_; - _impl_.request_ = nullptr; - return temp; + _impl_.size_ = value; } -inline ::flex::WorkRequest* SubmitWorkRequest::_internal_mutable_request() { + +// uint32 mode = 4; +inline void JobLockedInfo::clear_mode() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest>(GetArena()); - _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(p); - } - return _impl_.request_; + _impl_.mode_ = 0u; } -inline ::flex::WorkRequest* SubmitWorkRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::WorkRequest* _msg = _internal_mutable_request(); - // @@protoc_insertion_point(field_mutable:flex.SubmitWorkRequest.request) - return _msg; +inline ::uint32_t JobLockedInfo::mode() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mode) + return _internal_mode(); } -inline void SubmitWorkRequest::set_allocated_request(::flex::WorkRequest* value) { - ::google::protobuf::Arena* message_arena = GetArena(); +inline void JobLockedInfo::set_mode(::uint32_t value) { + _internal_set_mode(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.mode) +} +inline ::uint32_t JobLockedInfo::_internal_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mode_; +} +inline void JobLockedInfo::_internal_set_mode(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.request_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkRequest.request) + _impl_.mode_ = value; } -// ------------------------------------------------------------------- - -// SubmitWorkResponse - -// .flex.Work work = 1; -inline bool SubmitWorkResponse::has_work() const { +// .google.protobuf.Timestamp mtime = 5; +inline bool JobLockedInfo::has_mtime() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); + PROTOBUF_ASSUME(!value || _impl_.mtime_ != nullptr); return value; } -inline void SubmitWorkResponse::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::Work& SubmitWorkResponse::_internal_work() const { +inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_mtime() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); + const ::google::protobuf::Timestamp* p = _impl_.mtime_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); } -inline const ::flex::Work& SubmitWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SubmitWorkResponse.work) - return _internal_work(); +inline const ::google::protobuf::Timestamp& JobLockedInfo::mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mtime) + return _internal_mtime(); } -inline void SubmitWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void JobLockedInfo::unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mtime_); } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); + _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); if (value != nullptr) { _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkResponse.work) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.mtime) } -inline ::flex::Work* SubmitWorkResponse::release_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::release_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = nullptr; + ::google::protobuf::Timestamp* released = _impl_.mtime_; + _impl_.mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -9171,38 +10704,38 @@ inline ::flex::Work* SubmitWorkResponse::release_work() { } return released; } -inline ::flex::Work* SubmitWorkResponse::unsafe_arena_release_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SubmitWorkResponse.work) + // @@protoc_insertion_point(field_release:flex.JobLockedInfo.mtime) _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; + ::google::protobuf::Timestamp* temp = _impl_.mtime_; + _impl_.mtime_ = nullptr; return temp; } -inline ::flex::Work* SubmitWorkResponse::_internal_mutable_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); + if (_impl_.mtime_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); } - return _impl_.work_; + return _impl_.mtime_; } -inline ::flex::Work* SubmitWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { +inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:flex.SubmitWorkResponse.work) + ::google::protobuf::Timestamp* _msg = _internal_mutable_mtime(); + // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.mtime) return _msg; } -inline void SubmitWorkResponse::set_allocated_work(::flex::Work* value) { +inline void JobLockedInfo::set_allocated_mtime(::google::protobuf::Timestamp* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mtime_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } @@ -9211,175 +10744,66 @@ inline void SubmitWorkResponse::set_allocated_work(::flex::Work* value) { _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkResponse.work) -} - -// ------------------------------------------------------------------- - -// UpdateWorkRequest - -// string job_id = 1; -inline void UpdateWorkRequest::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& UpdateWorkRequest::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.job_id) -} -inline std::string* UpdateWorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.job_id) - return _s; -} -inline const std::string& UpdateWorkRequest::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void UpdateWorkRequest::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* UpdateWorkRequest::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* UpdateWorkRequest::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.job_id) - return _impl_.job_id_.Release(); -} -inline void UpdateWorkRequest::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.job_id) -} - -// string request_id = 2; -inline void UpdateWorkRequest::clear_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.ClearToEmpty(); -} -inline const std::string& UpdateWorkRequest::request_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.request_id) - return _internal_request_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_request_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.request_id) -} -inline std::string* UpdateWorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_request_id(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.request_id) - return _s; -} -inline const std::string& UpdateWorkRequest::_internal_request_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.request_id_.Get(); -} -inline void UpdateWorkRequest::_internal_set_request_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(value, GetArena()); -} -inline std::string* UpdateWorkRequest::_internal_mutable_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.request_id_.Mutable( GetArena()); -} -inline std::string* UpdateWorkRequest::release_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.request_id) - return _impl_.request_id_.Release(); -} -inline void UpdateWorkRequest::set_allocated_request_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { - _impl_.request_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.request_id) + _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.mtime) } -// .flex.UpdateWorkRequest.NewState new_state = 3; -inline void UpdateWorkRequest::clear_new_state() { +// int64 remote_size = 6; +inline void JobLockedInfo::clear_remote_size() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = 0; + _impl_.remote_size_ = ::int64_t{0}; } -inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::new_state() const { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.new_state) - return _internal_new_state(); +inline ::int64_t JobLockedInfo::remote_size() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_size) + return _internal_remote_size(); } -inline void UpdateWorkRequest::set_new_state(::flex::UpdateWorkRequest_NewState value) { - _internal_set_new_state(value); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.new_state) +inline void JobLockedInfo::set_remote_size(::int64_t value) { + _internal_set_remote_size(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.remote_size) } -inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::_internal_new_state() const { +inline ::int64_t JobLockedInfo::_internal_remote_size() const { ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::UpdateWorkRequest_NewState>(_impl_.new_state_); + return _impl_.remote_size_; } -inline void UpdateWorkRequest::_internal_set_new_state(::flex::UpdateWorkRequest_NewState value) { +inline void JobLockedInfo::_internal_set_remote_size(::int64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = value; + _impl_.remote_size_ = value; } -// ------------------------------------------------------------------- - -// UpdateWorkResponse - -// .flex.Work work = 1; -inline bool UpdateWorkResponse::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); +// .google.protobuf.Timestamp remote_mtime = 7; +inline bool JobLockedInfo::has_remote_mtime() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.remote_mtime_ != nullptr); return value; } -inline void UpdateWorkResponse::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::Work& UpdateWorkResponse::_internal_work() const { +inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_remote_mtime() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); + const ::google::protobuf::Timestamp* p = _impl_.remote_mtime_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); } -inline const ::flex::Work& UpdateWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkResponse.work) - return _internal_work(); +inline const ::google::protobuf::Timestamp& JobLockedInfo::remote_mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_mtime) + return _internal_remote_mtime(); } -inline void UpdateWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { +inline void JobLockedInfo::unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remote_mtime_); } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); + _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateWorkResponse.work) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.remote_mtime) } -inline ::flex::Work* UpdateWorkResponse::release_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.remote_mtime_; + _impl_.remote_mtime_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -9393,389 +10817,463 @@ inline ::flex::Work* UpdateWorkResponse::release_work() { } return released; } -inline ::flex::Work* UpdateWorkResponse::unsafe_arena_release_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_remote_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkResponse.work) + // @@protoc_insertion_point(field_release:flex.JobLockedInfo.remote_mtime) - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.remote_mtime_; + _impl_.remote_mtime_ = nullptr; return temp; } -inline ::flex::Work* UpdateWorkResponse::_internal_mutable_work() { +inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_remote_mtime() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); + if (_impl_.remote_mtime_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); } - return _impl_.work_; + return _impl_.remote_mtime_; } -inline ::flex::Work* UpdateWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkResponse.work) +inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_remote_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_remote_mtime(); + // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.remote_mtime) return _msg; } -inline void UpdateWorkResponse::set_allocated_work(::flex::Work* value) { +inline void JobLockedInfo::set_allocated_remote_mtime(::google::protobuf::Timestamp* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.work_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remote_mtime_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000002u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000002u; } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkResponse.work) + _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.remote_mtime) } -// ------------------------------------------------------------------- +// uint32 stub_url_rst_id = 8; +inline void JobLockedInfo::clear_stub_url_rst_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_rst_id_ = 0u; +} +inline ::uint32_t JobLockedInfo::stub_url_rst_id() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_rst_id) + return _internal_stub_url_rst_id(); +} +inline void JobLockedInfo::set_stub_url_rst_id(::uint32_t value) { + _internal_set_stub_url_rst_id(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_rst_id) +} +inline ::uint32_t JobLockedInfo::_internal_stub_url_rst_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.stub_url_rst_id_; +} +inline void JobLockedInfo::_internal_set_stub_url_rst_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_rst_id_ = value; +} -// BulkUpdateWorkRequest +// string stub_url_path = 9; +inline void JobLockedInfo::clear_stub_url_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_path_.ClearToEmpty(); +} +inline const std::string& JobLockedInfo::stub_url_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_path) + return _internal_stub_url_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_stub_url_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_path) +} +inline std::string* JobLockedInfo::mutable_stub_url_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_stub_url_path(); + // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.stub_url_path) + return _s; +} +inline const std::string& JobLockedInfo::_internal_stub_url_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.stub_url_path_.Get(); +} +inline void JobLockedInfo::_internal_set_stub_url_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_path_.Set(value, GetArena()); +} +inline std::string* JobLockedInfo::_internal_mutable_stub_url_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.stub_url_path_.Mutable( GetArena()); +} +inline std::string* JobLockedInfo::release_stub_url_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.JobLockedInfo.stub_url_path) + return _impl_.stub_url_path_.Release(); +} +inline void JobLockedInfo::set_allocated_stub_url_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stub_url_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.stub_url_path_.IsDefault()) { + _impl_.stub_url_path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.stub_url_path) +} -// .flex.BulkUpdateWorkRequest.NewState new_state = 1; -inline void BulkUpdateWorkRequest::clear_new_state() { +// string externalId = 10; +inline void JobLockedInfo::clear_externalid() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = 0; + _impl_.externalid_.ClearToEmpty(); } -inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::new_state() const { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkRequest.new_state) - return _internal_new_state(); +inline const std::string& JobLockedInfo::externalid() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.externalId) + return _internal_externalid(); } -inline void BulkUpdateWorkRequest::set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { - _internal_set_new_state(value); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkRequest.new_state) +template +inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_externalid(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.externalid_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.externalId) } -inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::_internal_new_state() const { +inline std::string* JobLockedInfo::mutable_externalid() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_externalid(); + // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.externalId) + return _s; +} +inline const std::string& JobLockedInfo::_internal_externalid() const { ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::BulkUpdateWorkRequest_NewState>(_impl_.new_state_); + return _impl_.externalid_.Get(); } -inline void BulkUpdateWorkRequest::_internal_set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { +inline void JobLockedInfo::_internal_set_externalid(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = value; + _impl_.externalid_.Set(value, GetArena()); +} +inline std::string* JobLockedInfo::_internal_mutable_externalid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.externalid_.Mutable( GetArena()); +} +inline std::string* JobLockedInfo::release_externalid() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.JobLockedInfo.externalId) + return _impl_.externalid_.Release(); +} +inline void JobLockedInfo::set_allocated_externalid(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.externalid_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.externalid_.IsDefault()) { + _impl_.externalid_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.externalId) +} + +// bool is_archived = 11; +inline void JobLockedInfo::clear_is_archived() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_archived_ = false; +} +inline bool JobLockedInfo::is_archived() const { + // @@protoc_insertion_point(field_get:flex.JobLockedInfo.is_archived) + return _internal_is_archived(); +} +inline void JobLockedInfo::set_is_archived(bool value) { + _internal_set_is_archived(value); + // @@protoc_insertion_point(field_set:flex.JobLockedInfo.is_archived) +} +inline bool JobLockedInfo::_internal_is_archived() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.is_archived_; +} +inline void JobLockedInfo::_internal_set_is_archived(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.is_archived_ = value; } // ------------------------------------------------------------------- -// BulkUpdateWorkResponse +// ------------------------------------------------------------------- -// bool success = 1; -inline void BulkUpdateWorkResponse::clear_success() { +// JobRequestCfg + +// uint32 remoteStorageTarget = 1; +inline void JobRequestCfg::clear_remotestoragetarget() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.success_ = false; -} -inline bool BulkUpdateWorkResponse::success() const { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.success) - return _internal_success(); + _impl_.remotestoragetarget_ = 0u; } -inline void BulkUpdateWorkResponse::set_success(bool value) { - _internal_set_success(value); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.success) +inline ::uint32_t JobRequestCfg::remotestoragetarget() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remoteStorageTarget) + return _internal_remotestoragetarget(); } -inline bool BulkUpdateWorkResponse::_internal_success() const { +inline void JobRequestCfg::set_remotestoragetarget(::uint32_t value) { + _internal_set_remotestoragetarget(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remoteStorageTarget) +} +inline ::uint32_t JobRequestCfg::_internal_remotestoragetarget() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.success_; + return _impl_.remotestoragetarget_; } -inline void BulkUpdateWorkResponse::_internal_set_success(bool value) { +inline void JobRequestCfg::_internal_set_remotestoragetarget(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.success_ = value; + _impl_.remotestoragetarget_ = value; } -// string message = 2; -inline void BulkUpdateWorkResponse::clear_message() { +// string path = 2; +inline void JobRequestCfg::clear_path() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); + _impl_.path_.ClearToEmpty(); } -inline const std::string& BulkUpdateWorkResponse::message() const +inline const std::string& JobRequestCfg::path() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.message) - return _internal_message(); + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.path) + return _internal_path(); } template -inline PROTOBUF_ALWAYS_INLINE void BulkUpdateWorkResponse::set_message(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_path(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.message) + _impl_.path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.path) } -inline std::string* BulkUpdateWorkResponse::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:flex.BulkUpdateWorkResponse.message) +inline std::string* JobRequestCfg::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_path(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.path) return _s; } -inline const std::string& BulkUpdateWorkResponse::_internal_message() const { +inline const std::string& JobRequestCfg::_internal_path() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); + return _impl_.path_.Get(); } -inline void BulkUpdateWorkResponse::_internal_set_message(const std::string& value) { +inline void JobRequestCfg::_internal_set_path(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); + _impl_.path_.Set(value, GetArena()); } -inline std::string* BulkUpdateWorkResponse::_internal_mutable_message() { +inline std::string* JobRequestCfg::_internal_mutable_path() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); + return _impl_.path_.Mutable( GetArena()); } -inline std::string* BulkUpdateWorkResponse::release_message() { +inline std::string* JobRequestCfg::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BulkUpdateWorkResponse.message) - return _impl_.message_.Release(); + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.path) + return _impl_.path_.Release(); } -inline void BulkUpdateWorkResponse::set_allocated_message(std::string* value) { +inline void JobRequestCfg::set_allocated_path(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArena()); + _impl_.path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { + _impl_.path_.Set("", GetArena()); } - // @@protoc_insertion_point(field_set_allocated:flex.BulkUpdateWorkResponse.message) + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.path) } -// ------------------------------------------------------------------- - -// JobLockedInfo - -// bool read_write_locked = 1; -inline void JobLockedInfo::clear_read_write_locked() { +// string remotePath = 3; +inline void JobRequestCfg::clear_remotepath() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.read_write_locked_ = false; + _impl_.remotepath_.ClearToEmpty(); } -inline bool JobLockedInfo::read_write_locked() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.read_write_locked) - return _internal_read_write_locked(); +inline const std::string& JobRequestCfg::remotepath() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remotePath) + return _internal_remotepath(); } -inline void JobLockedInfo::set_read_write_locked(bool value) { - _internal_set_read_write_locked(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.read_write_locked) +template +inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_remotepath(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.remotepath_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remotePath) } -inline bool JobLockedInfo::_internal_read_write_locked() const { +inline std::string* JobRequestCfg::mutable_remotepath() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_remotepath(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.remotePath) + return _s; +} +inline const std::string& JobRequestCfg::_internal_remotepath() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.read_write_locked_; + return _impl_.remotepath_.Get(); } -inline void JobLockedInfo::_internal_set_read_write_locked(bool value) { +inline void JobRequestCfg::_internal_set_remotepath(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.read_write_locked_ = value; + _impl_.remotepath_.Set(value, GetArena()); } - -// bool exists = 2; -inline void JobLockedInfo::clear_exists() { +inline std::string* JobRequestCfg::_internal_mutable_remotepath() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exists_ = false; -} -inline bool JobLockedInfo::exists() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.exists) - return _internal_exists(); -} -inline void JobLockedInfo::set_exists(bool value) { - _internal_set_exists(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.exists) + return _impl_.remotepath_.Mutable( GetArena()); } -inline bool JobLockedInfo::_internal_exists() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.exists_; +inline std::string* JobRequestCfg::release_remotepath() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.remotePath) + return _impl_.remotepath_.Release(); } -inline void JobLockedInfo::_internal_set_exists(bool value) { +inline void JobRequestCfg::set_allocated_remotepath(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exists_ = value; + _impl_.remotepath_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remotepath_.IsDefault()) { + _impl_.remotepath_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.remotePath) } -// int64 size = 3; -inline void JobLockedInfo::clear_size() { +// bool download = 4; +inline void JobRequestCfg::clear_download() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.size_ = ::int64_t{0}; + _impl_.download_ = false; } -inline ::int64_t JobLockedInfo::size() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.size) - return _internal_size(); +inline bool JobRequestCfg::download() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.download) + return _internal_download(); } -inline void JobLockedInfo::set_size(::int64_t value) { - _internal_set_size(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.size) +inline void JobRequestCfg::set_download(bool value) { + _internal_set_download(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.download) } -inline ::int64_t JobLockedInfo::_internal_size() const { +inline bool JobRequestCfg::_internal_download() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.size_; + return _impl_.download_; } -inline void JobLockedInfo::_internal_set_size(::int64_t value) { +inline void JobRequestCfg::_internal_set_download(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.size_ = value; + _impl_.download_ = value; } -// uint32 mode = 4; -inline void JobLockedInfo::clear_mode() { +// bool stub_local = 5; +inline void JobRequestCfg::clear_stub_local() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mode_ = 0u; + _impl_.stub_local_ = false; } -inline ::uint32_t JobLockedInfo::mode() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mode) - return _internal_mode(); +inline bool JobRequestCfg::stub_local() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.stub_local) + return _internal_stub_local(); } -inline void JobLockedInfo::set_mode(::uint32_t value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.mode) +inline void JobRequestCfg::set_stub_local(bool value) { + _internal_set_stub_local(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.stub_local) } -inline ::uint32_t JobLockedInfo::_internal_mode() const { +inline bool JobRequestCfg::_internal_stub_local() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mode_; + return _impl_.stub_local_; } -inline void JobLockedInfo::_internal_set_mode(::uint32_t value) { +inline void JobRequestCfg::_internal_set_stub_local(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mode_ = value; + _impl_.stub_local_ = value; } -// .google.protobuf.Timestamp mtime = 5; -inline bool JobLockedInfo::has_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.mtime_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_mtime() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +// bool overwrite = 6; +inline void JobRequestCfg::clear_overwrite() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.overwrite_ = false; } -inline const ::google::protobuf::Timestamp& JobLockedInfo::mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mtime) - return _internal_mtime(); +inline bool JobRequestCfg::overwrite() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.overwrite) + return _internal_overwrite(); } -inline void JobLockedInfo::unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mtime_); - } - _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.mtime) +inline void JobRequestCfg::set_overwrite(bool value) { + _internal_set_overwrite(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.overwrite) } -inline ::google::protobuf::Timestamp* JobLockedInfo::release_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.mtime_; - _impl_.mtime_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; +inline bool JobRequestCfg::_internal_overwrite() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.overwrite_; } -inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_mtime() { +inline void JobRequestCfg::_internal_set_overwrite(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.mtime) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.mtime_; - _impl_.mtime_ = nullptr; - return temp; + _impl_.overwrite_ = value; } -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_mtime() { + +// bool flatten = 7; +inline void JobRequestCfg::clear_flatten() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.mtime_; + _impl_.flatten_ = false; } -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_mtime(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.mtime) - return _msg; +inline bool JobRequestCfg::flatten() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.flatten) + return _internal_flatten(); } -inline void JobLockedInfo::set_allocated_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::Arena* message_arena = GetArena(); +inline void JobRequestCfg::set_flatten(bool value) { + _internal_set_flatten(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.flatten) +} +inline bool JobRequestCfg::_internal_flatten() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.flatten_; +} +inline void JobRequestCfg::_internal_set_flatten(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mtime_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.mtime) + _impl_.flatten_ = value; } -// int64 remote_size = 6; -inline void JobLockedInfo::clear_remote_size() { +// bool force = 8; +inline void JobRequestCfg::clear_force() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_size_ = ::int64_t{0}; + _impl_.force_ = false; } -inline ::int64_t JobLockedInfo::remote_size() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_size) - return _internal_remote_size(); +inline bool JobRequestCfg::force() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.force) + return _internal_force(); } -inline void JobLockedInfo::set_remote_size(::int64_t value) { - _internal_set_remote_size(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.remote_size) +inline void JobRequestCfg::set_force(bool value) { + _internal_set_force(value); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.force) } -inline ::int64_t JobLockedInfo::_internal_remote_size() const { +inline bool JobRequestCfg::_internal_force() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_size_; + return _impl_.force_; } -inline void JobLockedInfo::_internal_set_remote_size(::int64_t value) { +inline void JobRequestCfg::_internal_set_force(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_size_ = value; + _impl_.force_ = value; } -// .google.protobuf.Timestamp remote_mtime = 7; -inline bool JobLockedInfo::has_remote_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.remote_mtime_ != nullptr); +// .flex.JobLockedInfo locked_info = 9; +inline bool JobRequestCfg::has_locked_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.locked_info_ != nullptr); return value; } -inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_remote_mtime() const { +inline void JobRequestCfg::clear_locked_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.locked_info_ != nullptr) _impl_.locked_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; +} +inline const ::flex::JobLockedInfo& JobRequestCfg::_internal_locked_info() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.remote_mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); + const ::flex::JobLockedInfo* p = _impl_.locked_info_; + return p != nullptr ? *p : reinterpret_cast(::flex::_JobLockedInfo_default_instance_); } -inline const ::google::protobuf::Timestamp& JobLockedInfo::remote_mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_mtime) - return _internal_remote_mtime(); +inline const ::flex::JobLockedInfo& JobRequestCfg::locked_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.locked_info) + return _internal_locked_info(); } -inline void JobLockedInfo::unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value) { +inline void JobRequestCfg::unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remote_mtime_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); } - _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobLockedInfo.remote_mtime) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobRequestCfg.locked_info) } -inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { +inline ::flex::JobLockedInfo* JobRequestCfg::release_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* released = _impl_.remote_mtime_; - _impl_.remote_mtime_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000008u; + ::flex::JobLockedInfo* released = _impl_.locked_info_; + _impl_.locked_info_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -9789,1222 +11287,1395 @@ inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { } return released; } -inline ::google::protobuf::Timestamp* JobLockedInfo::unsafe_arena_release_remote_mtime() { +inline ::flex::JobLockedInfo* JobRequestCfg::unsafe_arena_release_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.remote_mtime) + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.locked_info) - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* temp = _impl_.remote_mtime_; - _impl_.remote_mtime_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000008u; + ::flex::JobLockedInfo* temp = _impl_.locked_info_; + _impl_.locked_info_ = nullptr; return temp; } -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_remote_mtime() { +inline ::flex::JobLockedInfo* JobRequestCfg::_internal_mutable_locked_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.remote_mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + if (_impl_.locked_info_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); + _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(p); } - return _impl_.remote_mtime_; + return _impl_.locked_info_; } -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_remote_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_remote_mtime(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.remote_mtime) +inline ::flex::JobLockedInfo* JobRequestCfg::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::flex::JobLockedInfo* _msg = _internal_mutable_locked_info(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.locked_info) return _msg; } -inline void JobLockedInfo::set_allocated_remote_mtime(::google::protobuf::Timestamp* value) { +inline void JobRequestCfg::set_allocated_locked_info(::flex::JobLockedInfo* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remote_mtime_); + delete (_impl_.locked_info_); } if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000002u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_._has_bits_[0] &= ~0x00000008u; } - _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.remote_mtime) + _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.locked_info) } -// uint32 stub_url_rst_id = 8; -inline void JobLockedInfo::clear_stub_url_rst_id() { +// optional bool update = 10; +inline bool JobRequestCfg::has_update() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; +} +inline void JobRequestCfg::clear_update() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_rst_id_ = 0u; + _impl_.update_ = false; + _impl_._has_bits_[0] &= ~0x00000020u; } -inline ::uint32_t JobLockedInfo::stub_url_rst_id() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_rst_id) - return _internal_stub_url_rst_id(); +inline bool JobRequestCfg::update() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.update) + return _internal_update(); } -inline void JobLockedInfo::set_stub_url_rst_id(::uint32_t value) { - _internal_set_stub_url_rst_id(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_rst_id) +inline void JobRequestCfg::set_update(bool value) { + _internal_set_update(value); + _impl_._has_bits_[0] |= 0x00000020u; + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.update) } -inline ::uint32_t JobLockedInfo::_internal_stub_url_rst_id() const { +inline bool JobRequestCfg::_internal_update() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_url_rst_id_; + return _impl_.update_; } -inline void JobLockedInfo::_internal_set_stub_url_rst_id(::uint32_t value) { +inline void JobRequestCfg::_internal_set_update(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_rst_id_ = value; + _impl_.update_ = value; } -// string stub_url_path = 9; -inline void JobLockedInfo::clear_stub_url_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.ClearToEmpty(); +// map metadata = 13; +inline int JobRequestCfg::_internal_metadata_size() const { + return _internal_metadata().size(); } -inline const std::string& JobLockedInfo::stub_url_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_path) - return _internal_stub_url_path(); +inline int JobRequestCfg::metadata_size() const { + return _internal_metadata_size(); } -template -inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_stub_url_path(Arg_&& arg, - Args_... args) { +inline void JobRequestCfg::clear_metadata() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_path) -} -inline std::string* JobLockedInfo::mutable_stub_url_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_stub_url_path(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.stub_url_path) - return _s; + _impl_.metadata_.Clear(); } -inline const std::string& JobLockedInfo::_internal_stub_url_path() const { +inline const ::google::protobuf::Map& JobRequestCfg::_internal_metadata() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_url_path_.Get(); -} -inline void JobLockedInfo::_internal_set_stub_url_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.Set(value, GetArena()); + return _impl_.metadata_.GetMap(); } -inline std::string* JobLockedInfo::_internal_mutable_stub_url_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.stub_url_path_.Mutable( GetArena()); +inline const ::google::protobuf::Map& JobRequestCfg::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:flex.JobRequestCfg.metadata) + return _internal_metadata(); } -inline std::string* JobLockedInfo::release_stub_url_path() { +inline ::google::protobuf::Map* JobRequestCfg::_internal_mutable_metadata() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.stub_url_path) - return _impl_.stub_url_path_.Release(); + return _impl_.metadata_.MutableMap(); } -inline void JobLockedInfo::set_allocated_stub_url_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.stub_url_path_.IsDefault()) { - _impl_.stub_url_path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.stub_url_path) +inline ::google::protobuf::Map* JobRequestCfg::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:flex.JobRequestCfg.metadata) + return _internal_mutable_metadata(); } -// string externalId = 10; -inline void JobLockedInfo::clear_externalid() { +// optional string tagging = 14; +inline bool JobRequestCfg::has_tagging() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + return value; +} +inline void JobRequestCfg::clear_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.ClearToEmpty(); + _impl_.tagging_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000002u; } -inline const std::string& JobLockedInfo::externalid() const +inline const std::string& JobRequestCfg::tagging() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.externalId) - return _internal_externalid(); + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.tagging) + return _internal_tagging(); } template -inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_externalid(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_tagging(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.externalId) + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tagging_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.tagging) } -inline std::string* JobLockedInfo::mutable_externalid() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_externalid(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.externalId) +inline std::string* JobRequestCfg::mutable_tagging() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_tagging(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.tagging) return _s; } -inline const std::string& JobLockedInfo::_internal_externalid() const { +inline const std::string& JobRequestCfg::_internal_tagging() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.externalid_.Get(); + return _impl_.tagging_.Get(); } -inline void JobLockedInfo::_internal_set_externalid(const std::string& value) { +inline void JobRequestCfg::_internal_set_tagging(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.Set(value, GetArena()); + _impl_._has_bits_[0] |= 0x00000002u; + _impl_.tagging_.Set(value, GetArena()); } -inline std::string* JobLockedInfo::_internal_mutable_externalid() { +inline std::string* JobRequestCfg::_internal_mutable_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.externalid_.Mutable( GetArena()); + _impl_._has_bits_[0] |= 0x00000002u; + return _impl_.tagging_.Mutable( GetArena()); } -inline std::string* JobLockedInfo::release_externalid() { +inline std::string* JobRequestCfg::release_tagging() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.externalId) - return _impl_.externalid_.Release(); + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.tagging) + if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000002u; + auto* released = _impl_.tagging_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.tagging_.Set("", GetArena()); + } + return released; } -inline void JobLockedInfo::set_allocated_externalid(std::string* value) { +inline void JobRequestCfg::set_allocated_tagging(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.externalid_.IsDefault()) { - _impl_.externalid_.Set("", GetArena()); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; } - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.externalId) + _impl_.tagging_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { + _impl_.tagging_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.tagging) } -// bool is_archived = 11; -inline void JobLockedInfo::clear_is_archived() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_archived_ = false; -} -inline bool JobLockedInfo::is_archived() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.is_archived) - return _internal_is_archived(); -} -inline void JobLockedInfo::set_is_archived(bool value) { - _internal_set_is_archived(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.is_archived) -} -inline bool JobLockedInfo::_internal_is_archived() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.is_archived_; -} -inline void JobLockedInfo::_internal_set_is_archived(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_archived_ = value; +// optional int32 priority = 11; +inline bool JobRequestCfg::has_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; } - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// JobRequestCfg - -// uint32 remoteStorageTarget = 1; -inline void JobRequestCfg::clear_remotestoragetarget() { +inline void JobRequestCfg::clear_priority() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotestoragetarget_ = 0u; + _impl_.priority_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } -inline ::uint32_t JobRequestCfg::remotestoragetarget() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remoteStorageTarget) - return _internal_remotestoragetarget(); +inline ::int32_t JobRequestCfg::priority() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.priority) + return _internal_priority(); } -inline void JobRequestCfg::set_remotestoragetarget(::uint32_t value) { - _internal_set_remotestoragetarget(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remoteStorageTarget) +inline void JobRequestCfg::set_priority(::int32_t value) { + _internal_set_priority(value); + _impl_._has_bits_[0] |= 0x00000010u; + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.priority) } -inline ::uint32_t JobRequestCfg::_internal_remotestoragetarget() const { +inline ::int32_t JobRequestCfg::_internal_priority() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remotestoragetarget_; + return _impl_.priority_; } -inline void JobRequestCfg::_internal_set_remotestoragetarget(::uint32_t value) { +inline void JobRequestCfg::_internal_set_priority(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotestoragetarget_ = value; + _impl_.priority_ = value; } -// string path = 2; -inline void JobRequestCfg::clear_path() { +// optional string storage_class = 12; +inline bool JobRequestCfg::has_storage_class() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline void JobRequestCfg::clear_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); + _impl_.storage_class_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobRequestCfg::path() const +inline const std::string& JobRequestCfg::storage_class() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.path) - return _internal_path(); + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.storage_class) + return _internal_storage_class(); } template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_path(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_storage_class(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.path) + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.storage_class_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.storage_class) } -inline std::string* JobRequestCfg::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.path) +inline std::string* JobRequestCfg::mutable_storage_class() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_storage_class(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.storage_class) return _s; } -inline const std::string& JobRequestCfg::_internal_path() const { +inline const std::string& JobRequestCfg::_internal_storage_class() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); + return _impl_.storage_class_.Get(); } -inline void JobRequestCfg::_internal_set_path(const std::string& value) { +inline void JobRequestCfg::_internal_set_storage_class(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.storage_class_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_path() { +inline std::string* JobRequestCfg::_internal_mutable_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.storage_class_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_path() { +inline std::string* JobRequestCfg::release_storage_class() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.path) - return _impl_.path_.Release(); + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.storage_class) + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.storage_class_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.storage_class_.Set("", GetArena()); + } + return released; } -inline void JobRequestCfg::set_allocated_path(std::string* value) { +inline void JobRequestCfg::set_allocated_storage_class(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.path) + _impl_.storage_class_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { + _impl_.storage_class_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.storage_class) } -// string remotePath = 3; -inline void JobRequestCfg::clear_remotepath() { +// optional bool allow_restore = 15; +inline bool JobRequestCfg::has_allow_restore() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; +} +inline void JobRequestCfg::clear_allow_restore() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.ClearToEmpty(); + _impl_.allow_restore_ = false; + _impl_._has_bits_[0] &= ~0x00000040u; } -inline const std::string& JobRequestCfg::remotepath() const +inline bool JobRequestCfg::allow_restore() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.allow_restore) + return _internal_allow_restore(); +} +inline void JobRequestCfg::set_allow_restore(bool value) { + _internal_set_allow_restore(value); + _impl_._has_bits_[0] |= 0x00000040u; + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.allow_restore) +} +inline bool JobRequestCfg::_internal_allow_restore() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.allow_restore_; +} +inline void JobRequestCfg::_internal_set_allow_restore(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.allow_restore_ = value; +} + +// optional string filter_expr = 16; +inline bool JobRequestCfg::has_filter_expr() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + return value; +} +inline void JobRequestCfg::clear_filter_expr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.filter_expr_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const std::string& JobRequestCfg::filter_expr() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remotePath) - return _internal_remotepath(); + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.filter_expr) + return _internal_filter_expr(); } template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_remotepath(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_filter_expr(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remotePath) + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.filter_expr_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.filter_expr) } -inline std::string* JobRequestCfg::mutable_remotepath() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_remotepath(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.remotePath) +inline std::string* JobRequestCfg::mutable_filter_expr() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_filter_expr(); + // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.filter_expr) return _s; } -inline const std::string& JobRequestCfg::_internal_remotepath() const { +inline const std::string& JobRequestCfg::_internal_filter_expr() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remotepath_.Get(); + return _impl_.filter_expr_.Get(); } -inline void JobRequestCfg::_internal_set_remotepath(const std::string& value) { +inline void JobRequestCfg::_internal_set_filter_expr(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.Set(value, GetArena()); + _impl_._has_bits_[0] |= 0x00000004u; + _impl_.filter_expr_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_remotepath() { +inline std::string* JobRequestCfg::_internal_mutable_filter_expr() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.remotepath_.Mutable( GetArena()); + _impl_._has_bits_[0] |= 0x00000004u; + return _impl_.filter_expr_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_remotepath() { +inline std::string* JobRequestCfg::release_filter_expr() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.remotePath) - return _impl_.remotepath_.Release(); + // @@protoc_insertion_point(field_release:flex.JobRequestCfg.filter_expr) + if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000004u; + auto* released = _impl_.filter_expr_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.filter_expr_.Set("", GetArena()); + } + return released; } -inline void JobRequestCfg::set_allocated_remotepath(std::string* value) { +inline void JobRequestCfg::set_allocated_filter_expr(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remotepath_.IsDefault()) { - _impl_.remotepath_.Set("", GetArena()); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.remotePath) + _impl_.filter_expr_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filter_expr_.IsDefault()) { + _impl_.filter_expr_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.filter_expr) } -// bool download = 4; -inline void JobRequestCfg::clear_download() { +// optional .flex.RestorePolicy restore_policy = 17; +inline bool JobRequestCfg::has_restore_policy() const { + bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; + return value; +} +inline void JobRequestCfg::clear_restore_policy() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.download_ = false; + _impl_.restore_policy_ = 0; + _impl_._has_bits_[0] &= ~0x00000080u; } -inline bool JobRequestCfg::download() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.download) - return _internal_download(); +inline ::flex::RestorePolicy JobRequestCfg::restore_policy() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.restore_policy) + return _internal_restore_policy(); } -inline void JobRequestCfg::set_download(bool value) { - _internal_set_download(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.download) +inline void JobRequestCfg::set_restore_policy(::flex::RestorePolicy value) { + _internal_set_restore_policy(value); + _impl_._has_bits_[0] |= 0x00000080u; + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.restore_policy) } -inline bool JobRequestCfg::_internal_download() const { +inline ::flex::RestorePolicy JobRequestCfg::_internal_restore_policy() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.download_; + return static_cast<::flex::RestorePolicy>(_impl_.restore_policy_); } -inline void JobRequestCfg::_internal_set_download(bool value) { +inline void JobRequestCfg::_internal_set_restore_policy(::flex::RestorePolicy value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.download_ = value; + _impl_.restore_policy_ = value; } -// bool stub_local = 5; -inline void JobRequestCfg::clear_stub_local() { +// optional uint32 cooldown_secs = 18; +inline bool JobRequestCfg::has_cooldown_secs() const { + bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; + return value; +} +inline void JobRequestCfg::clear_cooldown_secs() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = false; + _impl_.cooldown_secs_ = 0u; + _impl_._has_bits_[0] &= ~0x00000100u; } -inline bool JobRequestCfg::stub_local() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.stub_local) - return _internal_stub_local(); +inline ::uint32_t JobRequestCfg::cooldown_secs() const { + // @@protoc_insertion_point(field_get:flex.JobRequestCfg.cooldown_secs) + return _internal_cooldown_secs(); } -inline void JobRequestCfg::set_stub_local(bool value) { - _internal_set_stub_local(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.stub_local) +inline void JobRequestCfg::set_cooldown_secs(::uint32_t value) { + _internal_set_cooldown_secs(value); + _impl_._has_bits_[0] |= 0x00000100u; + // @@protoc_insertion_point(field_set:flex.JobRequestCfg.cooldown_secs) } -inline bool JobRequestCfg::_internal_stub_local() const { +inline ::uint32_t JobRequestCfg::_internal_cooldown_secs() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_local_; + return _impl_.cooldown_secs_; } -inline void JobRequestCfg::_internal_set_stub_local(bool value) { +inline void JobRequestCfg::_internal_set_cooldown_secs(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = value; + _impl_.cooldown_secs_ = value; } -// bool overwrite = 6; -inline void JobRequestCfg::clear_overwrite() { +// ------------------------------------------------------------------- + +// WorkRequest_Segment + +// int64 offset_start = 1; +inline void WorkRequest_Segment::clear_offset_start() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = false; + _impl_.offset_start_ = ::int64_t{0}; } -inline bool JobRequestCfg::overwrite() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.overwrite) - return _internal_overwrite(); +inline ::int64_t WorkRequest_Segment::offset_start() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_start) + return _internal_offset_start(); } -inline void JobRequestCfg::set_overwrite(bool value) { - _internal_set_overwrite(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.overwrite) +inline void WorkRequest_Segment::set_offset_start(::int64_t value) { + _internal_set_offset_start(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_start) } -inline bool JobRequestCfg::_internal_overwrite() const { +inline ::int64_t WorkRequest_Segment::_internal_offset_start() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.overwrite_; + return _impl_.offset_start_; } -inline void JobRequestCfg::_internal_set_overwrite(bool value) { +inline void WorkRequest_Segment::_internal_set_offset_start(::int64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = value; + _impl_.offset_start_ = value; } -// bool flatten = 7; -inline void JobRequestCfg::clear_flatten() { +// int64 offset_stop = 2; +inline void WorkRequest_Segment::clear_offset_stop() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = false; + _impl_.offset_stop_ = ::int64_t{0}; } -inline bool JobRequestCfg::flatten() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.flatten) - return _internal_flatten(); +inline ::int64_t WorkRequest_Segment::offset_stop() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_stop) + return _internal_offset_stop(); } -inline void JobRequestCfg::set_flatten(bool value) { - _internal_set_flatten(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.flatten) +inline void WorkRequest_Segment::set_offset_stop(::int64_t value) { + _internal_set_offset_stop(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_stop) } -inline bool JobRequestCfg::_internal_flatten() const { +inline ::int64_t WorkRequest_Segment::_internal_offset_stop() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.flatten_; + return _impl_.offset_stop_; } -inline void JobRequestCfg::_internal_set_flatten(bool value) { +inline void WorkRequest_Segment::_internal_set_offset_stop(::int64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = value; + _impl_.offset_stop_ = value; } -// bool force = 8; -inline void JobRequestCfg::clear_force() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = false; -} -inline bool JobRequestCfg::force() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.force) - return _internal_force(); -} -inline void JobRequestCfg::set_force(bool value) { - _internal_set_force(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.force) -} -inline bool JobRequestCfg::_internal_force() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_; -} -inline void JobRequestCfg::_internal_set_force(bool value) { +// int32 parts_start = 3; +inline void WorkRequest_Segment::clear_parts_start() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = value; + _impl_.parts_start_ = 0; } - -// .flex.JobLockedInfo locked_info = 9; -inline bool JobRequestCfg::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.locked_info_ != nullptr); - return value; +inline ::int32_t WorkRequest_Segment::parts_start() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_start) + return _internal_parts_start(); } -inline void JobRequestCfg::clear_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ != nullptr) _impl_.locked_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; +inline void WorkRequest_Segment::set_parts_start(::int32_t value) { + _internal_set_parts_start(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_start) } -inline const ::flex::JobLockedInfo& JobRequestCfg::_internal_locked_info() const { +inline ::int32_t WorkRequest_Segment::_internal_parts_start() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobLockedInfo* p = _impl_.locked_info_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobLockedInfo_default_instance_); -} -inline const ::flex::JobLockedInfo& JobRequestCfg::locked_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.locked_info) - return _internal_locked_info(); + return _impl_.parts_start_; } -inline void JobRequestCfg::unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value) { +inline void WorkRequest_Segment::_internal_set_parts_start(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); - } - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobRequestCfg.locked_info) + _impl_.parts_start_ = value; } -inline ::flex::JobLockedInfo* JobRequestCfg::release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000008u; - ::flex::JobLockedInfo* released = _impl_.locked_info_; - _impl_.locked_info_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::flex::JobLockedInfo* JobRequestCfg::unsafe_arena_release_locked_info() { +// int32 parts_stop = 4; +inline void WorkRequest_Segment::clear_parts_stop() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.locked_info) - - _impl_._has_bits_[0] &= ~0x00000008u; - ::flex::JobLockedInfo* temp = _impl_.locked_info_; - _impl_.locked_info_ = nullptr; - return temp; + _impl_.parts_stop_ = 0; } -inline ::flex::JobLockedInfo* JobRequestCfg::_internal_mutable_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(p); - } - return _impl_.locked_info_; +inline ::int32_t WorkRequest_Segment::parts_stop() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_stop) + return _internal_parts_stop(); } -inline ::flex::JobLockedInfo* JobRequestCfg::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; - ::flex::JobLockedInfo* _msg = _internal_mutable_locked_info(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.locked_info) - return _msg; +inline void WorkRequest_Segment::set_parts_stop(::int32_t value) { + _internal_set_parts_stop(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_stop) } -inline void JobRequestCfg::set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); +inline ::int32_t WorkRequest_Segment::_internal_parts_stop() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.parts_stop_; +} +inline void WorkRequest_Segment::_internal_set_parts_stop(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.locked_info_); - } + _impl_.parts_stop_ = value; +} - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } +// ------------------------------------------------------------------- - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.locked_info) -} +// WorkRequest -// optional bool update = 10; -inline bool JobRequestCfg::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline void JobRequestCfg::clear_update() { +// string job_id = 1; +inline void WorkRequest::clear_job_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; + _impl_.job_id_.ClearToEmpty(); } -inline bool JobRequestCfg::update() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.update) - return _internal_update(); +inline const std::string& WorkRequest::job_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.job_id) + return _internal_job_id(); } -inline void JobRequestCfg::set_update(bool value) { - _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000020u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.update) +template +inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_job_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.WorkRequest.job_id) } -inline bool JobRequestCfg::_internal_update() const { +inline std::string* WorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_job_id(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.job_id) + return _s; +} +inline const std::string& WorkRequest::_internal_job_id() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.update_; + return _impl_.job_id_.Get(); } -inline void JobRequestCfg::_internal_set_update(bool value) { +inline void WorkRequest::_internal_set_job_id(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = value; + _impl_.job_id_.Set(value, GetArena()); +} +inline std::string* WorkRequest::_internal_mutable_job_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.job_id_.Mutable( GetArena()); +} +inline std::string* WorkRequest::release_job_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.WorkRequest.job_id) + return _impl_.job_id_.Release(); +} +inline void WorkRequest::set_allocated_job_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { + _impl_.job_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.job_id) } -// map metadata = 13; -inline int JobRequestCfg::_internal_metadata_size() const { - return _internal_metadata().size(); +// string request_id = 2; +inline void WorkRequest::clear_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.ClearToEmpty(); } -inline int JobRequestCfg::metadata_size() const { - return _internal_metadata_size(); +inline const std::string& WorkRequest::request_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.request_id) + return _internal_request_id(); } -inline void JobRequestCfg::clear_metadata() { +template +inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_request_id(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.metadata_.Clear(); + _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.WorkRequest.request_id) } -inline const ::google::protobuf::Map& JobRequestCfg::_internal_metadata() const { +inline std::string* WorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_request_id(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.request_id) + return _s; +} +inline const std::string& WorkRequest::_internal_request_id() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.metadata_.GetMap(); + return _impl_.request_id_.Get(); } -inline const ::google::protobuf::Map& JobRequestCfg::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:flex.JobRequestCfg.metadata) - return _internal_metadata(); +inline void WorkRequest::_internal_set_request_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.Set(value, GetArena()); } -inline ::google::protobuf::Map* JobRequestCfg::_internal_mutable_metadata() { +inline std::string* WorkRequest::_internal_mutable_request_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.metadata_.MutableMap(); + return _impl_.request_id_.Mutable( GetArena()); } -inline ::google::protobuf::Map* JobRequestCfg::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:flex.JobRequestCfg.metadata) - return _internal_mutable_metadata(); +inline std::string* WorkRequest::release_request_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.WorkRequest.request_id) + return _impl_.request_id_.Release(); } - -// optional string tagging = 14; -inline bool JobRequestCfg::has_tagging() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; +inline void WorkRequest::set_allocated_request_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.request_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { + _impl_.request_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.request_id) } -inline void JobRequestCfg::clear_tagging() { + +// string external_id = 3; +inline void WorkRequest::clear_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.tagging_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_.external_id_.ClearToEmpty(); } -inline const std::string& JobRequestCfg::tagging() const +inline const std::string& WorkRequest::external_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.tagging) - return _internal_tagging(); + // @@protoc_insertion_point(field_get:flex.WorkRequest.external_id) + return _internal_external_id(); } template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_tagging(Arg_&& arg, +inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_external_id(Arg_&& arg, Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tagging_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.tagging) + _impl_.external_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.WorkRequest.external_id) } -inline std::string* JobRequestCfg::mutable_tagging() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_tagging(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.tagging) +inline std::string* WorkRequest::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_external_id(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.external_id) return _s; } -inline const std::string& JobRequestCfg::_internal_tagging() const { +inline const std::string& WorkRequest::_internal_external_id() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.tagging_.Get(); + return _impl_.external_id_.Get(); } -inline void JobRequestCfg::_internal_set_tagging(const std::string& value) { +inline void WorkRequest::_internal_set_external_id(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tagging_.Set(value, GetArena()); + _impl_.external_id_.Set(value, GetArena()); } -inline std::string* JobRequestCfg::_internal_mutable_tagging() { +inline std::string* WorkRequest::_internal_mutable_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.tagging_.Mutable( GetArena()); + return _impl_.external_id_.Mutable( GetArena()); } -inline std::string* JobRequestCfg::release_tagging() { +inline std::string* WorkRequest::release_external_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.tagging) - if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* released = _impl_.tagging_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.tagging_.Set("", GetArena()); - } - return released; + // @@protoc_insertion_point(field_release:flex.WorkRequest.external_id) + return _impl_.external_id_.Release(); } -inline void JobRequestCfg::set_allocated_tagging(std::string* value) { +inline void WorkRequest::set_allocated_external_id(std::string* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.tagging_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { - _impl_.tagging_.Set("", GetArena()); + _impl_.external_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { + _impl_.external_id_.Set("", GetArena()); } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.tagging) + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.external_id) } -// optional int32 priority = 11; -inline bool JobRequestCfg::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; +// string path = 4; +inline void WorkRequest::clear_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.ClearToEmpty(); } -inline void JobRequestCfg::clear_priority() { +inline const std::string& WorkRequest::path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.path) + return _internal_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_path(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; + _impl_.path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.WorkRequest.path) } -inline ::int32_t JobRequestCfg::priority() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.priority) - return _internal_priority(); +inline std::string* WorkRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_path(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.path) + return _s; } -inline void JobRequestCfg::set_priority(::int32_t value) { - _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.priority) +inline const std::string& WorkRequest::_internal_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.path_.Get(); +} +inline void WorkRequest::_internal_set_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.Set(value, GetArena()); } -inline ::int32_t JobRequestCfg::_internal_priority() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.priority_; +inline std::string* WorkRequest::_internal_mutable_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.path_.Mutable( GetArena()); } -inline void JobRequestCfg::_internal_set_priority(::int32_t value) { +inline std::string* WorkRequest::release_path() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = value; + // @@protoc_insertion_point(field_release:flex.WorkRequest.path) + return _impl_.path_.Release(); +} +inline void WorkRequest::set_allocated_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { + _impl_.path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.path) } -// optional string storage_class = 12; -inline bool JobRequestCfg::has_storage_class() const { +// .flex.WorkRequest.Segment segment = 5; +inline bool WorkRequest::has_segment() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.segment_ != nullptr); return value; } -inline void JobRequestCfg::clear_storage_class() { +inline void WorkRequest::clear_segment() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.storage_class_.ClearToEmpty(); + if (_impl_.segment_ != nullptr) _impl_.segment_->Clear(); _impl_._has_bits_[0] &= ~0x00000001u; } -inline const std::string& JobRequestCfg::storage_class() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.storage_class) - return _internal_storage_class(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_storage_class(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.storage_class_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.storage_class) -} -inline std::string* JobRequestCfg::mutable_storage_class() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_storage_class(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.storage_class) - return _s; -} -inline const std::string& JobRequestCfg::_internal_storage_class() const { +inline const ::flex::WorkRequest_Segment& WorkRequest::_internal_segment() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.storage_class_.Get(); + const ::flex::WorkRequest_Segment* p = _impl_.segment_; + return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_Segment_default_instance_); } -inline void JobRequestCfg::_internal_set_storage_class(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.storage_class_.Set(value, GetArena()); +inline const ::flex::WorkRequest_Segment& WorkRequest::segment() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.segment) + return _internal_segment(); } -inline std::string* JobRequestCfg::_internal_mutable_storage_class() { +inline void WorkRequest::unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.storage_class_.Mutable( GetArena()); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.segment_); + } + _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.segment) } -inline std::string* JobRequestCfg::release_storage_class() { +inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.storage_class) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } + _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.storage_class_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.storage_class_.Set("", GetArena()); + ::flex::WorkRequest_Segment* released = _impl_.segment_; + _impl_.segment_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } } return released; } -inline void JobRequestCfg::set_allocated_storage_class(std::string* value) { +inline ::flex::WorkRequest_Segment* WorkRequest::unsafe_arena_release_segment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.WorkRequest.segment) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::WorkRequest_Segment* temp = _impl_.segment_; + _impl_.segment_ = nullptr; + return temp; +} +inline ::flex::WorkRequest_Segment* WorkRequest::_internal_mutable_segment() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.segment_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest_Segment>(GetArena()); + _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(p); + } + return _impl_.segment_; +} +inline ::flex::WorkRequest_Segment* WorkRequest::mutable_segment() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::flex::WorkRequest_Segment* _msg = _internal_mutable_segment(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.segment) + return _msg; +} +inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* value) { + ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.segment_); + } + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } _impl_._has_bits_[0] |= 0x00000001u; } else { _impl_._has_bits_[0] &= ~0x00000001u; } - _impl_.storage_class_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { - _impl_.storage_class_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.storage_class) -} -// optional bool allow_restore = 15; -inline bool JobRequestCfg::has_allow_restore() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; + _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.segment) } -inline void JobRequestCfg::clear_allow_restore() { + +// uint32 remote_storage_target = 6; +inline void WorkRequest::clear_remote_storage_target() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; + _impl_.remote_storage_target_ = 0u; } -inline bool JobRequestCfg::allow_restore() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.allow_restore) - return _internal_allow_restore(); +inline ::uint32_t WorkRequest::remote_storage_target() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.remote_storage_target) + return _internal_remote_storage_target(); } -inline void JobRequestCfg::set_allow_restore(bool value) { - _internal_set_allow_restore(value); - _impl_._has_bits_[0] |= 0x00000040u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.allow_restore) +inline void WorkRequest::set_remote_storage_target(::uint32_t value) { + _internal_set_remote_storage_target(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.remote_storage_target) } -inline bool JobRequestCfg::_internal_allow_restore() const { +inline ::uint32_t WorkRequest::_internal_remote_storage_target() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.allow_restore_; + return _impl_.remote_storage_target_; } -inline void JobRequestCfg::_internal_set_allow_restore(bool value) { +inline void WorkRequest::_internal_set_remote_storage_target(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = value; + _impl_.remote_storage_target_ = value; } -// optional string filter_expr = 16; -inline bool JobRequestCfg::has_filter_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; +// .flex.MockJob mock = 10; +inline bool WorkRequest::has_mock() const { + return Type_case() == kMock; } -inline void JobRequestCfg::clear_filter_expr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.filter_expr_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; +inline bool WorkRequest::_internal_has_mock() const { + return Type_case() == kMock; } -inline const std::string& JobRequestCfg::filter_expr() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.filter_expr) - return _internal_filter_expr(); +inline void WorkRequest::set_has_mock() { + _impl_._oneof_case_[0] = kMock; } -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_filter_expr(Arg_&& arg, - Args_... args) { +inline void WorkRequest::clear_mock() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filter_expr_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.filter_expr) + if (Type_case() == kMock) { + if (GetArena() == nullptr) { + delete _impl_.Type_.mock_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.mock_); + } + clear_has_Type(); + } +} +inline ::flex::MockJob* WorkRequest::release_mock() { + // @@protoc_insertion_point(field_release:flex.WorkRequest.mock) + if (Type_case() == kMock) { + clear_has_Type(); + auto* temp = _impl_.Type_.mock_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.Type_.mock_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flex::MockJob& WorkRequest::_internal_mock() const { + return Type_case() == kMock ? *_impl_.Type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); +} +inline const ::flex::MockJob& WorkRequest::mock() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.mock) + return _internal_mock(); +} +inline ::flex::MockJob* WorkRequest::unsafe_arena_release_mock() { + // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.mock) + if (Type_case() == kMock) { + clear_has_Type(); + auto* temp = _impl_.Type_.mock_; + _impl_.Type_.mock_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void WorkRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_Type(); + if (value) { + set_has_mock(); + _impl_.Type_.mock_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.mock) +} +inline ::flex::MockJob* WorkRequest::_internal_mutable_mock() { + if (Type_case() != kMock) { + clear_Type(); + set_has_mock(); + _impl_.Type_.mock_ = + ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); + } + return _impl_.Type_.mock_; } -inline std::string* JobRequestCfg::mutable_filter_expr() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_filter_expr(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.filter_expr) - return _s; +inline ::flex::MockJob* WorkRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::flex::MockJob* _msg = _internal_mutable_mock(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.mock) + return _msg; } -inline const std::string& JobRequestCfg::_internal_filter_expr() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.filter_expr_.Get(); + +// .flex.SyncJob sync = 11; +inline bool WorkRequest::has_sync() const { + return Type_case() == kSync; } -inline void JobRequestCfg::_internal_set_filter_expr(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filter_expr_.Set(value, GetArena()); +inline bool WorkRequest::_internal_has_sync() const { + return Type_case() == kSync; } -inline std::string* JobRequestCfg::_internal_mutable_filter_expr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.filter_expr_.Mutable( GetArena()); +inline void WorkRequest::set_has_sync() { + _impl_._oneof_case_[0] = kSync; } -inline std::string* JobRequestCfg::release_filter_expr() { +inline void WorkRequest::clear_sync() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.filter_expr) - if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* released = _impl_.filter_expr_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.filter_expr_.Set("", GetArena()); + if (Type_case() == kSync) { + if (GetArena() == nullptr) { + delete _impl_.Type_.sync_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.sync_); + } + clear_has_Type(); } - return released; } -inline void JobRequestCfg::set_allocated_filter_expr(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; +inline ::flex::SyncJob* WorkRequest::release_sync() { + // @@protoc_insertion_point(field_release:flex.WorkRequest.sync) + if (Type_case() == kSync) { + clear_has_Type(); + auto* temp = _impl_.Type_.sync_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.Type_.sync_ = nullptr; + return temp; } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.filter_expr_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filter_expr_.IsDefault()) { - _impl_.filter_expr_.Set("", GetArena()); + return nullptr; } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.filter_expr) } - -// optional .flex.RestorePolicy restore_policy = 17; -inline bool JobRequestCfg::has_restore_policy() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; +inline const ::flex::SyncJob& WorkRequest::_internal_sync() const { + return Type_case() == kSync ? *_impl_.Type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); } -inline void JobRequestCfg::clear_restore_policy() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restore_policy_ = 0; - _impl_._has_bits_[0] &= ~0x00000080u; +inline const ::flex::SyncJob& WorkRequest::sync() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.sync) + return _internal_sync(); } -inline ::flex::RestorePolicy JobRequestCfg::restore_policy() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.restore_policy) - return _internal_restore_policy(); +inline ::flex::SyncJob* WorkRequest::unsafe_arena_release_sync() { + // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.sync) + if (Type_case() == kSync) { + clear_has_Type(); + auto* temp = _impl_.Type_.sync_; + _impl_.Type_.sync_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline void JobRequestCfg::set_restore_policy(::flex::RestorePolicy value) { - _internal_set_restore_policy(value); - _impl_._has_bits_[0] |= 0x00000080u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.restore_policy) +inline void WorkRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_Type(); + if (value) { + set_has_sync(); + _impl_.Type_.sync_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.sync) } -inline ::flex::RestorePolicy JobRequestCfg::_internal_restore_policy() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::RestorePolicy>(_impl_.restore_policy_); +inline ::flex::SyncJob* WorkRequest::_internal_mutable_sync() { + if (Type_case() != kSync) { + clear_Type(); + set_has_sync(); + _impl_.Type_.sync_ = + ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); + } + return _impl_.Type_.sync_; } -inline void JobRequestCfg::_internal_set_restore_policy(::flex::RestorePolicy value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restore_policy_ = value; +inline ::flex::SyncJob* WorkRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::flex::SyncJob* _msg = _internal_mutable_sync(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.sync) + return _msg; } -// optional uint32 cooldown_secs = 18; -inline bool JobRequestCfg::has_cooldown_secs() const { - bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; - return value; -} -inline void JobRequestCfg::clear_cooldown_secs() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cooldown_secs_ = 0u; - _impl_._has_bits_[0] &= ~0x00000100u; -} -inline ::uint32_t JobRequestCfg::cooldown_secs() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.cooldown_secs) - return _internal_cooldown_secs(); -} -inline void JobRequestCfg::set_cooldown_secs(::uint32_t value) { - _internal_set_cooldown_secs(value); - _impl_._has_bits_[0] |= 0x00000100u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.cooldown_secs) +// .flex.BuilderJob builder = 12; +inline bool WorkRequest::has_builder() const { + return Type_case() == kBuilder; } -inline ::uint32_t JobRequestCfg::_internal_cooldown_secs() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.cooldown_secs_; +inline bool WorkRequest::_internal_has_builder() const { + return Type_case() == kBuilder; } -inline void JobRequestCfg::_internal_set_cooldown_secs(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cooldown_secs_ = value; +inline void WorkRequest::set_has_builder() { + _impl_._oneof_case_[0] = kBuilder; } - -// ------------------------------------------------------------------- - -// WorkRequest_Segment - -// int64 offset_start = 1; -inline void WorkRequest_Segment::clear_offset_start() { +inline void WorkRequest::clear_builder() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = ::int64_t{0}; -} -inline ::int64_t WorkRequest_Segment::offset_start() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_start) - return _internal_offset_start(); -} -inline void WorkRequest_Segment::set_offset_start(::int64_t value) { - _internal_set_offset_start(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_start) + if (Type_case() == kBuilder) { + if (GetArena() == nullptr) { + delete _impl_.Type_.builder_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.builder_); + } + clear_has_Type(); + } } -inline ::int64_t WorkRequest_Segment::_internal_offset_start() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_start_; +inline ::flex::BuilderJob* WorkRequest::release_builder() { + // @@protoc_insertion_point(field_release:flex.WorkRequest.builder) + if (Type_case() == kBuilder) { + clear_has_Type(); + auto* temp = _impl_.Type_.builder_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.Type_.builder_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline void WorkRequest_Segment::_internal_set_offset_start(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = value; +inline const ::flex::BuilderJob& WorkRequest::_internal_builder() const { + return Type_case() == kBuilder ? *_impl_.Type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); } - -// int64 offset_stop = 2; -inline void WorkRequest_Segment::clear_offset_stop() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = ::int64_t{0}; +inline const ::flex::BuilderJob& WorkRequest::builder() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.builder) + return _internal_builder(); } -inline ::int64_t WorkRequest_Segment::offset_stop() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_stop) - return _internal_offset_stop(); +inline ::flex::BuilderJob* WorkRequest::unsafe_arena_release_builder() { + // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.builder) + if (Type_case() == kBuilder) { + clear_has_Type(); + auto* temp = _impl_.Type_.builder_; + _impl_.Type_.builder_ = nullptr; + return temp; + } else { + return nullptr; + } } -inline void WorkRequest_Segment::set_offset_stop(::int64_t value) { - _internal_set_offset_stop(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_stop) +inline void WorkRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_Type(); + if (value) { + set_has_builder(); + _impl_.Type_.builder_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.builder) } -inline ::int64_t WorkRequest_Segment::_internal_offset_stop() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_stop_; +inline ::flex::BuilderJob* WorkRequest::_internal_mutable_builder() { + if (Type_case() != kBuilder) { + clear_Type(); + set_has_builder(); + _impl_.Type_.builder_ = + ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); + } + return _impl_.Type_.builder_; } -inline void WorkRequest_Segment::_internal_set_offset_stop(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = value; +inline ::flex::BuilderJob* WorkRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::flex::BuilderJob* _msg = _internal_mutable_builder(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.builder) + return _msg; } -// int32 parts_start = 3; -inline void WorkRequest_Segment::clear_parts_start() { +// bool stub_local = 8; +inline void WorkRequest::clear_stub_local() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_start_ = 0; + _impl_.stub_local_ = false; } -inline ::int32_t WorkRequest_Segment::parts_start() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_start) - return _internal_parts_start(); +inline bool WorkRequest::stub_local() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.stub_local) + return _internal_stub_local(); } -inline void WorkRequest_Segment::set_parts_start(::int32_t value) { - _internal_set_parts_start(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_start) +inline void WorkRequest::set_stub_local(bool value) { + _internal_set_stub_local(value); + // @@protoc_insertion_point(field_set:flex.WorkRequest.stub_local) } -inline ::int32_t WorkRequest_Segment::_internal_parts_start() const { +inline bool WorkRequest::_internal_stub_local() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parts_start_; + return _impl_.stub_local_; } -inline void WorkRequest_Segment::_internal_set_parts_start(::int32_t value) { +inline void WorkRequest::_internal_set_stub_local(bool value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_start_ = value; + _impl_.stub_local_ = value; } -// int32 parts_stop = 4; -inline void WorkRequest_Segment::clear_parts_stop() { +// optional int32 priority = 9; +inline bool WorkRequest::has_priority() const { + bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; + return value; +} +inline void WorkRequest::clear_priority() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_stop_ = 0; + _impl_.priority_ = 0; + _impl_._has_bits_[0] &= ~0x00000010u; } -inline ::int32_t WorkRequest_Segment::parts_stop() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_stop) - return _internal_parts_stop(); +inline ::int32_t WorkRequest::priority() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.priority) + return _internal_priority(); } -inline void WorkRequest_Segment::set_parts_stop(::int32_t value) { - _internal_set_parts_stop(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_stop) +inline void WorkRequest::set_priority(::int32_t value) { + _internal_set_priority(value); + _impl_._has_bits_[0] |= 0x00000010u; + // @@protoc_insertion_point(field_set:flex.WorkRequest.priority) } -inline ::int32_t WorkRequest_Segment::_internal_parts_stop() const { +inline ::int32_t WorkRequest::_internal_priority() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parts_stop_; + return _impl_.priority_; } -inline void WorkRequest_Segment::_internal_set_parts_stop(::int32_t value) { +inline void WorkRequest::_internal_set_priority(::int32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_stop_ = value; + _impl_.priority_ = value; } -// ------------------------------------------------------------------- - -// WorkRequest - -// string job_id = 1; -inline void WorkRequest::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& WorkRequest::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.job_id) - return _internal_job_id(); +// optional .flex.RestorePolicy restore_policy = 13; +inline bool WorkRequest::has_restore_policy() const { + bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; + return value; } -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_job_id(Arg_&& arg, - Args_... args) { +inline void WorkRequest::clear_restore_policy() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.job_id) + _impl_.restore_policy_ = 0; + _impl_._has_bits_[0] &= ~0x00000020u; } -inline std::string* WorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.job_id) - return _s; +inline ::flex::RestorePolicy WorkRequest::restore_policy() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.restore_policy) + return _internal_restore_policy(); } -inline const std::string& WorkRequest::_internal_job_id() const { +inline void WorkRequest::set_restore_policy(::flex::RestorePolicy value) { + _internal_set_restore_policy(value); + _impl_._has_bits_[0] |= 0x00000020u; + // @@protoc_insertion_point(field_set:flex.WorkRequest.restore_policy) +} +inline ::flex::RestorePolicy WorkRequest::_internal_restore_policy() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); + return static_cast<::flex::RestorePolicy>(_impl_.restore_policy_); } -inline void WorkRequest::_internal_set_job_id(const std::string& value) { +inline void WorkRequest::_internal_set_restore_policy(::flex::RestorePolicy value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); + _impl_.restore_policy_ = value; } -inline std::string* WorkRequest::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); + +// optional uint32 cooldown_secs = 14; +inline bool WorkRequest::has_cooldown_secs() const { + bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; + return value; } -inline std::string* WorkRequest::release_job_id() { +inline void WorkRequest::clear_cooldown_secs() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.job_id) - return _impl_.job_id_.Release(); + _impl_.cooldown_secs_ = 0u; + _impl_._has_bits_[0] &= ~0x00000040u; } -inline void WorkRequest::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.job_id) +inline ::uint32_t WorkRequest::cooldown_secs() const { + // @@protoc_insertion_point(field_get:flex.WorkRequest.cooldown_secs) + return _internal_cooldown_secs(); } - -// string request_id = 2; -inline void WorkRequest::clear_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.ClearToEmpty(); +inline void WorkRequest::set_cooldown_secs(::uint32_t value) { + _internal_set_cooldown_secs(value); + _impl_._has_bits_[0] |= 0x00000040u; + // @@protoc_insertion_point(field_set:flex.WorkRequest.cooldown_secs) } -inline const std::string& WorkRequest::request_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.request_id) - return _internal_request_id(); +inline ::uint32_t WorkRequest::_internal_cooldown_secs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.cooldown_secs_; } -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_request_id(Arg_&& arg, - Args_... args) { +inline void WorkRequest::_internal_set_cooldown_secs(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.request_id) + _impl_.cooldown_secs_ = value; } -inline std::string* WorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_request_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.request_id) - return _s; + +// .google.protobuf.Timestamp execute_after = 15; +inline bool WorkRequest::has_execute_after() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.execute_after_ != nullptr); + return value; } -inline const std::string& WorkRequest::_internal_request_id() const { +inline const ::google::protobuf::Timestamp& WorkRequest::_internal_execute_after() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.request_id_.Get(); -} -inline void WorkRequest::_internal_set_request_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(value, GetArena()); -} -inline std::string* WorkRequest::_internal_mutable_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.request_id_.Mutable( GetArena()); + const ::google::protobuf::Timestamp* p = _impl_.execute_after_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); } -inline std::string* WorkRequest::release_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.request_id) - return _impl_.request_id_.Release(); +inline const ::google::protobuf::Timestamp& WorkRequest::execute_after() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.execute_after) + return _internal_execute_after(); } -inline void WorkRequest::set_allocated_request_id(std::string* value) { +inline void WorkRequest::unsafe_arena_set_allocated_execute_after(::google::protobuf::Timestamp* value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { - _impl_.request_id_.Set("", GetArena()); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.execute_after_); } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.request_id) -} - -// string external_id = 3; -inline void WorkRequest::clear_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.ClearToEmpty(); -} -inline const std::string& WorkRequest::external_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.external_id) - return _internal_external_id(); + _impl_.execute_after_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.execute_after) } -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_external_id(Arg_&& arg, - Args_... args) { +inline ::google::protobuf::Timestamp* WorkRequest::release_execute_after() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.external_id) -} -inline std::string* WorkRequest::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_external_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.external_id) - return _s; -} -inline const std::string& WorkRequest::_internal_external_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.external_id_.Get(); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* released = _impl_.execute_after_; + _impl_.execute_after_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; } -inline void WorkRequest::_internal_set_external_id(const std::string& value) { +inline ::google::protobuf::Timestamp* WorkRequest::unsafe_arena_release_execute_after() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(value, GetArena()); + // @@protoc_insertion_point(field_release:flex.WorkRequest.execute_after) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::google::protobuf::Timestamp* temp = _impl_.execute_after_; + _impl_.execute_after_ = nullptr; + return temp; } -inline std::string* WorkRequest::_internal_mutable_external_id() { +inline ::google::protobuf::Timestamp* WorkRequest::_internal_mutable_execute_after() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.external_id_.Mutable( GetArena()); + if (_impl_.execute_after_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.execute_after_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.execute_after_; } -inline std::string* WorkRequest::release_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.external_id) - return _impl_.external_id_.Release(); +inline ::google::protobuf::Timestamp* WorkRequest::mutable_execute_after() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_execute_after(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.execute_after) + return _msg; } -inline void WorkRequest::set_allocated_external_id(std::string* value) { +inline void WorkRequest::set_allocated_execute_after(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { - _impl_.external_id_.Set("", GetArena()); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.execute_after_); } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.external_id) -} -// string path = 4; -inline void WorkRequest::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.execute_after_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.execute_after) } -inline const std::string& WorkRequest::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.path) - return _internal_path(); + +// .google.protobuf.Duration delay_execution = 16; +inline bool WorkRequest::has_delay_execution() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.delay_execution_ != nullptr); + return value; } -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.path) +inline const ::google::protobuf::Duration& WorkRequest::_internal_delay_execution() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Duration* p = _impl_.delay_execution_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Duration_default_instance_); } -inline std::string* WorkRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.path) - return _s; +inline const ::google::protobuf::Duration& WorkRequest::delay_execution() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.delay_execution) + return _internal_delay_execution(); } -inline const std::string& WorkRequest::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); +inline void WorkRequest::unsafe_arena_set_allocated_delay_execution(::google::protobuf::Duration* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.delay_execution_); + } + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.delay_execution) } -inline void WorkRequest::_internal_set_path(const std::string& value) { +inline ::google::protobuf::Duration* WorkRequest::release_delay_execution() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::Duration* released = _impl_.delay_execution_; + _impl_.delay_execution_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; } -inline std::string* WorkRequest::_internal_mutable_path() { +inline ::google::protobuf::Duration* WorkRequest::unsafe_arena_release_delay_execution() { ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); + // @@protoc_insertion_point(field_release:flex.WorkRequest.delay_execution) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::google::protobuf::Duration* temp = _impl_.delay_execution_; + _impl_.delay_execution_ = nullptr; + return temp; } -inline std::string* WorkRequest::release_path() { +inline ::google::protobuf::Duration* WorkRequest::_internal_mutable_delay_execution() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.path) - return _impl_.path_.Release(); + if (_impl_.delay_execution_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena()); + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(p); + } + return _impl_.delay_execution_; } -inline void WorkRequest::set_allocated_path(std::string* value) { +inline ::google::protobuf::Duration* WorkRequest::mutable_delay_execution() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::google::protobuf::Duration* _msg = _internal_mutable_delay_execution(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.delay_execution) + return _msg; +} +inline void WorkRequest::set_allocated_delay_execution(::google::protobuf::Duration* value) { + ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.delay_execution_); } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.path) + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.delay_execution_ = reinterpret_cast<::google::protobuf::Duration*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.delay_execution) } -// .flex.WorkRequest.Segment segment = 5; -inline bool WorkRequest::has_segment() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.segment_ != nullptr); +// optional .flex.BulkJobRequestInfo bulk_info = 17; +inline bool WorkRequest::has_bulk_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; + PROTOBUF_ASSUME(!value || _impl_.bulk_info_ != nullptr); return value; } -inline void WorkRequest::clear_segment() { +inline void WorkRequest::clear_bulk_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.segment_ != nullptr) _impl_.segment_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; + if (_impl_.bulk_info_ != nullptr) _impl_.bulk_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000008u; } -inline const ::flex::WorkRequest_Segment& WorkRequest::_internal_segment() const { +inline const ::flex::BulkJobRequestInfo& WorkRequest::_internal_bulk_info() const { ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::WorkRequest_Segment* p = _impl_.segment_; - return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_Segment_default_instance_); + const ::flex::BulkJobRequestInfo* p = _impl_.bulk_info_; + return p != nullptr ? *p : reinterpret_cast(::flex::_BulkJobRequestInfo_default_instance_); } -inline const ::flex::WorkRequest_Segment& WorkRequest::segment() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.segment) - return _internal_segment(); +inline const ::flex::BulkJobRequestInfo& WorkRequest::bulk_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.WorkRequest.bulk_info) + return _internal_bulk_info(); } -inline void WorkRequest::unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value) { +inline void WorkRequest::unsafe_arena_set_allocated_bulk_info(::flex::BulkJobRequestInfo* value) { ::google::protobuf::internal::TSanWrite(&_impl_); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.segment_); + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bulk_info_); } - _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(value); if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.segment) + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.bulk_info) } -inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { +inline ::flex::BulkJobRequestInfo* WorkRequest::release_bulk_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest_Segment* released = _impl_.segment_; - _impl_.segment_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000008u; + ::flex::BulkJobRequestInfo* released = _impl_.bulk_info_; + _impl_.bulk_info_ = nullptr; if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); released = ::google::protobuf::internal::DuplicateIfNonNull(released); @@ -11018,34 +12689,34 @@ inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { } return released; } -inline ::flex::WorkRequest_Segment* WorkRequest::unsafe_arena_release_segment() { +inline ::flex::BulkJobRequestInfo* WorkRequest::unsafe_arena_release_bulk_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.segment) + // @@protoc_insertion_point(field_release:flex.WorkRequest.bulk_info) - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest_Segment* temp = _impl_.segment_; - _impl_.segment_ = nullptr; + _impl_._has_bits_[0] &= ~0x00000008u; + ::flex::BulkJobRequestInfo* temp = _impl_.bulk_info_; + _impl_.bulk_info_ = nullptr; return temp; } -inline ::flex::WorkRequest_Segment* WorkRequest::_internal_mutable_segment() { +inline ::flex::BulkJobRequestInfo* WorkRequest::_internal_mutable_bulk_info() { ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.segment_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest_Segment>(GetArena()); - _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(p); + if (_impl_.bulk_info_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BulkJobRequestInfo>(GetArena()); + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(p); } - return _impl_.segment_; + return _impl_.bulk_info_; } -inline ::flex::WorkRequest_Segment* WorkRequest::mutable_segment() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::WorkRequest_Segment* _msg = _internal_mutable_segment(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.segment) +inline ::flex::BulkJobRequestInfo* WorkRequest::mutable_bulk_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000008u; + ::flex::BulkJobRequestInfo* _msg = _internal_mutable_bulk_info(); + // @@protoc_insertion_point(field_mutable:flex.WorkRequest.bulk_info) return _msg; } -inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* value) { +inline void WorkRequest::set_allocated_bulk_info(::flex::BulkJobRequestInfo* value) { ::google::protobuf::Arena* message_arena = GetArena(); ::google::protobuf::internal::TSanWrite(&_impl_); if (message_arena == nullptr) { - delete (_impl_.segment_); + delete (_impl_.bulk_info_); } if (value != nullptr) { @@ -11053,389 +12724,359 @@ inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* valu if (message_arena != submessage_arena) { value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_._has_bits_[0] |= 0x00000001u; + _impl_._has_bits_[0] |= 0x00000008u; } else { - _impl_._has_bits_[0] &= ~0x00000001u; + _impl_._has_bits_[0] &= ~0x00000008u; } - _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.segment) + _impl_.bulk_info_ = reinterpret_cast<::flex::BulkJobRequestInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.bulk_info) } -// uint32 remote_storage_target = 6; -inline void WorkRequest::clear_remote_storage_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = 0u; -} -inline ::uint32_t WorkRequest::remote_storage_target() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.remote_storage_target) - return _internal_remote_storage_target(); -} -inline void WorkRequest::set_remote_storage_target(::uint32_t value) { - _internal_set_remote_storage_target(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.remote_storage_target) +inline bool WorkRequest::has_Type() const { + return Type_case() != TYPE_NOT_SET; } -inline ::uint32_t WorkRequest::_internal_remote_storage_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_storage_target_; +inline void WorkRequest::clear_has_Type() { + _impl_._oneof_case_[0] = TYPE_NOT_SET; } -inline void WorkRequest::_internal_set_remote_storage_target(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = value; +inline WorkRequest::TypeCase WorkRequest::Type_case() const { + return WorkRequest::TypeCase(_impl_._oneof_case_[0]); } +// ------------------------------------------------------------------- -// .flex.MockJob mock = 10; -inline bool WorkRequest::has_mock() const { - return Type_case() == kMock; -} -inline bool WorkRequest::_internal_has_mock() const { - return Type_case() == kMock; +// BulkJobRequestInfo + +// string state_mount_path = 1; +inline void BulkJobRequestInfo::clear_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.ClearToEmpty(); } -inline void WorkRequest::set_has_mock() { - _impl_._oneof_case_[0] = kMock; +inline const std::string& BulkJobRequestInfo::state_mount_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkJobRequestInfo.state_mount_path) + return _internal_state_mount_path(); } -inline void WorkRequest::clear_mock() { +template +inline PROTOBUF_ALWAYS_INLINE void BulkJobRequestInfo::set_state_mount_path(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kMock) { - if (GetArena() == nullptr) { - delete _impl_.Type_.mock_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.mock_); - } - clear_has_Type(); - } + _impl_.state_mount_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkJobRequestInfo.state_mount_path) } -inline ::flex::MockJob* WorkRequest::release_mock() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.mock) - if (Type_case() == kMock) { - clear_has_Type(); - auto* temp = _impl_.Type_.mock_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } +inline std::string* BulkJobRequestInfo::mutable_state_mount_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_state_mount_path(); + // @@protoc_insertion_point(field_mutable:flex.BulkJobRequestInfo.state_mount_path) + return _s; } -inline const ::flex::MockJob& WorkRequest::_internal_mock() const { - return Type_case() == kMock ? *_impl_.Type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); +inline const std::string& BulkJobRequestInfo::_internal_state_mount_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.state_mount_path_.Get(); } -inline const ::flex::MockJob& WorkRequest::mock() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.mock) - return _internal_mock(); +inline void BulkJobRequestInfo::_internal_set_state_mount_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.Set(value, GetArena()); } -inline ::flex::MockJob* WorkRequest::unsafe_arena_release_mock() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.mock) - if (Type_case() == kMock) { - clear_has_Type(); - auto* temp = _impl_.Type_.mock_; - _impl_.Type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } +inline std::string* BulkJobRequestInfo::_internal_mutable_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.state_mount_path_.Mutable( GetArena()); } -inline void WorkRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_mock(); - _impl_.Type_.mock_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.mock) +inline std::string* BulkJobRequestInfo::release_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.BulkJobRequestInfo.state_mount_path) + return _impl_.state_mount_path_.Release(); } -inline ::flex::MockJob* WorkRequest::_internal_mutable_mock() { - if (Type_case() != kMock) { - clear_Type(); - set_has_mock(); - _impl_.Type_.mock_ = - ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); +inline void BulkJobRequestInfo::set_allocated_state_mount_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.state_mount_path_.IsDefault()) { + _impl_.state_mount_path_.Set("", GetArena()); } - return _impl_.Type_.mock_; -} -inline ::flex::MockJob* WorkRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::MockJob* _msg = _internal_mutable_mock(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.mock) - return _msg; + // @@protoc_insertion_point(field_set_allocated:flex.BulkJobRequestInfo.state_mount_path) } -// .flex.SyncJob sync = 11; -inline bool WorkRequest::has_sync() const { - return Type_case() == kSync; -} -inline bool WorkRequest::_internal_has_sync() const { - return Type_case() == kSync; +// string operation = 2; +inline void BulkJobRequestInfo::clear_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operation_.ClearToEmpty(); } -inline void WorkRequest::set_has_sync() { - _impl_._oneof_case_[0] = kSync; +inline const std::string& BulkJobRequestInfo::operation() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkJobRequestInfo.operation) + return _internal_operation(); } -inline void WorkRequest::clear_sync() { +template +inline PROTOBUF_ALWAYS_INLINE void BulkJobRequestInfo::set_operation(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kSync) { - if (GetArena() == nullptr) { - delete _impl_.Type_.sync_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.sync_); - } - clear_has_Type(); - } + _impl_.operation_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkJobRequestInfo.operation) +} +inline std::string* BulkJobRequestInfo::mutable_operation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_operation(); + // @@protoc_insertion_point(field_mutable:flex.BulkJobRequestInfo.operation) + return _s; +} +inline const std::string& BulkJobRequestInfo::_internal_operation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.operation_.Get(); } -inline ::flex::SyncJob* WorkRequest::release_sync() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.sync) - if (Type_case() == kSync) { - clear_has_Type(); - auto* temp = _impl_.Type_.sync_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.sync_ = nullptr; - return temp; - } else { - return nullptr; - } +inline void BulkJobRequestInfo::_internal_set_operation(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operation_.Set(value, GetArena()); } -inline const ::flex::SyncJob& WorkRequest::_internal_sync() const { - return Type_case() == kSync ? *_impl_.Type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); +inline std::string* BulkJobRequestInfo::_internal_mutable_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.operation_.Mutable( GetArena()); } -inline const ::flex::SyncJob& WorkRequest::sync() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.sync) - return _internal_sync(); +inline std::string* BulkJobRequestInfo::release_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.BulkJobRequestInfo.operation) + return _impl_.operation_.Release(); } -inline ::flex::SyncJob* WorkRequest::unsafe_arena_release_sync() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.sync) - if (Type_case() == kSync) { - clear_has_Type(); - auto* temp = _impl_.Type_.sync_; - _impl_.Type_.sync_ = nullptr; - return temp; - } else { - return nullptr; +inline void BulkJobRequestInfo::set_allocated_operation(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operation_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.operation_.IsDefault()) { + _impl_.operation_.Set("", GetArena()); } + // @@protoc_insertion_point(field_set_allocated:flex.BulkJobRequestInfo.operation) } -inline void WorkRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_sync(); - _impl_.Type_.sync_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.sync) + +// int64 job_index = 3; +inline void BulkJobRequestInfo::clear_job_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_index_ = ::int64_t{0}; } -inline ::flex::SyncJob* WorkRequest::_internal_mutable_sync() { - if (Type_case() != kSync) { - clear_Type(); - set_has_sync(); - _impl_.Type_.sync_ = - ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); - } - return _impl_.Type_.sync_; +inline ::int64_t BulkJobRequestInfo::job_index() const { + // @@protoc_insertion_point(field_get:flex.BulkJobRequestInfo.job_index) + return _internal_job_index(); } -inline ::flex::SyncJob* WorkRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::SyncJob* _msg = _internal_mutable_sync(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.sync) - return _msg; +inline void BulkJobRequestInfo::set_job_index(::int64_t value) { + _internal_set_job_index(value); + // @@protoc_insertion_point(field_set:flex.BulkJobRequestInfo.job_index) } - -// .flex.BuilderJob builder = 12; -inline bool WorkRequest::has_builder() const { - return Type_case() == kBuilder; +inline ::int64_t BulkJobRequestInfo::_internal_job_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.job_index_; } -inline bool WorkRequest::_internal_has_builder() const { - return Type_case() == kBuilder; +inline void BulkJobRequestInfo::_internal_set_job_index(::int64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.job_index_ = value; } -inline void WorkRequest::set_has_builder() { - _impl_._oneof_case_[0] = kBuilder; + +// ------------------------------------------------------------------- + +// BulkOperation + +// string state_mount_path = 1; +inline void BulkOperation::clear_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.ClearToEmpty(); } -inline void WorkRequest::clear_builder() { +inline const std::string& BulkOperation::state_mount_path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkOperation.state_mount_path) + return _internal_state_mount_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void BulkOperation::set_state_mount_path(Arg_&& arg, + Args_... args) { ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kBuilder) { - if (GetArena() == nullptr) { - delete _impl_.Type_.builder_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.builder_); - } - clear_has_Type(); - } + _impl_.state_mount_path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkOperation.state_mount_path) } -inline ::flex::BuilderJob* WorkRequest::release_builder() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.builder) - if (Type_case() == kBuilder) { - clear_has_Type(); - auto* temp = _impl_.Type_.builder_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } +inline std::string* BulkOperation::mutable_state_mount_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_state_mount_path(); + // @@protoc_insertion_point(field_mutable:flex.BulkOperation.state_mount_path) + return _s; } -inline const ::flex::BuilderJob& WorkRequest::_internal_builder() const { - return Type_case() == kBuilder ? *_impl_.Type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); +inline const std::string& BulkOperation::_internal_state_mount_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.state_mount_path_.Get(); } -inline const ::flex::BuilderJob& WorkRequest::builder() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.builder) - return _internal_builder(); +inline void BulkOperation::_internal_set_state_mount_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.Set(value, GetArena()); } -inline ::flex::BuilderJob* WorkRequest::unsafe_arena_release_builder() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.builder) - if (Type_case() == kBuilder) { - clear_has_Type(); - auto* temp = _impl_.Type_.builder_; - _impl_.Type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } +inline std::string* BulkOperation::_internal_mutable_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.state_mount_path_.Mutable( GetArena()); } -inline void WorkRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_builder(); - _impl_.Type_.builder_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.builder) +inline std::string* BulkOperation::release_state_mount_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.BulkOperation.state_mount_path) + return _impl_.state_mount_path_.Release(); } -inline ::flex::BuilderJob* WorkRequest::_internal_mutable_builder() { - if (Type_case() != kBuilder) { - clear_Type(); - set_has_builder(); - _impl_.Type_.builder_ = - ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); +inline void BulkOperation::set_allocated_state_mount_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_mount_path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.state_mount_path_.IsDefault()) { + _impl_.state_mount_path_.Set("", GetArena()); } - return _impl_.Type_.builder_; -} -inline ::flex::BuilderJob* WorkRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::BuilderJob* _msg = _internal_mutable_builder(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.builder) - return _msg; + // @@protoc_insertion_point(field_set_allocated:flex.BulkOperation.state_mount_path) } -// bool stub_local = 8; -inline void WorkRequest::clear_stub_local() { +// uint32 rst_id = 2; +inline void BulkOperation::clear_rst_id() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = false; + _impl_.rst_id_ = 0u; } -inline bool WorkRequest::stub_local() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.stub_local) - return _internal_stub_local(); +inline ::uint32_t BulkOperation::rst_id() const { + // @@protoc_insertion_point(field_get:flex.BulkOperation.rst_id) + return _internal_rst_id(); } -inline void WorkRequest::set_stub_local(bool value) { - _internal_set_stub_local(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.stub_local) +inline void BulkOperation::set_rst_id(::uint32_t value) { + _internal_set_rst_id(value); + // @@protoc_insertion_point(field_set:flex.BulkOperation.rst_id) } -inline bool WorkRequest::_internal_stub_local() const { +inline ::uint32_t BulkOperation::_internal_rst_id() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_local_; + return _impl_.rst_id_; } -inline void WorkRequest::_internal_set_stub_local(bool value) { +inline void BulkOperation::_internal_set_rst_id(::uint32_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = value; + _impl_.rst_id_ = value; } -// optional int32 priority = 9; -inline bool WorkRequest::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void WorkRequest::clear_priority() { +// string operation = 3; +inline void BulkOperation::clear_operation() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; + _impl_.operation_.ClearToEmpty(); } -inline ::int32_t WorkRequest::priority() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.priority) - return _internal_priority(); +inline const std::string& BulkOperation::operation() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkOperation.operation) + return _internal_operation(); } -inline void WorkRequest::set_priority(::int32_t value) { - _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:flex.WorkRequest.priority) +template +inline PROTOBUF_ALWAYS_INLINE void BulkOperation::set_operation(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operation_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkOperation.operation) } -inline ::int32_t WorkRequest::_internal_priority() const { +inline std::string* BulkOperation::mutable_operation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_operation(); + // @@protoc_insertion_point(field_mutable:flex.BulkOperation.operation) + return _s; +} +inline const std::string& BulkOperation::_internal_operation() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.priority_; + return _impl_.operation_.Get(); } -inline void WorkRequest::_internal_set_priority(::int32_t value) { +inline void BulkOperation::_internal_set_operation(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = value; + _impl_.operation_.Set(value, GetArena()); } - -// optional .flex.RestorePolicy restore_policy = 13; -inline bool WorkRequest::has_restore_policy() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; +inline std::string* BulkOperation::_internal_mutable_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.operation_.Mutable( GetArena()); } -inline void WorkRequest::clear_restore_policy() { +inline std::string* BulkOperation::release_operation() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restore_policy_ = 0; - _impl_._has_bits_[0] &= ~0x00000004u; + // @@protoc_insertion_point(field_release:flex.BulkOperation.operation) + return _impl_.operation_.Release(); } -inline ::flex::RestorePolicy WorkRequest::restore_policy() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.restore_policy) - return _internal_restore_policy(); +inline void BulkOperation::set_allocated_operation(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.operation_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.operation_.IsDefault()) { + _impl_.operation_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.BulkOperation.operation) } -inline void WorkRequest::set_restore_policy(::flex::RestorePolicy value) { - _internal_set_restore_policy(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:flex.WorkRequest.restore_policy) + +// int64 next_job_index = 4; +inline void BulkOperation::clear_next_job_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.next_job_index_ = ::int64_t{0}; } -inline ::flex::RestorePolicy WorkRequest::_internal_restore_policy() const { +inline ::int64_t BulkOperation::next_job_index() const { + // @@protoc_insertion_point(field_get:flex.BulkOperation.next_job_index) + return _internal_next_job_index(); +} +inline void BulkOperation::set_next_job_index(::int64_t value) { + _internal_set_next_job_index(value); + // @@protoc_insertion_point(field_set:flex.BulkOperation.next_job_index) +} +inline ::int64_t BulkOperation::_internal_next_job_index() const { ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::RestorePolicy>(_impl_.restore_policy_); + return _impl_.next_job_index_; } -inline void WorkRequest::_internal_set_restore_policy(::flex::RestorePolicy value) { +inline void BulkOperation::_internal_set_next_job_index(::int64_t value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restore_policy_ = value; + _impl_.next_job_index_ = value; } -// optional uint32 cooldown_secs = 14; -inline bool WorkRequest::has_cooldown_secs() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; +// optional string errors = 5; +inline bool BulkOperation::has_errors() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; return value; } -inline void WorkRequest::clear_cooldown_secs() { +inline void BulkOperation::clear_errors() { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cooldown_secs_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; + _impl_.errors_.ClearToEmpty(); + _impl_._has_bits_[0] &= ~0x00000001u; } -inline ::uint32_t WorkRequest::cooldown_secs() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.cooldown_secs) - return _internal_cooldown_secs(); +inline const std::string& BulkOperation::errors() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BulkOperation.errors) + return _internal_errors(); } -inline void WorkRequest::set_cooldown_secs(::uint32_t value) { - _internal_set_cooldown_secs(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:flex.WorkRequest.cooldown_secs) +template +inline PROTOBUF_ALWAYS_INLINE void BulkOperation::set_errors(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errors_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:flex.BulkOperation.errors) } -inline ::uint32_t WorkRequest::_internal_cooldown_secs() const { +inline std::string* BulkOperation::mutable_errors() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_errors(); + // @@protoc_insertion_point(field_mutable:flex.BulkOperation.errors) + return _s; +} +inline const std::string& BulkOperation::_internal_errors() const { ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.cooldown_secs_; + return _impl_.errors_.Get(); } -inline void WorkRequest::_internal_set_cooldown_secs(::uint32_t value) { +inline void BulkOperation::_internal_set_errors(const std::string& value) { ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cooldown_secs_ = value; + _impl_._has_bits_[0] |= 0x00000001u; + _impl_.errors_.Set(value, GetArena()); } - -inline bool WorkRequest::has_Type() const { - return Type_case() != TYPE_NOT_SET; +inline std::string* BulkOperation::_internal_mutable_errors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_._has_bits_[0] |= 0x00000001u; + return _impl_.errors_.Mutable( GetArena()); } -inline void WorkRequest::clear_has_Type() { - _impl_._oneof_case_[0] = TYPE_NOT_SET; +inline std::string* BulkOperation::release_errors() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.BulkOperation.errors) + if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { + return nullptr; + } + _impl_._has_bits_[0] &= ~0x00000001u; + auto* released = _impl_.errors_.Release(); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { + _impl_.errors_.Set("", GetArena()); + } + return released; } -inline WorkRequest::TypeCase WorkRequest::Type_case() const { - return WorkRequest::TypeCase(_impl_._oneof_case_[0]); +inline void BulkOperation::set_allocated_errors(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + _impl_.errors_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.errors_.IsDefault()) { + _impl_.errors_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:flex.BulkOperation.errors) } + // ------------------------------------------------------------------- // BuilderJob @@ -11580,6 +13221,77 @@ inline void BuilderJob::_internal_set_errors(::int32_t value) { _impl_.errors_ = value; } +// int32 conflicts = 5; +inline void BuilderJob::clear_conflicts() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.conflicts_ = 0; +} +inline ::int32_t BuilderJob::conflicts() const { + // @@protoc_insertion_point(field_get:flex.BuilderJob.conflicts) + return _internal_conflicts(); +} +inline void BuilderJob::set_conflicts(::int32_t value) { + _internal_set_conflicts(value); + // @@protoc_insertion_point(field_set:flex.BuilderJob.conflicts) +} +inline ::int32_t BuilderJob::_internal_conflicts() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.conflicts_; +} +inline void BuilderJob::_internal_set_conflicts(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.conflicts_ = value; +} + +// repeated .flex.BulkOperation bulk_operations = 4; +inline int BuilderJob::_internal_bulk_operations_size() const { + return _internal_bulk_operations().size(); +} +inline int BuilderJob::bulk_operations_size() const { + return _internal_bulk_operations_size(); +} +inline void BuilderJob::clear_bulk_operations() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.bulk_operations_.Clear(); +} +inline ::flex::BulkOperation* BuilderJob::mutable_bulk_operations(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:flex.BuilderJob.bulk_operations) + return _internal_mutable_bulk_operations()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* BuilderJob::mutable_bulk_operations() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:flex.BuilderJob.bulk_operations) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_bulk_operations(); +} +inline const ::flex::BulkOperation& BuilderJob::bulk_operations(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.BuilderJob.bulk_operations) + return _internal_bulk_operations().Get(index); +} +inline ::flex::BulkOperation* BuilderJob::add_bulk_operations() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::flex::BulkOperation* _add = _internal_mutable_bulk_operations()->Add(); + // @@protoc_insertion_point(field_add:flex.BuilderJob.bulk_operations) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& BuilderJob::bulk_operations() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:flex.BuilderJob.bulk_operations) + return _internal_bulk_operations(); +} +inline const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& +BuilderJob::_internal_bulk_operations() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.bulk_operations_; +} +inline ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* +BuilderJob::_internal_mutable_bulk_operations() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.bulk_operations_; +} + // ------------------------------------------------------------------- // MockJob @@ -12590,6 +14302,87 @@ inline void Work_Part::_internal_set_completed(bool value) { _impl_.completed_ = value; } +// optional bool started = 7; +inline bool Work_Part::has_started() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + return value; +} +inline void Work_Part::clear_started() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.started_ = false; + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline bool Work_Part::started() const { + // @@protoc_insertion_point(field_get:flex.Work.Part.started) + return _internal_started(); +} +inline void Work_Part::set_started(bool value) { + _internal_set_started(value); + _impl_._has_bits_[0] |= 0x00000001u; + // @@protoc_insertion_point(field_set:flex.Work.Part.started) +} +inline bool Work_Part::_internal_started() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.started_; +} +inline void Work_Part::_internal_set_started(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.started_ = value; +} + +// ------------------------------------------------------------------- + +// Work_JobBuilderInfo + +// repeated .flex.BulkOperation bulk_operations = 1; +inline int Work_JobBuilderInfo::_internal_bulk_operations_size() const { + return _internal_bulk_operations().size(); +} +inline int Work_JobBuilderInfo::bulk_operations_size() const { + return _internal_bulk_operations_size(); +} +inline void Work_JobBuilderInfo::clear_bulk_operations() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.bulk_operations_.Clear(); +} +inline ::flex::BulkOperation* Work_JobBuilderInfo::mutable_bulk_operations(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:flex.Work.JobBuilderInfo.bulk_operations) + return _internal_mutable_bulk_operations()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* Work_JobBuilderInfo::mutable_bulk_operations() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:flex.Work.JobBuilderInfo.bulk_operations) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_bulk_operations(); +} +inline const ::flex::BulkOperation& Work_JobBuilderInfo::bulk_operations(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.Work.JobBuilderInfo.bulk_operations) + return _internal_bulk_operations().Get(index); +} +inline ::flex::BulkOperation* Work_JobBuilderInfo::add_bulk_operations() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::flex::BulkOperation* _add = _internal_mutable_bulk_operations()->Add(); + // @@protoc_insertion_point(field_add:flex.Work.JobBuilderInfo.bulk_operations) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& Work_JobBuilderInfo::bulk_operations() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:flex.Work.JobBuilderInfo.bulk_operations) + return _internal_bulk_operations(); +} +inline const ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>& +Work_JobBuilderInfo::_internal_bulk_operations() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.bulk_operations_; +} +inline ::google::protobuf::RepeatedPtrField<::flex::BulkOperation>* +Work_JobBuilderInfo::_internal_mutable_bulk_operations() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.bulk_operations_; +} + // ------------------------------------------------------------------- // Work @@ -12905,6 +14698,102 @@ inline void Work::_internal_set_job_builder(bool value) { _impl_.job_builder_ = value; } +// optional .flex.Work.JobBuilderInfo job_builder_info = 7; +inline bool Work::has_job_builder_info() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.job_builder_info_ != nullptr); + return value; +} +inline void Work::clear_job_builder_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.job_builder_info_ != nullptr) _impl_.job_builder_info_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::flex::Work_JobBuilderInfo& Work::_internal_job_builder_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::flex::Work_JobBuilderInfo* p = _impl_.job_builder_info_; + return p != nullptr ? *p : reinterpret_cast(::flex::_Work_JobBuilderInfo_default_instance_); +} +inline const ::flex::Work_JobBuilderInfo& Work::job_builder_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.Work.job_builder_info) + return _internal_job_builder_info(); +} +inline void Work::unsafe_arena_set_allocated_job_builder_info(::flex::Work_JobBuilderInfo* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.job_builder_info_); + } + _impl_.job_builder_info_ = reinterpret_cast<::flex::Work_JobBuilderInfo*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.Work.job_builder_info) +} +inline ::flex::Work_JobBuilderInfo* Work::release_job_builder_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::flex::Work_JobBuilderInfo* released = _impl_.job_builder_info_; + _impl_.job_builder_info_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::flex::Work_JobBuilderInfo* Work::unsafe_arena_release_job_builder_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.Work.job_builder_info) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::flex::Work_JobBuilderInfo* temp = _impl_.job_builder_info_; + _impl_.job_builder_info_ = nullptr; + return temp; +} +inline ::flex::Work_JobBuilderInfo* Work::_internal_mutable_job_builder_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.job_builder_info_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work_JobBuilderInfo>(GetArena()); + _impl_.job_builder_info_ = reinterpret_cast<::flex::Work_JobBuilderInfo*>(p); + } + return _impl_.job_builder_info_; +} +inline ::flex::Work_JobBuilderInfo* Work::mutable_job_builder_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::flex::Work_JobBuilderInfo* _msg = _internal_mutable_job_builder_info(); + // @@protoc_insertion_point(field_mutable:flex.Work.job_builder_info) + return _msg; +} +inline void Work::set_allocated_job_builder_info(::flex::Work_JobBuilderInfo* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.job_builder_info_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.job_builder_info_ = reinterpret_cast<::flex::Work_JobBuilderInfo*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.Work.job_builder_info) +} + // ------------------------------------------------------------------- // UpdateConfigRequest @@ -14317,6 +16206,106 @@ inline void RemoteStorageTarget_Azure::set_allocated_account(std::string* value) // ------------------------------------------------------------------- +// RemoteStorageTarget_XtreemStore + +// .flex.RemoteStorageTarget.S3 s3 = 1; +inline bool RemoteStorageTarget_XtreemStore::has_s3() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.s3_ != nullptr); + return value; +} +inline void RemoteStorageTarget_XtreemStore::clear_s3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.s3_ != nullptr) _impl_.s3_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_XtreemStore::_internal_s3() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::flex::RemoteStorageTarget_S3* p = _impl_.s3_; + return p != nullptr ? *p : reinterpret_cast(::flex::_RemoteStorageTarget_S3_default_instance_); +} +inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_XtreemStore::s3() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.XtreemStore.s3) + return _internal_s3(); +} +inline void RemoteStorageTarget_XtreemStore::unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.s3_); + } + _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.XtreemStore.s3) +} +inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_XtreemStore::release_s3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::RemoteStorageTarget_S3* released = _impl_.s3_; + _impl_.s3_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_XtreemStore::unsafe_arena_release_s3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.XtreemStore.s3) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::flex::RemoteStorageTarget_S3* temp = _impl_.s3_; + _impl_.s3_ = nullptr; + return temp; +} +inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_XtreemStore::_internal_mutable_s3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.s3_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena()); + _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(p); + } + return _impl_.s3_; +} +inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_XtreemStore::mutable_s3() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::flex::RemoteStorageTarget_S3* _msg = _internal_mutable_s3(); + // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.XtreemStore.s3) + return _msg; +} +inline void RemoteStorageTarget_XtreemStore::set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.s3_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(value); + // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.XtreemStore.s3) +} + +// ------------------------------------------------------------------- + // RemoteStorageTarget_POSIX // string path = 1; @@ -14859,6 +16848,85 @@ inline void RemoteStorageTarget::set_allocated_mock(std::string* value) { // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.mock) } +// .flex.RemoteStorageTarget.XtreemStore xtreemstore = 8; +inline bool RemoteStorageTarget::has_xtreemstore() const { + return type_case() == kXtreemstore; +} +inline bool RemoteStorageTarget::_internal_has_xtreemstore() const { + return type_case() == kXtreemstore; +} +inline void RemoteStorageTarget::set_has_xtreemstore() { + _impl_._oneof_case_[0] = kXtreemstore; +} +inline void RemoteStorageTarget::clear_xtreemstore() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (type_case() == kXtreemstore) { + if (GetArena() == nullptr) { + delete _impl_.type_.xtreemstore_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.xtreemstore_); + } + clear_has_type(); + } +} +inline ::flex::RemoteStorageTarget_XtreemStore* RemoteStorageTarget::release_xtreemstore() { + // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.xtreemstore) + if (type_case() == kXtreemstore) { + clear_has_type(); + auto* temp = _impl_.type_.xtreemstore_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.type_.xtreemstore_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flex::RemoteStorageTarget_XtreemStore& RemoteStorageTarget::_internal_xtreemstore() const { + return type_case() == kXtreemstore ? *_impl_.type_.xtreemstore_ : reinterpret_cast<::flex::RemoteStorageTarget_XtreemStore&>(::flex::_RemoteStorageTarget_XtreemStore_default_instance_); +} +inline const ::flex::RemoteStorageTarget_XtreemStore& RemoteStorageTarget::xtreemstore() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.xtreemstore) + return _internal_xtreemstore(); +} +inline ::flex::RemoteStorageTarget_XtreemStore* RemoteStorageTarget::unsafe_arena_release_xtreemstore() { + // @@protoc_insertion_point(field_unsafe_arena_release:flex.RemoteStorageTarget.xtreemstore) + if (type_case() == kXtreemstore) { + clear_has_type(); + auto* temp = _impl_.type_.xtreemstore_; + _impl_.type_.xtreemstore_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RemoteStorageTarget::unsafe_arena_set_allocated_xtreemstore(::flex::RemoteStorageTarget_XtreemStore* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_type(); + if (value) { + set_has_xtreemstore(); + _impl_.type_.xtreemstore_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.xtreemstore) +} +inline ::flex::RemoteStorageTarget_XtreemStore* RemoteStorageTarget::_internal_mutable_xtreemstore() { + if (type_case() != kXtreemstore) { + clear_type(); + set_has_xtreemstore(); + _impl_.type_.xtreemstore_ = + ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_XtreemStore>(GetArena()); + } + return _impl_.type_.xtreemstore_; +} +inline ::flex::RemoteStorageTarget_XtreemStore* RemoteStorageTarget::mutable_xtreemstore() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::flex::RemoteStorageTarget_XtreemStore* _msg = _internal_mutable_xtreemstore(); + // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.xtreemstore) + return _msg; +} + inline bool RemoteStorageTarget::has_type() const { return type_case() != TYPE_NOT_SET; } diff --git a/go/beeremote/beeremote.pb.go b/go/beeremote/beeremote.pb.go index 89548ac..a92fe33 100644 --- a/go/beeremote/beeremote.pb.go +++ b/go/beeremote/beeremote.pb.go @@ -12,6 +12,7 @@ import ( flex "github.com/thinkparq/protobuf/go/flex" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" ) @@ -155,7 +156,7 @@ const ( // When all worker node(s) have accepted the job's work requests, but may be waiting on // an available worker goroutine to pickup the request. Job_SCHEDULED Job_State = 3 - // When all work requests for this job are in progress. + // When any work requests for this job are in progress. Job_RUNNING Job_State = 4 // TODO: https://github.com/ThinkParQ/bee-remote/issues/16 // A user manually requested the job be paused. @@ -475,7 +476,14 @@ type JobRequest struct { // Controls the data state of the stub file when stub_local is true. RestorePolicy *flex.RestorePolicy `protobuf:"varint,13,opt,name=restore_policy,json=restorePolicy,proto3,enum=flex.RestorePolicy,oneof" json:"restore_policy,omitempty"` // Time in seconds to wait after a file is closed before replication begins. - CooldownSecs *uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + CooldownSecs *uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + // delay_execution specifies a delay used to generate the execute-after + // time for the work request by adding it to the current time. + DelayExecution *durationpb.Duration `protobuf:"bytes,15,opt,name=delay_execution,json=delayExecution,proto3,oneof" json:"delay_execution,omitempty"` + // bulk_info is optionally included when the job request participates in a provider-controlled + // bulk operation. It contains builder-maintained metadata needed to track the request within + // that bulk operation. + BulkInfo *flex.BulkJobRequestInfo `protobuf:"bytes,16,opt,name=bulk_info,json=bulkInfo,proto3,oneof" json:"bulk_info,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -609,6 +617,20 @@ func (x *JobRequest) GetCooldownSecs() uint32 { return 0 } +func (x *JobRequest) GetDelayExecution() *durationpb.Duration { + if x != nil { + return x.DelayExecution + } + return nil +} + +func (x *JobRequest) GetBulkInfo() *flex.BulkJobRequestInfo { + if x != nil { + return x.BulkInfo + } + return nil +} + func (x *JobRequest) SetPath(v string) { x.Path = v } @@ -673,6 +695,14 @@ func (x *JobRequest) SetCooldownSecs(v uint32) { x.CooldownSecs = &v } +func (x *JobRequest) SetDelayExecution(v *durationpb.Duration) { + x.DelayExecution = v +} + +func (x *JobRequest) SetBulkInfo(v *flex.BulkJobRequestInfo) { + x.BulkInfo = v +} + func (x *JobRequest) HasType() bool { if x == nil { return false @@ -732,6 +762,20 @@ func (x *JobRequest) HasCooldownSecs() bool { return x.CooldownSecs != nil } +func (x *JobRequest) HasDelayExecution() bool { + if x == nil { + return false + } + return x.DelayExecution != nil +} + +func (x *JobRequest) HasBulkInfo() bool { + if x == nil { + return false + } + return x.BulkInfo != nil +} + func (x *JobRequest) ClearType() { x.Type = nil } @@ -770,6 +814,14 @@ func (x *JobRequest) ClearCooldownSecs() { x.CooldownSecs = nil } +func (x *JobRequest) ClearDelayExecution() { + x.DelayExecution = nil +} + +func (x *JobRequest) ClearBulkInfo() { + x.BulkInfo = nil +} + const JobRequest_Type_not_set_case case_JobRequest_Type = 0 const JobRequest_Sync_case case_JobRequest_Type = 10 const JobRequest_Mock_case case_JobRequest_Type = 11 @@ -824,6 +876,13 @@ type JobRequest_builder struct { RestorePolicy *flex.RestorePolicy // Time in seconds to wait after a file is closed before replication begins. CooldownSecs *uint32 + // delay_execution specifies a delay used to generate the execute-after + // time for the work request by adding it to the current time. + DelayExecution *durationpb.Duration + // bulk_info is optionally included when the job request participates in a provider-controlled + // bulk operation. It contains builder-maintained metadata needed to track the request within + // that bulk operation. + BulkInfo *flex.BulkJobRequestInfo } func (b0 JobRequest_builder) Build() *JobRequest { @@ -849,6 +908,8 @@ func (b0 JobRequest_builder) Build() *JobRequest { x.Update = b.Update x.RestorePolicy = b.RestorePolicy x.CooldownSecs = b.CooldownSecs + x.DelayExecution = b.DelayExecution + x.BulkInfo = b.BulkInfo return m0 } @@ -2713,7 +2774,9 @@ var File_beeremote_proto protoreflect.FileDescriptor var file_beeremote_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x1a, 0x0a, 0x66, 0x6c, - 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, @@ -2737,7 +2800,7 @@ var file_beeremote_proto_rawDesc = []byte{ 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, - 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x22, 0xa4, 0x06, 0x0a, 0x0a, 0x4a, 0x6f, + 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x22, 0xcb, 0x07, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, @@ -2770,224 +2833,234 @@ var file_beeremote_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6f, 0x6c, 0x64, - 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x1a, 0xdb, 0x01, 0x0a, 0x10, 0x47, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, - 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x69, 0x0a, - 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x4c, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, - 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, - 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, - 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, - 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, - 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, - 0x22, 0x8c, 0x05, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, - 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, - 0x40, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x48, 0x01, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x65, - 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x12, 0x47, 0x0a, 0x0f, 0x64, 0x65, + 0x6c, 0x61, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x04, + 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, + 0x6c, 0x6b, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x05, 0x52, 0x08, 0x62, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, + 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x95, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, - 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x53, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, - 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, - 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, - 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, - 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x0a, - 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x22, - 0xa1, 0x02, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, - 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x65, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, - 0x36, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, - 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x76, 0x0a, 0x0a, 0x57, - 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, - 0x6f, 0x6f, 0x6c, 0x22, 0x7e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x74, - 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x47, 0x0a, 0x10, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x42, - 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, - 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, - 0x12, 0x42, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x63, - 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x40, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x37, 0x0a, 0x08, 0x4e, 0x65, 0x77, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, - 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, - 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x22, 0x6e, 0x0a, - 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x02, 0x6f, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, - 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x92, 0x03, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x56, 0x0a, 0x12, 0x62, 0x79, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6e, - 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, - 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, - 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x79, 0x4a, 0x6f, 0x62, 0x49, - 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x79, 0x5f, 0x65, - 0x78, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x0b, 0x62, 0x79, 0x45, 0x78, 0x61, 0x63, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, - 0x0a, 0x0e, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x79, 0x50, 0x61, 0x74, 0x68, - 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x3b, 0x0a, 0x0e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, - 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x33, 0x0a, 0x11, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, - 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, - 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x14, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x72, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, 0x72, 0x73, - 0x74, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x65, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, + 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, + 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x06, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, + 0x5f, 0x73, 0x65, 0x63, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x75, + 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x8c, 0x05, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, + 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, + 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, + 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, + 0x95, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x53, 0x53, + 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, + 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, + 0x47, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, + 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, + 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x46, 0x46, 0x4c, + 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x0a, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x74, 0x6f, 0x70, + 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x36, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x42, + 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x1a, 0x76, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, + 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x7e, 0x0a, 0x12, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, + 0x78, 0x12, 0x47, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x65, + 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x42, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0c, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x11, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x56, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x65, 0x65, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x40, + 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x37, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, + 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, + 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x69, 0x64, 0x22, 0x6e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x22, 0x92, 0x03, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x12, 0x62, 0x79, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x48, 0x00, 0x52, + 0x0e, 0x62, 0x79, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x24, 0x0a, 0x0d, 0x62, 0x79, 0x5f, 0x65, 0x78, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x79, 0x45, 0x78, 0x61, 0x63, + 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0c, 0x62, 0x79, 0x50, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x32, 0x0a, + 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x1a, 0x3b, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, + 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x5f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x72, - 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x72, - 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, - 0x6c, 0x32, 0xf8, 0x04, 0x0a, 0x09, 0x42, 0x65, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, - 0x46, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x2e, 0x62, - 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, - 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x19, 0x2e, - 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, - 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, - 0x2f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x22, 0x33, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x45, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x72, 0x73, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x04, 0x72, 0x73, 0x74, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x5f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x72, 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x15, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, + 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, + 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x32, 0xf8, 0x04, 0x0a, 0x09, 0x42, 0x65, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, + 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1d, 0x2e, + 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, + 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x1c, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, + 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x19, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, + 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x2e, 0x62, 0x65, + 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, + 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_beeremote_proto_enumTypes = make([]protoimpl.EnumInfo, 4) @@ -3023,12 +3096,14 @@ var file_beeremote_proto_goTypes = []any{ (*flex.MockJob)(nil), // 27: flex.MockJob (*flex.BuilderJob)(nil), // 28: flex.BuilderJob (flex.RestorePolicy)(0), // 29: flex.RestorePolicy - (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp - (*flex.WorkRequest)(nil), // 31: flex.WorkRequest - (*flex.Work)(nil), // 32: flex.Work - (*flex.RemoteStorageTarget)(nil), // 33: flex.RemoteStorageTarget - (*flex.GetCapabilitiesRequest)(nil), // 34: flex.GetCapabilitiesRequest - (*flex.GetCapabilitiesResponse)(nil), // 35: flex.GetCapabilitiesResponse + (*durationpb.Duration)(nil), // 30: google.protobuf.Duration + (*flex.BulkJobRequestInfo)(nil), // 31: flex.BulkJobRequestInfo + (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp + (*flex.WorkRequest)(nil), // 33: flex.WorkRequest + (*flex.Work)(nil), // 34: flex.Work + (*flex.RemoteStorageTarget)(nil), // 35: flex.RemoteStorageTarget + (*flex.GetCapabilitiesRequest)(nil), // 36: flex.GetCapabilitiesRequest + (*flex.GetCapabilitiesResponse)(nil), // 37: flex.GetCapabilitiesResponse } var file_beeremote_proto_depIdxs = []int32{ 6, // 0: beeremote.SubmitJobRequest.request:type_name -> beeremote.JobRequest @@ -3039,48 +3114,50 @@ var file_beeremote_proto_depIdxs = []int32{ 28, // 5: beeremote.JobRequest.builder:type_name -> flex.BuilderJob 21, // 6: beeremote.JobRequest.generation_status:type_name -> beeremote.JobRequest.GenerationStatus 29, // 7: beeremote.JobRequest.restore_policy:type_name -> flex.RestorePolicy - 6, // 8: beeremote.Job.request:type_name -> beeremote.JobRequest - 30, // 9: beeremote.Job.created:type_name -> google.protobuf.Timestamp - 22, // 10: beeremote.Job.status:type_name -> beeremote.Job.Status - 30, // 11: beeremote.Job.start_mtime:type_name -> google.protobuf.Timestamp - 30, // 12: beeremote.Job.stop_mtime:type_name -> google.protobuf.Timestamp - 7, // 13: beeremote.JobResult.job:type_name -> beeremote.Job - 31, // 14: beeremote.JobResult.work_requests:type_name -> flex.WorkRequest - 23, // 15: beeremote.JobResult.work_results:type_name -> beeremote.JobResult.WorkResult - 11, // 16: beeremote.UpdatePathsRequest.requested_update:type_name -> beeremote.UpdateJobsRequest - 12, // 17: beeremote.UpdatePathsResponse.update_result:type_name -> beeremote.UpdateJobsResponse - 24, // 18: beeremote.UpdateJobsRequest.remote_targets:type_name -> beeremote.UpdateJobsRequest.RemoteTargetsEntry - 3, // 19: beeremote.UpdateJobsRequest.new_state:type_name -> beeremote.UpdateJobsRequest.NewState - 8, // 20: beeremote.UpdateJobsResponse.results:type_name -> beeremote.JobResult - 25, // 21: beeremote.GetJobsRequest.by_job_id_and_path:type_name -> beeremote.GetJobsRequest.QueryIdAndPath - 8, // 22: beeremote.GetJobsResponse.results:type_name -> beeremote.JobResult - 32, // 23: beeremote.UpdateWorkRequest.work:type_name -> flex.Work - 33, // 24: beeremote.GetRSTConfigResponse.rsts:type_name -> flex.RemoteStorageTarget - 1, // 25: beeremote.JobRequest.GenerationStatus.state:type_name -> beeremote.JobRequest.GenerationStatus.State - 2, // 26: beeremote.Job.Status.state:type_name -> beeremote.Job.State - 30, // 27: beeremote.Job.Status.updated:type_name -> google.protobuf.Timestamp - 32, // 28: beeremote.JobResult.WorkResult.work:type_name -> flex.Work - 4, // 29: beeremote.BeeRemote.SubmitJob:input_type -> beeremote.SubmitJobRequest - 9, // 30: beeremote.BeeRemote.UpdatePaths:input_type -> beeremote.UpdatePathsRequest - 11, // 31: beeremote.BeeRemote.UpdateJobs:input_type -> beeremote.UpdateJobsRequest - 13, // 32: beeremote.BeeRemote.GetJobs:input_type -> beeremote.GetJobsRequest - 15, // 33: beeremote.BeeRemote.UpdateWork:input_type -> beeremote.UpdateWorkRequest - 17, // 34: beeremote.BeeRemote.GetRSTConfig:input_type -> beeremote.GetRSTConfigRequest - 19, // 35: beeremote.BeeRemote.GetStubContents:input_type -> beeremote.GetStubContentsRequest - 34, // 36: beeremote.BeeRemote.GetCapabilities:input_type -> flex.GetCapabilitiesRequest - 5, // 37: beeremote.BeeRemote.SubmitJob:output_type -> beeremote.SubmitJobResponse - 10, // 38: beeremote.BeeRemote.UpdatePaths:output_type -> beeremote.UpdatePathsResponse - 12, // 39: beeremote.BeeRemote.UpdateJobs:output_type -> beeremote.UpdateJobsResponse - 14, // 40: beeremote.BeeRemote.GetJobs:output_type -> beeremote.GetJobsResponse - 16, // 41: beeremote.BeeRemote.UpdateWork:output_type -> beeremote.UpdateWorkResponse - 18, // 42: beeremote.BeeRemote.GetRSTConfig:output_type -> beeremote.GetRSTConfigResponse - 20, // 43: beeremote.BeeRemote.GetStubContents:output_type -> beeremote.GetStubContentsResponse - 35, // 44: beeremote.BeeRemote.GetCapabilities:output_type -> flex.GetCapabilitiesResponse - 37, // [37:45] is the sub-list for method output_type - 29, // [29:37] is the sub-list for method input_type - 29, // [29:29] is the sub-list for extension type_name - 29, // [29:29] is the sub-list for extension extendee - 0, // [0:29] is the sub-list for field type_name + 30, // 8: beeremote.JobRequest.delay_execution:type_name -> google.protobuf.Duration + 31, // 9: beeremote.JobRequest.bulk_info:type_name -> flex.BulkJobRequestInfo + 6, // 10: beeremote.Job.request:type_name -> beeremote.JobRequest + 32, // 11: beeremote.Job.created:type_name -> google.protobuf.Timestamp + 22, // 12: beeremote.Job.status:type_name -> beeremote.Job.Status + 32, // 13: beeremote.Job.start_mtime:type_name -> google.protobuf.Timestamp + 32, // 14: beeremote.Job.stop_mtime:type_name -> google.protobuf.Timestamp + 7, // 15: beeremote.JobResult.job:type_name -> beeremote.Job + 33, // 16: beeremote.JobResult.work_requests:type_name -> flex.WorkRequest + 23, // 17: beeremote.JobResult.work_results:type_name -> beeremote.JobResult.WorkResult + 11, // 18: beeremote.UpdatePathsRequest.requested_update:type_name -> beeremote.UpdateJobsRequest + 12, // 19: beeremote.UpdatePathsResponse.update_result:type_name -> beeremote.UpdateJobsResponse + 24, // 20: beeremote.UpdateJobsRequest.remote_targets:type_name -> beeremote.UpdateJobsRequest.RemoteTargetsEntry + 3, // 21: beeremote.UpdateJobsRequest.new_state:type_name -> beeremote.UpdateJobsRequest.NewState + 8, // 22: beeremote.UpdateJobsResponse.results:type_name -> beeremote.JobResult + 25, // 23: beeremote.GetJobsRequest.by_job_id_and_path:type_name -> beeremote.GetJobsRequest.QueryIdAndPath + 8, // 24: beeremote.GetJobsResponse.results:type_name -> beeremote.JobResult + 34, // 25: beeremote.UpdateWorkRequest.work:type_name -> flex.Work + 35, // 26: beeremote.GetRSTConfigResponse.rsts:type_name -> flex.RemoteStorageTarget + 1, // 27: beeremote.JobRequest.GenerationStatus.state:type_name -> beeremote.JobRequest.GenerationStatus.State + 2, // 28: beeremote.Job.Status.state:type_name -> beeremote.Job.State + 32, // 29: beeremote.Job.Status.updated:type_name -> google.protobuf.Timestamp + 34, // 30: beeremote.JobResult.WorkResult.work:type_name -> flex.Work + 4, // 31: beeremote.BeeRemote.SubmitJob:input_type -> beeremote.SubmitJobRequest + 9, // 32: beeremote.BeeRemote.UpdatePaths:input_type -> beeremote.UpdatePathsRequest + 11, // 33: beeremote.BeeRemote.UpdateJobs:input_type -> beeremote.UpdateJobsRequest + 13, // 34: beeremote.BeeRemote.GetJobs:input_type -> beeremote.GetJobsRequest + 15, // 35: beeremote.BeeRemote.UpdateWork:input_type -> beeremote.UpdateWorkRequest + 17, // 36: beeremote.BeeRemote.GetRSTConfig:input_type -> beeremote.GetRSTConfigRequest + 19, // 37: beeremote.BeeRemote.GetStubContents:input_type -> beeremote.GetStubContentsRequest + 36, // 38: beeremote.BeeRemote.GetCapabilities:input_type -> flex.GetCapabilitiesRequest + 5, // 39: beeremote.BeeRemote.SubmitJob:output_type -> beeremote.SubmitJobResponse + 10, // 40: beeremote.BeeRemote.UpdatePaths:output_type -> beeremote.UpdatePathsResponse + 12, // 41: beeremote.BeeRemote.UpdateJobs:output_type -> beeremote.UpdateJobsResponse + 14, // 42: beeremote.BeeRemote.GetJobs:output_type -> beeremote.GetJobsResponse + 16, // 43: beeremote.BeeRemote.UpdateWork:output_type -> beeremote.UpdateWorkResponse + 18, // 44: beeremote.BeeRemote.GetRSTConfig:output_type -> beeremote.GetRSTConfigResponse + 20, // 45: beeremote.BeeRemote.GetStubContents:output_type -> beeremote.GetStubContentsResponse + 37, // 46: beeremote.BeeRemote.GetCapabilities:output_type -> flex.GetCapabilitiesResponse + 39, // [39:47] is the sub-list for method output_type + 31, // [31:39] is the sub-list for method input_type + 31, // [31:31] is the sub-list for extension type_name + 31, // [31:31] is the sub-list for extension extendee + 0, // [0:31] is the sub-list for field type_name } func init() { file_beeremote_proto_init() } diff --git a/go/beeremote/beeremote_protoopaque.pb.go b/go/beeremote/beeremote_protoopaque.pb.go index 8d3a8a4..01521bf 100644 --- a/go/beeremote/beeremote_protoopaque.pb.go +++ b/go/beeremote/beeremote_protoopaque.pb.go @@ -12,6 +12,7 @@ import ( flex "github.com/thinkparq/protobuf/go/flex" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" ) @@ -155,7 +156,7 @@ const ( // When all worker node(s) have accepted the job's work requests, but may be waiting on // an available worker goroutine to pickup the request. Job_SCHEDULED Job_State = 3 - // When all work requests for this job are in progress. + // When any work requests for this job are in progress. Job_RUNNING Job_State = 4 // TODO: https://github.com/ThinkParQ/bee-remote/issues/16 // A user manually requested the job be paused. @@ -456,6 +457,8 @@ type JobRequest struct { xxx_hidden_Update bool `protobuf:"varint,9,opt,name=update,proto3,oneof" json:"update,omitempty"` xxx_hidden_RestorePolicy flex.RestorePolicy `protobuf:"varint,13,opt,name=restore_policy,json=restorePolicy,proto3,enum=flex.RestorePolicy,oneof" json:"restore_policy,omitempty"` xxx_hidden_CooldownSecs uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + xxx_hidden_DelayExecution *durationpb.Duration `protobuf:"bytes,15,opt,name=delay_execution,json=delayExecution,proto3,oneof" json:"delay_execution,omitempty"` + xxx_hidden_BulkInfo *flex.BulkJobRequestInfo `protobuf:"bytes,16,opt,name=bulk_info,json=bulkInfo,proto3,oneof" json:"bulk_info,omitempty"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -586,6 +589,20 @@ func (x *JobRequest) GetCooldownSecs() uint32 { return 0 } +func (x *JobRequest) GetDelayExecution() *durationpb.Duration { + if x != nil { + return x.xxx_hidden_DelayExecution + } + return nil +} + +func (x *JobRequest) GetBulkInfo() *flex.BulkJobRequestInfo { + if x != nil { + return x.xxx_hidden_BulkInfo + } + return nil +} + func (x *JobRequest) SetPath(v string) { x.xxx_hidden_Path = v } @@ -640,17 +657,25 @@ func (x *JobRequest) SetGenerationStatus(v *JobRequest_GenerationStatus) { func (x *JobRequest) SetUpdate(v bool) { x.xxx_hidden_Update = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 8, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 8, 13) } func (x *JobRequest) SetRestorePolicy(v flex.RestorePolicy) { x.xxx_hidden_RestorePolicy = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 9, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 9, 13) } func (x *JobRequest) SetCooldownSecs(v uint32) { x.xxx_hidden_CooldownSecs = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 10, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 10, 13) +} + +func (x *JobRequest) SetDelayExecution(v *durationpb.Duration) { + x.xxx_hidden_DelayExecution = v +} + +func (x *JobRequest) SetBulkInfo(v *flex.BulkJobRequestInfo) { + x.xxx_hidden_BulkInfo = v } func (x *JobRequest) HasType() bool { @@ -712,6 +737,20 @@ func (x *JobRequest) HasCooldownSecs() bool { return protoimpl.X.Present(&(x.XXX_presence[0]), 10) } +func (x *JobRequest) HasDelayExecution() bool { + if x == nil { + return false + } + return x.xxx_hidden_DelayExecution != nil +} + +func (x *JobRequest) HasBulkInfo() bool { + if x == nil { + return false + } + return x.xxx_hidden_BulkInfo != nil +} + func (x *JobRequest) ClearType() { x.xxx_hidden_Type = nil } @@ -753,6 +792,14 @@ func (x *JobRequest) ClearCooldownSecs() { x.xxx_hidden_CooldownSecs = 0 } +func (x *JobRequest) ClearDelayExecution() { + x.xxx_hidden_DelayExecution = nil +} + +func (x *JobRequest) ClearBulkInfo() { + x.xxx_hidden_BulkInfo = nil +} + const JobRequest_Type_not_set_case case_JobRequest_Type = 0 const JobRequest_Sync_case case_JobRequest_Type = 10 const JobRequest_Mock_case case_JobRequest_Type = 11 @@ -807,6 +854,13 @@ type JobRequest_builder struct { RestorePolicy *flex.RestorePolicy // Time in seconds to wait after a file is closed before replication begins. CooldownSecs *uint32 + // delay_execution specifies a delay used to generate the execute-after + // time for the work request by adding it to the current time. + DelayExecution *durationpb.Duration + // bulk_info is optionally included when the job request participates in a provider-controlled + // bulk operation. It contains builder-maintained metadata needed to track the request within + // that bulk operation. + BulkInfo *flex.BulkJobRequestInfo } func (b0 JobRequest_builder) Build() *JobRequest { @@ -830,17 +884,19 @@ func (b0 JobRequest_builder) Build() *JobRequest { x.xxx_hidden_StubLocal = b.StubLocal x.xxx_hidden_GenerationStatus = b.GenerationStatus if b.Update != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 8, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 8, 13) x.xxx_hidden_Update = *b.Update } if b.RestorePolicy != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 9, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 9, 13) x.xxx_hidden_RestorePolicy = *b.RestorePolicy } if b.CooldownSecs != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 10, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 10, 13) x.xxx_hidden_CooldownSecs = *b.CooldownSecs } + x.xxx_hidden_DelayExecution = b.DelayExecution + x.xxx_hidden_BulkInfo = b.BulkInfo return m0 } @@ -2675,7 +2731,9 @@ var File_beeremote_proto protoreflect.FileDescriptor var file_beeremote_proto_rawDesc = []byte{ 0x0a, 0x0f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x1a, 0x0a, 0x66, 0x6c, - 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, @@ -2699,7 +2757,7 @@ var file_beeremote_proto_rawDesc = []byte{ 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, - 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x22, 0xa4, 0x06, 0x0a, 0x0a, 0x4a, 0x6f, + 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x22, 0xcb, 0x07, 0x0a, 0x0a, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, @@ -2732,224 +2790,234 @@ var file_beeremote_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6f, 0x6c, 0x64, - 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x1a, 0xdb, 0x01, 0x0a, 0x10, 0x47, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, - 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x69, 0x0a, - 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x4c, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, - 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, - 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, - 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, - 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, - 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, - 0x22, 0x8c, 0x05, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, - 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, - 0x40, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x48, 0x01, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, - 0x01, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x65, - 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x12, 0x47, 0x0a, 0x0f, 0x64, 0x65, + 0x6c, 0x61, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x04, + 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, + 0x6c, 0x6b, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x48, 0x05, 0x52, 0x08, 0x62, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, + 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x95, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, - 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x53, 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, - 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, - 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, - 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, - 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x46, 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x0a, - 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, - 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x22, - 0xa1, 0x02, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, - 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x65, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, - 0x36, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, - 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x76, 0x0a, 0x0a, 0x57, - 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, - 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, - 0x6f, 0x6f, 0x6c, 0x22, 0x7e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x74, - 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x47, 0x0a, 0x10, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x42, - 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, - 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, - 0x12, 0x42, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x63, - 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x40, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x37, 0x0a, 0x08, 0x4e, 0x65, 0x77, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, - 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, - 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, - 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x22, 0x6e, 0x0a, - 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x02, 0x6f, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, - 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x92, 0x03, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x56, 0x0a, 0x12, 0x62, 0x79, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6e, - 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, - 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, - 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x79, 0x4a, 0x6f, 0x62, 0x49, - 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x79, 0x5f, 0x65, - 0x78, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x0b, 0x62, 0x79, 0x45, 0x78, 0x61, 0x63, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, - 0x0a, 0x0e, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x79, 0x50, 0x61, 0x74, 0x68, - 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0x3b, 0x0a, 0x0e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, - 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x33, 0x0a, 0x11, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, - 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, - 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x14, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x45, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x72, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x04, 0x72, 0x73, - 0x74, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x67, 0x65, 0x22, 0x69, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, + 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, + 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x4f, 0x46, + 0x46, 0x4c, 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x06, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, + 0x5f, 0x73, 0x65, 0x63, 0x73, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x75, + 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x8c, 0x05, 0x0a, 0x03, 0x4a, 0x6f, 0x62, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x70, + 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x70, + 0x4d, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x1a, 0x84, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, + 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, + 0x95, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, + 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x41, 0x53, 0x53, + 0x49, 0x47, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, + 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, + 0x47, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, + 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, + 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x46, 0x46, 0x4c, + 0x4f, 0x41, 0x44, 0x45, 0x44, 0x10, 0x0a, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x74, 0x6f, 0x70, + 0x5f, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x09, 0x4a, 0x6f, 0x62, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x36, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x42, + 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x73, 0x1a, 0x76, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, + 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x7e, 0x0a, 0x12, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, + 0x78, 0x12, 0x47, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x62, 0x65, + 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x42, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0c, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x88, 0x03, 0x0a, 0x11, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, + 0x56, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x62, 0x65, 0x65, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x40, + 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x37, 0x0a, 0x08, 0x4e, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, + 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, + 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x69, 0x64, 0x22, 0x6e, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x22, 0x92, 0x03, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x12, 0x62, 0x79, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x69, 0x64, 0x5f, 0x61, 0x6e, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x48, 0x00, 0x52, + 0x0e, 0x62, 0x79, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x41, 0x6e, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x24, 0x0a, 0x0d, 0x62, 0x79, 0x5f, 0x65, 0x78, 0x61, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x79, 0x45, 0x78, 0x61, 0x63, + 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0c, 0x62, 0x79, 0x50, 0x61, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x32, 0x0a, + 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x77, 0x6f, 0x72, + 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x73, 0x1a, 0x3b, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x6e, + 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x55, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x5f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x72, - 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x72, - 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, - 0x6c, 0x32, 0xf8, 0x04, 0x0a, 0x09, 0x42, 0x65, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, - 0x46, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x2e, 0x62, - 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, - 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x19, 0x2e, - 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, - 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, - 0x2f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x12, 0x2e, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x4a, 0x6f, + 0x62, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, + 0x22, 0x33, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x45, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x72, 0x73, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x04, 0x72, 0x73, 0x74, 0x73, 0x22, 0x2c, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x5f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x06, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x48, 0x00, 0x52, 0x05, 0x72, 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x15, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x03, 0x75, + 0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, + 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x6c, 0x32, 0xf8, 0x04, 0x0a, 0x09, 0x42, 0x65, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, + 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1c, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, + 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1d, 0x2e, + 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, + 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x1c, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07, 0x47, 0x65, 0x74, + 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x19, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x4a, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x49, 0x0a, + 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1c, 0x2e, 0x62, 0x65, + 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x62, 0x65, 0x65, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, + 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x53, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x2e, 0x62, + 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x75, 0x62, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x53, + 0x74, 0x75, 0x62, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x65, 0x65, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_beeremote_proto_enumTypes = make([]protoimpl.EnumInfo, 4) @@ -2985,12 +3053,14 @@ var file_beeremote_proto_goTypes = []any{ (*flex.MockJob)(nil), // 27: flex.MockJob (*flex.BuilderJob)(nil), // 28: flex.BuilderJob (flex.RestorePolicy)(0), // 29: flex.RestorePolicy - (*timestamppb.Timestamp)(nil), // 30: google.protobuf.Timestamp - (*flex.WorkRequest)(nil), // 31: flex.WorkRequest - (*flex.Work)(nil), // 32: flex.Work - (*flex.RemoteStorageTarget)(nil), // 33: flex.RemoteStorageTarget - (*flex.GetCapabilitiesRequest)(nil), // 34: flex.GetCapabilitiesRequest - (*flex.GetCapabilitiesResponse)(nil), // 35: flex.GetCapabilitiesResponse + (*durationpb.Duration)(nil), // 30: google.protobuf.Duration + (*flex.BulkJobRequestInfo)(nil), // 31: flex.BulkJobRequestInfo + (*timestamppb.Timestamp)(nil), // 32: google.protobuf.Timestamp + (*flex.WorkRequest)(nil), // 33: flex.WorkRequest + (*flex.Work)(nil), // 34: flex.Work + (*flex.RemoteStorageTarget)(nil), // 35: flex.RemoteStorageTarget + (*flex.GetCapabilitiesRequest)(nil), // 36: flex.GetCapabilitiesRequest + (*flex.GetCapabilitiesResponse)(nil), // 37: flex.GetCapabilitiesResponse } var file_beeremote_proto_depIdxs = []int32{ 6, // 0: beeremote.SubmitJobRequest.request:type_name -> beeremote.JobRequest @@ -3001,48 +3071,50 @@ var file_beeremote_proto_depIdxs = []int32{ 28, // 5: beeremote.JobRequest.builder:type_name -> flex.BuilderJob 21, // 6: beeremote.JobRequest.generation_status:type_name -> beeremote.JobRequest.GenerationStatus 29, // 7: beeremote.JobRequest.restore_policy:type_name -> flex.RestorePolicy - 6, // 8: beeremote.Job.request:type_name -> beeremote.JobRequest - 30, // 9: beeremote.Job.created:type_name -> google.protobuf.Timestamp - 22, // 10: beeremote.Job.status:type_name -> beeremote.Job.Status - 30, // 11: beeremote.Job.start_mtime:type_name -> google.protobuf.Timestamp - 30, // 12: beeremote.Job.stop_mtime:type_name -> google.protobuf.Timestamp - 7, // 13: beeremote.JobResult.job:type_name -> beeremote.Job - 31, // 14: beeremote.JobResult.work_requests:type_name -> flex.WorkRequest - 23, // 15: beeremote.JobResult.work_results:type_name -> beeremote.JobResult.WorkResult - 11, // 16: beeremote.UpdatePathsRequest.requested_update:type_name -> beeremote.UpdateJobsRequest - 12, // 17: beeremote.UpdatePathsResponse.update_result:type_name -> beeremote.UpdateJobsResponse - 24, // 18: beeremote.UpdateJobsRequest.remote_targets:type_name -> beeremote.UpdateJobsRequest.RemoteTargetsEntry - 3, // 19: beeremote.UpdateJobsRequest.new_state:type_name -> beeremote.UpdateJobsRequest.NewState - 8, // 20: beeremote.UpdateJobsResponse.results:type_name -> beeremote.JobResult - 25, // 21: beeremote.GetJobsRequest.by_job_id_and_path:type_name -> beeremote.GetJobsRequest.QueryIdAndPath - 8, // 22: beeremote.GetJobsResponse.results:type_name -> beeremote.JobResult - 32, // 23: beeremote.UpdateWorkRequest.work:type_name -> flex.Work - 33, // 24: beeremote.GetRSTConfigResponse.rsts:type_name -> flex.RemoteStorageTarget - 1, // 25: beeremote.JobRequest.GenerationStatus.state:type_name -> beeremote.JobRequest.GenerationStatus.State - 2, // 26: beeremote.Job.Status.state:type_name -> beeremote.Job.State - 30, // 27: beeremote.Job.Status.updated:type_name -> google.protobuf.Timestamp - 32, // 28: beeremote.JobResult.WorkResult.work:type_name -> flex.Work - 4, // 29: beeremote.BeeRemote.SubmitJob:input_type -> beeremote.SubmitJobRequest - 9, // 30: beeremote.BeeRemote.UpdatePaths:input_type -> beeremote.UpdatePathsRequest - 11, // 31: beeremote.BeeRemote.UpdateJobs:input_type -> beeremote.UpdateJobsRequest - 13, // 32: beeremote.BeeRemote.GetJobs:input_type -> beeremote.GetJobsRequest - 15, // 33: beeremote.BeeRemote.UpdateWork:input_type -> beeremote.UpdateWorkRequest - 17, // 34: beeremote.BeeRemote.GetRSTConfig:input_type -> beeremote.GetRSTConfigRequest - 19, // 35: beeremote.BeeRemote.GetStubContents:input_type -> beeremote.GetStubContentsRequest - 34, // 36: beeremote.BeeRemote.GetCapabilities:input_type -> flex.GetCapabilitiesRequest - 5, // 37: beeremote.BeeRemote.SubmitJob:output_type -> beeremote.SubmitJobResponse - 10, // 38: beeremote.BeeRemote.UpdatePaths:output_type -> beeremote.UpdatePathsResponse - 12, // 39: beeremote.BeeRemote.UpdateJobs:output_type -> beeremote.UpdateJobsResponse - 14, // 40: beeremote.BeeRemote.GetJobs:output_type -> beeremote.GetJobsResponse - 16, // 41: beeremote.BeeRemote.UpdateWork:output_type -> beeremote.UpdateWorkResponse - 18, // 42: beeremote.BeeRemote.GetRSTConfig:output_type -> beeremote.GetRSTConfigResponse - 20, // 43: beeremote.BeeRemote.GetStubContents:output_type -> beeremote.GetStubContentsResponse - 35, // 44: beeremote.BeeRemote.GetCapabilities:output_type -> flex.GetCapabilitiesResponse - 37, // [37:45] is the sub-list for method output_type - 29, // [29:37] is the sub-list for method input_type - 29, // [29:29] is the sub-list for extension type_name - 29, // [29:29] is the sub-list for extension extendee - 0, // [0:29] is the sub-list for field type_name + 30, // 8: beeremote.JobRequest.delay_execution:type_name -> google.protobuf.Duration + 31, // 9: beeremote.JobRequest.bulk_info:type_name -> flex.BulkJobRequestInfo + 6, // 10: beeremote.Job.request:type_name -> beeremote.JobRequest + 32, // 11: beeremote.Job.created:type_name -> google.protobuf.Timestamp + 22, // 12: beeremote.Job.status:type_name -> beeremote.Job.Status + 32, // 13: beeremote.Job.start_mtime:type_name -> google.protobuf.Timestamp + 32, // 14: beeremote.Job.stop_mtime:type_name -> google.protobuf.Timestamp + 7, // 15: beeremote.JobResult.job:type_name -> beeremote.Job + 33, // 16: beeremote.JobResult.work_requests:type_name -> flex.WorkRequest + 23, // 17: beeremote.JobResult.work_results:type_name -> beeremote.JobResult.WorkResult + 11, // 18: beeremote.UpdatePathsRequest.requested_update:type_name -> beeremote.UpdateJobsRequest + 12, // 19: beeremote.UpdatePathsResponse.update_result:type_name -> beeremote.UpdateJobsResponse + 24, // 20: beeremote.UpdateJobsRequest.remote_targets:type_name -> beeremote.UpdateJobsRequest.RemoteTargetsEntry + 3, // 21: beeremote.UpdateJobsRequest.new_state:type_name -> beeremote.UpdateJobsRequest.NewState + 8, // 22: beeremote.UpdateJobsResponse.results:type_name -> beeremote.JobResult + 25, // 23: beeremote.GetJobsRequest.by_job_id_and_path:type_name -> beeremote.GetJobsRequest.QueryIdAndPath + 8, // 24: beeremote.GetJobsResponse.results:type_name -> beeremote.JobResult + 34, // 25: beeremote.UpdateWorkRequest.work:type_name -> flex.Work + 35, // 26: beeremote.GetRSTConfigResponse.rsts:type_name -> flex.RemoteStorageTarget + 1, // 27: beeremote.JobRequest.GenerationStatus.state:type_name -> beeremote.JobRequest.GenerationStatus.State + 2, // 28: beeremote.Job.Status.state:type_name -> beeremote.Job.State + 32, // 29: beeremote.Job.Status.updated:type_name -> google.protobuf.Timestamp + 34, // 30: beeremote.JobResult.WorkResult.work:type_name -> flex.Work + 4, // 31: beeremote.BeeRemote.SubmitJob:input_type -> beeremote.SubmitJobRequest + 9, // 32: beeremote.BeeRemote.UpdatePaths:input_type -> beeremote.UpdatePathsRequest + 11, // 33: beeremote.BeeRemote.UpdateJobs:input_type -> beeremote.UpdateJobsRequest + 13, // 34: beeremote.BeeRemote.GetJobs:input_type -> beeremote.GetJobsRequest + 15, // 35: beeremote.BeeRemote.UpdateWork:input_type -> beeremote.UpdateWorkRequest + 17, // 36: beeremote.BeeRemote.GetRSTConfig:input_type -> beeremote.GetRSTConfigRequest + 19, // 37: beeremote.BeeRemote.GetStubContents:input_type -> beeremote.GetStubContentsRequest + 36, // 38: beeremote.BeeRemote.GetCapabilities:input_type -> flex.GetCapabilitiesRequest + 5, // 39: beeremote.BeeRemote.SubmitJob:output_type -> beeremote.SubmitJobResponse + 10, // 40: beeremote.BeeRemote.UpdatePaths:output_type -> beeremote.UpdatePathsResponse + 12, // 41: beeremote.BeeRemote.UpdateJobs:output_type -> beeremote.UpdateJobsResponse + 14, // 42: beeremote.BeeRemote.GetJobs:output_type -> beeremote.GetJobsResponse + 16, // 43: beeremote.BeeRemote.UpdateWork:output_type -> beeremote.UpdateWorkResponse + 18, // 44: beeremote.BeeRemote.GetRSTConfig:output_type -> beeremote.GetRSTConfigResponse + 20, // 45: beeremote.BeeRemote.GetStubContents:output_type -> beeremote.GetStubContentsResponse + 37, // 46: beeremote.BeeRemote.GetCapabilities:output_type -> flex.GetCapabilitiesResponse + 39, // [39:47] is the sub-list for method output_type + 31, // [31:39] is the sub-list for method input_type + 31, // [31:31] is the sub-list for extension type_name + 31, // [31:31] is the sub-list for extension extendee + 0, // [0:31] is the sub-list for field type_name } func init() { file_beeremote_proto_init() } diff --git a/go/flex/flex.pb.go b/go/flex/flex.pb.go index 9690d0d..4785dad 100644 --- a/go/flex/flex.pb.go +++ b/go/flex/flex.pb.go @@ -13,6 +13,7 @@ package flex import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" ) @@ -1655,7 +1656,16 @@ type WorkRequest struct { // Controls the data state of the stub file when stub_local is true. RestorePolicy *RestorePolicy `protobuf:"varint,13,opt,name=restore_policy,json=restorePolicy,proto3,enum=flex.RestorePolicy,oneof" json:"restore_policy,omitempty"` // Time in seconds to wait after a file is closed before replication begins. - CooldownSecs *uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + CooldownSecs *uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + // A work request scheduled for a future time is placed in the wait queue until it's expired. + ExecuteAfter *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=execute_after,json=executeAfter,proto3" json:"execute_after,omitempty"` + // delay_execution specifies a delay before execution. The executing node converts it to + // execute_after using its local time to avoid clock synchronization issues. + DelayExecution *durationpb.Duration `protobuf:"bytes,16,opt,name=delay_execution,json=delayExecution,proto3" json:"delay_execution,omitempty"` + // bulk_info is optionally set when this work request belongs to a provider-controlled bulk + // operation. It carries builder-maintained metadata used to correlate the request with the + // provider's bulk operation and track its state within that operation. + BulkInfo *BulkJobRequestInfo `protobuf:"bytes,17,opt,name=bulk_info,json=bulkInfo,proto3,oneof" json:"bulk_info,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -1789,6 +1799,27 @@ func (x *WorkRequest) GetCooldownSecs() uint32 { return 0 } +func (x *WorkRequest) GetExecuteAfter() *timestamppb.Timestamp { + if x != nil { + return x.ExecuteAfter + } + return nil +} + +func (x *WorkRequest) GetDelayExecution() *durationpb.Duration { + if x != nil { + return x.DelayExecution + } + return nil +} + +func (x *WorkRequest) GetBulkInfo() *BulkJobRequestInfo { + if x != nil { + return x.BulkInfo + } + return nil +} + func (x *WorkRequest) SetJobId(v string) { x.JobId = v } @@ -1853,6 +1884,18 @@ func (x *WorkRequest) SetCooldownSecs(v uint32) { x.CooldownSecs = &v } +func (x *WorkRequest) SetExecuteAfter(v *timestamppb.Timestamp) { + x.ExecuteAfter = v +} + +func (x *WorkRequest) SetDelayExecution(v *durationpb.Duration) { + x.DelayExecution = v +} + +func (x *WorkRequest) SetBulkInfo(v *BulkJobRequestInfo) { + x.BulkInfo = v +} + func (x *WorkRequest) HasSegment() bool { if x == nil { return false @@ -1912,6 +1955,27 @@ func (x *WorkRequest) HasCooldownSecs() bool { return x.CooldownSecs != nil } +func (x *WorkRequest) HasExecuteAfter() bool { + if x == nil { + return false + } + return x.ExecuteAfter != nil +} + +func (x *WorkRequest) HasDelayExecution() bool { + if x == nil { + return false + } + return x.DelayExecution != nil +} + +func (x *WorkRequest) HasBulkInfo() bool { + if x == nil { + return false + } + return x.BulkInfo != nil +} + func (x *WorkRequest) ClearSegment() { x.Segment = nil } @@ -1950,6 +2014,18 @@ func (x *WorkRequest) ClearCooldownSecs() { x.CooldownSecs = nil } +func (x *WorkRequest) ClearExecuteAfter() { + x.ExecuteAfter = nil +} + +func (x *WorkRequest) ClearDelayExecution() { + x.DelayExecution = nil +} + +func (x *WorkRequest) ClearBulkInfo() { + x.BulkInfo = nil +} + const WorkRequest_Type_not_set_case case_WorkRequest_Type = 0 const WorkRequest_Mock_case case_WorkRequest_Type = 10 const WorkRequest_Sync_case case_WorkRequest_Type = 11 @@ -1994,6 +2070,15 @@ type WorkRequest_builder struct { RestorePolicy *RestorePolicy // Time in seconds to wait after a file is closed before replication begins. CooldownSecs *uint32 + // A work request scheduled for a future time is placed in the wait queue until it's expired. + ExecuteAfter *timestamppb.Timestamp + // delay_execution specifies a delay before execution. The executing node converts it to + // execute_after using its local time to avoid clock synchronization issues. + DelayExecution *durationpb.Duration + // bulk_info is optionally set when this work request belongs to a provider-controlled bulk + // operation. It carries builder-maintained metadata used to correlate the request with the + // provider's bulk operation and track its state within that operation. + BulkInfo *BulkJobRequestInfo } func (b0 WorkRequest_builder) Build() *WorkRequest { @@ -2019,6 +2104,9 @@ func (b0 WorkRequest_builder) Build() *WorkRequest { x.Priority = b.Priority x.RestorePolicy = b.RestorePolicy x.CooldownSecs = b.CooldownSecs + x.ExecuteAfter = b.ExecuteAfter + x.DelayExecution = b.DelayExecution + x.BulkInfo = b.BulkInfo return m0 } @@ -2054,6 +2142,223 @@ func (*WorkRequest_Sync) isWorkRequest_Type() {} func (*WorkRequest_Builder) isWorkRequest_Type() {} +// BulkJobRequestInfo contains builder-maintained metadata for requests that participate in a +// provider controlled bulk operation. +type BulkJobRequestInfo struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // Builder-maintained in-mount path for provider bulk-operation state. + StateMountPath string `protobuf:"bytes,1,opt,name=state_mount_path,json=stateMountPath,proto3" json:"state_mount_path,omitempty"` + // Provider-defined bulk operation identifier for this request. + Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` + // Zero-based request index within the bulk operation. + JobIndex int64 `protobuf:"varint,3,opt,name=job_index,json=jobIndex,proto3" json:"job_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkJobRequestInfo) Reset() { + *x = BulkJobRequestInfo{} + mi := &file_flex_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkJobRequestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkJobRequestInfo) ProtoMessage() {} + +func (x *BulkJobRequestInfo) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *BulkJobRequestInfo) GetStateMountPath() string { + if x != nil { + return x.StateMountPath + } + return "" +} + +func (x *BulkJobRequestInfo) GetOperation() string { + if x != nil { + return x.Operation + } + return "" +} + +func (x *BulkJobRequestInfo) GetJobIndex() int64 { + if x != nil { + return x.JobIndex + } + return 0 +} + +func (x *BulkJobRequestInfo) SetStateMountPath(v string) { + x.StateMountPath = v +} + +func (x *BulkJobRequestInfo) SetOperation(v string) { + x.Operation = v +} + +func (x *BulkJobRequestInfo) SetJobIndex(v int64) { + x.JobIndex = v +} + +type BulkJobRequestInfo_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Builder-maintained in-mount path for provider bulk-operation state. + StateMountPath string + // Provider-defined bulk operation identifier for this request. + Operation string + // Zero-based request index within the bulk operation. + JobIndex int64 +} + +func (b0 BulkJobRequestInfo_builder) Build() *BulkJobRequestInfo { + m0 := &BulkJobRequestInfo{} + b, x := &b0, m0 + _, _ = b, x + x.StateMountPath = b.StateMountPath + x.Operation = b.Operation + x.JobIndex = b.JobIndex + return m0 +} + +type BulkOperation struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + StateMountPath string `protobuf:"bytes,1,opt,name=state_mount_path,json=stateMountPath,proto3" json:"state_mount_path,omitempty"` + RstId uint32 `protobuf:"varint,2,opt,name=rst_id,json=rstId,proto3" json:"rst_id,omitempty"` + Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` + NextJobIndex int64 `protobuf:"varint,4,opt,name=next_job_index,json=nextJobIndex,proto3" json:"next_job_index,omitempty"` + Errors *string `protobuf:"bytes,5,opt,name=errors,proto3,oneof" json:"errors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkOperation) Reset() { + *x = BulkOperation{} + mi := &file_flex_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkOperation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkOperation) ProtoMessage() {} + +func (x *BulkOperation) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *BulkOperation) GetStateMountPath() string { + if x != nil { + return x.StateMountPath + } + return "" +} + +func (x *BulkOperation) GetRstId() uint32 { + if x != nil { + return x.RstId + } + return 0 +} + +func (x *BulkOperation) GetOperation() string { + if x != nil { + return x.Operation + } + return "" +} + +func (x *BulkOperation) GetNextJobIndex() int64 { + if x != nil { + return x.NextJobIndex + } + return 0 +} + +func (x *BulkOperation) GetErrors() string { + if x != nil && x.Errors != nil { + return *x.Errors + } + return "" +} + +func (x *BulkOperation) SetStateMountPath(v string) { + x.StateMountPath = v +} + +func (x *BulkOperation) SetRstId(v uint32) { + x.RstId = v +} + +func (x *BulkOperation) SetOperation(v string) { + x.Operation = v +} + +func (x *BulkOperation) SetNextJobIndex(v int64) { + x.NextJobIndex = v +} + +func (x *BulkOperation) SetErrors(v string) { + x.Errors = &v +} + +func (x *BulkOperation) HasErrors() bool { + if x == nil { + return false + } + return x.Errors != nil +} + +func (x *BulkOperation) ClearErrors() { + x.Errors = nil +} + +type BulkOperation_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + StateMountPath string + RstId uint32 + Operation string + NextJobIndex int64 + Errors *string +} + +func (b0 BulkOperation_builder) Build() *BulkOperation { + m0 := &BulkOperation{} + b, x := &b0, m0 + _, _ = b, x + x.StateMountPath = b.StateMountPath + x.RstId = b.RstId + x.Operation = b.Operation + x.NextJobIndex = b.NextJobIndex + x.Errors = b.Errors + return m0 +} + // JobBuilderJob is a special type of job that creates job requests of any time. type BuilderJob struct { state protoimpl.MessageState `protogen:"hybrid.v1"` @@ -2061,14 +2366,19 @@ type BuilderJob struct { // Stores the total number of job requests that were submitted regardless of success. Submitted int32 `protobuf:"varint,2,opt,name=submitted,proto3" json:"submitted,omitempty"` // Stores the number of failed job requests. - Errors int32 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + Errors int32 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"` + // Stores the number of jobs that were not created due to another job or process holding the + // file access lock. + Conflicts int32 `protobuf:"varint,5,opt,name=conflicts,proto3" json:"conflicts,omitempty"` + // Any bulk operations that are started. + BulkOperations []*BulkOperation `protobuf:"bytes,4,rep,name=bulk_operations,json=bulkOperations,proto3" json:"bulk_operations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BuilderJob) Reset() { *x = BuilderJob{} - mi := &file_flex_proto_msgTypes[12] + mi := &file_flex_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2080,7 +2390,7 @@ func (x *BuilderJob) String() string { func (*BuilderJob) ProtoMessage() {} func (x *BuilderJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[12] + mi := &file_flex_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2112,6 +2422,20 @@ func (x *BuilderJob) GetErrors() int32 { return 0 } +func (x *BuilderJob) GetConflicts() int32 { + if x != nil { + return x.Conflicts + } + return 0 +} + +func (x *BuilderJob) GetBulkOperations() []*BulkOperation { + if x != nil { + return x.BulkOperations + } + return nil +} + func (x *BuilderJob) SetCfg(v *JobRequestCfg) { x.Cfg = v } @@ -2124,6 +2448,14 @@ func (x *BuilderJob) SetErrors(v int32) { x.Errors = v } +func (x *BuilderJob) SetConflicts(v int32) { + x.Conflicts = v +} + +func (x *BuilderJob) SetBulkOperations(v []*BulkOperation) { + x.BulkOperations = v +} + func (x *BuilderJob) HasCfg() bool { if x == nil { return false @@ -2143,6 +2475,11 @@ type BuilderJob_builder struct { Submitted int32 // Stores the number of failed job requests. Errors int32 + // Stores the number of jobs that were not created due to another job or process holding the + // file access lock. + Conflicts int32 + // Any bulk operations that are started. + BulkOperations []*BulkOperation } func (b0 BuilderJob_builder) Build() *BuilderJob { @@ -2152,6 +2489,8 @@ func (b0 BuilderJob_builder) Build() *BuilderJob { x.Cfg = b.Cfg x.Submitted = b.Submitted x.Errors = b.Errors + x.Conflicts = b.Conflicts + x.BulkOperations = b.BulkOperations return m0 } @@ -2169,7 +2508,7 @@ type MockJob struct { func (x *MockJob) Reset() { *x = MockJob{} - mi := &file_flex_proto_msgTypes[13] + mi := &file_flex_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2181,7 +2520,7 @@ func (x *MockJob) String() string { func (*MockJob) ProtoMessage() {} func (x *MockJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[13] + mi := &file_flex_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2335,7 +2674,7 @@ type SyncJob struct { func (x *SyncJob) Reset() { *x = SyncJob{} - mi := &file_flex_proto_msgTypes[14] + mi := &file_flex_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2347,7 +2686,7 @@ func (x *SyncJob) String() string { func (*SyncJob) ProtoMessage() {} func (x *SyncJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[14] + mi := &file_flex_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2587,14 +2926,15 @@ type Work struct { // transferred in parallel on each assigned node. Parts []*Work_Part `protobuf:"bytes,5,rep,name=parts,proto3" json:"parts,omitempty"` // Indicates whether the work is a job builder task. - JobBuilder bool `protobuf:"varint,6,opt,name=job_builder,json=jobBuilder,proto3" json:"job_builder,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + JobBuilder bool `protobuf:"varint,6,opt,name=job_builder,json=jobBuilder,proto3" json:"job_builder,omitempty"` + JobBuilderInfo *Work_JobBuilderInfo `protobuf:"bytes,7,opt,name=job_builder_info,json=jobBuilderInfo,proto3,oneof" json:"job_builder_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Work) Reset() { *x = Work{} - mi := &file_flex_proto_msgTypes[15] + mi := &file_flex_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2606,7 +2946,7 @@ func (x *Work) String() string { func (*Work) ProtoMessage() {} func (x *Work) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[15] + mi := &file_flex_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2659,6 +2999,13 @@ func (x *Work) GetJobBuilder() bool { return false } +func (x *Work) GetJobBuilderInfo() *Work_JobBuilderInfo { + if x != nil { + return x.JobBuilderInfo + } + return nil +} + func (x *Work) SetPath(v string) { x.Path = v } @@ -2683,6 +3030,10 @@ func (x *Work) SetJobBuilder(v bool) { x.JobBuilder = v } +func (x *Work) SetJobBuilderInfo(v *Work_JobBuilderInfo) { + x.JobBuilderInfo = v +} + func (x *Work) HasStatus() bool { if x == nil { return false @@ -2690,10 +3041,21 @@ func (x *Work) HasStatus() bool { return x.Status != nil } +func (x *Work) HasJobBuilderInfo() bool { + if x == nil { + return false + } + return x.JobBuilderInfo != nil +} + func (x *Work) ClearStatus() { x.Status = nil } +func (x *Work) ClearJobBuilderInfo() { + x.JobBuilderInfo = nil +} + type Work_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. @@ -2713,7 +3075,8 @@ type Work_builder struct { // transferred in parallel on each assigned node. Parts []*Work_Part // Indicates whether the work is a job builder task. - JobBuilder bool + JobBuilder bool + JobBuilderInfo *Work_JobBuilderInfo } func (b0 Work_builder) Build() *Work { @@ -2726,6 +3089,7 @@ func (b0 Work_builder) Build() *Work { x.Status = b.Status x.Parts = b.Parts x.JobBuilder = b.JobBuilder + x.JobBuilderInfo = b.JobBuilderInfo return m0 } @@ -2746,7 +3110,7 @@ type UpdateConfigRequest struct { func (x *UpdateConfigRequest) Reset() { *x = UpdateConfigRequest{} - mi := &file_flex_proto_msgTypes[16] + mi := &file_flex_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2758,7 +3122,7 @@ func (x *UpdateConfigRequest) String() string { func (*UpdateConfigRequest) ProtoMessage() {} func (x *UpdateConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[16] + mi := &file_flex_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2834,7 +3198,7 @@ type UpdateConfigResponse struct { func (x *UpdateConfigResponse) Reset() { *x = UpdateConfigResponse{} - mi := &file_flex_proto_msgTypes[17] + mi := &file_flex_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2846,7 +3210,7 @@ func (x *UpdateConfigResponse) String() string { func (*UpdateConfigResponse) ProtoMessage() {} func (x *UpdateConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[17] + mi := &file_flex_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2913,7 +3277,7 @@ type BeeRemoteNode struct { func (x *BeeRemoteNode) Reset() { *x = BeeRemoteNode{} - mi := &file_flex_proto_msgTypes[18] + mi := &file_flex_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2925,7 +3289,7 @@ func (x *BeeRemoteNode) String() string { func (*BeeRemoteNode) ProtoMessage() {} func (x *BeeRemoteNode) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[18] + mi := &file_flex_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3101,6 +3465,7 @@ type RemoteStorageTarget struct { // *RemoteStorageTarget_Posix // *RemoteStorageTarget_Azure_ // *RemoteStorageTarget_Mock + // *RemoteStorageTarget_Xtreemstore Type isRemoteStorageTarget_Type `protobuf_oneof:"type"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -3108,7 +3473,7 @@ type RemoteStorageTarget struct { func (x *RemoteStorageTarget) Reset() { *x = RemoteStorageTarget{} - mi := &file_flex_proto_msgTypes[19] + mi := &file_flex_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3120,7 +3485,7 @@ func (x *RemoteStorageTarget) String() string { func (*RemoteStorageTarget) ProtoMessage() {} func (x *RemoteStorageTarget) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[19] + mi := &file_flex_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3195,6 +3560,15 @@ func (x *RemoteStorageTarget) GetMock() string { return "" } +func (x *RemoteStorageTarget) GetXtreemstore() *RemoteStorageTarget_XtreemStore { + if x != nil { + if x, ok := x.Type.(*RemoteStorageTarget_Xtreemstore); ok { + return x.Xtreemstore + } + } + return nil +} + func (x *RemoteStorageTarget) SetId(v uint32) { x.Id = v } @@ -3235,6 +3609,14 @@ func (x *RemoteStorageTarget) SetMock(v string) { x.Type = &RemoteStorageTarget_Mock{v} } +func (x *RemoteStorageTarget) SetXtreemstore(v *RemoteStorageTarget_XtreemStore) { + if v == nil { + x.Type = nil + return + } + x.Type = &RemoteStorageTarget_Xtreemstore{v} +} + func (x *RemoteStorageTarget) HasPolicies() bool { if x == nil { return false @@ -3281,6 +3663,14 @@ func (x *RemoteStorageTarget) HasMock() bool { return ok } +func (x *RemoteStorageTarget) HasXtreemstore() bool { + if x == nil { + return false + } + _, ok := x.Type.(*RemoteStorageTarget_Xtreemstore) + return ok +} + func (x *RemoteStorageTarget) ClearPolicies() { x.Policies = nil } @@ -3313,11 +3703,18 @@ func (x *RemoteStorageTarget) ClearMock() { } } +func (x *RemoteStorageTarget) ClearXtreemstore() { + if _, ok := x.Type.(*RemoteStorageTarget_Xtreemstore); ok { + x.Type = nil + } +} + const RemoteStorageTarget_Type_not_set_case case_RemoteStorageTarget_Type = 0 const RemoteStorageTarget_S3_case case_RemoteStorageTarget_Type = 4 const RemoteStorageTarget_Posix_case case_RemoteStorageTarget_Type = 5 const RemoteStorageTarget_Azure_case case_RemoteStorageTarget_Type = 6 const RemoteStorageTarget_Mock_case case_RemoteStorageTarget_Type = 7 +const RemoteStorageTarget_Xtreemstore_case case_RemoteStorageTarget_Type = 8 func (x *RemoteStorageTarget) WhichType() case_RemoteStorageTarget_Type { if x == nil { @@ -3332,6 +3729,8 @@ func (x *RemoteStorageTarget) WhichType() case_RemoteStorageTarget_Type { return RemoteStorageTarget_Azure_case case *RemoteStorageTarget_Mock: return RemoteStorageTarget_Mock_case + case *RemoteStorageTarget_Xtreemstore: + return RemoteStorageTarget_Xtreemstore_case default: return RemoteStorageTarget_Type_not_set_case } @@ -3351,10 +3750,11 @@ type RemoteStorageTarget_builder struct { // in the rst package for additional details. // Fields of oneof Type: - S3 *RemoteStorageTarget_S3 - Posix *RemoteStorageTarget_POSIX - Azure *RemoteStorageTarget_Azure - Mock *string + S3 *RemoteStorageTarget_S3 + Posix *RemoteStorageTarget_POSIX + Azure *RemoteStorageTarget_Azure + Mock *string + Xtreemstore *RemoteStorageTarget_XtreemStore // -- end of Type } @@ -3377,13 +3777,16 @@ func (b0 RemoteStorageTarget_builder) Build() *RemoteStorageTarget { if b.Mock != nil { x.Type = &RemoteStorageTarget_Mock{*b.Mock} } + if b.Xtreemstore != nil { + x.Type = &RemoteStorageTarget_Xtreemstore{b.Xtreemstore} + } return m0 } type case_RemoteStorageTarget_Type protoreflect.FieldNumber func (x case_RemoteStorageTarget_Type) String() string { - md := file_flex_proto_msgTypes[19].Descriptor() + md := file_flex_proto_msgTypes[21].Descriptor() if x == 0 { return "not set" } @@ -3410,6 +3813,10 @@ type RemoteStorageTarget_Mock struct { Mock string `protobuf:"bytes,7,opt,name=mock,proto3,oneof"` } +type RemoteStorageTarget_Xtreemstore struct { + Xtreemstore *RemoteStorageTarget_XtreemStore `protobuf:"bytes,8,opt,name=xtreemstore,proto3,oneof"` +} + func (*RemoteStorageTarget_S3_) isRemoteStorageTarget_Type() {} func (*RemoteStorageTarget_Posix) isRemoteStorageTarget_Type() {} @@ -3418,6 +3825,8 @@ func (*RemoteStorageTarget_Azure_) isRemoteStorageTarget_Type() {} func (*RemoteStorageTarget_Mock) isRemoteStorageTarget_Type() {} +func (*RemoteStorageTarget_Xtreemstore) isRemoteStorageTarget_Type() {} + type GetCapabilitiesRequest struct { state protoimpl.MessageState `protogen:"hybrid.v1"` unknownFields protoimpl.UnknownFields @@ -3426,7 +3835,7 @@ type GetCapabilitiesRequest struct { func (x *GetCapabilitiesRequest) Reset() { *x = GetCapabilitiesRequest{} - mi := &file_flex_proto_msgTypes[20] + mi := &file_flex_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3438,7 +3847,7 @@ func (x *GetCapabilitiesRequest) String() string { func (*GetCapabilitiesRequest) ProtoMessage() {} func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[20] + mi := &file_flex_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3477,7 +3886,7 @@ type GetCapabilitiesResponse struct { func (x *GetCapabilitiesResponse) Reset() { *x = GetCapabilitiesResponse{} - mi := &file_flex_proto_msgTypes[21] + mi := &file_flex_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3489,7 +3898,7 @@ func (x *GetCapabilitiesResponse) String() string { func (*GetCapabilitiesResponse) ProtoMessage() {} func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[21] + mi := &file_flex_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3590,7 +3999,7 @@ type Feature struct { func (x *Feature) Reset() { *x = Feature{} - mi := &file_flex_proto_msgTypes[22] + mi := &file_flex_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3602,7 +4011,7 @@ func (x *Feature) String() string { func (*Feature) ProtoMessage() {} func (x *Feature) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[22] + mi := &file_flex_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3650,7 +4059,7 @@ type BuildInfo struct { func (x *BuildInfo) Reset() { *x = BuildInfo{} - mi := &file_flex_proto_msgTypes[23] + mi := &file_flex_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3662,7 +4071,7 @@ func (x *BuildInfo) String() string { func (*BuildInfo) ProtoMessage() {} func (x *BuildInfo) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[23] + mi := &file_flex_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3755,7 +4164,7 @@ type WorkRequest_Segment struct { func (x *WorkRequest_Segment) Reset() { *x = WorkRequest_Segment{} - mi := &file_flex_proto_msgTypes[25] + mi := &file_flex_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3767,7 +4176,7 @@ func (x *WorkRequest_Segment) String() string { func (*WorkRequest_Segment) ProtoMessage() {} func (x *WorkRequest_Segment) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[25] + mi := &file_flex_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3856,7 +4265,7 @@ type Work_Status struct { func (x *Work_Status) Reset() { *x = Work_Status{} - mi := &file_flex_proto_msgTypes[27] + mi := &file_flex_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3868,7 +4277,7 @@ func (x *Work_Status) String() string { func (*Work_Status) ProtoMessage() {} func (x *Work_Status) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[27] + mi := &file_flex_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3936,13 +4345,14 @@ type Work_Part struct { // the ETag in that it is an application layer integrity check of the part's content. ChecksumSha256 string `protobuf:"bytes,5,opt,name=checksum_sha256,json=checksumSha256,proto3" json:"checksum_sha256,omitempty"` Completed bool `protobuf:"varint,6,opt,name=completed,proto3" json:"completed,omitempty"` + Started *bool `protobuf:"varint,7,opt,name=started,proto3,oneof" json:"started,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Work_Part) Reset() { *x = Work_Part{} - mi := &file_flex_proto_msgTypes[28] + mi := &file_flex_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3954,7 +4364,7 @@ func (x *Work_Part) String() string { func (*Work_Part) ProtoMessage() {} func (x *Work_Part) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[28] + mi := &file_flex_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4007,6 +4417,13 @@ func (x *Work_Part) GetCompleted() bool { return false } +func (x *Work_Part) GetStarted() bool { + if x != nil && x.Started != nil { + return *x.Started + } + return false +} + func (x *Work_Part) SetPartNumber(v int32) { x.PartNumber = v } @@ -4031,6 +4448,21 @@ func (x *Work_Part) SetCompleted(v bool) { x.Completed = v } +func (x *Work_Part) SetStarted(v bool) { + x.Started = &v +} + +func (x *Work_Part) HasStarted() bool { + if x == nil { + return false + } + return x.Started != nil +} + +func (x *Work_Part) ClearStarted() { + x.Started = nil +} + type Work_Part_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. @@ -4045,6 +4477,7 @@ type Work_Part_builder struct { // the ETag in that it is an application layer integrity check of the part's content. ChecksumSha256 string Completed bool + Started *bool } func (b0 Work_Part_builder) Build() *Work_Part { @@ -4057,6 +4490,66 @@ func (b0 Work_Part_builder) Build() *Work_Part { x.EntityTag = b.EntityTag x.ChecksumSha256 = b.ChecksumSha256 x.Completed = b.Completed + x.Started = b.Started + return m0 +} + +type Work_JobBuilderInfo struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // Any bulk operations that were started. + BulkOperations []*BulkOperation `protobuf:"bytes,1,rep,name=bulk_operations,json=bulkOperations,proto3" json:"bulk_operations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Work_JobBuilderInfo) Reset() { + *x = Work_JobBuilderInfo{} + mi := &file_flex_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Work_JobBuilderInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Work_JobBuilderInfo) ProtoMessage() {} + +func (x *Work_JobBuilderInfo) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Work_JobBuilderInfo) GetBulkOperations() []*BulkOperation { + if x != nil { + return x.BulkOperations + } + return nil +} + +func (x *Work_JobBuilderInfo) SetBulkOperations(v []*BulkOperation) { + x.BulkOperations = v +} + +type Work_JobBuilderInfo_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Any bulk operations that were started. + BulkOperations []*BulkOperation +} + +func (b0 Work_JobBuilderInfo_builder) Build() *Work_JobBuilderInfo { + m0 := &Work_JobBuilderInfo{} + b, x := &b0, m0 + _, _ = b, x + x.BulkOperations = b.BulkOperations return m0 } @@ -4073,7 +4566,7 @@ type RemoteStorageTarget_Policies struct { func (x *RemoteStorageTarget_Policies) Reset() { *x = RemoteStorageTarget_Policies{} - mi := &file_flex_proto_msgTypes[29] + mi := &file_flex_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4085,7 +4578,7 @@ func (x *RemoteStorageTarget_Policies) String() string { func (*RemoteStorageTarget_Policies) ProtoMessage() {} func (x *RemoteStorageTarget_Policies) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[29] + mi := &file_flex_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4157,7 +4650,7 @@ type RemoteStorageTarget_S3 struct { func (x *RemoteStorageTarget_S3) Reset() { *x = RemoteStorageTarget_S3{} - mi := &file_flex_proto_msgTypes[30] + mi := &file_flex_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4169,7 +4662,7 @@ func (x *RemoteStorageTarget_S3) String() string { func (*RemoteStorageTarget_S3) ProtoMessage() {} func (x *RemoteStorageTarget_S3) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[30] + mi := &file_flex_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4304,7 +4797,7 @@ type RemoteStorageTarget_Azure struct { func (x *RemoteStorageTarget_Azure) Reset() { *x = RemoteStorageTarget_Azure{} - mi := &file_flex_proto_msgTypes[31] + mi := &file_flex_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4316,7 +4809,7 @@ func (x *RemoteStorageTarget_Azure) String() string { func (*RemoteStorageTarget_Azure) ProtoMessage() {} func (x *RemoteStorageTarget_Azure) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[31] + mi := &file_flex_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4376,6 +4869,74 @@ func (b0 RemoteStorageTarget_Azure_builder) Build() *RemoteStorageTarget_Azure { return m0 } +type RemoteStorageTarget_XtreemStore struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + S3 *RemoteStorageTarget_S3 `protobuf:"bytes,1,opt,name=s3,proto3" json:"s3,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RemoteStorageTarget_XtreemStore) Reset() { + *x = RemoteStorageTarget_XtreemStore{} + mi := &file_flex_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RemoteStorageTarget_XtreemStore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoteStorageTarget_XtreemStore) ProtoMessage() {} + +func (x *RemoteStorageTarget_XtreemStore) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *RemoteStorageTarget_XtreemStore) GetS3() *RemoteStorageTarget_S3 { + if x != nil { + return x.S3 + } + return nil +} + +func (x *RemoteStorageTarget_XtreemStore) SetS3(v *RemoteStorageTarget_S3) { + x.S3 = v +} + +func (x *RemoteStorageTarget_XtreemStore) HasS3() bool { + if x == nil { + return false + } + return x.S3 != nil +} + +func (x *RemoteStorageTarget_XtreemStore) ClearS3() { + x.S3 = nil +} + +type RemoteStorageTarget_XtreemStore_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + S3 *RemoteStorageTarget_S3 +} + +func (b0 RemoteStorageTarget_XtreemStore_builder) Build() *RemoteStorageTarget_XtreemStore { + m0 := &RemoteStorageTarget_XtreemStore{} + b, x := &b0, m0 + _, _ = b, x + x.S3 = b.S3 + return m0 +} + type RemoteStorageTarget_POSIX struct { state protoimpl.MessageState `protogen:"hybrid.v1"` Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` @@ -4385,7 +4946,7 @@ type RemoteStorageTarget_POSIX struct { func (x *RemoteStorageTarget_POSIX) Reset() { *x = RemoteStorageTarget_POSIX{} - mi := &file_flex_proto_msgTypes[32] + mi := &file_flex_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4397,7 +4958,7 @@ func (x *RemoteStorageTarget_POSIX) String() string { func (*RemoteStorageTarget_POSIX) ProtoMessage() {} func (x *RemoteStorageTarget_POSIX) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[32] + mi := &file_flex_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4445,7 +5006,7 @@ type RemoteStorageTarget_S3_StorageClass struct { func (x *RemoteStorageTarget_S3_StorageClass) Reset() { *x = RemoteStorageTarget_S3_StorageClass{} - mi := &file_flex_proto_msgTypes[33] + mi := &file_flex_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4457,7 +5018,7 @@ func (x *RemoteStorageTarget_S3_StorageClass) String() string { func (*RemoteStorageTarget_S3_StorageClass) ProtoMessage() {} func (x *RemoteStorageTarget_S3_StorageClass) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[33] + mi := &file_flex_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4538,7 +5099,7 @@ type RemoteStorageTarget_S3_StorageClass_Archival struct { func (x *RemoteStorageTarget_S3_StorageClass_Archival) Reset() { *x = RemoteStorageTarget_S3_StorageClass_Archival{} - mi := &file_flex_proto_msgTypes[34] + mi := &file_flex_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4550,7 +5111,7 @@ func (x *RemoteStorageTarget_S3_StorageClass_Archival) String() string { func (*RemoteStorageTarget_S3_StorageClass_Archival) ProtoMessage() {} func (x *RemoteStorageTarget_S3_StorageClass_Archival) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[34] + mi := &file_flex_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4648,7 +5209,9 @@ var File_flex_proto protoreflect.FileDescriptor var file_flex_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x66, 0x6c, - 0x65, 0x78, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x65, 0x78, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, @@ -4783,7 +5346,7 @@ var file_flex_proto_rawDesc = []byte{ 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, - 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0xce, 0x05, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0x9d, 0x07, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, @@ -4815,96 +5378,139 @@ var file_flex_proto_rawDesc = []byte{ 0x02, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x03, 0x52, 0x0c, 0x63, 0x6f, - 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x1a, 0x8d, 0x01, - 0x0a, 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x6f, 0x70, 0x42, 0x06, 0x0a, - 0x04, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, - 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0x69, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x12, 0x1c, 0x0a, 0x09, - 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x63, 0x6b, 0x4a, 0x6f, 0x62, 0x12, 0x2a, - 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x54, 0x65, - 0x73, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x75, - 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, - 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, - 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, - 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, + 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, + 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x42, + 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, + 0x6b, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x04, 0x52, 0x08, 0x62, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, 0x8d, + 0x01, 0x0a, 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1f, + 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x6f, 0x70, 0x42, 0x06, + 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x75, 0x6c, + 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x79, 0x0a, 0x12, 0x42, 0x75, 0x6c, 0x6b, 0x4a, 0x6f, + 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0xbc, 0x01, 0x0a, 0x0d, 0x42, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, + 0x06, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, + 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, + 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, + 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, - 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x22, 0xc8, 0x04, 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, - 0x6f, 0x62, 0x12, 0x35, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, - 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, - 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6c, 0x61, 0x74, - 0x74, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, - 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, - 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, - 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, - 0x0a, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, - 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, - 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x88, 0x01, - 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, - 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, - 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, - 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, - 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x42, - 0x10, 0x0a, 0x0e, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x22, 0xfa, 0x04, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x15, - 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x25, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x52, - 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6a, 0x6f, 0x62, - 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x1a, 0x4a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0f, 0x62, 0x75, + 0x6c, 0x6b, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x62, 0x75, 0x6c, 0x6b, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x63, + 0x6b, 0x4a, 0x6f, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x65, 0x73, 0x74, + 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0f, 0x6e, 0x75, 0x6d, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x12, + 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x22, 0xc8, 0x04, 0x0a, + 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x12, 0x35, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x66, 0x6c, + 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, + 0x0a, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, + 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, + 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, + 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, + 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x67, + 0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0xd4, 0x06, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x6b, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, + 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x6a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x48, 0x0a, + 0x10, 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x2e, 0x4a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, 0x4a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0xd1, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x67, 0x65, 0x1a, 0xfc, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, @@ -4917,16 +5523,25 @@ var file_flex_proto_rawDesc = []byte{ 0x32, 0x35, 0x36, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, - 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, - 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, - 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x43, - 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, - 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, - 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x22, 0x78, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x1a, 0x4e, 0x0a, 0x0e, 0x4a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x0f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x62, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, + 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, + 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, + 0x47, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, + 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, + 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, + 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x78, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x62, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, @@ -4967,7 +5582,7 @@ var file_flex_proto_rawDesc = []byte{ 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0b, 0x61, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xb4, 0x08, 0x0a, + 0x0b, 0x61, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xbc, 0x09, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, @@ -4987,135 +5602,143 @@ var file_flex_proto_rawDesc = []byte{ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x6d, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x63, 0x6b, - 0x1a, 0x39, 0x0a, 0x08, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, - 0x66, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x61, 0x73, 0x74, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0xcf, 0x04, 0x0a, 0x02, - 0x53, 0x33, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x1a, 0xc4, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, + 0x12, 0x49, 0x0a, 0x0b, 0x78, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x2e, 0x58, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0b, + 0x78, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x39, 0x0a, 0x08, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x66, 0x61, 0x73, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0xcf, 0x04, 0x0a, 0x02, 0x53, 0x33, 0x12, 0x21, 0x0a, + 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x72, 0x6c, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, + 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, + 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, + 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x1a, 0xc4, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x08, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x1a, 0xbd, 0x01, 0x0a, 0x08, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x72, + 0x69, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x54, 0x69, 0x65, 0x72, 0x12, + 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x79, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x6f, + 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x1a, 0x4f, 0x0a, 0x05, 0x41, 0x7a, 0x75, 0x72, + 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, - 0x6c, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, - 0x1a, 0xbd, 0x01, 0x0a, 0x08, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x25, 0x0a, - 0x0e, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, - 0x54, 0x69, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x72, 0x65, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x1a, 0x4f, 0x0a, - 0x05, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, - 0x52, 0x02, 0x73, 0x33, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1b, - 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x02, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, + 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x52, 0x02, 0x73, 0x33, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0b, 0x58, 0x74, 0x72, + 0x65, 0x65, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, + 0x53, 0x33, 0x52, 0x02, 0x73, 0x33, 0x1a, 0x1b, 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, + 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, + 0x4a, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x07, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, + 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x75, 0x62, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x4c, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, + 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x7f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, + 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, + 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, + 0x43, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, + 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x41, + 0x59, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x03, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x48, + 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x42, + 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1b, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x6c, 0x65, + 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0x4a, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, - 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x3e, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, - 0x4c, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, - 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x7f, 0x0a, 0x0d, - 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a, - 0x1a, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, - 0x15, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, - 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x54, - 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x10, - 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, - 0x49, 0x43, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x03, - 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x2e, 0x66, - 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, - 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, - 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x12, - 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, - 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, - 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, - 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, - 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x65, + 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_flex_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_flex_proto_msgTypes = make([]protoimpl.MessageInfo, 37) +var file_flex_proto_msgTypes = make([]protoimpl.MessageInfo, 41) var file_flex_proto_goTypes = []any{ (RestorePolicy)(0), // 0: flex.RestorePolicy (UpdateWorkRequest_NewState)(0), // 1: flex.UpdateWorkRequest.NewState @@ -5135,93 +5758,106 @@ var file_flex_proto_goTypes = []any{ (*JobLockedInfo)(nil), // 15: flex.JobLockedInfo (*JobRequestCfg)(nil), // 16: flex.JobRequestCfg (*WorkRequest)(nil), // 17: flex.WorkRequest - (*BuilderJob)(nil), // 18: flex.BuilderJob - (*MockJob)(nil), // 19: flex.MockJob - (*SyncJob)(nil), // 20: flex.SyncJob - (*Work)(nil), // 21: flex.Work - (*UpdateConfigRequest)(nil), // 22: flex.UpdateConfigRequest - (*UpdateConfigResponse)(nil), // 23: flex.UpdateConfigResponse - (*BeeRemoteNode)(nil), // 24: flex.BeeRemoteNode - (*RemoteStorageTarget)(nil), // 25: flex.RemoteStorageTarget - (*GetCapabilitiesRequest)(nil), // 26: flex.GetCapabilitiesRequest - (*GetCapabilitiesResponse)(nil), // 27: flex.GetCapabilitiesResponse - (*Feature)(nil), // 28: flex.Feature - (*BuildInfo)(nil), // 29: flex.BuildInfo - nil, // 30: flex.JobRequestCfg.MetadataEntry - (*WorkRequest_Segment)(nil), // 31: flex.WorkRequest.Segment - nil, // 32: flex.SyncJob.MetadataEntry - (*Work_Status)(nil), // 33: flex.Work.Status - (*Work_Part)(nil), // 34: flex.Work.Part - (*RemoteStorageTarget_Policies)(nil), // 35: flex.RemoteStorageTarget.Policies - (*RemoteStorageTarget_S3)(nil), // 36: flex.RemoteStorageTarget.S3 - (*RemoteStorageTarget_Azure)(nil), // 37: flex.RemoteStorageTarget.Azure - (*RemoteStorageTarget_POSIX)(nil), // 38: flex.RemoteStorageTarget.POSIX - (*RemoteStorageTarget_S3_StorageClass)(nil), // 39: flex.RemoteStorageTarget.S3.StorageClass - (*RemoteStorageTarget_S3_StorageClass_Archival)(nil), // 40: flex.RemoteStorageTarget.S3.StorageClass.Archival - nil, // 41: flex.GetCapabilitiesResponse.FeaturesEntry - nil, // 42: flex.Feature.SubFeatureEntry - (*timestamppb.Timestamp)(nil), // 43: google.protobuf.Timestamp + (*BulkJobRequestInfo)(nil), // 18: flex.BulkJobRequestInfo + (*BulkOperation)(nil), // 19: flex.BulkOperation + (*BuilderJob)(nil), // 20: flex.BuilderJob + (*MockJob)(nil), // 21: flex.MockJob + (*SyncJob)(nil), // 22: flex.SyncJob + (*Work)(nil), // 23: flex.Work + (*UpdateConfigRequest)(nil), // 24: flex.UpdateConfigRequest + (*UpdateConfigResponse)(nil), // 25: flex.UpdateConfigResponse + (*BeeRemoteNode)(nil), // 26: flex.BeeRemoteNode + (*RemoteStorageTarget)(nil), // 27: flex.RemoteStorageTarget + (*GetCapabilitiesRequest)(nil), // 28: flex.GetCapabilitiesRequest + (*GetCapabilitiesResponse)(nil), // 29: flex.GetCapabilitiesResponse + (*Feature)(nil), // 30: flex.Feature + (*BuildInfo)(nil), // 31: flex.BuildInfo + nil, // 32: flex.JobRequestCfg.MetadataEntry + (*WorkRequest_Segment)(nil), // 33: flex.WorkRequest.Segment + nil, // 34: flex.SyncJob.MetadataEntry + (*Work_Status)(nil), // 35: flex.Work.Status + (*Work_Part)(nil), // 36: flex.Work.Part + (*Work_JobBuilderInfo)(nil), // 37: flex.Work.JobBuilderInfo + (*RemoteStorageTarget_Policies)(nil), // 38: flex.RemoteStorageTarget.Policies + (*RemoteStorageTarget_S3)(nil), // 39: flex.RemoteStorageTarget.S3 + (*RemoteStorageTarget_Azure)(nil), // 40: flex.RemoteStorageTarget.Azure + (*RemoteStorageTarget_XtreemStore)(nil), // 41: flex.RemoteStorageTarget.XtreemStore + (*RemoteStorageTarget_POSIX)(nil), // 42: flex.RemoteStorageTarget.POSIX + (*RemoteStorageTarget_S3_StorageClass)(nil), // 43: flex.RemoteStorageTarget.S3.StorageClass + (*RemoteStorageTarget_S3_StorageClass_Archival)(nil), // 44: flex.RemoteStorageTarget.S3.StorageClass.Archival + nil, // 45: flex.GetCapabilitiesResponse.FeaturesEntry + nil, // 46: flex.Feature.SubFeatureEntry + (*timestamppb.Timestamp)(nil), // 47: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 48: google.protobuf.Duration } var file_flex_proto_depIdxs = []int32{ 8, // 0: flex.HeartbeatResponse.node_stats:type_name -> flex.NodeStats - 43, // 1: flex.NodeStats.timestamp:type_name -> google.protobuf.Timestamp + 47, // 1: flex.NodeStats.timestamp:type_name -> google.protobuf.Timestamp 17, // 2: flex.SubmitWorkRequest.request:type_name -> flex.WorkRequest - 21, // 3: flex.SubmitWorkResponse.work:type_name -> flex.Work + 23, // 3: flex.SubmitWorkResponse.work:type_name -> flex.Work 1, // 4: flex.UpdateWorkRequest.new_state:type_name -> flex.UpdateWorkRequest.NewState - 21, // 5: flex.UpdateWorkResponse.work:type_name -> flex.Work + 23, // 5: flex.UpdateWorkResponse.work:type_name -> flex.Work 2, // 6: flex.BulkUpdateWorkRequest.new_state:type_name -> flex.BulkUpdateWorkRequest.NewState - 43, // 7: flex.JobLockedInfo.mtime:type_name -> google.protobuf.Timestamp - 43, // 8: flex.JobLockedInfo.remote_mtime:type_name -> google.protobuf.Timestamp + 47, // 7: flex.JobLockedInfo.mtime:type_name -> google.protobuf.Timestamp + 47, // 8: flex.JobLockedInfo.remote_mtime:type_name -> google.protobuf.Timestamp 15, // 9: flex.JobRequestCfg.locked_info:type_name -> flex.JobLockedInfo - 30, // 10: flex.JobRequestCfg.metadata:type_name -> flex.JobRequestCfg.MetadataEntry + 32, // 10: flex.JobRequestCfg.metadata:type_name -> flex.JobRequestCfg.MetadataEntry 0, // 11: flex.JobRequestCfg.restore_policy:type_name -> flex.RestorePolicy - 31, // 12: flex.WorkRequest.segment:type_name -> flex.WorkRequest.Segment - 19, // 13: flex.WorkRequest.mock:type_name -> flex.MockJob - 20, // 14: flex.WorkRequest.sync:type_name -> flex.SyncJob - 18, // 15: flex.WorkRequest.builder:type_name -> flex.BuilderJob + 33, // 12: flex.WorkRequest.segment:type_name -> flex.WorkRequest.Segment + 21, // 13: flex.WorkRequest.mock:type_name -> flex.MockJob + 22, // 14: flex.WorkRequest.sync:type_name -> flex.SyncJob + 20, // 15: flex.WorkRequest.builder:type_name -> flex.BuilderJob 0, // 16: flex.WorkRequest.restore_policy:type_name -> flex.RestorePolicy - 16, // 17: flex.BuilderJob.cfg:type_name -> flex.JobRequestCfg - 15, // 18: flex.MockJob.locked_info:type_name -> flex.JobLockedInfo - 16, // 19: flex.MockJob.cfg:type_name -> flex.JobRequestCfg - 3, // 20: flex.SyncJob.operation:type_name -> flex.SyncJob.Operation - 15, // 21: flex.SyncJob.locked_info:type_name -> flex.JobLockedInfo - 32, // 22: flex.SyncJob.metadata:type_name -> flex.SyncJob.MetadataEntry - 33, // 23: flex.Work.status:type_name -> flex.Work.Status - 34, // 24: flex.Work.parts:type_name -> flex.Work.Part - 24, // 25: flex.UpdateConfigRequest.bee_remote:type_name -> flex.BeeRemoteNode - 25, // 26: flex.UpdateConfigRequest.rsts:type_name -> flex.RemoteStorageTarget - 5, // 27: flex.UpdateConfigResponse.result:type_name -> flex.UpdateConfigResponse.Result - 35, // 28: flex.RemoteStorageTarget.policies:type_name -> flex.RemoteStorageTarget.Policies - 36, // 29: flex.RemoteStorageTarget.s3:type_name -> flex.RemoteStorageTarget.S3 - 38, // 30: flex.RemoteStorageTarget.posix:type_name -> flex.RemoteStorageTarget.POSIX - 37, // 31: flex.RemoteStorageTarget.azure:type_name -> flex.RemoteStorageTarget.Azure - 29, // 32: flex.GetCapabilitiesResponse.build_info:type_name -> flex.BuildInfo - 41, // 33: flex.GetCapabilitiesResponse.features:type_name -> flex.GetCapabilitiesResponse.FeaturesEntry - 43, // 34: flex.GetCapabilitiesResponse.start_timestamp:type_name -> google.protobuf.Timestamp - 42, // 35: flex.Feature.sub_feature:type_name -> flex.Feature.SubFeatureEntry - 4, // 36: flex.Work.Status.state:type_name -> flex.Work.State - 39, // 37: flex.RemoteStorageTarget.S3.storage_class:type_name -> flex.RemoteStorageTarget.S3.StorageClass - 36, // 38: flex.RemoteStorageTarget.Azure.s3:type_name -> flex.RemoteStorageTarget.S3 - 40, // 39: flex.RemoteStorageTarget.S3.StorageClass.archival:type_name -> flex.RemoteStorageTarget.S3.StorageClass.Archival - 28, // 40: flex.GetCapabilitiesResponse.FeaturesEntry.value:type_name -> flex.Feature - 28, // 41: flex.Feature.SubFeatureEntry.value:type_name -> flex.Feature - 22, // 42: flex.WorkerNode.UpdateConfig:input_type -> flex.UpdateConfigRequest - 6, // 43: flex.WorkerNode.Heartbeat:input_type -> flex.HeartbeatRequest - 9, // 44: flex.WorkerNode.SubmitWork:input_type -> flex.SubmitWorkRequest - 11, // 45: flex.WorkerNode.UpdateWork:input_type -> flex.UpdateWorkRequest - 13, // 46: flex.WorkerNode.BulkUpdateWork:input_type -> flex.BulkUpdateWorkRequest - 26, // 47: flex.WorkerNode.GetCapabilities:input_type -> flex.GetCapabilitiesRequest - 23, // 48: flex.WorkerNode.UpdateConfig:output_type -> flex.UpdateConfigResponse - 7, // 49: flex.WorkerNode.Heartbeat:output_type -> flex.HeartbeatResponse - 10, // 50: flex.WorkerNode.SubmitWork:output_type -> flex.SubmitWorkResponse - 12, // 51: flex.WorkerNode.UpdateWork:output_type -> flex.UpdateWorkResponse - 14, // 52: flex.WorkerNode.BulkUpdateWork:output_type -> flex.BulkUpdateWorkResponse - 27, // 53: flex.WorkerNode.GetCapabilities:output_type -> flex.GetCapabilitiesResponse - 48, // [48:54] is the sub-list for method output_type - 42, // [42:48] is the sub-list for method input_type - 42, // [42:42] is the sub-list for extension type_name - 42, // [42:42] is the sub-list for extension extendee - 0, // [0:42] is the sub-list for field type_name + 47, // 17: flex.WorkRequest.execute_after:type_name -> google.protobuf.Timestamp + 48, // 18: flex.WorkRequest.delay_execution:type_name -> google.protobuf.Duration + 18, // 19: flex.WorkRequest.bulk_info:type_name -> flex.BulkJobRequestInfo + 16, // 20: flex.BuilderJob.cfg:type_name -> flex.JobRequestCfg + 19, // 21: flex.BuilderJob.bulk_operations:type_name -> flex.BulkOperation + 15, // 22: flex.MockJob.locked_info:type_name -> flex.JobLockedInfo + 16, // 23: flex.MockJob.cfg:type_name -> flex.JobRequestCfg + 3, // 24: flex.SyncJob.operation:type_name -> flex.SyncJob.Operation + 15, // 25: flex.SyncJob.locked_info:type_name -> flex.JobLockedInfo + 34, // 26: flex.SyncJob.metadata:type_name -> flex.SyncJob.MetadataEntry + 35, // 27: flex.Work.status:type_name -> flex.Work.Status + 36, // 28: flex.Work.parts:type_name -> flex.Work.Part + 37, // 29: flex.Work.job_builder_info:type_name -> flex.Work.JobBuilderInfo + 26, // 30: flex.UpdateConfigRequest.bee_remote:type_name -> flex.BeeRemoteNode + 27, // 31: flex.UpdateConfigRequest.rsts:type_name -> flex.RemoteStorageTarget + 5, // 32: flex.UpdateConfigResponse.result:type_name -> flex.UpdateConfigResponse.Result + 38, // 33: flex.RemoteStorageTarget.policies:type_name -> flex.RemoteStorageTarget.Policies + 39, // 34: flex.RemoteStorageTarget.s3:type_name -> flex.RemoteStorageTarget.S3 + 42, // 35: flex.RemoteStorageTarget.posix:type_name -> flex.RemoteStorageTarget.POSIX + 40, // 36: flex.RemoteStorageTarget.azure:type_name -> flex.RemoteStorageTarget.Azure + 41, // 37: flex.RemoteStorageTarget.xtreemstore:type_name -> flex.RemoteStorageTarget.XtreemStore + 31, // 38: flex.GetCapabilitiesResponse.build_info:type_name -> flex.BuildInfo + 45, // 39: flex.GetCapabilitiesResponse.features:type_name -> flex.GetCapabilitiesResponse.FeaturesEntry + 47, // 40: flex.GetCapabilitiesResponse.start_timestamp:type_name -> google.protobuf.Timestamp + 46, // 41: flex.Feature.sub_feature:type_name -> flex.Feature.SubFeatureEntry + 4, // 42: flex.Work.Status.state:type_name -> flex.Work.State + 19, // 43: flex.Work.JobBuilderInfo.bulk_operations:type_name -> flex.BulkOperation + 43, // 44: flex.RemoteStorageTarget.S3.storage_class:type_name -> flex.RemoteStorageTarget.S3.StorageClass + 39, // 45: flex.RemoteStorageTarget.Azure.s3:type_name -> flex.RemoteStorageTarget.S3 + 39, // 46: flex.RemoteStorageTarget.XtreemStore.s3:type_name -> flex.RemoteStorageTarget.S3 + 44, // 47: flex.RemoteStorageTarget.S3.StorageClass.archival:type_name -> flex.RemoteStorageTarget.S3.StorageClass.Archival + 30, // 48: flex.GetCapabilitiesResponse.FeaturesEntry.value:type_name -> flex.Feature + 30, // 49: flex.Feature.SubFeatureEntry.value:type_name -> flex.Feature + 24, // 50: flex.WorkerNode.UpdateConfig:input_type -> flex.UpdateConfigRequest + 6, // 51: flex.WorkerNode.Heartbeat:input_type -> flex.HeartbeatRequest + 9, // 52: flex.WorkerNode.SubmitWork:input_type -> flex.SubmitWorkRequest + 11, // 53: flex.WorkerNode.UpdateWork:input_type -> flex.UpdateWorkRequest + 13, // 54: flex.WorkerNode.BulkUpdateWork:input_type -> flex.BulkUpdateWorkRequest + 28, // 55: flex.WorkerNode.GetCapabilities:input_type -> flex.GetCapabilitiesRequest + 25, // 56: flex.WorkerNode.UpdateConfig:output_type -> flex.UpdateConfigResponse + 7, // 57: flex.WorkerNode.Heartbeat:output_type -> flex.HeartbeatResponse + 10, // 58: flex.WorkerNode.SubmitWork:output_type -> flex.SubmitWorkResponse + 12, // 59: flex.WorkerNode.UpdateWork:output_type -> flex.UpdateWorkResponse + 14, // 60: flex.WorkerNode.BulkUpdateWork:output_type -> flex.BulkUpdateWorkResponse + 29, // 61: flex.WorkerNode.GetCapabilities:output_type -> flex.GetCapabilitiesResponse + 56, // [56:62] is the sub-list for method output_type + 50, // [50:56] is the sub-list for method input_type + 50, // [50:50] is the sub-list for extension type_name + 50, // [50:50] is the sub-list for extension extendee + 0, // [0:50] is the sub-list for field type_name } func init() { file_flex_proto_init() } @@ -5235,21 +5871,25 @@ func file_flex_proto_init() { (*WorkRequest_Sync)(nil), (*WorkRequest_Builder)(nil), } - file_flex_proto_msgTypes[14].OneofWrappers = []any{} - file_flex_proto_msgTypes[19].OneofWrappers = []any{ + file_flex_proto_msgTypes[13].OneofWrappers = []any{} + file_flex_proto_msgTypes[16].OneofWrappers = []any{} + file_flex_proto_msgTypes[17].OneofWrappers = []any{} + file_flex_proto_msgTypes[21].OneofWrappers = []any{ (*RemoteStorageTarget_S3_)(nil), (*RemoteStorageTarget_Posix)(nil), (*RemoteStorageTarget_Azure_)(nil), (*RemoteStorageTarget_Mock)(nil), + (*RemoteStorageTarget_Xtreemstore)(nil), } - file_flex_proto_msgTypes[33].OneofWrappers = []any{} + file_flex_proto_msgTypes[30].OneofWrappers = []any{} + file_flex_proto_msgTypes[37].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_flex_proto_rawDesc, NumEnums: 6, - NumMessages: 37, + NumMessages: 41, NumExtensions: 0, NumServices: 1, }, diff --git a/go/flex/flex_protoopaque.pb.go b/go/flex/flex_protoopaque.pb.go index 92ef695..fd871d0 100644 --- a/go/flex/flex_protoopaque.pb.go +++ b/go/flex/flex_protoopaque.pb.go @@ -13,6 +13,7 @@ package flex import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" ) @@ -1687,6 +1688,9 @@ type WorkRequest struct { xxx_hidden_Priority int32 `protobuf:"varint,9,opt,name=priority,proto3,oneof" json:"priority,omitempty"` xxx_hidden_RestorePolicy RestorePolicy `protobuf:"varint,13,opt,name=restore_policy,json=restorePolicy,proto3,enum=flex.RestorePolicy,oneof" json:"restore_policy,omitempty"` xxx_hidden_CooldownSecs uint32 `protobuf:"varint,14,opt,name=cooldown_secs,json=cooldownSecs,proto3,oneof" json:"cooldown_secs,omitempty"` + xxx_hidden_ExecuteAfter *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=execute_after,json=executeAfter,proto3" json:"execute_after,omitempty"` + xxx_hidden_DelayExecution *durationpb.Duration `protobuf:"bytes,16,opt,name=delay_execution,json=delayExecution,proto3" json:"delay_execution,omitempty"` + xxx_hidden_BulkInfo *BulkJobRequestInfo `protobuf:"bytes,17,opt,name=bulk_info,json=bulkInfo,proto3,oneof" json:"bulk_info,omitempty"` XXX_raceDetectHookData protoimpl.RaceDetectHookData XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields @@ -1817,6 +1821,27 @@ func (x *WorkRequest) GetCooldownSecs() uint32 { return 0 } +func (x *WorkRequest) GetExecuteAfter() *timestamppb.Timestamp { + if x != nil { + return x.xxx_hidden_ExecuteAfter + } + return nil +} + +func (x *WorkRequest) GetDelayExecution() *durationpb.Duration { + if x != nil { + return x.xxx_hidden_DelayExecution + } + return nil +} + +func (x *WorkRequest) GetBulkInfo() *BulkJobRequestInfo { + if x != nil { + return x.xxx_hidden_BulkInfo + } + return nil +} + func (x *WorkRequest) SetJobId(v string) { x.xxx_hidden_JobId = v } @@ -1871,17 +1896,29 @@ func (x *WorkRequest) SetStubLocal(v bool) { func (x *WorkRequest) SetPriority(v int32) { x.xxx_hidden_Priority = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 8, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 8, 14) } func (x *WorkRequest) SetRestorePolicy(v RestorePolicy) { x.xxx_hidden_RestorePolicy = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 9, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 9, 14) } func (x *WorkRequest) SetCooldownSecs(v uint32) { x.xxx_hidden_CooldownSecs = v - protoimpl.X.SetPresent(&(x.XXX_presence[0]), 10, 11) + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 10, 14) +} + +func (x *WorkRequest) SetExecuteAfter(v *timestamppb.Timestamp) { + x.xxx_hidden_ExecuteAfter = v +} + +func (x *WorkRequest) SetDelayExecution(v *durationpb.Duration) { + x.xxx_hidden_DelayExecution = v +} + +func (x *WorkRequest) SetBulkInfo(v *BulkJobRequestInfo) { + x.xxx_hidden_BulkInfo = v } func (x *WorkRequest) HasSegment() bool { @@ -1943,6 +1980,27 @@ func (x *WorkRequest) HasCooldownSecs() bool { return protoimpl.X.Present(&(x.XXX_presence[0]), 10) } +func (x *WorkRequest) HasExecuteAfter() bool { + if x == nil { + return false + } + return x.xxx_hidden_ExecuteAfter != nil +} + +func (x *WorkRequest) HasDelayExecution() bool { + if x == nil { + return false + } + return x.xxx_hidden_DelayExecution != nil +} + +func (x *WorkRequest) HasBulkInfo() bool { + if x == nil { + return false + } + return x.xxx_hidden_BulkInfo != nil +} + func (x *WorkRequest) ClearSegment() { x.xxx_hidden_Segment = nil } @@ -1984,6 +2042,18 @@ func (x *WorkRequest) ClearCooldownSecs() { x.xxx_hidden_CooldownSecs = 0 } +func (x *WorkRequest) ClearExecuteAfter() { + x.xxx_hidden_ExecuteAfter = nil +} + +func (x *WorkRequest) ClearDelayExecution() { + x.xxx_hidden_DelayExecution = nil +} + +func (x *WorkRequest) ClearBulkInfo() { + x.xxx_hidden_BulkInfo = nil +} + const WorkRequest_Type_not_set_case case_WorkRequest_Type = 0 const WorkRequest_Mock_case case_WorkRequest_Type = 10 const WorkRequest_Sync_case case_WorkRequest_Type = 11 @@ -2028,6 +2098,15 @@ type WorkRequest_builder struct { RestorePolicy *RestorePolicy // Time in seconds to wait after a file is closed before replication begins. CooldownSecs *uint32 + // A work request scheduled for a future time is placed in the wait queue until it's expired. + ExecuteAfter *timestamppb.Timestamp + // delay_execution specifies a delay before execution. The executing node converts it to + // execute_after using its local time to avoid clock synchronization issues. + DelayExecution *durationpb.Duration + // bulk_info is optionally set when this work request belongs to a provider-controlled bulk + // operation. It carries builder-maintained metadata used to correlate the request with the + // provider's bulk operation and track its state within that operation. + BulkInfo *BulkJobRequestInfo } func (b0 WorkRequest_builder) Build() *WorkRequest { @@ -2051,17 +2130,20 @@ func (b0 WorkRequest_builder) Build() *WorkRequest { } x.xxx_hidden_StubLocal = b.StubLocal if b.Priority != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 8, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 8, 14) x.xxx_hidden_Priority = *b.Priority } if b.RestorePolicy != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 9, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 9, 14) x.xxx_hidden_RestorePolicy = *b.RestorePolicy } if b.CooldownSecs != nil { - protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 10, 11) + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 10, 14) x.xxx_hidden_CooldownSecs = *b.CooldownSecs } + x.xxx_hidden_ExecuteAfter = b.ExecuteAfter + x.xxx_hidden_DelayExecution = b.DelayExecution + x.xxx_hidden_BulkInfo = b.BulkInfo return m0 } @@ -2097,19 +2179,245 @@ func (*workRequest_Sync) isWorkRequest_Type() {} func (*workRequest_Builder) isWorkRequest_Type() {} +// BulkJobRequestInfo contains builder-maintained metadata for requests that participate in a +// provider controlled bulk operation. +type BulkJobRequestInfo struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_StateMountPath string `protobuf:"bytes,1,opt,name=state_mount_path,json=stateMountPath,proto3" json:"state_mount_path,omitempty"` + xxx_hidden_Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` + xxx_hidden_JobIndex int64 `protobuf:"varint,3,opt,name=job_index,json=jobIndex,proto3" json:"job_index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkJobRequestInfo) Reset() { + *x = BulkJobRequestInfo{} + mi := &file_flex_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkJobRequestInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkJobRequestInfo) ProtoMessage() {} + +func (x *BulkJobRequestInfo) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *BulkJobRequestInfo) GetStateMountPath() string { + if x != nil { + return x.xxx_hidden_StateMountPath + } + return "" +} + +func (x *BulkJobRequestInfo) GetOperation() string { + if x != nil { + return x.xxx_hidden_Operation + } + return "" +} + +func (x *BulkJobRequestInfo) GetJobIndex() int64 { + if x != nil { + return x.xxx_hidden_JobIndex + } + return 0 +} + +func (x *BulkJobRequestInfo) SetStateMountPath(v string) { + x.xxx_hidden_StateMountPath = v +} + +func (x *BulkJobRequestInfo) SetOperation(v string) { + x.xxx_hidden_Operation = v +} + +func (x *BulkJobRequestInfo) SetJobIndex(v int64) { + x.xxx_hidden_JobIndex = v +} + +type BulkJobRequestInfo_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Builder-maintained in-mount path for provider bulk-operation state. + StateMountPath string + // Provider-defined bulk operation identifier for this request. + Operation string + // Zero-based request index within the bulk operation. + JobIndex int64 +} + +func (b0 BulkJobRequestInfo_builder) Build() *BulkJobRequestInfo { + m0 := &BulkJobRequestInfo{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_StateMountPath = b.StateMountPath + x.xxx_hidden_Operation = b.Operation + x.xxx_hidden_JobIndex = b.JobIndex + return m0 +} + +type BulkOperation struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_StateMountPath string `protobuf:"bytes,1,opt,name=state_mount_path,json=stateMountPath,proto3" json:"state_mount_path,omitempty"` + xxx_hidden_RstId uint32 `protobuf:"varint,2,opt,name=rst_id,json=rstId,proto3" json:"rst_id,omitempty"` + xxx_hidden_Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` + xxx_hidden_NextJobIndex int64 `protobuf:"varint,4,opt,name=next_job_index,json=nextJobIndex,proto3" json:"next_job_index,omitempty"` + xxx_hidden_Errors *string `protobuf:"bytes,5,opt,name=errors,proto3,oneof" json:"errors,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *BulkOperation) Reset() { + *x = BulkOperation{} + mi := &file_flex_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *BulkOperation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BulkOperation) ProtoMessage() {} + +func (x *BulkOperation) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *BulkOperation) GetStateMountPath() string { + if x != nil { + return x.xxx_hidden_StateMountPath + } + return "" +} + +func (x *BulkOperation) GetRstId() uint32 { + if x != nil { + return x.xxx_hidden_RstId + } + return 0 +} + +func (x *BulkOperation) GetOperation() string { + if x != nil { + return x.xxx_hidden_Operation + } + return "" +} + +func (x *BulkOperation) GetNextJobIndex() int64 { + if x != nil { + return x.xxx_hidden_NextJobIndex + } + return 0 +} + +func (x *BulkOperation) GetErrors() string { + if x != nil { + if x.xxx_hidden_Errors != nil { + return *x.xxx_hidden_Errors + } + return "" + } + return "" +} + +func (x *BulkOperation) SetStateMountPath(v string) { + x.xxx_hidden_StateMountPath = v +} + +func (x *BulkOperation) SetRstId(v uint32) { + x.xxx_hidden_RstId = v +} + +func (x *BulkOperation) SetOperation(v string) { + x.xxx_hidden_Operation = v +} + +func (x *BulkOperation) SetNextJobIndex(v int64) { + x.xxx_hidden_NextJobIndex = v +} + +func (x *BulkOperation) SetErrors(v string) { + x.xxx_hidden_Errors = &v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 4, 5) +} + +func (x *BulkOperation) HasErrors() bool { + if x == nil { + return false + } + return protoimpl.X.Present(&(x.XXX_presence[0]), 4) +} + +func (x *BulkOperation) ClearErrors() { + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 4) + x.xxx_hidden_Errors = nil +} + +type BulkOperation_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + StateMountPath string + RstId uint32 + Operation string + NextJobIndex int64 + Errors *string +} + +func (b0 BulkOperation_builder) Build() *BulkOperation { + m0 := &BulkOperation{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_StateMountPath = b.StateMountPath + x.xxx_hidden_RstId = b.RstId + x.xxx_hidden_Operation = b.Operation + x.xxx_hidden_NextJobIndex = b.NextJobIndex + if b.Errors != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 4, 5) + x.xxx_hidden_Errors = b.Errors + } + return m0 +} + // JobBuilderJob is a special type of job that creates job requests of any time. type BuilderJob struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Cfg *JobRequestCfg `protobuf:"bytes,1,opt,name=cfg,proto3" json:"cfg,omitempty"` - xxx_hidden_Submitted int32 `protobuf:"varint,2,opt,name=submitted,proto3" json:"submitted,omitempty"` - xxx_hidden_Errors int32 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Cfg *JobRequestCfg `protobuf:"bytes,1,opt,name=cfg,proto3" json:"cfg,omitempty"` + xxx_hidden_Submitted int32 `protobuf:"varint,2,opt,name=submitted,proto3" json:"submitted,omitempty"` + xxx_hidden_Errors int32 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"` + xxx_hidden_Conflicts int32 `protobuf:"varint,5,opt,name=conflicts,proto3" json:"conflicts,omitempty"` + xxx_hidden_BulkOperations *[]*BulkOperation `protobuf:"bytes,4,rep,name=bulk_operations,json=bulkOperations,proto3" json:"bulk_operations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BuilderJob) Reset() { *x = BuilderJob{} - mi := &file_flex_proto_msgTypes[12] + mi := &file_flex_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2121,7 +2429,7 @@ func (x *BuilderJob) String() string { func (*BuilderJob) ProtoMessage() {} func (x *BuilderJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[12] + mi := &file_flex_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2153,6 +2461,22 @@ func (x *BuilderJob) GetErrors() int32 { return 0 } +func (x *BuilderJob) GetConflicts() int32 { + if x != nil { + return x.xxx_hidden_Conflicts + } + return 0 +} + +func (x *BuilderJob) GetBulkOperations() []*BulkOperation { + if x != nil { + if x.xxx_hidden_BulkOperations != nil { + return *x.xxx_hidden_BulkOperations + } + } + return nil +} + func (x *BuilderJob) SetCfg(v *JobRequestCfg) { x.xxx_hidden_Cfg = v } @@ -2165,6 +2489,14 @@ func (x *BuilderJob) SetErrors(v int32) { x.xxx_hidden_Errors = v } +func (x *BuilderJob) SetConflicts(v int32) { + x.xxx_hidden_Conflicts = v +} + +func (x *BuilderJob) SetBulkOperations(v []*BulkOperation) { + x.xxx_hidden_BulkOperations = &v +} + func (x *BuilderJob) HasCfg() bool { if x == nil { return false @@ -2184,6 +2516,11 @@ type BuilderJob_builder struct { Submitted int32 // Stores the number of failed job requests. Errors int32 + // Stores the number of jobs that were not created due to another job or process holding the + // file access lock. + Conflicts int32 + // Any bulk operations that are started. + BulkOperations []*BulkOperation } func (b0 BuilderJob_builder) Build() *BuilderJob { @@ -2193,6 +2530,8 @@ func (b0 BuilderJob_builder) Build() *BuilderJob { x.xxx_hidden_Cfg = b.Cfg x.xxx_hidden_Submitted = b.Submitted x.xxx_hidden_Errors = b.Errors + x.xxx_hidden_Conflicts = b.Conflicts + x.xxx_hidden_BulkOperations = &b.BulkOperations return m0 } @@ -2210,7 +2549,7 @@ type MockJob struct { func (x *MockJob) Reset() { *x = MockJob{} - mi := &file_flex_proto_msgTypes[13] + mi := &file_flex_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2222,7 +2561,7 @@ func (x *MockJob) String() string { func (*MockJob) ProtoMessage() {} func (x *MockJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[13] + mi := &file_flex_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2369,7 +2708,7 @@ type SyncJob struct { func (x *SyncJob) Reset() { *x = SyncJob{} - mi := &file_flex_proto_msgTypes[14] + mi := &file_flex_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2381,7 +2720,7 @@ func (x *SyncJob) String() string { func (*SyncJob) ProtoMessage() {} func (x *SyncJob) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[14] + mi := &file_flex_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2630,20 +2969,21 @@ func (b0 SyncJob_builder) Build() *SyncJob { // establish a long-lived streaming RPC with each worker node to return work // results of a specific type. type Work struct { - state protoimpl.MessageState `protogen:"opaque.v1"` - xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - xxx_hidden_JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` - xxx_hidden_RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - xxx_hidden_Status *Work_Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` - xxx_hidden_Parts *[]*Work_Part `protobuf:"bytes,5,rep,name=parts,proto3" json:"parts,omitempty"` - xxx_hidden_JobBuilder bool `protobuf:"varint,6,opt,name=job_builder,json=jobBuilder,proto3" json:"job_builder,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + xxx_hidden_JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + xxx_hidden_RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + xxx_hidden_Status *Work_Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` + xxx_hidden_Parts *[]*Work_Part `protobuf:"bytes,5,rep,name=parts,proto3" json:"parts,omitempty"` + xxx_hidden_JobBuilder bool `protobuf:"varint,6,opt,name=job_builder,json=jobBuilder,proto3" json:"job_builder,omitempty"` + xxx_hidden_JobBuilderInfo *Work_JobBuilderInfo `protobuf:"bytes,7,opt,name=job_builder_info,json=jobBuilderInfo,proto3,oneof" json:"job_builder_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Work) Reset() { *x = Work{} - mi := &file_flex_proto_msgTypes[15] + mi := &file_flex_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2655,7 +2995,7 @@ func (x *Work) String() string { func (*Work) ProtoMessage() {} func (x *Work) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[15] + mi := &file_flex_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2710,6 +3050,13 @@ func (x *Work) GetJobBuilder() bool { return false } +func (x *Work) GetJobBuilderInfo() *Work_JobBuilderInfo { + if x != nil { + return x.xxx_hidden_JobBuilderInfo + } + return nil +} + func (x *Work) SetPath(v string) { x.xxx_hidden_Path = v } @@ -2734,6 +3081,10 @@ func (x *Work) SetJobBuilder(v bool) { x.xxx_hidden_JobBuilder = v } +func (x *Work) SetJobBuilderInfo(v *Work_JobBuilderInfo) { + x.xxx_hidden_JobBuilderInfo = v +} + func (x *Work) HasStatus() bool { if x == nil { return false @@ -2741,10 +3092,21 @@ func (x *Work) HasStatus() bool { return x.xxx_hidden_Status != nil } +func (x *Work) HasJobBuilderInfo() bool { + if x == nil { + return false + } + return x.xxx_hidden_JobBuilderInfo != nil +} + func (x *Work) ClearStatus() { x.xxx_hidden_Status = nil } +func (x *Work) ClearJobBuilderInfo() { + x.xxx_hidden_JobBuilderInfo = nil +} + type Work_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. @@ -2764,7 +3126,8 @@ type Work_builder struct { // transferred in parallel on each assigned node. Parts []*Work_Part // Indicates whether the work is a job builder task. - JobBuilder bool + JobBuilder bool + JobBuilderInfo *Work_JobBuilderInfo } func (b0 Work_builder) Build() *Work { @@ -2777,6 +3140,7 @@ func (b0 Work_builder) Build() *Work { x.xxx_hidden_Status = b.Status x.xxx_hidden_Parts = &b.Parts x.xxx_hidden_JobBuilder = b.JobBuilder + x.xxx_hidden_JobBuilderInfo = b.JobBuilderInfo return m0 } @@ -2792,7 +3156,7 @@ type UpdateConfigRequest struct { func (x *UpdateConfigRequest) Reset() { *x = UpdateConfigRequest{} - mi := &file_flex_proto_msgTypes[16] + mi := &file_flex_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2804,7 +3168,7 @@ func (x *UpdateConfigRequest) String() string { func (*UpdateConfigRequest) ProtoMessage() {} func (x *UpdateConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[16] + mi := &file_flex_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2881,7 +3245,7 @@ type UpdateConfigResponse struct { func (x *UpdateConfigResponse) Reset() { *x = UpdateConfigResponse{} - mi := &file_flex_proto_msgTypes[17] + mi := &file_flex_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2893,7 +3257,7 @@ func (x *UpdateConfigResponse) String() string { func (*UpdateConfigResponse) ProtoMessage() {} func (x *UpdateConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[17] + mi := &file_flex_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2960,7 +3324,7 @@ type BeeRemoteNode struct { func (x *BeeRemoteNode) Reset() { *x = BeeRemoteNode{} - mi := &file_flex_proto_msgTypes[18] + mi := &file_flex_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2972,7 +3336,7 @@ func (x *BeeRemoteNode) String() string { func (*BeeRemoteNode) ProtoMessage() {} func (x *BeeRemoteNode) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[18] + mi := &file_flex_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3142,7 +3506,7 @@ type RemoteStorageTarget struct { func (x *RemoteStorageTarget) Reset() { *x = RemoteStorageTarget{} - mi := &file_flex_proto_msgTypes[19] + mi := &file_flex_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3154,7 +3518,7 @@ func (x *RemoteStorageTarget) String() string { func (*RemoteStorageTarget) ProtoMessage() {} func (x *RemoteStorageTarget) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[19] + mi := &file_flex_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3222,6 +3586,15 @@ func (x *RemoteStorageTarget) GetMock() string { return "" } +func (x *RemoteStorageTarget) GetXtreemstore() *RemoteStorageTarget_XtreemStore { + if x != nil { + if x, ok := x.xxx_hidden_Type.(*remoteStorageTarget_Xtreemstore); ok { + return x.Xtreemstore + } + } + return nil +} + func (x *RemoteStorageTarget) SetId(v uint32) { x.xxx_hidden_Id = v } @@ -3262,6 +3635,14 @@ func (x *RemoteStorageTarget) SetMock(v string) { x.xxx_hidden_Type = &remoteStorageTarget_Mock{v} } +func (x *RemoteStorageTarget) SetXtreemstore(v *RemoteStorageTarget_XtreemStore) { + if v == nil { + x.xxx_hidden_Type = nil + return + } + x.xxx_hidden_Type = &remoteStorageTarget_Xtreemstore{v} +} + func (x *RemoteStorageTarget) HasPolicies() bool { if x == nil { return false @@ -3308,6 +3689,14 @@ func (x *RemoteStorageTarget) HasMock() bool { return ok } +func (x *RemoteStorageTarget) HasXtreemstore() bool { + if x == nil { + return false + } + _, ok := x.xxx_hidden_Type.(*remoteStorageTarget_Xtreemstore) + return ok +} + func (x *RemoteStorageTarget) ClearPolicies() { x.xxx_hidden_Policies = nil } @@ -3340,11 +3729,18 @@ func (x *RemoteStorageTarget) ClearMock() { } } +func (x *RemoteStorageTarget) ClearXtreemstore() { + if _, ok := x.xxx_hidden_Type.(*remoteStorageTarget_Xtreemstore); ok { + x.xxx_hidden_Type = nil + } +} + const RemoteStorageTarget_Type_not_set_case case_RemoteStorageTarget_Type = 0 const RemoteStorageTarget_S3_case case_RemoteStorageTarget_Type = 4 const RemoteStorageTarget_Posix_case case_RemoteStorageTarget_Type = 5 const RemoteStorageTarget_Azure_case case_RemoteStorageTarget_Type = 6 const RemoteStorageTarget_Mock_case case_RemoteStorageTarget_Type = 7 +const RemoteStorageTarget_Xtreemstore_case case_RemoteStorageTarget_Type = 8 func (x *RemoteStorageTarget) WhichType() case_RemoteStorageTarget_Type { if x == nil { @@ -3359,6 +3755,8 @@ func (x *RemoteStorageTarget) WhichType() case_RemoteStorageTarget_Type { return RemoteStorageTarget_Azure_case case *remoteStorageTarget_Mock: return RemoteStorageTarget_Mock_case + case *remoteStorageTarget_Xtreemstore: + return RemoteStorageTarget_Xtreemstore_case default: return RemoteStorageTarget_Type_not_set_case } @@ -3378,10 +3776,11 @@ type RemoteStorageTarget_builder struct { // in the rst package for additional details. // Fields of oneof xxx_hidden_Type: - S3 *RemoteStorageTarget_S3 - Posix *RemoteStorageTarget_POSIX - Azure *RemoteStorageTarget_Azure - Mock *string + S3 *RemoteStorageTarget_S3 + Posix *RemoteStorageTarget_POSIX + Azure *RemoteStorageTarget_Azure + Mock *string + Xtreemstore *RemoteStorageTarget_XtreemStore // -- end of xxx_hidden_Type } @@ -3404,13 +3803,16 @@ func (b0 RemoteStorageTarget_builder) Build() *RemoteStorageTarget { if b.Mock != nil { x.xxx_hidden_Type = &remoteStorageTarget_Mock{*b.Mock} } + if b.Xtreemstore != nil { + x.xxx_hidden_Type = &remoteStorageTarget_Xtreemstore{b.Xtreemstore} + } return m0 } type case_RemoteStorageTarget_Type protoreflect.FieldNumber func (x case_RemoteStorageTarget_Type) String() string { - md := file_flex_proto_msgTypes[19].Descriptor() + md := file_flex_proto_msgTypes[21].Descriptor() if x == 0 { return "not set" } @@ -3437,6 +3839,10 @@ type remoteStorageTarget_Mock struct { Mock string `protobuf:"bytes,7,opt,name=mock,proto3,oneof"` } +type remoteStorageTarget_Xtreemstore struct { + Xtreemstore *RemoteStorageTarget_XtreemStore `protobuf:"bytes,8,opt,name=xtreemstore,proto3,oneof"` +} + func (*remoteStorageTarget_S3_) isRemoteStorageTarget_Type() {} func (*remoteStorageTarget_Posix) isRemoteStorageTarget_Type() {} @@ -3445,6 +3851,8 @@ func (*remoteStorageTarget_Azure_) isRemoteStorageTarget_Type() {} func (*remoteStorageTarget_Mock) isRemoteStorageTarget_Type() {} +func (*remoteStorageTarget_Xtreemstore) isRemoteStorageTarget_Type() {} + type GetCapabilitiesRequest struct { state protoimpl.MessageState `protogen:"opaque.v1"` unknownFields protoimpl.UnknownFields @@ -3453,7 +3861,7 @@ type GetCapabilitiesRequest struct { func (x *GetCapabilitiesRequest) Reset() { *x = GetCapabilitiesRequest{} - mi := &file_flex_proto_msgTypes[20] + mi := &file_flex_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3465,7 +3873,7 @@ func (x *GetCapabilitiesRequest) String() string { func (*GetCapabilitiesRequest) ProtoMessage() {} func (x *GetCapabilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[20] + mi := &file_flex_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3499,7 +3907,7 @@ type GetCapabilitiesResponse struct { func (x *GetCapabilitiesResponse) Reset() { *x = GetCapabilitiesResponse{} - mi := &file_flex_proto_msgTypes[21] + mi := &file_flex_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3511,7 +3919,7 @@ func (x *GetCapabilitiesResponse) String() string { func (*GetCapabilitiesResponse) ProtoMessage() {} func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[21] + mi := &file_flex_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3612,7 +4020,7 @@ type Feature struct { func (x *Feature) Reset() { *x = Feature{} - mi := &file_flex_proto_msgTypes[22] + mi := &file_flex_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3624,7 +4032,7 @@ func (x *Feature) String() string { func (*Feature) ProtoMessage() {} func (x *Feature) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[22] + mi := &file_flex_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3672,7 +4080,7 @@ type BuildInfo struct { func (x *BuildInfo) Reset() { *x = BuildInfo{} - mi := &file_flex_proto_msgTypes[23] + mi := &file_flex_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3684,7 +4092,7 @@ func (x *BuildInfo) String() string { func (*BuildInfo) ProtoMessage() {} func (x *BuildInfo) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[23] + mi := &file_flex_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3774,7 +4182,7 @@ type WorkRequest_Segment struct { func (x *WorkRequest_Segment) Reset() { *x = WorkRequest_Segment{} - mi := &file_flex_proto_msgTypes[25] + mi := &file_flex_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3786,7 +4194,7 @@ func (x *WorkRequest_Segment) String() string { func (*WorkRequest_Segment) ProtoMessage() {} func (x *WorkRequest_Segment) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[25] + mi := &file_flex_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3874,7 +4282,7 @@ type Work_Status struct { func (x *Work_Status) Reset() { *x = Work_Status{} - mi := &file_flex_proto_msgTypes[27] + mi := &file_flex_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3886,7 +4294,7 @@ func (x *Work_Status) String() string { func (*Work_Status) ProtoMessage() {} func (x *Work_Status) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[27] + mi := &file_flex_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3949,13 +4357,16 @@ type Work_Part struct { xxx_hidden_EntityTag string `protobuf:"bytes,4,opt,name=entity_tag,json=entityTag,proto3" json:"entity_tag,omitempty"` xxx_hidden_ChecksumSha256 string `protobuf:"bytes,5,opt,name=checksum_sha256,json=checksumSha256,proto3" json:"checksum_sha256,omitempty"` xxx_hidden_Completed bool `protobuf:"varint,6,opt,name=completed,proto3" json:"completed,omitempty"` + xxx_hidden_Started bool `protobuf:"varint,7,opt,name=started,proto3,oneof" json:"started,omitempty"` + XXX_raceDetectHookData protoimpl.RaceDetectHookData + XXX_presence [1]uint32 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Work_Part) Reset() { *x = Work_Part{} - mi := &file_flex_proto_msgTypes[28] + mi := &file_flex_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3967,7 +4378,7 @@ func (x *Work_Part) String() string { func (*Work_Part) ProtoMessage() {} func (x *Work_Part) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[28] + mi := &file_flex_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4020,6 +4431,13 @@ func (x *Work_Part) GetCompleted() bool { return false } +func (x *Work_Part) GetStarted() bool { + if x != nil { + return x.xxx_hidden_Started + } + return false +} + func (x *Work_Part) SetPartNumber(v int32) { x.xxx_hidden_PartNumber = v } @@ -4044,6 +4462,23 @@ func (x *Work_Part) SetCompleted(v bool) { x.xxx_hidden_Completed = v } +func (x *Work_Part) SetStarted(v bool) { + x.xxx_hidden_Started = v + protoimpl.X.SetPresent(&(x.XXX_presence[0]), 6, 7) +} + +func (x *Work_Part) HasStarted() bool { + if x == nil { + return false + } + return protoimpl.X.Present(&(x.XXX_presence[0]), 6) +} + +func (x *Work_Part) ClearStarted() { + protoimpl.X.ClearPresent(&(x.XXX_presence[0]), 6) + x.xxx_hidden_Started = false +} + type Work_Part_builder struct { _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. @@ -4058,6 +4493,7 @@ type Work_Part_builder struct { // the ETag in that it is an application layer integrity check of the part's content. ChecksumSha256 string Completed bool + Started *bool } func (b0 Work_Part_builder) Build() *Work_Part { @@ -4070,6 +4506,70 @@ func (b0 Work_Part_builder) Build() *Work_Part { x.xxx_hidden_EntityTag = b.EntityTag x.xxx_hidden_ChecksumSha256 = b.ChecksumSha256 x.xxx_hidden_Completed = b.Completed + if b.Started != nil { + protoimpl.X.SetPresentNonAtomic(&(x.XXX_presence[0]), 6, 7) + x.xxx_hidden_Started = *b.Started + } + return m0 +} + +type Work_JobBuilderInfo struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_BulkOperations *[]*BulkOperation `protobuf:"bytes,1,rep,name=bulk_operations,json=bulkOperations,proto3" json:"bulk_operations,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Work_JobBuilderInfo) Reset() { + *x = Work_JobBuilderInfo{} + mi := &file_flex_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Work_JobBuilderInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Work_JobBuilderInfo) ProtoMessage() {} + +func (x *Work_JobBuilderInfo) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[31] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Work_JobBuilderInfo) GetBulkOperations() []*BulkOperation { + if x != nil { + if x.xxx_hidden_BulkOperations != nil { + return *x.xxx_hidden_BulkOperations + } + } + return nil +} + +func (x *Work_JobBuilderInfo) SetBulkOperations(v []*BulkOperation) { + x.xxx_hidden_BulkOperations = &v +} + +type Work_JobBuilderInfo_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Any bulk operations that were started. + BulkOperations []*BulkOperation +} + +func (b0 Work_JobBuilderInfo_builder) Build() *Work_JobBuilderInfo { + m0 := &Work_JobBuilderInfo{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_BulkOperations = &b.BulkOperations return m0 } @@ -4082,7 +4582,7 @@ type RemoteStorageTarget_Policies struct { func (x *RemoteStorageTarget_Policies) Reset() { *x = RemoteStorageTarget_Policies{} - mi := &file_flex_proto_msgTypes[29] + mi := &file_flex_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4094,7 +4594,7 @@ func (x *RemoteStorageTarget_Policies) String() string { func (*RemoteStorageTarget_Policies) ProtoMessage() {} func (x *RemoteStorageTarget_Policies) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[29] + mi := &file_flex_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4155,7 +4655,7 @@ type RemoteStorageTarget_S3 struct { func (x *RemoteStorageTarget_S3) Reset() { *x = RemoteStorageTarget_S3{} - mi := &file_flex_proto_msgTypes[30] + mi := &file_flex_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4167,7 +4667,7 @@ func (x *RemoteStorageTarget_S3) String() string { func (*RemoteStorageTarget_S3) ProtoMessage() {} func (x *RemoteStorageTarget_S3) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[30] + mi := &file_flex_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4304,7 +4804,7 @@ type RemoteStorageTarget_Azure struct { func (x *RemoteStorageTarget_Azure) Reset() { *x = RemoteStorageTarget_Azure{} - mi := &file_flex_proto_msgTypes[31] + mi := &file_flex_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4316,7 +4816,7 @@ func (x *RemoteStorageTarget_Azure) String() string { func (*RemoteStorageTarget_Azure) ProtoMessage() {} func (x *RemoteStorageTarget_Azure) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[31] + mi := &file_flex_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4376,6 +4876,74 @@ func (b0 RemoteStorageTarget_Azure_builder) Build() *RemoteStorageTarget_Azure { return m0 } +type RemoteStorageTarget_XtreemStore struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_S3 *RemoteStorageTarget_S3 `protobuf:"bytes,1,opt,name=s3,proto3" json:"s3,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *RemoteStorageTarget_XtreemStore) Reset() { + *x = RemoteStorageTarget_XtreemStore{} + mi := &file_flex_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *RemoteStorageTarget_XtreemStore) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoteStorageTarget_XtreemStore) ProtoMessage() {} + +func (x *RemoteStorageTarget_XtreemStore) ProtoReflect() protoreflect.Message { + mi := &file_flex_proto_msgTypes[35] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *RemoteStorageTarget_XtreemStore) GetS3() *RemoteStorageTarget_S3 { + if x != nil { + return x.xxx_hidden_S3 + } + return nil +} + +func (x *RemoteStorageTarget_XtreemStore) SetS3(v *RemoteStorageTarget_S3) { + x.xxx_hidden_S3 = v +} + +func (x *RemoteStorageTarget_XtreemStore) HasS3() bool { + if x == nil { + return false + } + return x.xxx_hidden_S3 != nil +} + +func (x *RemoteStorageTarget_XtreemStore) ClearS3() { + x.xxx_hidden_S3 = nil +} + +type RemoteStorageTarget_XtreemStore_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + S3 *RemoteStorageTarget_S3 +} + +func (b0 RemoteStorageTarget_XtreemStore_builder) Build() *RemoteStorageTarget_XtreemStore { + m0 := &RemoteStorageTarget_XtreemStore{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_S3 = b.S3 + return m0 +} + type RemoteStorageTarget_POSIX struct { state protoimpl.MessageState `protogen:"opaque.v1"` xxx_hidden_Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` @@ -4385,7 +4953,7 @@ type RemoteStorageTarget_POSIX struct { func (x *RemoteStorageTarget_POSIX) Reset() { *x = RemoteStorageTarget_POSIX{} - mi := &file_flex_proto_msgTypes[32] + mi := &file_flex_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4397,7 +4965,7 @@ func (x *RemoteStorageTarget_POSIX) String() string { func (*RemoteStorageTarget_POSIX) ProtoMessage() {} func (x *RemoteStorageTarget_POSIX) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[32] + mi := &file_flex_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4443,7 +5011,7 @@ type RemoteStorageTarget_S3_StorageClass struct { func (x *RemoteStorageTarget_S3_StorageClass) Reset() { *x = RemoteStorageTarget_S3_StorageClass{} - mi := &file_flex_proto_msgTypes[33] + mi := &file_flex_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4455,7 +5023,7 @@ func (x *RemoteStorageTarget_S3_StorageClass) String() string { func (*RemoteStorageTarget_S3_StorageClass) ProtoMessage() {} func (x *RemoteStorageTarget_S3_StorageClass) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[33] + mi := &file_flex_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4530,7 +5098,7 @@ type RemoteStorageTarget_S3_StorageClass_Archival struct { func (x *RemoteStorageTarget_S3_StorageClass_Archival) Reset() { *x = RemoteStorageTarget_S3_StorageClass_Archival{} - mi := &file_flex_proto_msgTypes[34] + mi := &file_flex_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4542,7 +5110,7 @@ func (x *RemoteStorageTarget_S3_StorageClass_Archival) String() string { func (*RemoteStorageTarget_S3_StorageClass_Archival) ProtoMessage() {} func (x *RemoteStorageTarget_S3_StorageClass_Archival) ProtoReflect() protoreflect.Message { - mi := &file_flex_proto_msgTypes[34] + mi := &file_flex_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4640,7 +5208,9 @@ var File_flex_proto protoreflect.FileDescriptor var file_flex_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x66, 0x6c, - 0x65, 0x78, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x65, 0x78, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, @@ -4775,7 +5345,7 @@ var file_flex_proto_rawDesc = []byte{ 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, - 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0xce, 0x05, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x52, + 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0x9d, 0x07, 0x0a, 0x0b, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, @@ -4807,96 +5377,139 @@ var file_flex_proto_rawDesc = []byte{ 0x02, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x03, 0x52, 0x0c, 0x63, 0x6f, - 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x1a, 0x8d, 0x01, - 0x0a, 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1d, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x6f, 0x70, 0x42, 0x06, 0x0a, - 0x04, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, 0x6f, - 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x22, 0x69, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x12, 0x1c, 0x0a, 0x09, - 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x63, 0x6b, 0x4a, 0x6f, 0x62, 0x12, 0x2a, - 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6e, 0x75, 0x6d, 0x54, 0x65, - 0x73, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, - 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x75, - 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, - 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, - 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, - 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, + 0x6f, 0x6c, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x63, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3f, 0x0a, + 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x42, + 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, + 0x6b, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, + 0x04, 0x52, 0x08, 0x62, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, 0x8d, + 0x01, 0x0a, 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1f, + 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x73, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x73, 0x53, 0x74, 0x6f, 0x70, 0x42, 0x06, + 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x63, 0x6f, 0x6f, 0x6c, 0x64, + 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x75, 0x6c, + 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x79, 0x0a, 0x12, 0x42, 0x75, 0x6c, 0x6b, 0x4a, 0x6f, + 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0xbc, 0x01, 0x0a, 0x0d, 0x42, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, + 0x06, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x72, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, + 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, + 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, + 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, - 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x22, 0xc8, 0x04, 0x0a, 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, - 0x6f, 0x62, 0x12, 0x35, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, - 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, - 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, - 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6c, 0x61, 0x74, - 0x74, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, - 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, - 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, - 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, - 0x0a, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, - 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, - 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x88, 0x01, - 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, - 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, - 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, - 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, - 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x42, - 0x10, 0x0a, 0x0e, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, - 0x65, 0x22, 0xfa, 0x04, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x15, - 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x25, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x52, - 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6a, 0x6f, 0x62, - 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x1a, 0x4a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0f, 0x62, 0x75, + 0x6c, 0x6b, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x62, 0x75, 0x6c, 0x6b, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x63, + 0x6b, 0x4a, 0x6f, 0x62, 0x12, 0x2a, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x65, 0x73, 0x74, + 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0f, 0x6e, 0x75, 0x6d, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x12, + 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x03, 0x63, 0x66, 0x67, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x43, 0x66, 0x67, 0x52, 0x03, 0x63, 0x66, 0x67, 0x22, 0xc8, 0x04, 0x0a, + 0x07, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x12, 0x35, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x66, 0x6c, + 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x18, + 0x0a, 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x66, 0x6c, 0x61, 0x74, 0x74, 0x65, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x4a, 0x6f, 0x62, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, + 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, + 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x37, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x4a, 0x6f, 0x62, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, + 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, + 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x65, 0x88, 0x01, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x36, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x02, 0x42, 0x09, 0x0a, 0x07, + 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x67, + 0x69, 0x6e, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x22, 0xd4, 0x06, 0x0a, 0x04, 0x57, 0x6f, 0x72, 0x6b, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x66, 0x6c, 0x65, + 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x25, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x6a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x48, 0x0a, + 0x10, 0x6a, 0x6f, 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, + 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, + 0x6f, 0x72, 0x6b, 0x2e, 0x4a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x6a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x88, 0x01, 0x01, 0x1a, 0x4a, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0xd1, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, + 0x61, 0x67, 0x65, 0x1a, 0xfc, 0x01, 0x0a, 0x04, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, @@ -4909,16 +5522,25 @@ var file_flex_proto_rawDesc = []byte{ 0x32, 0x35, 0x36, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, - 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, - 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, - 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x43, - 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, - 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, - 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x22, 0x78, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x1a, 0x4e, 0x0a, 0x0e, 0x4a, 0x6f, 0x62, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x0f, 0x62, 0x75, 0x6c, 0x6b, 0x5f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x62, 0x75, 0x6c, 0x6b, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, + 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, + 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, + 0x47, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, + 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x43, + 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, + 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x09, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6a, 0x6f, + 0x62, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x78, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x62, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x65, 0x78, @@ -4959,7 +5581,7 @@ var file_flex_proto_rawDesc = []byte{ 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0b, 0x61, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xb4, 0x08, 0x0a, + 0x0b, 0x61, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xbc, 0x09, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, @@ -4979,135 +5601,143 @@ var file_flex_proto_rawDesc = []byte{ 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x05, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x6d, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x63, 0x6b, - 0x1a, 0x39, 0x0a, 0x08, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, - 0x66, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, - 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x61, 0x73, 0x74, 0x53, - 0x74, 0x61, 0x72, 0x74, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0xcf, 0x04, 0x0a, 0x02, - 0x53, 0x33, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, - 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x1a, 0xc4, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x61, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, + 0x12, 0x49, 0x0a, 0x0b, 0x78, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x2e, 0x58, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0b, + 0x78, 0x74, 0x72, 0x65, 0x65, 0x6d, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x1a, 0x39, 0x0a, 0x08, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x66, 0x61, 0x73, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x1a, 0xcf, 0x04, 0x0a, 0x02, 0x53, 0x33, 0x12, 0x21, 0x0a, + 0x0c, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x55, 0x72, 0x6c, + 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x62, + 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, + 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, + 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x1a, 0xc4, 0x02, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x08, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, 0x1a, 0xbd, 0x01, 0x0a, 0x08, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x72, + 0x69, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x54, 0x69, 0x65, 0x72, 0x12, + 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x79, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x6f, + 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x1a, 0x4f, 0x0a, 0x05, 0x41, 0x7a, 0x75, 0x72, + 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x2e, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, - 0x6c, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x88, 0x01, 0x01, - 0x1a, 0xbd, 0x01, 0x0a, 0x08, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x25, 0x0a, - 0x0e, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, - 0x54, 0x69, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, - 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x72, 0x65, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x61, 0x6c, 0x1a, 0x4f, 0x0a, - 0x05, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, - 0x52, 0x02, 0x73, 0x33, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1b, - 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x02, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x65, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, + 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x33, 0x52, 0x02, 0x73, 0x33, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0b, 0x58, 0x74, 0x72, + 0x65, 0x65, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x2c, 0x0a, 0x02, 0x73, 0x33, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, + 0x53, 0x33, 0x52, 0x02, 0x73, 0x33, 0x1a, 0x1b, 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x49, 0x58, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x47, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, + 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, + 0x4a, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x07, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x66, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, + 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x46, + 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x75, 0x62, + 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x4c, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x46, 0x65, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, + 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x7f, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, + 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, + 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, + 0x43, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, + 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x41, + 0x59, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x03, 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x48, + 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x42, + 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1b, 0x2e, + 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x6c, 0x65, + 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0x4a, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, - 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x97, 0x01, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x3e, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x2e, 0x53, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, - 0x4c, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, - 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, - 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x7f, 0x0a, 0x0d, - 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a, - 0x1a, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, - 0x15, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, - 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x54, - 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x4f, 0x10, - 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x50, 0x4f, 0x4c, - 0x49, 0x43, 0x59, 0x5f, 0x44, 0x45, 0x4c, 0x41, 0x59, 0x45, 0x44, 0x10, 0x03, 0x32, 0xb0, 0x03, - 0x0a, 0x0a, 0x57, 0x6f, 0x72, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x2e, 0x66, - 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, - 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, - 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x12, - 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, - 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, - 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x66, 0x6c, 0x65, 0x78, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x12, 0x1b, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, - 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x42, 0x75, 0x6c, 0x6b, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, - 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, - 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x65, 0x78, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x65, + 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_flex_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_flex_proto_msgTypes = make([]protoimpl.MessageInfo, 37) +var file_flex_proto_msgTypes = make([]protoimpl.MessageInfo, 41) var file_flex_proto_goTypes = []any{ (RestorePolicy)(0), // 0: flex.RestorePolicy (UpdateWorkRequest_NewState)(0), // 1: flex.UpdateWorkRequest.NewState @@ -5127,93 +5757,106 @@ var file_flex_proto_goTypes = []any{ (*JobLockedInfo)(nil), // 15: flex.JobLockedInfo (*JobRequestCfg)(nil), // 16: flex.JobRequestCfg (*WorkRequest)(nil), // 17: flex.WorkRequest - (*BuilderJob)(nil), // 18: flex.BuilderJob - (*MockJob)(nil), // 19: flex.MockJob - (*SyncJob)(nil), // 20: flex.SyncJob - (*Work)(nil), // 21: flex.Work - (*UpdateConfigRequest)(nil), // 22: flex.UpdateConfigRequest - (*UpdateConfigResponse)(nil), // 23: flex.UpdateConfigResponse - (*BeeRemoteNode)(nil), // 24: flex.BeeRemoteNode - (*RemoteStorageTarget)(nil), // 25: flex.RemoteStorageTarget - (*GetCapabilitiesRequest)(nil), // 26: flex.GetCapabilitiesRequest - (*GetCapabilitiesResponse)(nil), // 27: flex.GetCapabilitiesResponse - (*Feature)(nil), // 28: flex.Feature - (*BuildInfo)(nil), // 29: flex.BuildInfo - nil, // 30: flex.JobRequestCfg.MetadataEntry - (*WorkRequest_Segment)(nil), // 31: flex.WorkRequest.Segment - nil, // 32: flex.SyncJob.MetadataEntry - (*Work_Status)(nil), // 33: flex.Work.Status - (*Work_Part)(nil), // 34: flex.Work.Part - (*RemoteStorageTarget_Policies)(nil), // 35: flex.RemoteStorageTarget.Policies - (*RemoteStorageTarget_S3)(nil), // 36: flex.RemoteStorageTarget.S3 - (*RemoteStorageTarget_Azure)(nil), // 37: flex.RemoteStorageTarget.Azure - (*RemoteStorageTarget_POSIX)(nil), // 38: flex.RemoteStorageTarget.POSIX - (*RemoteStorageTarget_S3_StorageClass)(nil), // 39: flex.RemoteStorageTarget.S3.StorageClass - (*RemoteStorageTarget_S3_StorageClass_Archival)(nil), // 40: flex.RemoteStorageTarget.S3.StorageClass.Archival - nil, // 41: flex.GetCapabilitiesResponse.FeaturesEntry - nil, // 42: flex.Feature.SubFeatureEntry - (*timestamppb.Timestamp)(nil), // 43: google.protobuf.Timestamp + (*BulkJobRequestInfo)(nil), // 18: flex.BulkJobRequestInfo + (*BulkOperation)(nil), // 19: flex.BulkOperation + (*BuilderJob)(nil), // 20: flex.BuilderJob + (*MockJob)(nil), // 21: flex.MockJob + (*SyncJob)(nil), // 22: flex.SyncJob + (*Work)(nil), // 23: flex.Work + (*UpdateConfigRequest)(nil), // 24: flex.UpdateConfigRequest + (*UpdateConfigResponse)(nil), // 25: flex.UpdateConfigResponse + (*BeeRemoteNode)(nil), // 26: flex.BeeRemoteNode + (*RemoteStorageTarget)(nil), // 27: flex.RemoteStorageTarget + (*GetCapabilitiesRequest)(nil), // 28: flex.GetCapabilitiesRequest + (*GetCapabilitiesResponse)(nil), // 29: flex.GetCapabilitiesResponse + (*Feature)(nil), // 30: flex.Feature + (*BuildInfo)(nil), // 31: flex.BuildInfo + nil, // 32: flex.JobRequestCfg.MetadataEntry + (*WorkRequest_Segment)(nil), // 33: flex.WorkRequest.Segment + nil, // 34: flex.SyncJob.MetadataEntry + (*Work_Status)(nil), // 35: flex.Work.Status + (*Work_Part)(nil), // 36: flex.Work.Part + (*Work_JobBuilderInfo)(nil), // 37: flex.Work.JobBuilderInfo + (*RemoteStorageTarget_Policies)(nil), // 38: flex.RemoteStorageTarget.Policies + (*RemoteStorageTarget_S3)(nil), // 39: flex.RemoteStorageTarget.S3 + (*RemoteStorageTarget_Azure)(nil), // 40: flex.RemoteStorageTarget.Azure + (*RemoteStorageTarget_XtreemStore)(nil), // 41: flex.RemoteStorageTarget.XtreemStore + (*RemoteStorageTarget_POSIX)(nil), // 42: flex.RemoteStorageTarget.POSIX + (*RemoteStorageTarget_S3_StorageClass)(nil), // 43: flex.RemoteStorageTarget.S3.StorageClass + (*RemoteStorageTarget_S3_StorageClass_Archival)(nil), // 44: flex.RemoteStorageTarget.S3.StorageClass.Archival + nil, // 45: flex.GetCapabilitiesResponse.FeaturesEntry + nil, // 46: flex.Feature.SubFeatureEntry + (*timestamppb.Timestamp)(nil), // 47: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 48: google.protobuf.Duration } var file_flex_proto_depIdxs = []int32{ 8, // 0: flex.HeartbeatResponse.node_stats:type_name -> flex.NodeStats - 43, // 1: flex.NodeStats.timestamp:type_name -> google.protobuf.Timestamp + 47, // 1: flex.NodeStats.timestamp:type_name -> google.protobuf.Timestamp 17, // 2: flex.SubmitWorkRequest.request:type_name -> flex.WorkRequest - 21, // 3: flex.SubmitWorkResponse.work:type_name -> flex.Work + 23, // 3: flex.SubmitWorkResponse.work:type_name -> flex.Work 1, // 4: flex.UpdateWorkRequest.new_state:type_name -> flex.UpdateWorkRequest.NewState - 21, // 5: flex.UpdateWorkResponse.work:type_name -> flex.Work + 23, // 5: flex.UpdateWorkResponse.work:type_name -> flex.Work 2, // 6: flex.BulkUpdateWorkRequest.new_state:type_name -> flex.BulkUpdateWorkRequest.NewState - 43, // 7: flex.JobLockedInfo.mtime:type_name -> google.protobuf.Timestamp - 43, // 8: flex.JobLockedInfo.remote_mtime:type_name -> google.protobuf.Timestamp + 47, // 7: flex.JobLockedInfo.mtime:type_name -> google.protobuf.Timestamp + 47, // 8: flex.JobLockedInfo.remote_mtime:type_name -> google.protobuf.Timestamp 15, // 9: flex.JobRequestCfg.locked_info:type_name -> flex.JobLockedInfo - 30, // 10: flex.JobRequestCfg.metadata:type_name -> flex.JobRequestCfg.MetadataEntry + 32, // 10: flex.JobRequestCfg.metadata:type_name -> flex.JobRequestCfg.MetadataEntry 0, // 11: flex.JobRequestCfg.restore_policy:type_name -> flex.RestorePolicy - 31, // 12: flex.WorkRequest.segment:type_name -> flex.WorkRequest.Segment - 19, // 13: flex.WorkRequest.mock:type_name -> flex.MockJob - 20, // 14: flex.WorkRequest.sync:type_name -> flex.SyncJob - 18, // 15: flex.WorkRequest.builder:type_name -> flex.BuilderJob + 33, // 12: flex.WorkRequest.segment:type_name -> flex.WorkRequest.Segment + 21, // 13: flex.WorkRequest.mock:type_name -> flex.MockJob + 22, // 14: flex.WorkRequest.sync:type_name -> flex.SyncJob + 20, // 15: flex.WorkRequest.builder:type_name -> flex.BuilderJob 0, // 16: flex.WorkRequest.restore_policy:type_name -> flex.RestorePolicy - 16, // 17: flex.BuilderJob.cfg:type_name -> flex.JobRequestCfg - 15, // 18: flex.MockJob.locked_info:type_name -> flex.JobLockedInfo - 16, // 19: flex.MockJob.cfg:type_name -> flex.JobRequestCfg - 3, // 20: flex.SyncJob.operation:type_name -> flex.SyncJob.Operation - 15, // 21: flex.SyncJob.locked_info:type_name -> flex.JobLockedInfo - 32, // 22: flex.SyncJob.metadata:type_name -> flex.SyncJob.MetadataEntry - 33, // 23: flex.Work.status:type_name -> flex.Work.Status - 34, // 24: flex.Work.parts:type_name -> flex.Work.Part - 24, // 25: flex.UpdateConfigRequest.bee_remote:type_name -> flex.BeeRemoteNode - 25, // 26: flex.UpdateConfigRequest.rsts:type_name -> flex.RemoteStorageTarget - 5, // 27: flex.UpdateConfigResponse.result:type_name -> flex.UpdateConfigResponse.Result - 35, // 28: flex.RemoteStorageTarget.policies:type_name -> flex.RemoteStorageTarget.Policies - 36, // 29: flex.RemoteStorageTarget.s3:type_name -> flex.RemoteStorageTarget.S3 - 38, // 30: flex.RemoteStorageTarget.posix:type_name -> flex.RemoteStorageTarget.POSIX - 37, // 31: flex.RemoteStorageTarget.azure:type_name -> flex.RemoteStorageTarget.Azure - 29, // 32: flex.GetCapabilitiesResponse.build_info:type_name -> flex.BuildInfo - 41, // 33: flex.GetCapabilitiesResponse.features:type_name -> flex.GetCapabilitiesResponse.FeaturesEntry - 43, // 34: flex.GetCapabilitiesResponse.start_timestamp:type_name -> google.protobuf.Timestamp - 42, // 35: flex.Feature.sub_feature:type_name -> flex.Feature.SubFeatureEntry - 4, // 36: flex.Work.Status.state:type_name -> flex.Work.State - 39, // 37: flex.RemoteStorageTarget.S3.storage_class:type_name -> flex.RemoteStorageTarget.S3.StorageClass - 36, // 38: flex.RemoteStorageTarget.Azure.s3:type_name -> flex.RemoteStorageTarget.S3 - 40, // 39: flex.RemoteStorageTarget.S3.StorageClass.archival:type_name -> flex.RemoteStorageTarget.S3.StorageClass.Archival - 28, // 40: flex.GetCapabilitiesResponse.FeaturesEntry.value:type_name -> flex.Feature - 28, // 41: flex.Feature.SubFeatureEntry.value:type_name -> flex.Feature - 22, // 42: flex.WorkerNode.UpdateConfig:input_type -> flex.UpdateConfigRequest - 6, // 43: flex.WorkerNode.Heartbeat:input_type -> flex.HeartbeatRequest - 9, // 44: flex.WorkerNode.SubmitWork:input_type -> flex.SubmitWorkRequest - 11, // 45: flex.WorkerNode.UpdateWork:input_type -> flex.UpdateWorkRequest - 13, // 46: flex.WorkerNode.BulkUpdateWork:input_type -> flex.BulkUpdateWorkRequest - 26, // 47: flex.WorkerNode.GetCapabilities:input_type -> flex.GetCapabilitiesRequest - 23, // 48: flex.WorkerNode.UpdateConfig:output_type -> flex.UpdateConfigResponse - 7, // 49: flex.WorkerNode.Heartbeat:output_type -> flex.HeartbeatResponse - 10, // 50: flex.WorkerNode.SubmitWork:output_type -> flex.SubmitWorkResponse - 12, // 51: flex.WorkerNode.UpdateWork:output_type -> flex.UpdateWorkResponse - 14, // 52: flex.WorkerNode.BulkUpdateWork:output_type -> flex.BulkUpdateWorkResponse - 27, // 53: flex.WorkerNode.GetCapabilities:output_type -> flex.GetCapabilitiesResponse - 48, // [48:54] is the sub-list for method output_type - 42, // [42:48] is the sub-list for method input_type - 42, // [42:42] is the sub-list for extension type_name - 42, // [42:42] is the sub-list for extension extendee - 0, // [0:42] is the sub-list for field type_name + 47, // 17: flex.WorkRequest.execute_after:type_name -> google.protobuf.Timestamp + 48, // 18: flex.WorkRequest.delay_execution:type_name -> google.protobuf.Duration + 18, // 19: flex.WorkRequest.bulk_info:type_name -> flex.BulkJobRequestInfo + 16, // 20: flex.BuilderJob.cfg:type_name -> flex.JobRequestCfg + 19, // 21: flex.BuilderJob.bulk_operations:type_name -> flex.BulkOperation + 15, // 22: flex.MockJob.locked_info:type_name -> flex.JobLockedInfo + 16, // 23: flex.MockJob.cfg:type_name -> flex.JobRequestCfg + 3, // 24: flex.SyncJob.operation:type_name -> flex.SyncJob.Operation + 15, // 25: flex.SyncJob.locked_info:type_name -> flex.JobLockedInfo + 34, // 26: flex.SyncJob.metadata:type_name -> flex.SyncJob.MetadataEntry + 35, // 27: flex.Work.status:type_name -> flex.Work.Status + 36, // 28: flex.Work.parts:type_name -> flex.Work.Part + 37, // 29: flex.Work.job_builder_info:type_name -> flex.Work.JobBuilderInfo + 26, // 30: flex.UpdateConfigRequest.bee_remote:type_name -> flex.BeeRemoteNode + 27, // 31: flex.UpdateConfigRequest.rsts:type_name -> flex.RemoteStorageTarget + 5, // 32: flex.UpdateConfigResponse.result:type_name -> flex.UpdateConfigResponse.Result + 38, // 33: flex.RemoteStorageTarget.policies:type_name -> flex.RemoteStorageTarget.Policies + 39, // 34: flex.RemoteStorageTarget.s3:type_name -> flex.RemoteStorageTarget.S3 + 42, // 35: flex.RemoteStorageTarget.posix:type_name -> flex.RemoteStorageTarget.POSIX + 40, // 36: flex.RemoteStorageTarget.azure:type_name -> flex.RemoteStorageTarget.Azure + 41, // 37: flex.RemoteStorageTarget.xtreemstore:type_name -> flex.RemoteStorageTarget.XtreemStore + 31, // 38: flex.GetCapabilitiesResponse.build_info:type_name -> flex.BuildInfo + 45, // 39: flex.GetCapabilitiesResponse.features:type_name -> flex.GetCapabilitiesResponse.FeaturesEntry + 47, // 40: flex.GetCapabilitiesResponse.start_timestamp:type_name -> google.protobuf.Timestamp + 46, // 41: flex.Feature.sub_feature:type_name -> flex.Feature.SubFeatureEntry + 4, // 42: flex.Work.Status.state:type_name -> flex.Work.State + 19, // 43: flex.Work.JobBuilderInfo.bulk_operations:type_name -> flex.BulkOperation + 43, // 44: flex.RemoteStorageTarget.S3.storage_class:type_name -> flex.RemoteStorageTarget.S3.StorageClass + 39, // 45: flex.RemoteStorageTarget.Azure.s3:type_name -> flex.RemoteStorageTarget.S3 + 39, // 46: flex.RemoteStorageTarget.XtreemStore.s3:type_name -> flex.RemoteStorageTarget.S3 + 44, // 47: flex.RemoteStorageTarget.S3.StorageClass.archival:type_name -> flex.RemoteStorageTarget.S3.StorageClass.Archival + 30, // 48: flex.GetCapabilitiesResponse.FeaturesEntry.value:type_name -> flex.Feature + 30, // 49: flex.Feature.SubFeatureEntry.value:type_name -> flex.Feature + 24, // 50: flex.WorkerNode.UpdateConfig:input_type -> flex.UpdateConfigRequest + 6, // 51: flex.WorkerNode.Heartbeat:input_type -> flex.HeartbeatRequest + 9, // 52: flex.WorkerNode.SubmitWork:input_type -> flex.SubmitWorkRequest + 11, // 53: flex.WorkerNode.UpdateWork:input_type -> flex.UpdateWorkRequest + 13, // 54: flex.WorkerNode.BulkUpdateWork:input_type -> flex.BulkUpdateWorkRequest + 28, // 55: flex.WorkerNode.GetCapabilities:input_type -> flex.GetCapabilitiesRequest + 25, // 56: flex.WorkerNode.UpdateConfig:output_type -> flex.UpdateConfigResponse + 7, // 57: flex.WorkerNode.Heartbeat:output_type -> flex.HeartbeatResponse + 10, // 58: flex.WorkerNode.SubmitWork:output_type -> flex.SubmitWorkResponse + 12, // 59: flex.WorkerNode.UpdateWork:output_type -> flex.UpdateWorkResponse + 14, // 60: flex.WorkerNode.BulkUpdateWork:output_type -> flex.BulkUpdateWorkResponse + 29, // 61: flex.WorkerNode.GetCapabilities:output_type -> flex.GetCapabilitiesResponse + 56, // [56:62] is the sub-list for method output_type + 50, // [50:56] is the sub-list for method input_type + 50, // [50:50] is the sub-list for extension type_name + 50, // [50:50] is the sub-list for extension extendee + 0, // [0:50] is the sub-list for field type_name } func init() { file_flex_proto_init() } @@ -5227,21 +5870,25 @@ func file_flex_proto_init() { (*workRequest_Sync)(nil), (*workRequest_Builder)(nil), } - file_flex_proto_msgTypes[14].OneofWrappers = []any{} - file_flex_proto_msgTypes[19].OneofWrappers = []any{ + file_flex_proto_msgTypes[13].OneofWrappers = []any{} + file_flex_proto_msgTypes[16].OneofWrappers = []any{} + file_flex_proto_msgTypes[17].OneofWrappers = []any{} + file_flex_proto_msgTypes[21].OneofWrappers = []any{ (*remoteStorageTarget_S3_)(nil), (*remoteStorageTarget_Posix)(nil), (*remoteStorageTarget_Azure_)(nil), (*remoteStorageTarget_Mock)(nil), + (*remoteStorageTarget_Xtreemstore)(nil), } - file_flex_proto_msgTypes[33].OneofWrappers = []any{} + file_flex_proto_msgTypes[30].OneofWrappers = []any{} + file_flex_proto_msgTypes[37].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_flex_proto_rawDesc, NumEnums: 6, - NumMessages: 37, + NumMessages: 41, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/beeremote.proto b/proto/beeremote.proto index 82c36d4..ae2f15d 100644 --- a/proto/beeremote.proto +++ b/proto/beeremote.proto @@ -3,6 +3,7 @@ package beeremote; option go_package = "github.com/thinkparq/protobuf/go/beeremote"; import "flex.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; // Externally facing RPCs and messages clients and worker nodes use to interact @@ -102,6 +103,13 @@ message JobRequest { optional flex.RestorePolicy restore_policy = 13; // Time in seconds to wait after a file is closed before replication begins. optional uint32 cooldown_secs = 14; + // delay_execution specifies a delay used to generate the execute-after + // time for the work request by adding it to the current time. + optional google.protobuf.Duration delay_execution = 15; + // bulk_info is optionally included when the job request participates in a provider-controlled + // bulk operation. It contains builder-maintained metadata needed to track the request within + // that bulk operation. + optional flex.BulkJobRequestInfo bulk_info = 16; } // Job contains all the data from the original request plus the job ID and @@ -150,7 +158,7 @@ message Job { // When all worker node(s) have accepted the job's work requests, but may be waiting on // an available worker goroutine to pickup the request. SCHEDULED = 3; - // When all work requests for this job are in progress. + // When any work requests for this job are in progress. RUNNING = 4; // TODO: https://github.com/ThinkParQ/bee-remote/issues/16 // A user manually requested the job be paused. diff --git a/proto/flex.proto b/proto/flex.proto index 6eeeef6..351a4ad 100644 --- a/proto/flex.proto +++ b/proto/flex.proto @@ -3,6 +3,7 @@ syntax = "proto3"; package flex; option go_package = "github.com/thinkparq/protobuf/go/flex"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; // A WorkerNode is able to handle one or more types of work requests. @@ -180,6 +181,34 @@ message WorkRequest { optional RestorePolicy restore_policy = 13; // Time in seconds to wait after a file is closed before replication begins. optional uint32 cooldown_secs = 14; + // A work request scheduled for a future time is placed in the wait queue until it's expired. + google.protobuf.Timestamp execute_after = 15; + // delay_execution specifies a delay before execution. The executing node converts it to + // execute_after using its local time to avoid clock synchronization issues. + google.protobuf.Duration delay_execution = 16; + // bulk_info is optionally set when this work request belongs to a provider-controlled bulk + // operation. It carries builder-maintained metadata used to correlate the request with the + // provider's bulk operation and track its state within that operation. + optional BulkJobRequestInfo bulk_info = 17; +} + +// BulkJobRequestInfo contains builder-maintained metadata for requests that participate in a +// provider controlled bulk operation. +message BulkJobRequestInfo { + // Builder-maintained in-mount path for provider bulk-operation state. + string state_mount_path = 1; + // Provider-defined bulk operation identifier for this request. + string operation = 2; + // Zero-based request index within the bulk operation. + int64 job_index = 3; +} + +message BulkOperation { + string state_mount_path = 1; + uint32 rst_id = 2; + string operation = 3; + int64 next_job_index = 4; + optional string errors = 5; } // JobBuilderJob is a special type of job that creates job requests of any time. @@ -189,6 +218,11 @@ message BuilderJob { int32 submitted = 2; // Stores the number of failed job requests. int32 errors = 3; + // Stores the number of jobs that were not created due to another job or process holding the + // file access lock. + int32 conflicts = 5; + // Any bulk operations that are started. + repeated BulkOperation bulk_operations = 4; } message MockJob { @@ -316,9 +350,15 @@ message Work { // the ETag in that it is an application layer integrity check of the part's content. string checksum_sha256 = 5; bool completed = 6; + optional bool started = 7; } // Indicates whether the work is a job builder task. bool job_builder = 6; + optional JobBuilderInfo job_builder_info = 7; + message JobBuilderInfo { + // Any bulk operations that were started. + repeated BulkOperation bulk_operations = 1; + } } // We use a common configuration update request/response types for all worker @@ -410,6 +450,7 @@ message RemoteStorageTarget { POSIX posix = 5; Azure azure = 6; string mock = 7; + XtreemStore xtreemstore = 8; } // The S3 type uses the AWS S3 SDK under the hood. To support non-AWS S3 @@ -462,6 +503,10 @@ message RemoteStorageTarget { S3 s3 = 1; string account = 2; } + + message XtreemStore { + S3 s3 = 1; + } message POSIX { string path = 1; diff --git a/rust/beeremote.rs b/rust/beeremote.rs index 6f07529..29fabe2 100644 --- a/rust/beeremote.rs +++ b/rust/beeremote.rs @@ -107,6 +107,15 @@ pub struct JobRequest { /// Time in seconds to wait after a file is closed before replication begins. #[prost(uint32, optional, tag = "14")] pub cooldown_secs: ::core::option::Option, + /// delay_execution specifies a delay used to generate the execute-after + /// time for the work request by adding it to the current time. + #[prost(message, optional, tag = "15")] + pub delay_execution: ::core::option::Option<::prost_types::Duration>, + /// bulk_info is optionally included when the job request participates in a provider-controlled + /// bulk operation. It contains builder-maintained metadata needed to track the request within + /// that bulk operation. + #[prost(message, optional, tag = "16")] + pub bulk_info: ::core::option::Option, #[prost(oneof = "job_request::Type", tags = "10, 11, 12")] pub r#type: ::core::option::Option, } @@ -276,7 +285,7 @@ pub mod job { /// When all worker node(s) have accepted the job's work requests, but may be waiting on /// an available worker goroutine to pickup the request. Scheduled = 3, - /// When all work requests for this job are in progress. + /// When any work requests for this job are in progress. Running = 4, /// TODO: /// A user manually requested the job be paused. diff --git a/rust/flex.rs b/rust/flex.rs index 757eff7..9e57ff0 100644 --- a/rust/flex.rs +++ b/rust/flex.rs @@ -256,6 +256,18 @@ pub struct WorkRequest { /// Time in seconds to wait after a file is closed before replication begins. #[prost(uint32, optional, tag = "14")] pub cooldown_secs: ::core::option::Option, + /// A work request scheduled for a future time is placed in the wait queue until it's expired. + #[prost(message, optional, tag = "15")] + pub execute_after: ::core::option::Option<::prost_types::Timestamp>, + /// delay_execution specifies a delay before execution. The executing node converts it to + /// execute_after using its local time to avoid clock synchronization issues. + #[prost(message, optional, tag = "16")] + pub delay_execution: ::core::option::Option<::prost_types::Duration>, + /// bulk_info is optionally set when this work request belongs to a provider-controlled bulk + /// operation. It carries builder-maintained metadata used to correlate the request with the + /// provider's bulk operation and track its state within that operation. + #[prost(message, optional, tag = "17")] + pub bulk_info: ::core::option::Option, #[prost(oneof = "work_request::Type", tags = "10, 11, 12")] pub r#type: ::core::option::Option, } @@ -288,6 +300,33 @@ pub mod work_request { Builder(super::BuilderJob), } } +/// BulkJobRequestInfo contains builder-maintained metadata for requests that participate in a +/// provider controlled bulk operation. +#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] +pub struct BulkJobRequestInfo { + /// Builder-maintained in-mount path for provider bulk-operation state. + #[prost(string, tag = "1")] + pub state_mount_path: ::prost::alloc::string::String, + /// Provider-defined bulk operation identifier for this request. + #[prost(string, tag = "2")] + pub operation: ::prost::alloc::string::String, + /// Zero-based request index within the bulk operation. + #[prost(int64, tag = "3")] + pub job_index: i64, +} +#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] +pub struct BulkOperation { + #[prost(string, tag = "1")] + pub state_mount_path: ::prost::alloc::string::String, + #[prost(uint32, tag = "2")] + pub rst_id: u32, + #[prost(string, tag = "3")] + pub operation: ::prost::alloc::string::String, + #[prost(int64, tag = "4")] + pub next_job_index: i64, + #[prost(string, optional, tag = "5")] + pub errors: ::core::option::Option<::prost::alloc::string::String>, +} /// JobBuilderJob is a special type of job that creates job requests of any time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BuilderJob { @@ -299,6 +338,13 @@ pub struct BuilderJob { /// Stores the number of failed job requests. #[prost(int32, tag = "3")] pub errors: i32, + /// Stores the number of jobs that were not created due to another job or process holding the + /// file access lock. + #[prost(int32, tag = "5")] + pub conflicts: i32, + /// Any bulk operations that are started. + #[prost(message, repeated, tag = "4")] + pub bulk_operations: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct MockJob { @@ -426,6 +472,8 @@ pub struct Work { /// Indicates whether the work is a job builder task. #[prost(bool, tag = "6")] pub job_builder: bool, + #[prost(message, optional, tag = "7")] + pub job_builder_info: ::core::option::Option, } /// Nested message and enum types in `Work`. pub mod work { @@ -461,6 +509,14 @@ pub mod work { pub checksum_sha256: ::prost::alloc::string::String, #[prost(bool, tag = "6")] pub completed: bool, + #[prost(bool, optional, tag = "7")] + pub started: ::core::option::Option, + } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct JobBuilderInfo { + /// Any bulk operations that were started. + #[prost(message, repeated, tag = "1")] + pub bulk_operations: ::prost::alloc::vec::Vec, } #[derive( Clone, @@ -672,7 +728,7 @@ pub struct RemoteStorageTarget { /// in the rst package for additional details. /// /// Ref: - #[prost(oneof = "remote_storage_target::Type", tags = "4, 5, 6, 7")] + #[prost(oneof = "remote_storage_target::Type", tags = "4, 5, 6, 7, 8")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `RemoteStorageTarget`. @@ -778,6 +834,11 @@ pub mod remote_storage_target { #[prost(string, tag = "2")] pub account: ::prost::alloc::string::String, } + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct XtreemStore { + #[prost(message, optional, tag = "1")] + pub s3: ::core::option::Option, + } #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] pub struct Posix { #[prost(string, tag = "1")] @@ -801,6 +862,8 @@ pub mod remote_storage_target { Azure(Azure), #[prost(string, tag = "7")] Mock(::prost::alloc::string::String), + #[prost(message, tag = "8")] + Xtreemstore(XtreemStore), } } #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]