diff --git a/.github/workflows/release-automation.yaml b/.github/workflows/release-automation.yaml deleted file mode 100644 index b0388223d..000000000 --- a/.github/workflows/release-automation.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Invoke Workflow - -on: - release: - types: [created] - -jobs: - deploy: - runs-on: ubuntu-latest - strategy: - matrix: - COMPONENT: [flyteadmin, flytepropeller, flyteconsole, flytecopilot, flyteplugins, datacatalog, flytectl] - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Update flyteidl version - run: | - WORKFLOW_ID=$(curl -sS https://api.github.com/repos/flyteorg/${{matrix.COMPONENT}}/actions/workflows | jq '.workflows[] | select(.path == ".github/workflows/upgrade_automation.yml") | {id}' | jq .id) - curl -X POST -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/flyteorg/${{matrix.COMPONENT}}/actions/workflows/$WORKFLOW_ID/dispatches -H "Authorization: token ${{ secrets.FLYTE_BOT_PAT }}" -d '{"ref":"master", "inputs": {"component": "flyteidl"}}' - shell: bash diff --git a/clients/go/admin/mocks/AdminServiceClient.go b/clients/go/admin/mocks/AdminServiceClient.go index 3858c5a69..2a6b65b64 100644 --- a/clients/go/admin/mocks/AdminServiceClient.go +++ b/clients/go/admin/mocks/AdminServiceClient.go @@ -689,6 +689,54 @@ func (_m *AdminServiceClient) GetExecutionData(ctx context.Context, in *admin.Wo return r0, r1 } +type AdminServiceClient_GetExecutionMetrics struct { + *mock.Call +} + +func (_m AdminServiceClient_GetExecutionMetrics) Return(_a0 *admin.WorkflowExecutionGetMetricsResponse, _a1 error) *AdminServiceClient_GetExecutionMetrics { + return &AdminServiceClient_GetExecutionMetrics{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *AdminServiceClient) OnGetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) *AdminServiceClient_GetExecutionMetrics { + c_call := _m.On("GetExecutionMetrics", ctx, in, opts) + return &AdminServiceClient_GetExecutionMetrics{Call: c_call} +} + +func (_m *AdminServiceClient) OnGetExecutionMetricsMatch(matchers ...interface{}) *AdminServiceClient_GetExecutionMetrics { + c_call := _m.On("GetExecutionMetrics", matchers...) + return &AdminServiceClient_GetExecutionMetrics{Call: c_call} +} + +// GetExecutionMetrics provides a mock function with given fields: ctx, in, opts +func (_m *AdminServiceClient) GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *admin.WorkflowExecutionGetMetricsResponse + if rf, ok := ret.Get(0).(func(context.Context, *admin.WorkflowExecutionGetMetricsRequest, ...grpc.CallOption) *admin.WorkflowExecutionGetMetricsResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.WorkflowExecutionGetMetricsResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *admin.WorkflowExecutionGetMetricsRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type AdminServiceClient_GetLaunchPlan struct { *mock.Call } diff --git a/clients/go/admin/mocks/AdminServiceServer.go b/clients/go/admin/mocks/AdminServiceServer.go index 67bc38378..cf06b26b1 100644 --- a/clients/go/admin/mocks/AdminServiceServer.go +++ b/clients/go/admin/mocks/AdminServiceServer.go @@ -589,6 +589,47 @@ func (_m *AdminServiceServer) GetExecutionData(_a0 context.Context, _a1 *admin.W return r0, r1 } +type AdminServiceServer_GetExecutionMetrics struct { + *mock.Call +} + +func (_m AdminServiceServer_GetExecutionMetrics) Return(_a0 *admin.WorkflowExecutionGetMetricsResponse, _a1 error) *AdminServiceServer_GetExecutionMetrics { + return &AdminServiceServer_GetExecutionMetrics{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *AdminServiceServer) OnGetExecutionMetrics(_a0 context.Context, _a1 *admin.WorkflowExecutionGetMetricsRequest) *AdminServiceServer_GetExecutionMetrics { + c_call := _m.On("GetExecutionMetrics", _a0, _a1) + return &AdminServiceServer_GetExecutionMetrics{Call: c_call} +} + +func (_m *AdminServiceServer) OnGetExecutionMetricsMatch(matchers ...interface{}) *AdminServiceServer_GetExecutionMetrics { + c_call := _m.On("GetExecutionMetrics", matchers...) + return &AdminServiceServer_GetExecutionMetrics{Call: c_call} +} + +// GetExecutionMetrics provides a mock function with given fields: _a0, _a1 +func (_m *AdminServiceServer) GetExecutionMetrics(_a0 context.Context, _a1 *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *admin.WorkflowExecutionGetMetricsResponse + if rf, ok := ret.Get(0).(func(context.Context, *admin.WorkflowExecutionGetMetricsRequest) *admin.WorkflowExecutionGetMetricsResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.WorkflowExecutionGetMetricsResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *admin.WorkflowExecutionGetMetricsRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type AdminServiceServer_GetLaunchPlan struct { *mock.Call } diff --git a/clients/go/admin/mocks/DataProxyServiceClient.go b/clients/go/admin/mocks/DataProxyServiceClient.go index d161dc3fe..ce7b9de11 100644 --- a/clients/go/admin/mocks/DataProxyServiceClient.go +++ b/clients/go/admin/mocks/DataProxyServiceClient.go @@ -160,3 +160,51 @@ func (_m *DataProxyServiceClient) CreateUploadLocation(ctx context.Context, in * return r0, r1 } + +type DataProxyServiceClient_GetData struct { + *mock.Call +} + +func (_m DataProxyServiceClient_GetData) Return(_a0 *service.GetDataResponse, _a1 error) *DataProxyServiceClient_GetData { + return &DataProxyServiceClient_GetData{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataProxyServiceClient) OnGetData(ctx context.Context, in *service.GetDataRequest, opts ...grpc.CallOption) *DataProxyServiceClient_GetData { + c_call := _m.On("GetData", ctx, in, opts) + return &DataProxyServiceClient_GetData{Call: c_call} +} + +func (_m *DataProxyServiceClient) OnGetDataMatch(matchers ...interface{}) *DataProxyServiceClient_GetData { + c_call := _m.On("GetData", matchers...) + return &DataProxyServiceClient_GetData{Call: c_call} +} + +// GetData provides a mock function with given fields: ctx, in, opts +func (_m *DataProxyServiceClient) GetData(ctx context.Context, in *service.GetDataRequest, opts ...grpc.CallOption) (*service.GetDataResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *service.GetDataResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.GetDataRequest, ...grpc.CallOption) *service.GetDataResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.GetDataResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.GetDataRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/DataProxyServiceServer.go b/clients/go/admin/mocks/DataProxyServiceServer.go index 6ba37135a..ce2dae0da 100644 --- a/clients/go/admin/mocks/DataProxyServiceServer.go +++ b/clients/go/admin/mocks/DataProxyServiceServer.go @@ -136,3 +136,44 @@ func (_m *DataProxyServiceServer) CreateUploadLocation(_a0 context.Context, _a1 return r0, r1 } + +type DataProxyServiceServer_GetData struct { + *mock.Call +} + +func (_m DataProxyServiceServer_GetData) Return(_a0 *service.GetDataResponse, _a1 error) *DataProxyServiceServer_GetData { + return &DataProxyServiceServer_GetData{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataProxyServiceServer) OnGetData(_a0 context.Context, _a1 *service.GetDataRequest) *DataProxyServiceServer_GetData { + c_call := _m.On("GetData", _a0, _a1) + return &DataProxyServiceServer_GetData{Call: c_call} +} + +func (_m *DataProxyServiceServer) OnGetDataMatch(matchers ...interface{}) *DataProxyServiceServer_GetData { + c_call := _m.On("GetData", matchers...) + return &DataProxyServiceServer_GetData{Call: c_call} +} + +// GetData provides a mock function with given fields: _a0, _a1 +func (_m *DataProxyServiceServer) GetData(_a0 context.Context, _a1 *service.GetDataRequest) (*service.GetDataResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.GetDataResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.GetDataRequest) *service.GetDataResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.GetDataResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.GetDataRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/ExternalPluginServiceClient.go b/clients/go/admin/mocks/ExternalPluginServiceClient.go new file mode 100644 index 000000000..05df34213 --- /dev/null +++ b/clients/go/admin/mocks/ExternalPluginServiceClient.go @@ -0,0 +1,162 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import ( + context "context" + + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + service "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" +) + +// ExternalPluginServiceClient is an autogenerated mock type for the ExternalPluginServiceClient type +type ExternalPluginServiceClient struct { + mock.Mock +} + +type ExternalPluginServiceClient_CreateTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceClient_CreateTask) Return(_a0 *service.TaskCreateResponse, _a1 error) *ExternalPluginServiceClient_CreateTask { + return &ExternalPluginServiceClient_CreateTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceClient) OnCreateTask(ctx context.Context, in *service.TaskCreateRequest, opts ...grpc.CallOption) *ExternalPluginServiceClient_CreateTask { + c_call := _m.On("CreateTask", ctx, in, opts) + return &ExternalPluginServiceClient_CreateTask{Call: c_call} +} + +func (_m *ExternalPluginServiceClient) OnCreateTaskMatch(matchers ...interface{}) *ExternalPluginServiceClient_CreateTask { + c_call := _m.On("CreateTask", matchers...) + return &ExternalPluginServiceClient_CreateTask{Call: c_call} +} + +// CreateTask provides a mock function with given fields: ctx, in, opts +func (_m *ExternalPluginServiceClient) CreateTask(ctx context.Context, in *service.TaskCreateRequest, opts ...grpc.CallOption) (*service.TaskCreateResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *service.TaskCreateResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskCreateRequest, ...grpc.CallOption) *service.TaskCreateResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskCreateResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskCreateRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type ExternalPluginServiceClient_DeleteTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceClient_DeleteTask) Return(_a0 *service.TaskDeleteResponse, _a1 error) *ExternalPluginServiceClient_DeleteTask { + return &ExternalPluginServiceClient_DeleteTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceClient) OnDeleteTask(ctx context.Context, in *service.TaskDeleteRequest, opts ...grpc.CallOption) *ExternalPluginServiceClient_DeleteTask { + c_call := _m.On("DeleteTask", ctx, in, opts) + return &ExternalPluginServiceClient_DeleteTask{Call: c_call} +} + +func (_m *ExternalPluginServiceClient) OnDeleteTaskMatch(matchers ...interface{}) *ExternalPluginServiceClient_DeleteTask { + c_call := _m.On("DeleteTask", matchers...) + return &ExternalPluginServiceClient_DeleteTask{Call: c_call} +} + +// DeleteTask provides a mock function with given fields: ctx, in, opts +func (_m *ExternalPluginServiceClient) DeleteTask(ctx context.Context, in *service.TaskDeleteRequest, opts ...grpc.CallOption) (*service.TaskDeleteResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *service.TaskDeleteResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskDeleteRequest, ...grpc.CallOption) *service.TaskDeleteResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskDeleteResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskDeleteRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type ExternalPluginServiceClient_GetTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceClient_GetTask) Return(_a0 *service.TaskGetResponse, _a1 error) *ExternalPluginServiceClient_GetTask { + return &ExternalPluginServiceClient_GetTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceClient) OnGetTask(ctx context.Context, in *service.TaskGetRequest, opts ...grpc.CallOption) *ExternalPluginServiceClient_GetTask { + c_call := _m.On("GetTask", ctx, in, opts) + return &ExternalPluginServiceClient_GetTask{Call: c_call} +} + +func (_m *ExternalPluginServiceClient) OnGetTaskMatch(matchers ...interface{}) *ExternalPluginServiceClient_GetTask { + c_call := _m.On("GetTask", matchers...) + return &ExternalPluginServiceClient_GetTask{Call: c_call} +} + +// GetTask provides a mock function with given fields: ctx, in, opts +func (_m *ExternalPluginServiceClient) GetTask(ctx context.Context, in *service.TaskGetRequest, opts ...grpc.CallOption) (*service.TaskGetResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *service.TaskGetResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskGetRequest, ...grpc.CallOption) *service.TaskGetResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskGetResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskGetRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/ExternalPluginServiceServer.go b/clients/go/admin/mocks/ExternalPluginServiceServer.go new file mode 100644 index 000000000..34dae1432 --- /dev/null +++ b/clients/go/admin/mocks/ExternalPluginServiceServer.go @@ -0,0 +1,138 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import ( + context "context" + + service "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" + mock "github.com/stretchr/testify/mock" +) + +// ExternalPluginServiceServer is an autogenerated mock type for the ExternalPluginServiceServer type +type ExternalPluginServiceServer struct { + mock.Mock +} + +type ExternalPluginServiceServer_CreateTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceServer_CreateTask) Return(_a0 *service.TaskCreateResponse, _a1 error) *ExternalPluginServiceServer_CreateTask { + return &ExternalPluginServiceServer_CreateTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceServer) OnCreateTask(_a0 context.Context, _a1 *service.TaskCreateRequest) *ExternalPluginServiceServer_CreateTask { + c_call := _m.On("CreateTask", _a0, _a1) + return &ExternalPluginServiceServer_CreateTask{Call: c_call} +} + +func (_m *ExternalPluginServiceServer) OnCreateTaskMatch(matchers ...interface{}) *ExternalPluginServiceServer_CreateTask { + c_call := _m.On("CreateTask", matchers...) + return &ExternalPluginServiceServer_CreateTask{Call: c_call} +} + +// CreateTask provides a mock function with given fields: _a0, _a1 +func (_m *ExternalPluginServiceServer) CreateTask(_a0 context.Context, _a1 *service.TaskCreateRequest) (*service.TaskCreateResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.TaskCreateResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskCreateRequest) *service.TaskCreateResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskCreateResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskCreateRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type ExternalPluginServiceServer_DeleteTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceServer_DeleteTask) Return(_a0 *service.TaskDeleteResponse, _a1 error) *ExternalPluginServiceServer_DeleteTask { + return &ExternalPluginServiceServer_DeleteTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceServer) OnDeleteTask(_a0 context.Context, _a1 *service.TaskDeleteRequest) *ExternalPluginServiceServer_DeleteTask { + c_call := _m.On("DeleteTask", _a0, _a1) + return &ExternalPluginServiceServer_DeleteTask{Call: c_call} +} + +func (_m *ExternalPluginServiceServer) OnDeleteTaskMatch(matchers ...interface{}) *ExternalPluginServiceServer_DeleteTask { + c_call := _m.On("DeleteTask", matchers...) + return &ExternalPluginServiceServer_DeleteTask{Call: c_call} +} + +// DeleteTask provides a mock function with given fields: _a0, _a1 +func (_m *ExternalPluginServiceServer) DeleteTask(_a0 context.Context, _a1 *service.TaskDeleteRequest) (*service.TaskDeleteResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.TaskDeleteResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskDeleteRequest) *service.TaskDeleteResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskDeleteResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskDeleteRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type ExternalPluginServiceServer_GetTask struct { + *mock.Call +} + +func (_m ExternalPluginServiceServer_GetTask) Return(_a0 *service.TaskGetResponse, _a1 error) *ExternalPluginServiceServer_GetTask { + return &ExternalPluginServiceServer_GetTask{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *ExternalPluginServiceServer) OnGetTask(_a0 context.Context, _a1 *service.TaskGetRequest) *ExternalPluginServiceServer_GetTask { + c_call := _m.On("GetTask", _a0, _a1) + return &ExternalPluginServiceServer_GetTask{Call: c_call} +} + +func (_m *ExternalPluginServiceServer) OnGetTaskMatch(matchers ...interface{}) *ExternalPluginServiceServer_GetTask { + c_call := _m.On("GetTask", matchers...) + return &ExternalPluginServiceServer_GetTask{Call: c_call} +} + +// GetTask provides a mock function with given fields: _a0, _a1 +func (_m *ExternalPluginServiceServer) GetTask(_a0 context.Context, _a1 *service.TaskGetRequest) (*service.TaskGetResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.TaskGetResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.TaskGetRequest) *service.TaskGetResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.TaskGetResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.TaskGetRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/TokenSource.go b/clients/go/admin/mocks/TokenSource.go new file mode 100644 index 000000000..60cc87236 --- /dev/null +++ b/clients/go/admin/mocks/TokenSource.go @@ -0,0 +1,54 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import ( + mock "github.com/stretchr/testify/mock" + oauth2 "golang.org/x/oauth2" +) + +// TokenSource is an autogenerated mock type for the TokenSource type +type TokenSource struct { + mock.Mock +} + +type TokenSource_Token struct { + *mock.Call +} + +func (_m TokenSource_Token) Return(_a0 *oauth2.Token, _a1 error) *TokenSource_Token { + return &TokenSource_Token{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *TokenSource) OnToken() *TokenSource_Token { + c_call := _m.On("Token") + return &TokenSource_Token{Call: c_call} +} + +func (_m *TokenSource) OnTokenMatch(matchers ...interface{}) *TokenSource_Token { + c_call := _m.On("Token", matchers...) + return &TokenSource_Token{Call: c_call} +} + +// Token provides a mock function with given fields: +func (_m *TokenSource) Token() (*oauth2.Token, error) { + ret := _m.Called() + + var r0 *oauth2.Token + if rf, ok := ret.Get(0).(func() *oauth2.Token); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*oauth2.Token) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func() error); ok { + r1 = rf() + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/isDataResponse_Data.go b/clients/go/admin/mocks/isDataResponse_Data.go new file mode 100644 index 000000000..a42a9f210 --- /dev/null +++ b/clients/go/admin/mocks/isDataResponse_Data.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isDataResponse_Data is an autogenerated mock type for the isDataResponse_Data type +type isDataResponse_Data struct { + mock.Mock +} + +// isDataResponse_Data provides a mock function with given fields: +func (_m *isDataResponse_Data) isDataResponse_Data() { + _m.Called() +} diff --git a/clients/go/admin/mocks/isGetDataResponse_Data.go b/clients/go/admin/mocks/isGetDataResponse_Data.go new file mode 100644 index 000000000..3300b7e1b --- /dev/null +++ b/clients/go/admin/mocks/isGetDataResponse_Data.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isGetDataResponse_Data is an autogenerated mock type for the isGetDataResponse_Data type +type isGetDataResponse_Data struct { + mock.Mock +} + +// isGetDataResponse_Data provides a mock function with given fields: +func (_m *isGetDataResponse_Data) isGetDataResponse_Data() { + _m.Called() +} diff --git a/clients/go/admin/mocks/isTaskCreateResponse_Value.go b/clients/go/admin/mocks/isTaskCreateResponse_Value.go new file mode 100644 index 000000000..b692f16f9 --- /dev/null +++ b/clients/go/admin/mocks/isTaskCreateResponse_Value.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isTaskCreateResponse_Value is an autogenerated mock type for the isTaskCreateResponse_Value type +type isTaskCreateResponse_Value struct { + mock.Mock +} + +// isTaskCreateResponse_Value provides a mock function with given fields: +func (_m *isTaskCreateResponse_Value) isTaskCreateResponse_Value() { + _m.Called() +} diff --git a/clients/go/admin/token_source_provider.go b/clients/go/admin/token_source_provider.go index c2a520d70..ba6bb0a46 100644 --- a/clients/go/admin/token_source_provider.go +++ b/clients/go/admin/token_source_provider.go @@ -8,11 +8,9 @@ import ( "os" "strings" "sync" - "time" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" - "k8s.io/apimachinery/pkg/util/wait" "github.com/flyteorg/flyteidl/clients/go/admin/cache" "github.com/flyteorg/flyteidl/clients/go/admin/deviceflow" @@ -23,6 +21,11 @@ import ( "github.com/flyteorg/flytestdlib/logger" ) +//go:generate mockery -name TokenSource +type TokenSource interface { + Token() (*oauth2.Token, error) +} + const ( audienceKey = "audience" ) @@ -68,7 +71,7 @@ func NewTokenSourceProvider(ctx context.Context, cfg *Config, tokenCache cache.T } } - tokenProvider, err = NewClientCredentialsTokenSourceProvider(ctx, cfg, scopes, tokenURL, audienceValue) + tokenProvider, err = NewClientCredentialsTokenSourceProvider(ctx, cfg, scopes, tokenURL, tokenCache, audienceValue) if err != nil { return nil, err } @@ -162,11 +165,12 @@ func GetPKCEAuthTokenSource(ctx context.Context, pkceTokenOrchestrator pkce.Toke } type ClientCredentialsTokenSourceProvider struct { - ccConfig clientcredentials.Config - TokenRefreshWindow time.Duration + ccConfig clientcredentials.Config + tokenCache cache.TokenCache } -func NewClientCredentialsTokenSourceProvider(ctx context.Context, cfg *Config, scopes []string, tokenURL string, audience string) (TokenSourceProvider, error) { +func NewClientCredentialsTokenSourceProvider(ctx context.Context, cfg *Config, scopes []string, tokenURL string, + tokenCache cache.TokenCache, audience string) (TokenSourceProvider, error) { var secret string if len(cfg.ClientSecretEnvVar) > 0 { secret = os.Getenv(cfg.ClientSecretEnvVar) @@ -183,6 +187,9 @@ func NewClientCredentialsTokenSourceProvider(ctx context.Context, cfg *Config, s endpointParams = url.Values{audienceKey: {audience}} } secret = strings.TrimSpace(secret) + if tokenCache == nil { + tokenCache = &cache.TokenCacheInMemoryProvider{} + } return ClientCredentialsTokenSourceProvider{ ccConfig: clientcredentials.Config{ ClientID: cfg.ClientID, @@ -191,63 +198,45 @@ func NewClientCredentialsTokenSourceProvider(ctx context.Context, cfg *Config, s Scopes: scopes, EndpointParams: endpointParams, }, - TokenRefreshWindow: cfg.TokenRefreshWindow.Duration}, nil + tokenCache: tokenCache}, nil } func (p ClientCredentialsTokenSourceProvider) GetTokenSource(ctx context.Context) (oauth2.TokenSource, error) { - if p.TokenRefreshWindow > 0 { - source := p.ccConfig.TokenSource(ctx) - return &customTokenSource{ - new: source, - mu: sync.Mutex{}, - t: nil, - tokenRefreshWindow: p.TokenRefreshWindow, - }, nil - } - return p.ccConfig.TokenSource(ctx), nil + return &customTokenSource{ + ctx: ctx, + new: p.ccConfig.TokenSource(ctx), + mu: sync.Mutex{}, + tokenCache: p.tokenCache, + }, nil } type customTokenSource struct { - new oauth2.TokenSource - mu sync.Mutex // guards everything else - t *oauth2.Token - refreshTime time.Time - failedToRefresh bool - tokenRefreshWindow time.Duration + ctx context.Context + mu sync.Mutex // guards everything else + new oauth2.TokenSource + tokenCache cache.TokenCache } func (s *customTokenSource) Token() (*oauth2.Token, error) { s.mu.Lock() defer s.mu.Unlock() - if s.t.Valid() { - if time.Now().After(s.refreshTime) && !s.failedToRefresh { - t, err := s.new.Token() - if err != nil { - s.failedToRefresh = true // don't try to refresh again before expiry - return s.t, nil - } - s.t = t - s.refreshTime = s.t.Expiry.Add(-getRandomDuration(s.tokenRefreshWindow)) - s.failedToRefresh = false - return s.t, nil - } - return s.t, nil + + if token, err := s.tokenCache.GetToken(); err == nil && token.Valid() { + return token, nil } - t, err := s.new.Token() + + token, err := s.new.Token() if err != nil { - return nil, err + return nil, fmt.Errorf("failed to get token: %w", err) + } + logger.Infof(s.ctx, "retrieved token with expiry %v", token.Expiry) + + err = s.tokenCache.SaveToken(token) + if err != nil { + logger.Warnf(s.ctx, "failed to cache token") } - s.t = t - s.failedToRefresh = false - s.refreshTime = s.t.Expiry.Add(-getRandomDuration(s.tokenRefreshWindow)) - return t, nil -} -// Get random duration between 0 and maxDuration -func getRandomDuration(maxDuration time.Duration) time.Duration { - // d is 1.0 to 2.0 times maxDuration - d := wait.Jitter(maxDuration, 1) - return d - maxDuration + return token, nil } type DeviceFlowTokenSourceProvider struct { diff --git a/clients/go/admin/token_source_provider_test.go b/clients/go/admin/token_source_provider_test.go new file mode 100644 index 000000000..a0d4cb240 --- /dev/null +++ b/clients/go/admin/token_source_provider_test.go @@ -0,0 +1,162 @@ +package admin + +import ( + "context" + "fmt" + "net/url" + "testing" + "time" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "golang.org/x/oauth2" + + tokenCacheMocks "github.com/flyteorg/flyteidl/clients/go/admin/cache/mocks" + adminMocks "github.com/flyteorg/flyteidl/clients/go/admin/mocks" + "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" +) + +func TestNewTokenSourceProvider(t *testing.T) { + ctx := context.Background() + tests := []struct { + name string + audienceCfg string + scopesCfg []string + useAudienceFromAdmin bool + clientConfigResponse service.PublicClientAuthConfigResponse + expectedAudience string + expectedScopes []string + expectedCallsPubEndpoint int + }{ + { + name: "audience from client config", + audienceCfg: "clientConfiguredAud", + scopesCfg: []string{"all"}, + clientConfigResponse: service.PublicClientAuthConfigResponse{}, + expectedAudience: "clientConfiguredAud", + expectedScopes: []string{"all"}, + expectedCallsPubEndpoint: 0, + }, + { + name: "audience from public client response", + audienceCfg: "clientConfiguredAud", + useAudienceFromAdmin: true, + scopesCfg: []string{"all"}, + clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, + expectedAudience: "AdminConfiguredAud", + expectedScopes: []string{"all"}, + expectedCallsPubEndpoint: 1, + }, + + { + name: "audience from client with useAudience from admin false", + audienceCfg: "clientConfiguredAud", + useAudienceFromAdmin: false, + scopesCfg: []string{"all"}, + clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, + expectedAudience: "clientConfiguredAud", + expectedScopes: []string{"all"}, + expectedCallsPubEndpoint: 0, + }, + } + for _, test := range tests { + cfg := GetConfig(ctx) + tokenCache := &tokenCacheMocks.TokenCache{} + metadataClient := &adminMocks.AuthMetadataServiceClient{} + metadataClient.OnGetOAuth2MetadataMatch(mock.Anything, mock.Anything).Return(&service.OAuth2MetadataResponse{}, nil) + metadataClient.OnGetPublicClientConfigMatch(mock.Anything, mock.Anything).Return(&test.clientConfigResponse, nil) + cfg.AuthType = AuthTypeClientSecret + cfg.Audience = test.audienceCfg + cfg.Scopes = test.scopesCfg + cfg.UseAudienceFromAdmin = test.useAudienceFromAdmin + flyteTokenSource, err := NewTokenSourceProvider(ctx, cfg, tokenCache, metadataClient) + assert.True(t, metadataClient.AssertNumberOfCalls(t, "GetPublicClientConfig", test.expectedCallsPubEndpoint)) + assert.NoError(t, err) + assert.NotNil(t, flyteTokenSource) + clientCredSourceProvider, ok := flyteTokenSource.(ClientCredentialsTokenSourceProvider) + assert.True(t, ok) + assert.Equal(t, test.expectedScopes, clientCredSourceProvider.ccConfig.Scopes) + assert.Equal(t, url.Values{audienceKey: {test.expectedAudience}}, clientCredSourceProvider.ccConfig.EndpointParams) + } +} + +func TestCustomTokenSource_Token(t *testing.T) { + ctx := context.Background() + cfg := GetConfig(ctx) + cfg.ClientSecretLocation = "" + + minuteAgo := time.Now().Add(-time.Minute) + hourAhead := time.Now().Add(time.Hour) + twoHourAhead := time.Now().Add(2 * time.Hour) + invalidToken := oauth2.Token{AccessToken: "foo", Expiry: minuteAgo} + validToken := oauth2.Token{AccessToken: "foo", Expiry: hourAhead} + newToken := oauth2.Token{AccessToken: "foo", Expiry: twoHourAhead} + + tests := []struct { + name string + token *oauth2.Token + newToken *oauth2.Token + expectedToken *oauth2.Token + }{ + { + name: "no cached token", + token: nil, + newToken: &newToken, + expectedToken: &newToken, + }, + { + name: "cached token valid", + token: &validToken, + newToken: nil, + expectedToken: &validToken, + }, + { + name: "cached token expired", + token: &invalidToken, + newToken: &newToken, + expectedToken: &newToken, + }, + { + name: "failed new token", + token: &invalidToken, + newToken: nil, + expectedToken: nil, + }, + } + + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + tokenCache := &tokenCacheMocks.TokenCache{} + tokenCache.OnGetToken().Return(test.token, nil).Once() + provider, err := NewClientCredentialsTokenSourceProvider(ctx, cfg, []string{}, "", tokenCache, "") + assert.NoError(t, err) + source, err := provider.GetTokenSource(ctx) + assert.NoError(t, err) + customSource, ok := source.(*customTokenSource) + assert.True(t, ok) + + mockSource := &adminMocks.TokenSource{} + if test.token != &validToken { + if test.newToken != nil { + mockSource.OnToken().Return(test.newToken, nil) + } else { + mockSource.OnToken().Return(nil, fmt.Errorf("refresh token failed")) + } + } + customSource.new = mockSource + if test.newToken != nil { + tokenCache.OnSaveToken(test.newToken).Return(nil).Once() + } + token, err := source.Token() + if test.expectedToken != nil { + assert.Equal(t, test.expectedToken, token) + assert.NoError(t, err) + } else { + assert.Nil(t, token) + assert.Error(t, err) + } + tokenCache.AssertExpectations(t) + mockSource.AssertExpectations(t) + }) + } +} diff --git a/clients/go/admin/token_source_test.go b/clients/go/admin/token_source_test.go index 9256e5e88..0e247bfe8 100644 --- a/clients/go/admin/token_source_test.go +++ b/clients/go/admin/token_source_test.go @@ -2,16 +2,10 @@ package admin import ( "context" - "net/url" "testing" "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/mock" "golang.org/x/oauth2" - - tokenCacheMocks "github.com/flyteorg/flyteidl/clients/go/admin/cache/mocks" - adminMocks "github.com/flyteorg/flyteidl/clients/go/admin/mocks" - "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" ) type DummyTestTokenSource struct { @@ -31,67 +25,3 @@ func TestNewTokenSource(t *testing.T) { assert.NoError(t, err) assert.Equal(t, "Bearer abc", metadata["test"]) } - -func TestNewTokenSourceProvider(t *testing.T) { - ctx := context.Background() - tests := []struct { - name string - audienceCfg string - scopesCfg []string - useAudienceFromAdmin bool - clientConfigResponse service.PublicClientAuthConfigResponse - expectedAudience string - expectedScopes []string - expectedCallsPubEndpoint int - }{ - { - name: "audience from client config", - audienceCfg: "clientConfiguredAud", - scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{}, - expectedAudience: "clientConfiguredAud", - expectedScopes: []string{"all"}, - expectedCallsPubEndpoint: 0, - }, - { - name: "audience from public client response", - audienceCfg: "clientConfiguredAud", - useAudienceFromAdmin: true, - scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, - expectedAudience: "AdminConfiguredAud", - expectedScopes: []string{"all"}, - expectedCallsPubEndpoint: 1, - }, - - { - name: "audience from client with useAudience from admin false", - audienceCfg: "clientConfiguredAud", - useAudienceFromAdmin: false, - scopesCfg: []string{"all"}, - clientConfigResponse: service.PublicClientAuthConfigResponse{Audience: "AdminConfiguredAud", Scopes: []string{}}, - expectedAudience: "clientConfiguredAud", - expectedScopes: []string{"all"}, - expectedCallsPubEndpoint: 0, - }, - } - for _, test := range tests { - cfg := GetConfig(ctx) - tokenCache := &tokenCacheMocks.TokenCache{} - metadataClient := &adminMocks.AuthMetadataServiceClient{} - metadataClient.OnGetOAuth2MetadataMatch(mock.Anything, mock.Anything).Return(&service.OAuth2MetadataResponse{}, nil) - metadataClient.OnGetPublicClientConfigMatch(mock.Anything, mock.Anything).Return(&test.clientConfigResponse, nil) - cfg.AuthType = AuthTypeClientSecret - cfg.Audience = test.audienceCfg - cfg.Scopes = test.scopesCfg - cfg.UseAudienceFromAdmin = test.useAudienceFromAdmin - flyteTokenSource, err := NewTokenSourceProvider(ctx, cfg, tokenCache, metadataClient) - assert.True(t, metadataClient.AssertNumberOfCalls(t, "GetPublicClientConfig", test.expectedCallsPubEndpoint)) - assert.NoError(t, err) - assert.NotNil(t, flyteTokenSource) - clientCredSourceProvider, ok := flyteTokenSource.(ClientCredentialsTokenSourceProvider) - assert.True(t, ok) - assert.Equal(t, test.expectedScopes, clientCredSourceProvider.ccConfig.Scopes) - assert.Equal(t, url.Values{audienceKey: {test.expectedAudience}}, clientCredSourceProvider.ccConfig.EndpointParams) - } -} diff --git a/gen/pb-cpp/flyteidl/admin/common.pb.cc b/gen/pb-cpp/flyteidl/admin/common.pb.cc index 8b88e9a96..2dd2d2376 100644 --- a/gen/pb-cpp/flyteidl/admin/common.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/common.pb.cc @@ -26,6 +26,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_NamedEntity_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto; namespace flyteidl { namespace admin { class NamedEntityIdentifierDefaultTypeInternal { @@ -119,6 +120,10 @@ class AnnotationsDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _Annotations_default_instance_; +class EnvsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Envs_default_instance_; class AuthRoleDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -127,6 +132,10 @@ class RawOutputDataConfigDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _RawOutputDataConfig_default_instance_; +class FlyteURLsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _FlyteURLs_default_instance_; } // namespace admin } // namespace flyteidl static void InitDefaultsNamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto() { @@ -452,6 +461,21 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2 {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAnnotations_flyteidl_2fadmin_2fcommon_2eproto}, { &scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base,}}; +static void InitDefaultsEnvs_flyteidl_2fadmin_2fcommon_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_Envs_default_instance_; + new (ptr) ::flyteidl::admin::Envs(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::Envs::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEnvs_flyteidl_2fadmin_2fcommon_2eproto}, { + &scc_info_KeyValuePair_flyteidl_2fcore_2fliterals_2eproto.base,}}; + static void InitDefaultsAuthRole_flyteidl_2fadmin_2fcommon_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -480,6 +504,20 @@ static void InitDefaultsRawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto() ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto}, {}}; +static void InitDefaultsFlyteURLs_flyteidl_2fadmin_2fcommon_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_FlyteURLs_default_instance_; + new (ptr) ::flyteidl::admin::FlyteURLs(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::FlyteURLs::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFlyteURLs_flyteidl_2fadmin_2fcommon_2eproto}, {}}; + void InitDefaults_flyteidl_2fadmin_2fcommon_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityIdentifier_flyteidl_2fadmin_2fcommon_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_NamedEntityMetadata_flyteidl_2fadmin_2fcommon_2eproto.base); @@ -503,11 +541,13 @@ void InitDefaults_flyteidl_2fadmin_2fcommon_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Annotations_ValuesEntry_DoNotUse_flyteidl_2fadmin_2fcommon_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_AuthRole_flyteidl_2fadmin_2fcommon_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[24]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[26]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto[2]; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fcommon_2eproto = nullptr; @@ -681,6 +721,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcommon_2eproto:: ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Annotations, values_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Envs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Envs, values_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::AuthRole, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -693,6 +739,14 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fcommon_2eproto:: ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::RawOutputDataConfig, output_location_prefix_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, inputs_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, outputs_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FlyteURLs, deck_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::admin::NamedEntityIdentifier)}, @@ -717,8 +771,10 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 147, -1, sizeof(::flyteidl::admin::Labels)}, { 153, 160, sizeof(::flyteidl::admin::Annotations_ValuesEntry_DoNotUse)}, { 162, -1, sizeof(::flyteidl::admin::Annotations)}, - { 168, -1, sizeof(::flyteidl::admin::AuthRole)}, - { 175, -1, sizeof(::flyteidl::admin::RawOutputDataConfig)}, + { 168, -1, sizeof(::flyteidl::admin::Envs)}, + { 174, -1, sizeof(::flyteidl::admin::AuthRole)}, + { 181, -1, sizeof(::flyteidl::admin::RawOutputDataConfig)}, + { 187, -1, sizeof(::flyteidl::admin::FlyteURLs)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -744,97 +800,105 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::admin::_Labels_default_instance_), reinterpret_cast(&::flyteidl::admin::_Annotations_ValuesEntry_DoNotUse_default_instance_), reinterpret_cast(&::flyteidl::admin::_Annotations_default_instance_), + reinterpret_cast(&::flyteidl::admin::_Envs_default_instance_), reinterpret_cast(&::flyteidl::admin::_AuthRole_default_instance_), reinterpret_cast(&::flyteidl::admin::_RawOutputDataConfig_default_instance_), + reinterpret_cast(&::flyteidl::admin::_FlyteURLs_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto = { {}, AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, "flyteidl/admin/common.proto", schemas, file_default_instances, TableStruct_flyteidl_2fadmin_2fcommon_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto, 24, file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcommon_2eproto, + file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto, 26, file_level_enum_descriptors_flyteidl_2fadmin_2fcommon_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fcommon_2eproto, }; const char descriptor_table_protodef_flyteidl_2fadmin_2fcommon_2eproto[] = "\n\033flyteidl/admin/common.proto\022\016flyteidl." "admin\032\035flyteidl/core/execution.proto\032\036fl" - "yteidl/core/identifier.proto\"F\n\025NamedEnt" - "ityIdentifier\022\017\n\007project\030\001 \001(\t\022\016\n\006domain" - "\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"[\n\023NamedEntityMetad" - "ata\022\023\n\013description\030\001 \001(\t\022/\n\005state\030\002 \001(\0162" - " .flyteidl.admin.NamedEntityState\"\253\001\n\013Na" - "medEntity\0222\n\rresource_type\030\001 \001(\0162\033.flyte" - "idl.core.ResourceType\0221\n\002id\030\002 \001(\0132%.flyt" - "eidl.admin.NamedEntityIdentifier\0225\n\010meta" - "data\030\003 \001(\0132#.flyteidl.admin.NamedEntityM" - "etadata\"r\n\004Sort\022\013\n\003key\030\001 \001(\t\0221\n\tdirectio" - "n\030\002 \001(\0162\036.flyteidl.admin.Sort.Direction\"" - "*\n\tDirection\022\016\n\nDESCENDING\020\000\022\r\n\tASCENDIN" - "G\020\001\"\231\001\n NamedEntityIdentifierListRequest" - "\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\r\n\005lim" - "it\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\013" - "2\024.flyteidl.admin.Sort\022\017\n\007filters\030\006 \001(\t\"" - "\303\001\n\026NamedEntityListRequest\0222\n\rresource_t" - "ype\030\001 \001(\0162\033.flyteidl.core.ResourceType\022\017" - "\n\007project\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\r\n\005limit" - "\030\004 \001(\r\022\r\n\005token\030\005 \001(\t\022%\n\007sort_by\030\006 \001(\0132\024" - ".flyteidl.admin.Sort\022\017\n\007filters\030\007 \001(\t\"c\n" - "\031NamedEntityIdentifierList\0227\n\010entities\030\001" - " \003(\0132%.flyteidl.admin.NamedEntityIdentif" - "ier\022\r\n\005token\030\002 \001(\t\"O\n\017NamedEntityList\022-\n" - "\010entities\030\001 \003(\0132\033.flyteidl.admin.NamedEn" - "tity\022\r\n\005token\030\002 \001(\t\"~\n\025NamedEntityGetReq" - "uest\0222\n\rresource_type\030\001 \001(\0162\033.flyteidl.c" - "ore.ResourceType\0221\n\002id\030\002 \001(\0132%.flyteidl." - "admin.NamedEntityIdentifier\"\270\001\n\030NamedEnt" - "ityUpdateRequest\0222\n\rresource_type\030\001 \001(\0162" - "\033.flyteidl.core.ResourceType\0221\n\002id\030\002 \001(\013" - "2%.flyteidl.admin.NamedEntityIdentifier\022" - "5\n\010metadata\030\003 \001(\0132#.flyteidl.admin.Named" - "EntityMetadata\"\033\n\031NamedEntityUpdateRespo" - "nse\"9\n\020ObjectGetRequest\022%\n\002id\030\001 \001(\0132\031.fl" - "yteidl.core.Identifier\"\236\001\n\023ResourceListR" - "equest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin.Name" - "dEntityIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005toke" - "n\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(" - "\0132\024.flyteidl.admin.Sort\"-\n\021EmailNotifica" - "tion\022\030\n\020recipients_email\030\001 \003(\t\"1\n\025PagerD" - "utyNotification\022\030\n\020recipients_email\030\001 \003(" - "\t\"-\n\021SlackNotification\022\030\n\020recipients_ema" - "il\030\001 \003(\t\"\363\001\n\014Notification\0226\n\006phases\030\001 \003(" - "\0162&.flyteidl.core.WorkflowExecution.Phas" - "e\0222\n\005email\030\002 \001(\0132!.flyteidl.admin.EmailN" - "otificationH\000\022;\n\npager_duty\030\003 \001(\0132%.flyt" - "eidl.admin.PagerDutyNotificationH\000\0222\n\005sl" - "ack\030\004 \001(\0132!.flyteidl.admin.SlackNotifica" - "tionH\000B\006\n\004type\")\n\007UrlBlob\022\013\n\003url\030\001 \001(\t\022\r" - "\n\005bytes\030\002 \001(\003:\002\030\001\"k\n\006Labels\0222\n\006values\030\001 " - "\003(\0132\".flyteidl.admin.Labels.ValuesEntry\032" - "-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - "(\t:\0028\001\"u\n\013Annotations\0227\n\006values\030\001 \003(\0132\'." - "flyteidl.admin.Annotations.ValuesEntry\032-" - "\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - "\t:\0028\001\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030" - "\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 \001(" - "\t:\002\030\001\"5\n\023RawOutputDataConfig\022\036\n\026output_l" - "ocation_prefix\030\001 \001(\t*\\\n\020NamedEntityState" - "\022\027\n\023NAMED_ENTITY_ACTIVE\020\000\022\031\n\025NAMED_ENTIT" - "Y_ARCHIVED\020\001\022\024\n\020SYSTEM_GENERATED\020\002B7Z5gi" - "thub.com/flyteorg/flyteidl/gen/pb-go/fly" - "teidl/adminb\006proto3" + "yteidl/core/identifier.proto\032\034flyteidl/c" + "ore/literals.proto\032\037google/protobuf/time" + "stamp.proto\"F\n\025NamedEntityIdentifier\022\017\n\007" + "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 " + "\001(\t\"[\n\023NamedEntityMetadata\022\023\n\013descriptio" + "n\030\001 \001(\t\022/\n\005state\030\002 \001(\0162 .flyteidl.admin." + "NamedEntityState\"\253\001\n\013NamedEntity\0222\n\rreso" + "urce_type\030\001 \001(\0162\033.flyteidl.core.Resource" + "Type\0221\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedE" + "ntityIdentifier\0225\n\010metadata\030\003 \001(\0132#.flyt" + "eidl.admin.NamedEntityMetadata\"r\n\004Sort\022\013" + "\n\003key\030\001 \001(\t\0221\n\tdirection\030\002 \001(\0162\036.flyteid" + "l.admin.Sort.Direction\"*\n\tDirection\022\016\n\nD" + "ESCENDING\020\000\022\r\n\tASCENDING\020\001\"\231\001\n NamedEnti" + "tyIdentifierListRequest\022\017\n\007project\030\001 \001(\t" + "\022\016\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token" + "\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin" + ".Sort\022\017\n\007filters\030\006 \001(\t\"\303\001\n\026NamedEntityLi" + "stRequest\0222\n\rresource_type\030\001 \001(\0162\033.flyte" + "idl.core.ResourceType\022\017\n\007project\030\002 \001(\t\022\016" + "\n\006domain\030\003 \001(\t\022\r\n\005limit\030\004 \001(\r\022\r\n\005token\030\005" + " \001(\t\022%\n\007sort_by\030\006 \001(\0132\024.flyteidl.admin.S" + "ort\022\017\n\007filters\030\007 \001(\t\"c\n\031NamedEntityIdent" + "ifierList\0227\n\010entities\030\001 \003(\0132%.flyteidl.a" + "dmin.NamedEntityIdentifier\022\r\n\005token\030\002 \001(" + "\t\"O\n\017NamedEntityList\022-\n\010entities\030\001 \003(\0132\033" + ".flyteidl.admin.NamedEntity\022\r\n\005token\030\002 \001" + "(\t\"~\n\025NamedEntityGetRequest\0222\n\rresource_" + "type\030\001 \001(\0162\033.flyteidl.core.ResourceType\022" + "1\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedEntity" + "Identifier\"\270\001\n\030NamedEntityUpdateRequest\022" + "2\n\rresource_type\030\001 \001(\0162\033.flyteidl.core.R" + "esourceType\0221\n\002id\030\002 \001(\0132%.flyteidl.admin" + ".NamedEntityIdentifier\0225\n\010metadata\030\003 \001(\013" + "2#.flyteidl.admin.NamedEntityMetadata\"\033\n" + "\031NamedEntityUpdateResponse\"9\n\020ObjectGetR" + "equest\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Ident" + "ifier\"\236\001\n\023ResourceListRequest\0221\n\002id\030\001 \001(" + "\0132%.flyteidl.admin.NamedEntityIdentifier" + "\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filter" + "s\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admi" + "n.Sort\"-\n\021EmailNotification\022\030\n\020recipient" + "s_email\030\001 \003(\t\"1\n\025PagerDutyNotification\022\030" + "\n\020recipients_email\030\001 \003(\t\"-\n\021SlackNotific" + "ation\022\030\n\020recipients_email\030\001 \003(\t\"\363\001\n\014Noti" + "fication\0226\n\006phases\030\001 \003(\0162&.flyteidl.core" + ".WorkflowExecution.Phase\0222\n\005email\030\002 \001(\0132" + "!.flyteidl.admin.EmailNotificationH\000\022;\n\n" + "pager_duty\030\003 \001(\0132%.flyteidl.admin.PagerD" + "utyNotificationH\000\0222\n\005slack\030\004 \001(\0132!.flyte" + "idl.admin.SlackNotificationH\000B\006\n\004type\")\n" + "\007UrlBlob\022\013\n\003url\030\001 \001(\t\022\r\n\005bytes\030\002 \001(\003:\002\030\001" + "\"k\n\006Labels\0222\n\006values\030\001 \003(\0132\".flyteidl.ad" + "min.Labels.ValuesEntry\032-\n\013ValuesEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\013Annotat" + "ions\0227\n\006values\030\001 \003(\0132\'.flyteidl.admin.An" + "notations.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\004Envs\022+\n\006" + "values\030\001 \003(\0132\033.flyteidl.core.KeyValuePai" + "r\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030\001 \001(" + "\t\022\"\n\032kubernetes_service_account\030\002 \001(\t:\002\030" + "\001\"5\n\023RawOutputDataConfig\022\036\n\026output_locat" + "ion_prefix\030\001 \001(\t\":\n\tFlyteURLs\022\016\n\006inputs\030" + "\001 \001(\t\022\017\n\007outputs\030\002 \001(\t\022\014\n\004deck\030\003 \001(\t*\\\n\020" + "NamedEntityState\022\027\n\023NAMED_ENTITY_ACTIVE\020" + "\000\022\031\n\025NAMED_ENTITY_ARCHIVED\020\001\022\024\n\020SYSTEM_G" + "ENERATED\020\002B7Z5github.com/flyteorg/flytei" + "dl/gen/pb-go/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fcommon_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fcommon_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fcommon_2eproto, - "flyteidl/admin/common.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto, 2619, + "flyteidl/admin/common.proto", &assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto, 2795, }; void AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[2] = + static constexpr ::google::protobuf::internal::InitFunc deps[4] = { ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fcommon_2eproto, deps, 2); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fcommon_2eproto, deps, 4); } // Force running AddDescriptors() at dynamic initialization time. @@ -8871,6 +8935,289 @@ ::google::protobuf::Metadata Annotations::GetMetadata() const { } +// =================================================================== + +void Envs::InitAsDefaultInstance() { +} +class Envs::HasBitSetters { + public: +}; + +void Envs::clear_values() { + values_.Clear(); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Envs::kValuesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Envs::Envs() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.Envs) +} +Envs::Envs(const Envs& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + values_(from.values_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Envs) +} + +void Envs::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); +} + +Envs::~Envs() { + // @@protoc_insertion_point(destructor:flyteidl.admin.Envs) + SharedDtor(); +} + +void Envs::SharedDtor() { +} + +void Envs::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Envs& Envs::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base); + return *internal_default_instance(); +} + + +void Envs::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Envs) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + values_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Envs::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated .flyteidl.core.KeyValuePair values = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::KeyValuePair::_InternalParse; + object = msg->add_values(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Envs::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.Envs) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .flyteidl.core.KeyValuePair values = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_values())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.Envs) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.Envs) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Envs::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.Envs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.KeyValuePair values = 1; + for (unsigned int i = 0, + n = static_cast(this->values_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->values(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.Envs) +} + +::google::protobuf::uint8* Envs::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Envs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.KeyValuePair values = 1; + for (unsigned int i = 0, + n = static_cast(this->values_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->values(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Envs) + return target; +} + +size_t Envs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Envs) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.KeyValuePair values = 1; + { + unsigned int count = static_cast(this->values_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->values(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Envs::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Envs) + GOOGLE_DCHECK_NE(&from, this); + const Envs* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Envs) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Envs) + MergeFrom(*source); + } +} + +void Envs::MergeFrom(const Envs& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Envs) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + values_.MergeFrom(from.values_); +} + +void Envs::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Envs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Envs::CopyFrom(const Envs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Envs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Envs::IsInitialized() const { + return true; +} + +void Envs::Swap(Envs* other) { + if (other == this) return; + InternalSwap(other); +} +void Envs::InternalSwap(Envs* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&values_)->InternalSwap(CastToBase(&other->values_)); +} + +::google::protobuf::Metadata Envs::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; +} + + // =================================================================== void AuthRole::InitAsDefaultInstance() { @@ -9538,16 +9885,459 @@ ::google::protobuf::Metadata RawOutputDataConfig::GetMetadata() const { } -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityIdentifier* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityIdentifier >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityIdentifier >(arena); +// =================================================================== + +void FlyteURLs::InitAsDefaultInstance() { } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NamedEntityMetadata >(arena); +class FlyteURLs::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int FlyteURLs::kInputsFieldNumber; +const int FlyteURLs::kOutputsFieldNumber; +const int FlyteURLs::kDeckFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FlyteURLs::FlyteURLs() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.FlyteURLs) +} +FlyteURLs::FlyteURLs(const FlyteURLs& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + inputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.inputs().size() > 0) { + inputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inputs_); + } + outputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.outputs().size() > 0) { + outputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.outputs_); + } + deck_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.deck().size() > 0) { + deck_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FlyteURLs) +} + +void FlyteURLs::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); + inputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + outputs_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + deck_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +FlyteURLs::~FlyteURLs() { + // @@protoc_insertion_point(destructor:flyteidl.admin.FlyteURLs) + SharedDtor(); +} + +void FlyteURLs::SharedDtor() { + inputs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + outputs_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + deck_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void FlyteURLs::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FlyteURLs& FlyteURLs::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base); + return *internal_default_instance(); +} + + +void FlyteURLs::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FlyteURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + inputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + outputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + deck_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FlyteURLs::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string inputs = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.inputs"); + object = msg->mutable_inputs(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string outputs = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.outputs"); + object = msg->mutable_outputs(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string deck = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.FlyteURLs.deck"); + object = msg->mutable_deck(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FlyteURLs::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.FlyteURLs) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string inputs = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_inputs())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->inputs().data(), static_cast(this->inputs().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.FlyteURLs.inputs")); + } else { + goto handle_unusual; + } + break; + } + + // string outputs = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_outputs())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->outputs().data(), static_cast(this->outputs().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.FlyteURLs.outputs")); + } else { + goto handle_unusual; + } + break; + } + + // string deck = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_deck())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->deck().data(), static_cast(this->deck().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.FlyteURLs.deck")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.FlyteURLs) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.FlyteURLs) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FlyteURLs::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.FlyteURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string inputs = 1; + if (this->inputs().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->inputs().data(), static_cast(this->inputs().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.inputs"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->inputs(), output); + } + + // string outputs = 2; + if (this->outputs().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->outputs().data(), static_cast(this->outputs().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.outputs"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->outputs(), output); + } + + // string deck = 3; + if (this->deck().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->deck().data(), static_cast(this->deck().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.deck"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->deck(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.FlyteURLs) +} + +::google::protobuf::uint8* FlyteURLs::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FlyteURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string inputs = 1; + if (this->inputs().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->inputs().data(), static_cast(this->inputs().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.inputs"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->inputs(), target); + } + + // string outputs = 2; + if (this->outputs().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->outputs().data(), static_cast(this->outputs().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.outputs"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->outputs(), target); + } + + // string deck = 3; + if (this->deck().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->deck().data(), static_cast(this->deck().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.FlyteURLs.deck"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->deck(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FlyteURLs) + return target; +} + +size_t FlyteURLs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FlyteURLs) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string inputs = 1; + if (this->inputs().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->inputs()); + } + + // string outputs = 2; + if (this->outputs().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->outputs()); + } + + // string deck = 3; + if (this->deck().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->deck()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void FlyteURLs::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FlyteURLs) + GOOGLE_DCHECK_NE(&from, this); + const FlyteURLs* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FlyteURLs) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FlyteURLs) + MergeFrom(*source); + } +} + +void FlyteURLs::MergeFrom(const FlyteURLs& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FlyteURLs) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.inputs().size() > 0) { + + inputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.inputs_); + } + if (from.outputs().size() > 0) { + + outputs_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.outputs_); + } + if (from.deck().size() > 0) { + + deck_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_); + } +} + +void FlyteURLs::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FlyteURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FlyteURLs::CopyFrom(const FlyteURLs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FlyteURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FlyteURLs::IsInitialized() const { + return true; +} + +void FlyteURLs::Swap(FlyteURLs* other) { + if (other == this) return; + InternalSwap(other); +} +void FlyteURLs::InternalSwap(FlyteURLs* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + inputs_.Swap(&other->inputs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + outputs_.Swap(&other->outputs_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + deck_.Swap(&other->deck_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata FlyteURLs::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fcommon_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fcommon_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityIdentifier* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::NamedEntityIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntityMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntityMetadata >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::NamedEntityMetadata >(arena); } template<> PROTOBUF_NOINLINE ::flyteidl::admin::NamedEntity* Arena::CreateMaybeMessage< ::flyteidl::admin::NamedEntity >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::NamedEntity >(arena); @@ -9609,12 +10399,18 @@ template<> PROTOBUF_NOINLINE ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse template<> PROTOBUF_NOINLINE ::flyteidl::admin::Annotations* Arena::CreateMaybeMessage< ::flyteidl::admin::Annotations >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::Annotations >(arena); } +template<> PROTOBUF_NOINLINE ::flyteidl::admin::Envs* Arena::CreateMaybeMessage< ::flyteidl::admin::Envs >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::Envs >(arena); +} template<> PROTOBUF_NOINLINE ::flyteidl::admin::AuthRole* Arena::CreateMaybeMessage< ::flyteidl::admin::AuthRole >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::AuthRole >(arena); } template<> PROTOBUF_NOINLINE ::flyteidl::admin::RawOutputDataConfig* Arena::CreateMaybeMessage< ::flyteidl::admin::RawOutputDataConfig >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::RawOutputDataConfig >(arena); } +template<> PROTOBUF_NOINLINE ::flyteidl::admin::FlyteURLs* Arena::CreateMaybeMessage< ::flyteidl::admin::FlyteURLs >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::FlyteURLs >(arena); +} } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/admin/common.pb.h b/gen/pb-cpp/flyteidl/admin/common.pb.h index 154571bb2..b2eb1cb4e 100644 --- a/gen/pb-cpp/flyteidl/admin/common.pb.h +++ b/gen/pb-cpp/flyteidl/admin/common.pb.h @@ -37,6 +37,8 @@ #include #include "flyteidl/core/execution.pb.h" #include "flyteidl/core/identifier.pb.h" +#include "flyteidl/core/literals.pb.h" +#include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto @@ -47,7 +49,7 @@ struct TableStruct_flyteidl_2fadmin_2fcommon_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[24] + static const ::google::protobuf::internal::ParseTable schema[26] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -68,6 +70,12 @@ extern AuthRoleDefaultTypeInternal _AuthRole_default_instance_; class EmailNotification; class EmailNotificationDefaultTypeInternal; extern EmailNotificationDefaultTypeInternal _EmailNotification_default_instance_; +class Envs; +class EnvsDefaultTypeInternal; +extern EnvsDefaultTypeInternal _Envs_default_instance_; +class FlyteURLs; +class FlyteURLsDefaultTypeInternal; +extern FlyteURLsDefaultTypeInternal _FlyteURLs_default_instance_; class Labels; class LabelsDefaultTypeInternal; extern LabelsDefaultTypeInternal _Labels_default_instance_; @@ -136,6 +144,8 @@ template<> ::flyteidl::admin::Annotations* Arena::CreateMaybeMessage<::flyteidl: template<> ::flyteidl::admin::Annotations_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::Annotations_ValuesEntry_DoNotUse>(Arena*); template<> ::flyteidl::admin::AuthRole* Arena::CreateMaybeMessage<::flyteidl::admin::AuthRole>(Arena*); template<> ::flyteidl::admin::EmailNotification* Arena::CreateMaybeMessage<::flyteidl::admin::EmailNotification>(Arena*); +template<> ::flyteidl::admin::Envs* Arena::CreateMaybeMessage<::flyteidl::admin::Envs>(Arena*); +template<> ::flyteidl::admin::FlyteURLs* Arena::CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(Arena*); template<> ::flyteidl::admin::Labels* Arena::CreateMaybeMessage<::flyteidl::admin::Labels>(Arena*); template<> ::flyteidl::admin::Labels_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::Labels_ValuesEntry_DoNotUse>(Arena*); template<> ::flyteidl::admin::NamedEntity* Arena::CreateMaybeMessage<::flyteidl::admin::NamedEntity>(Arena*); @@ -3009,6 +3019,124 @@ class Annotations final : }; // ------------------------------------------------------------------- +class Envs final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Envs) */ { + public: + Envs(); + virtual ~Envs(); + + Envs(const Envs& from); + + inline Envs& operator=(const Envs& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Envs(Envs&& from) noexcept + : Envs() { + *this = ::std::move(from); + } + + inline Envs& operator=(Envs&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Envs& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Envs* internal_default_instance() { + return reinterpret_cast( + &_Envs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + void Swap(Envs* other); + friend void swap(Envs& a, Envs& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Envs* New() const final { + return CreateMaybeMessage(nullptr); + } + + Envs* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Envs& from); + void MergeFrom(const Envs& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Envs* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.KeyValuePair values = 1; + int values_size() const; + void clear_values(); + static const int kValuesFieldNumber = 1; + ::flyteidl::core::KeyValuePair* mutable_values(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* + mutable_values(); + const ::flyteidl::core::KeyValuePair& values(int index) const; + ::flyteidl::core::KeyValuePair* add_values(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& + values() const; + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Envs) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair > values_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; +}; +// ------------------------------------------------------------------- + class AuthRole final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.AuthRole) */ { public: @@ -3047,7 +3175,7 @@ class AuthRole final : &_AuthRole_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; void Swap(AuthRole* other); friend void swap(AuthRole& a, AuthRole& b) { @@ -3182,7 +3310,7 @@ class RawOutputDataConfig final : &_RawOutputDataConfig_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; void Swap(RawOutputDataConfig* other); friend void swap(RawOutputDataConfig& a, RawOutputDataConfig& b) { @@ -3262,6 +3390,156 @@ class RawOutputDataConfig final : mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; }; +// ------------------------------------------------------------------- + +class FlyteURLs final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FlyteURLs) */ { + public: + FlyteURLs(); + virtual ~FlyteURLs(); + + FlyteURLs(const FlyteURLs& from); + + inline FlyteURLs& operator=(const FlyteURLs& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FlyteURLs(FlyteURLs&& from) noexcept + : FlyteURLs() { + *this = ::std::move(from); + } + + inline FlyteURLs& operator=(FlyteURLs&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FlyteURLs& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FlyteURLs* internal_default_instance() { + return reinterpret_cast( + &_FlyteURLs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + void Swap(FlyteURLs* other); + friend void swap(FlyteURLs& a, FlyteURLs& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FlyteURLs* New() const final { + return CreateMaybeMessage(nullptr); + } + + FlyteURLs* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FlyteURLs& from); + void MergeFrom(const FlyteURLs& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FlyteURLs* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string inputs = 1; + void clear_inputs(); + static const int kInputsFieldNumber = 1; + const ::std::string& inputs() const; + void set_inputs(const ::std::string& value); + #if LANG_CXX11 + void set_inputs(::std::string&& value); + #endif + void set_inputs(const char* value); + void set_inputs(const char* value, size_t size); + ::std::string* mutable_inputs(); + ::std::string* release_inputs(); + void set_allocated_inputs(::std::string* inputs); + + // string outputs = 2; + void clear_outputs(); + static const int kOutputsFieldNumber = 2; + const ::std::string& outputs() const; + void set_outputs(const ::std::string& value); + #if LANG_CXX11 + void set_outputs(::std::string&& value); + #endif + void set_outputs(const char* value); + void set_outputs(const char* value, size_t size); + ::std::string* mutable_outputs(); + ::std::string* release_outputs(); + void set_allocated_outputs(::std::string* outputs); + + // string deck = 3; + void clear_deck(); + static const int kDeckFieldNumber = 3; + const ::std::string& deck() const; + void set_deck(const ::std::string& value); + #if LANG_CXX11 + void set_deck(::std::string&& value); + #endif + void set_deck(const char* value); + void set_deck(const char* value, size_t size); + ::std::string* mutable_deck(); + ::std::string* release_deck(); + void set_allocated_deck(::std::string* deck); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FlyteURLs) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr inputs_; + ::google::protobuf::internal::ArenaStringPtr outputs_; + ::google::protobuf::internal::ArenaStringPtr deck_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fcommon_2eproto; +}; // =================================================================== @@ -5418,6 +5696,37 @@ Annotations::mutable_values() { // ------------------------------------------------------------------- +// Envs + +// repeated .flyteidl.core.KeyValuePair values = 1; +inline int Envs::values_size() const { + return values_.size(); +} +inline ::flyteidl::core::KeyValuePair* Envs::mutable_values(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.admin.Envs.values) + return values_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >* +Envs::mutable_values() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.Envs.values) + return &values_; +} +inline const ::flyteidl::core::KeyValuePair& Envs::values(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.admin.Envs.values) + return values_.Get(index); +} +inline ::flyteidl::core::KeyValuePair* Envs::add_values() { + // @@protoc_insertion_point(field_add:flyteidl.admin.Envs.values) + return values_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::KeyValuePair >& +Envs::values() const { + // @@protoc_insertion_point(field_list:flyteidl.admin.Envs.values) + return values_; +} + +// ------------------------------------------------------------------- + // AuthRole // string assumable_iam_role = 1; @@ -5583,6 +5892,169 @@ inline void RawOutputDataConfig::set_allocated_output_location_prefix(::std::str // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.RawOutputDataConfig.output_location_prefix) } +// ------------------------------------------------------------------- + +// FlyteURLs + +// string inputs = 1; +inline void FlyteURLs::clear_inputs() { + inputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& FlyteURLs::inputs() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.inputs) + return inputs_.GetNoArena(); +} +inline void FlyteURLs::set_inputs(const ::std::string& value) { + + inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.inputs) +} +#if LANG_CXX11 +inline void FlyteURLs::set_inputs(::std::string&& value) { + + inputs_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.inputs) +} +#endif +inline void FlyteURLs::set_inputs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.inputs) +} +inline void FlyteURLs::set_inputs(const char* value, size_t size) { + + inputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.inputs) +} +inline ::std::string* FlyteURLs::mutable_inputs() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.inputs) + return inputs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* FlyteURLs::release_inputs() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.inputs) + + return inputs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void FlyteURLs::set_allocated_inputs(::std::string* inputs) { + if (inputs != nullptr) { + + } else { + + } + inputs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), inputs); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.inputs) +} + +// string outputs = 2; +inline void FlyteURLs::clear_outputs() { + outputs_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& FlyteURLs::outputs() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.outputs) + return outputs_.GetNoArena(); +} +inline void FlyteURLs::set_outputs(const ::std::string& value) { + + outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.outputs) +} +#if LANG_CXX11 +inline void FlyteURLs::set_outputs(::std::string&& value) { + + outputs_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.outputs) +} +#endif +inline void FlyteURLs::set_outputs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.outputs) +} +inline void FlyteURLs::set_outputs(const char* value, size_t size) { + + outputs_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.outputs) +} +inline ::std::string* FlyteURLs::mutable_outputs() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.outputs) + return outputs_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* FlyteURLs::release_outputs() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.outputs) + + return outputs_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void FlyteURLs::set_allocated_outputs(::std::string* outputs) { + if (outputs != nullptr) { + + } else { + + } + outputs_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outputs); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.outputs) +} + +// string deck = 3; +inline void FlyteURLs::clear_deck() { + deck_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& FlyteURLs::deck() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FlyteURLs.deck) + return deck_.GetNoArena(); +} +inline void FlyteURLs::set_deck(const ::std::string& value) { + + deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.FlyteURLs.deck) +} +#if LANG_CXX11 +inline void FlyteURLs::set_deck(::std::string&& value) { + + deck_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.FlyteURLs.deck) +} +#endif +inline void FlyteURLs::set_deck(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.FlyteURLs.deck) +} +inline void FlyteURLs::set_deck(const char* value, size_t size) { + + deck_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.FlyteURLs.deck) +} +inline ::std::string* FlyteURLs::mutable_deck() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FlyteURLs.deck) + return deck_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* FlyteURLs::release_deck() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FlyteURLs.deck) + + return deck_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void FlyteURLs::set_allocated_deck(::std::string* deck) { + if (deck != nullptr) { + + } else { + + } + deck_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), deck); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FlyteURLs.deck) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -5632,6 +6104,10 @@ inline void RawOutputDataConfig::set_allocated_output_location_prefix(::std::str // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/admin/execution.pb.cc b/gen/pb-cpp/flyteidl/admin/execution.pb.cc index caba0518a..b352a01cd 100644 --- a/gen/pb-cpp/flyteidl/admin/execution.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/execution.pb.cc @@ -21,11 +21,12 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_AbortMetadata_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SystemMetadata_flyteidl_2fadmin_2fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<12> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<13> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LiteralMapBlob_flyteidl_2fadmin_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NotificationList_flyteidl_2fadmin_2fexecution_2eproto; @@ -38,6 +39,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; @@ -137,6 +139,14 @@ class ExecutionUpdateResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _ExecutionUpdateResponse_default_instance_; +class WorkflowExecutionGetMetricsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowExecutionGetMetricsRequest_default_instance_; +class WorkflowExecutionGetMetricsResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowExecutionGetMetricsResponse_default_instance_; } // namespace admin } // namespace flyteidl static void InitDefaultsExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto() { @@ -358,8 +368,8 @@ static void InitDefaultsExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto() { ::flyteidl::admin::ExecutionSpec::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<12> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 12, InitDefaultsExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto}, { +::google::protobuf::internal::SCCInfo<13> scc_info_ExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 13, InitDefaultsExecutionSpec_flyteidl_2fadmin_2fexecution_2eproto}, { &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto.base, @@ -371,7 +381,8 @@ ::google::protobuf::internal::SCCInfo<12> scc_info_ExecutionSpec_flyteidl_2fadmi &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; + &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, + &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; static void InitDefaultsExecutionTerminateRequest_flyteidl_2fadmin_2fexecution_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -477,6 +488,36 @@ static void InitDefaultsExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2ep ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto}, {}}; +static void InitDefaultsWorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowExecutionGetMetricsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowExecutionGetMetricsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsWorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowExecutionGetMetricsResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowExecutionGetMetricsResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto}, { + &scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base,}}; + void InitDefaults_flyteidl_2fadmin_2fexecution_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_ExecutionCreateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ExecutionRelaunchRequest_flyteidl_2fadmin_2fexecution_2eproto.base); @@ -499,9 +540,11 @@ void InitDefaults_flyteidl_2fadmin_2fexecution_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_ExecutionUpdateRequest_flyteidl_2fadmin_2fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ExecutionStateChangeDetails_flyteidl_2fadmin_2fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ExecutionUpdateResponse_flyteidl_2fadmin_2fexecution_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[21]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[23]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto[2]; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fexecution_2eproto = nullptr; @@ -638,6 +681,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fexecution_2eprot PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, cluster_assignment_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, interruptible_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, overwrite_cache_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, envs_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionSpec, notification_overrides_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionTerminateRequest, _internal_metadata_), @@ -686,6 +730,19 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fexecution_2eprot ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsRequest, depth_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionGetMetricsResponse, span_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::admin::ExecutionCreateRequest)}, @@ -702,13 +759,15 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 94, -1, sizeof(::flyteidl::admin::ExecutionMetadata)}, { 106, -1, sizeof(::flyteidl::admin::NotificationList)}, { 112, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, - { 133, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, - { 140, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, - { 145, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, - { 151, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, - { 160, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, - { 167, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, - { 175, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, + { 134, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, + { 141, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, + { 146, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, + { 152, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, + { 161, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, + { 168, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, + { 176, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, + { 181, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, + { 188, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -733,12 +792,14 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::admin::_ExecutionUpdateRequest_default_instance_), reinterpret_cast(&::flyteidl::admin::_ExecutionStateChangeDetails_default_instance_), reinterpret_cast(&::flyteidl::admin::_ExecutionUpdateResponse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto = { {}, AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto, "flyteidl/admin/execution.proto", schemas, file_default_instances, TableStruct_flyteidl_2fadmin_2fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto, 21, file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fexecution_2eproto, + file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto, 23, file_level_enum_descriptors_flyteidl_2fadmin_2fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fexecution_2eproto, }; const char descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto[] = @@ -747,131 +808,138 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto[] = "ent.proto\032\033flyteidl/admin/common.proto\032\034" "flyteidl/core/literals.proto\032\035flyteidl/c" "ore/execution.proto\032\036flyteidl/core/ident" - "ifier.proto\032\034flyteidl/core/security.prot" - "o\032\036google/protobuf/duration.proto\032\037googl" - "e/protobuf/timestamp.proto\032\036google/proto" - "buf/wrappers.proto\"\237\001\n\026ExecutionCreateRe" - "quest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014" - "\n\004name\030\003 \001(\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.ad" - "min.ExecutionSpec\022)\n\006inputs\030\005 \001(\0132\031.flyt" - "eidl.core.LiteralMap\"\177\n\030ExecutionRelaunc" - "hRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wor" - "kflowExecutionIdentifier\022\014\n\004name\030\003 \001(\t\022\027" - "\n\017overwrite_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027Execut" - "ionRecoverRequest\0226\n\002id\030\001 \001(\0132*.flyteidl" - ".core.WorkflowExecutionIdentifier\022\014\n\004nam" - "e\030\002 \001(\t\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" - "in.ExecutionMetadata\"Q\n\027ExecutionCreateR" - "esponse\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Work" - "flowExecutionIdentifier\"U\n\033WorkflowExecu" - "tionGetRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.co" - "re.WorkflowExecutionIdentifier\"\243\001\n\tExecu" - "tion\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflo" - "wExecutionIdentifier\022+\n\004spec\030\002 \001(\0132\035.fly" - "teidl.admin.ExecutionSpec\0221\n\007closure\030\003 \001" - "(\0132 .flyteidl.admin.ExecutionClosure\"M\n\r" - "ExecutionList\022-\n\nexecutions\030\001 \003(\0132\031.flyt" - "eidl.admin.Execution\022\r\n\005token\030\002 \001(\t\"X\n\016L" - "iteralMapBlob\022/\n\006values\030\001 \001(\0132\031.flyteidl" - ".core.LiteralMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n" - "\004data\"1\n\rAbortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n" - "\tprincipal\030\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n" - "\007outputs\030\001 \001(\0132\036.flyteidl.admin.LiteralM" - "apBlobB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.c" - "ore.ExecutionErrorH\000\022\031\n\013abort_cause\030\n \001(" - "\tB\002\030\001H\000\0227\n\016abort_metadata\030\014 \001(\0132\035.flytei" - "dl.admin.AbortMetadataH\000\0224\n\013output_data\030" - "\r \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001H\000\0226" - "\n\017computed_inputs\030\003 \001(\0132\031.flyteidl.core." - "LiteralMapB\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl" - ".core.WorkflowExecution.Phase\022.\n\nstarted" - "_at\030\005 \001(\0132\032.google.protobuf.Timestamp\022+\n" - "\010duration\030\006 \001(\0132\031.google.protobuf.Durati" - "on\022.\n\ncreated_at\030\007 \001(\0132\032.google.protobuf" - ".Timestamp\022.\n\nupdated_at\030\010 \001(\0132\032.google." - "protobuf.Timestamp\0223\n\rnotifications\030\t \003(" - "\0132\034.flyteidl.admin.Notification\022.\n\013workf" - "low_id\030\013 \001(\0132\031.flyteidl.core.Identifier\022" - "I\n\024state_change_details\030\016 \001(\0132+.flyteidl" - ".admin.ExecutionStateChangeDetailsB\017\n\rou" - "tput_result\"+\n\016SystemMetadata\022\031\n\021executi" - "on_cluster\030\001 \001(\t\"\332\003\n\021ExecutionMetadata\022=" - "\n\004mode\030\001 \001(\0162/.flyteidl.admin.ExecutionM" - "etadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(\t" - "\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\0132" - "\032.google.protobuf.Timestamp\022E\n\025parent_no" - "de_execution\030\005 \001(\0132&.flyteidl.core.NodeE" - "xecutionIdentifier\022G\n\023reference_executio" - "n\030\020 \001(\0132*.flyteidl.core.WorkflowExecutio" - "nIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036.f" - "lyteidl.admin.SystemMetadata\"g\n\rExecutio" - "nMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED\020\001\022\n\n\006SYST" - "EM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r" - "\n\tRECOVERED\020\005\"G\n\020NotificationList\0223\n\rnot" - "ifications\030\001 \003(\0132\034.flyteidl.admin.Notifi" - "cation\"\200\006\n\rExecutionSpec\022.\n\013launch_plan\030" - "\001 \001(\0132\031.flyteidl.core.Identifier\022-\n\006inpu" - "ts\030\002 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\022" - "3\n\010metadata\030\003 \001(\0132!.flyteidl.admin.Execu" - "tionMetadata\0229\n\rnotifications\030\005 \001(\0132 .fl" - "yteidl.admin.NotificationListH\000\022\025\n\013disab" - "le_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\0132\026.flyteid" - "l.admin.Labels\0220\n\013annotations\030\010 \001(\0132\033.fl" - "yteidl.admin.Annotations\0228\n\020security_con" - "text\030\n \001(\0132\036.flyteidl.core.SecurityConte" - "xt\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl.admin.A" - "uthRoleB\002\030\001\022;\n\022quality_of_service\030\021 \001(\0132" - "\037.flyteidl.core.QualityOfService\022\027\n\017max_" - "parallelism\030\022 \001(\005\022C\n\026raw_output_data_con" - "fig\030\023 \001(\0132#.flyteidl.admin.RawOutputData" - "Config\022=\n\022cluster_assignment\030\024 \001(\0132!.fly" - "teidl.admin.ClusterAssignment\0221\n\rinterru" - "ptible\030\025 \001(\0132\032.google.protobuf.BoolValue" - "\022\027\n\017overwrite_cache\030\026 \001(\010B\030\n\026notificatio" - "n_overridesJ\004\010\004\020\005\"b\n\031ExecutionTerminateR" + "ifier.proto\032\033flyteidl/core/metrics.proto" + "\032\034flyteidl/core/security.proto\032\036google/p" + "rotobuf/duration.proto\032\037google/protobuf/" + "timestamp.proto\032\036google/protobuf/wrapper" + "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" + "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" + "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" + "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" + "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" + "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" + "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" + "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" - "lowExecutionIdentifier\022\r\n\005cause\030\002 \001(\t\"\034\n" - "\032ExecutionTerminateResponse\"Y\n\037WorkflowE" - "xecutionGetDataRequest\0226\n\002id\030\001 \001(\0132*.fly" - "teidl.core.WorkflowExecutionIdentifier\"\336" - "\001\n WorkflowExecutionGetDataResponse\022,\n\007o" - "utputs\030\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030" - "\001\022+\n\006inputs\030\002 \001(\0132\027.flyteidl.admin.UrlBl" - "obB\002\030\001\022.\n\013full_inputs\030\003 \001(\0132\031.flyteidl.c" - "ore.LiteralMap\022/\n\014full_outputs\030\004 \001(\0132\031.f" - "lyteidl.core.LiteralMap\"\177\n\026ExecutionUpda" - "teRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier\022-\n\005state\030\002 \001(\016" - "2\036.flyteidl.admin.ExecutionState\"\220\001\n\033Exe" - "cutionStateChangeDetails\022-\n\005state\030\001 \001(\0162" - "\036.flyteidl.admin.ExecutionState\022/\n\013occur" - "red_at\030\002 \001(\0132\032.google.protobuf.Timestamp" - "\022\021\n\tprincipal\030\003 \001(\t\"\031\n\027ExecutionUpdateRe" - "sponse*>\n\016ExecutionState\022\024\n\020EXECUTION_AC" - "TIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B7Z5github" - ".com/flyteorg/flyteidl/gen/pb-go/flyteid" - "l/adminb\006proto3" + "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" + "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" + "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" + "onIdentifier\"U\n\033WorkflowExecutionGetRequ" + "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" + "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" + "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" + ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" + "dl.admin.ExecutionClosure\"M\n\rExecutionLi" + "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." + "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" + "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" + "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" + "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" + "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " + "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" + "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" + "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" + "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" + "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" + "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" + "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" + "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" + "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" + ".google.protobuf.Timestamp\022+\n\010duration\030\006" + " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" + "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" + ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" + "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" + "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" + "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" + "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" + "utionStateChangeDetailsB\017\n\routput_result" + "\"+\n\016SystemMetadata\022\031\n\021execution_cluster\030" + "\001 \001(\t\"\332\003\n\021ExecutionMetadata\022=\n\004mode\030\001 \001(" + "\0162/.flyteidl.admin.ExecutionMetadata.Exe" + "cutionMode\022\021\n\tprincipal\030\002 \001(\t\022\017\n\007nesting" + "\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\0132\032.google.pr" + "otobuf.Timestamp\022E\n\025parent_node_executio" + "n\030\005 \001(\0132&.flyteidl.core.NodeExecutionIde" + "ntifier\022G\n\023reference_execution\030\020 \001(\0132*.f" + "lyteidl.core.WorkflowExecutionIdentifier" + "\0227\n\017system_metadata\030\021 \001(\0132\036.flyteidl.adm" + "in.SystemMetadata\"g\n\rExecutionMode\022\n\n\006MA" + "NUAL\020\000\022\r\n\tSCHEDULED\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010REL" + "AUNCH\020\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r\n\tRECOVERED" + "\020\005\"G\n\020NotificationList\0223\n\rnotifications\030" + "\001 \003(\0132\034.flyteidl.admin.Notification\"\244\006\n\r" + "ExecutionSpec\022.\n\013launch_plan\030\001 \001(\0132\031.fly" + "teidl.core.Identifier\022-\n\006inputs\030\002 \001(\0132\031." + "flyteidl.core.LiteralMapB\002\030\001\0223\n\010metadata" + "\030\003 \001(\0132!.flyteidl.admin.ExecutionMetadat" + "a\0229\n\rnotifications\030\005 \001(\0132 .flyteidl.admi" + "n.NotificationListH\000\022\025\n\013disable_all\030\006 \001(" + "\010H\000\022&\n\006labels\030\007 \001(\0132\026.flyteidl.admin.Lab" + "els\0220\n\013annotations\030\010 \001(\0132\033.flyteidl.admi" + "n.Annotations\0228\n\020security_context\030\n \001(\0132" + "\036.flyteidl.core.SecurityContext\022/\n\tauth_" + "role\030\020 \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001" + "\022;\n\022quality_of_service\030\021 \001(\0132\037.flyteidl." + "core.QualityOfService\022\027\n\017max_parallelism" + "\030\022 \001(\005\022C\n\026raw_output_data_config\030\023 \001(\0132#" + ".flyteidl.admin.RawOutputDataConfig\022=\n\022c" + "luster_assignment\030\024 \001(\0132!.flyteidl.admin" + ".ClusterAssignment\0221\n\rinterruptible\030\025 \001(" + "\0132\032.google.protobuf.BoolValue\022\027\n\017overwri" + "te_cache\030\026 \001(\010\022\"\n\004envs\030\027 \001(\0132\024.flyteidl." + "admin.EnvsB\030\n\026notification_overridesJ\004\010\004" + "\020\005\"b\n\031ExecutionTerminateRequest\0226\n\002id\030\001 " + "\001(\0132*.flyteidl.core.WorkflowExecutionIde" + "ntifier\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTermi" + "nateResponse\"Y\n\037WorkflowExecutionGetData" + "Request\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Work" + "flowExecutionIdentifier\"\336\001\n WorkflowExec" + "utionGetDataResponse\022,\n\007outputs\030\001 \001(\0132\027." + "flyteidl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001" + "(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_" + "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022" + "/\n\014full_outputs\030\004 \001(\0132\031.flyteidl.core.Li" + "teralMap\"\177\n\026ExecutionUpdateRequest\0226\n\002id" + "\030\001 \001(\0132*.flyteidl.core.WorkflowExecution" + "Identifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.adm" + "in.ExecutionState\"\220\001\n\033ExecutionStateChan" + "geDetails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admi" + "n.ExecutionState\022/\n\013occurred_at\030\002 \001(\0132\032." + "google.protobuf.Timestamp\022\021\n\tprincipal\030\003" + " \001(\t\"\031\n\027ExecutionUpdateResponse\"k\n\"Workf" + "lowExecutionGetMetricsRequest\0226\n\002id\030\001 \001(" + "\0132*.flyteidl.core.WorkflowExecutionIdent" + "ifier\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutio" + "nGetMetricsResponse\022!\n\004span\030\001 \001(\0132\023.flyt" + "eidl.core.Span*>\n\016ExecutionState\022\024\n\020EXEC" + "UTION_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B7" + "Z5github.com/flyteorg/flyteidl/gen/pb-go" + "/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fexecution_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fexecution_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto, - "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4335, + "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4583, }; void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[9] = + static constexpr ::google::protobuf::internal::InitFunc deps[10] = { ::AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, ::AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto, ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 9); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 10); } // Force running AddDescriptors() at dynamic initialization time. @@ -7064,6 +7132,8 @@ void ExecutionSpec::InitAsDefaultInstance() { ::flyteidl::admin::ClusterAssignment::internal_default_instance()); ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( ::google::protobuf::BoolValue::internal_default_instance()); + ::flyteidl::admin::_ExecutionSpec_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( + ::flyteidl::admin::Envs::internal_default_instance()); } class ExecutionSpec::HasBitSetters { public: @@ -7079,6 +7149,7 @@ class ExecutionSpec::HasBitSetters { static const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config(const ExecutionSpec* msg); static const ::flyteidl::admin::ClusterAssignment& cluster_assignment(const ExecutionSpec* msg); static const ::google::protobuf::BoolValue& interruptible(const ExecutionSpec* msg); + static const ::flyteidl::admin::Envs& envs(const ExecutionSpec* msg); }; const ::flyteidl::core::Identifier& @@ -7129,6 +7200,10 @@ const ::google::protobuf::BoolValue& ExecutionSpec::HasBitSetters::interruptible(const ExecutionSpec* msg) { return *msg->interruptible_; } +const ::flyteidl::admin::Envs& +ExecutionSpec::HasBitSetters::envs(const ExecutionSpec* msg) { + return *msg->envs_; +} void ExecutionSpec::clear_launch_plan() { if (GetArenaNoVirtual() == nullptr && launch_plan_ != nullptr) { delete launch_plan_; @@ -7203,6 +7278,12 @@ void ExecutionSpec::clear_interruptible() { } interruptible_ = nullptr; } +void ExecutionSpec::clear_envs() { + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ExecutionSpec::kLaunchPlanFieldNumber; const int ExecutionSpec::kInputsFieldNumber; @@ -7219,6 +7300,7 @@ const int ExecutionSpec::kRawOutputDataConfigFieldNumber; const int ExecutionSpec::kClusterAssignmentFieldNumber; const int ExecutionSpec::kInterruptibleFieldNumber; const int ExecutionSpec::kOverwriteCacheFieldNumber; +const int ExecutionSpec::kEnvsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ExecutionSpec::ExecutionSpec() @@ -7285,6 +7367,11 @@ ExecutionSpec::ExecutionSpec(const ExecutionSpec& from) } else { interruptible_ = nullptr; } + if (from.has_envs()) { + envs_ = new ::flyteidl::admin::Envs(*from.envs_); + } else { + envs_ = nullptr; + } ::memcpy(&max_parallelism_, &from.max_parallelism_, static_cast(reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -7331,6 +7418,7 @@ void ExecutionSpec::SharedDtor() { if (this != internal_default_instance()) delete raw_output_data_config_; if (this != internal_default_instance()) delete cluster_assignment_; if (this != internal_default_instance()) delete interruptible_; + if (this != internal_default_instance()) delete envs_; if (has_notification_overrides()) { clear_notification_overrides(); } @@ -7414,6 +7502,10 @@ void ExecutionSpec::Clear() { delete interruptible_; } interruptible_ = nullptr; + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; ::memset(&max_parallelism_, 0, static_cast( reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -7611,6 +7703,19 @@ const char* ExecutionSpec::_InternalParse(const char* begin, const char* end, vo GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // .flyteidl.admin.Envs envs = 23; + case 23: { + if (static_cast<::google::protobuf::uint8>(tag) != 186) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::Envs::_InternalParse; + object = msg->mutable_envs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -7813,6 +7918,17 @@ bool ExecutionSpec::MergePartialFromCodedStream( break; } + // .flyteidl.admin.Envs envs = 23; + case 23: { + if (static_cast< ::google::protobuf::uint8>(tag) == (186 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_envs())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -7927,6 +8043,12 @@ void ExecutionSpec::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(22, this->overwrite_cache(), output); } + // .flyteidl.admin.Envs envs = 23; + if (this->has_envs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 23, HasBitSetters::envs(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -8039,6 +8161,13 @@ ::google::protobuf::uint8* ExecutionSpec::InternalSerializeWithCachedSizesToArra target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(22, this->overwrite_cache(), target); } + // .flyteidl.admin.Envs envs = 23; + if (this->has_envs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 23, HasBitSetters::envs(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -8137,6 +8266,13 @@ size_t ExecutionSpec::ByteSizeLong() const { *interruptible_); } + // .flyteidl.admin.Envs envs = 23; + if (this->has_envs()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *envs_); + } + // int32 max_parallelism = 18; if (this->max_parallelism() != 0) { total_size += 2 + @@ -8226,6 +8362,9 @@ void ExecutionSpec::MergeFrom(const ExecutionSpec& from) { if (from.has_interruptible()) { mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); } + if (from.has_envs()) { + mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); + } if (from.max_parallelism() != 0) { set_max_parallelism(from.max_parallelism()); } @@ -8283,6 +8422,7 @@ void ExecutionSpec::InternalSwap(ExecutionSpec* other) { swap(raw_output_data_config_, other->raw_output_data_config_); swap(cluster_assignment_, other->cluster_assignment_); swap(interruptible_, other->interruptible_); + swap(envs_, other->envs_); swap(max_parallelism_, other->max_parallelism_); swap(overwrite_cache_, other->overwrite_cache_); swap(notification_overrides_, other->notification_overrides_); @@ -10648,57 +10788,689 @@ ::google::protobuf::Metadata ExecutionUpdateResponse::GetMetadata() const { } -// @@protoc_insertion_point(namespace_scope) -} // namespace admin -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateRequest >(arena); -} -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRelaunchRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRelaunchRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionRelaunchRequest >(arena); +// =================================================================== + +void WorkflowExecutionGetMetricsRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_WorkflowExecutionGetMetricsRequest_default_instance_._instance.get_mutable()->id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRecoverRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRecoverRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionRecoverRequest >(arena); +class WorkflowExecutionGetMetricsRequest::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& id(const WorkflowExecutionGetMetricsRequest* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +WorkflowExecutionGetMetricsRequest::HasBitSetters::id(const WorkflowExecutionGetMetricsRequest* msg) { + return *msg->id_; } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateResponse >(arena); +void WorkflowExecutionGetMetricsRequest::clear_id() { + if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetRequest >(arena); +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowExecutionGetMetricsRequest::kIdFieldNumber; +const int WorkflowExecutionGetMetricsRequest::kDepthFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowExecutionGetMetricsRequest::WorkflowExecutionGetMetricsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::Execution* Arena::CreateMaybeMessage< ::flyteidl::admin::Execution >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::Execution >(arena); +WorkflowExecutionGetMetricsRequest::WorkflowExecutionGetMetricsRequest(const WorkflowExecutionGetMetricsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_id()) { + id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.id_); + } else { + id_ = nullptr; + } + depth_ = from.depth_; + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionList* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionList >(arena); + +void WorkflowExecutionGetMetricsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); + ::memset(&id_, 0, static_cast( + reinterpret_cast(&depth_) - + reinterpret_cast(&id_)) + sizeof(depth_)); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::LiteralMapBlob* Arena::CreateMaybeMessage< ::flyteidl::admin::LiteralMapBlob >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::LiteralMapBlob >(arena); + +WorkflowExecutionGetMetricsRequest::~WorkflowExecutionGetMetricsRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + SharedDtor(); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::AbortMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::AbortMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::AbortMetadata >(arena); + +void WorkflowExecutionGetMetricsRequest::SharedDtor() { + if (this != internal_default_instance()) delete id_; } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionClosure >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionClosure >(arena); + +void WorkflowExecutionGetMetricsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::SystemMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::SystemMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::SystemMetadata >(arena); +const WorkflowExecutionGetMetricsRequest& WorkflowExecutionGetMetricsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetMetricsRequest_flyteidl_2fadmin_2fexecution_2eproto.base); + return *internal_default_instance(); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionMetadata >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionMetadata >(arena); + + +void WorkflowExecutionGetMetricsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { + delete id_; + } + id_ = nullptr; + depth_ = 0; + _internal_metadata_.Clear(); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::NotificationList* Arena::CreateMaybeMessage< ::flyteidl::admin::NotificationList >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::NotificationList >(arena); + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowExecutionGetMetricsRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // int32 depth = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_depth(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionSpec >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionSpec >(arena); +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool WorkflowExecutionGetMetricsRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_id())); + } else { + goto handle_unusual; + } + break; + } + + // int32 depth = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &depth_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + return false; +#undef DO_ } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ExecutionTerminateRequest >(arena); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowExecutionGetMetricsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + if (this->has_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::id(this), output); + } + + // int32 depth = 2; + if (this->depth() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->depth(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionGetMetricsRequest) } -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateResponse >(Arena* arena) { + +::google::protobuf::uint8* WorkflowExecutionGetMetricsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + if (this->has_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::id(this), target); + } + + // int32 depth = 2; + if (this->depth() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->depth(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + return target; +} + +size_t WorkflowExecutionGetMetricsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + if (this->has_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *id_); + } + + // int32 depth = 2; + if (this->depth() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->depth()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowExecutionGetMetricsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowExecutionGetMetricsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + MergeFrom(*source); + } +} + +void WorkflowExecutionGetMetricsRequest::MergeFrom(const WorkflowExecutionGetMetricsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_id()) { + mutable_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.id()); + } + if (from.depth() != 0) { + set_depth(from.depth()); + } +} + +void WorkflowExecutionGetMetricsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowExecutionGetMetricsRequest::CopyFrom(const WorkflowExecutionGetMetricsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowExecutionGetMetricsRequest::IsInitialized() const { + return true; +} + +void WorkflowExecutionGetMetricsRequest::Swap(WorkflowExecutionGetMetricsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowExecutionGetMetricsRequest::InternalSwap(WorkflowExecutionGetMetricsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(id_, other->id_); + swap(depth_, other->depth_); +} + +::google::protobuf::Metadata WorkflowExecutionGetMetricsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void WorkflowExecutionGetMetricsResponse::InitAsDefaultInstance() { + ::flyteidl::admin::_WorkflowExecutionGetMetricsResponse_default_instance_._instance.get_mutable()->span_ = const_cast< ::flyteidl::core::Span*>( + ::flyteidl::core::Span::internal_default_instance()); +} +class WorkflowExecutionGetMetricsResponse::HasBitSetters { + public: + static const ::flyteidl::core::Span& span(const WorkflowExecutionGetMetricsResponse* msg); +}; + +const ::flyteidl::core::Span& +WorkflowExecutionGetMetricsResponse::HasBitSetters::span(const WorkflowExecutionGetMetricsResponse* msg) { + return *msg->span_; +} +void WorkflowExecutionGetMetricsResponse::clear_span() { + if (GetArenaNoVirtual() == nullptr && span_ != nullptr) { + delete span_; + } + span_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowExecutionGetMetricsResponse::kSpanFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowExecutionGetMetricsResponse::WorkflowExecutionGetMetricsResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) +} +WorkflowExecutionGetMetricsResponse::WorkflowExecutionGetMetricsResponse(const WorkflowExecutionGetMetricsResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_span()) { + span_ = new ::flyteidl::core::Span(*from.span_); + } else { + span_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) +} + +void WorkflowExecutionGetMetricsResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); + span_ = nullptr; +} + +WorkflowExecutionGetMetricsResponse::~WorkflowExecutionGetMetricsResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + SharedDtor(); +} + +void WorkflowExecutionGetMetricsResponse::SharedDtor() { + if (this != internal_default_instance()) delete span_; +} + +void WorkflowExecutionGetMetricsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowExecutionGetMetricsResponse& WorkflowExecutionGetMetricsResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowExecutionGetMetricsResponse_flyteidl_2fadmin_2fexecution_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowExecutionGetMetricsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && span_ != nullptr) { + delete span_; + } + span_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowExecutionGetMetricsResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.Span span = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Span::_InternalParse; + object = msg->mutable_span(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool WorkflowExecutionGetMetricsResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.Span span = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_span())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowExecutionGetMetricsResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Span span = 1; + if (this->has_span()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::span(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowExecutionGetMetricsResponse) +} + +::google::protobuf::uint8* WorkflowExecutionGetMetricsResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Span span = 1; + if (this->has_span()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::span(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + return target; +} + +size_t WorkflowExecutionGetMetricsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.Span span = 1; + if (this->has_span()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *span_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowExecutionGetMetricsResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowExecutionGetMetricsResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + MergeFrom(*source); + } +} + +void WorkflowExecutionGetMetricsResponse::MergeFrom(const WorkflowExecutionGetMetricsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_span()) { + mutable_span()->::flyteidl::core::Span::MergeFrom(from.span()); + } +} + +void WorkflowExecutionGetMetricsResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowExecutionGetMetricsResponse::CopyFrom(const WorkflowExecutionGetMetricsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowExecutionGetMetricsResponse::IsInitialized() const { + return true; +} + +void WorkflowExecutionGetMetricsResponse::Swap(WorkflowExecutionGetMetricsResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowExecutionGetMetricsResponse::InternalSwap(WorkflowExecutionGetMetricsResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(span_, other->span_); +} + +::google::protobuf::Metadata WorkflowExecutionGetMetricsResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fexecution_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRelaunchRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRelaunchRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionRelaunchRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionRecoverRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionRecoverRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionRecoverRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionCreateResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionCreateResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::Execution* Arena::CreateMaybeMessage< ::flyteidl::admin::Execution >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::Execution >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionList* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionList >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionList >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::LiteralMapBlob* Arena::CreateMaybeMessage< ::flyteidl::admin::LiteralMapBlob >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::LiteralMapBlob >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::AbortMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::AbortMetadata >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::AbortMetadata >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionClosure >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionClosure >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SystemMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::SystemMetadata >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SystemMetadata >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionMetadata* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionMetadata >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionMetadata >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::NotificationList* Arena::CreateMaybeMessage< ::flyteidl::admin::NotificationList >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::NotificationList >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionSpec >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionTerminateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionTerminateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionTerminateResponse >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::ExecutionTerminateResponse >(arena); } template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetDataRequest >(Arena* arena) { @@ -10716,6 +11488,12 @@ template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionStateChangeDetails* Are template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionUpdateResponse >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::ExecutionUpdateResponse >(arena); } +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse >(arena); +} } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/admin/execution.pb.h b/gen/pb-cpp/flyteidl/admin/execution.pb.h index b333e1c4b..bd99ca330 100644 --- a/gen/pb-cpp/flyteidl/admin/execution.pb.h +++ b/gen/pb-cpp/flyteidl/admin/execution.pb.h @@ -37,6 +37,7 @@ #include "flyteidl/core/literals.pb.h" #include "flyteidl/core/execution.pb.h" #include "flyteidl/core/identifier.pb.h" +#include "flyteidl/core/metrics.pb.h" #include "flyteidl/core/security.pb.h" #include #include @@ -51,7 +52,7 @@ struct TableStruct_flyteidl_2fadmin_2fexecution_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[21] + static const ::google::protobuf::internal::ParseTable schema[23] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -120,6 +121,12 @@ extern WorkflowExecutionGetDataRequestDefaultTypeInternal _WorkflowExecutionGetD class WorkflowExecutionGetDataResponse; class WorkflowExecutionGetDataResponseDefaultTypeInternal; extern WorkflowExecutionGetDataResponseDefaultTypeInternal _WorkflowExecutionGetDataResponse_default_instance_; +class WorkflowExecutionGetMetricsRequest; +class WorkflowExecutionGetMetricsRequestDefaultTypeInternal; +extern WorkflowExecutionGetMetricsRequestDefaultTypeInternal _WorkflowExecutionGetMetricsRequest_default_instance_; +class WorkflowExecutionGetMetricsResponse; +class WorkflowExecutionGetMetricsResponseDefaultTypeInternal; +extern WorkflowExecutionGetMetricsResponseDefaultTypeInternal _WorkflowExecutionGetMetricsResponse_default_instance_; class WorkflowExecutionGetRequest; class WorkflowExecutionGetRequestDefaultTypeInternal; extern WorkflowExecutionGetRequestDefaultTypeInternal _WorkflowExecutionGetRequest_default_instance_; @@ -147,6 +154,8 @@ template<> ::flyteidl::admin::NotificationList* Arena::CreateMaybeMessage<::flyt template<> ::flyteidl::admin::SystemMetadata* Arena::CreateMaybeMessage<::flyteidl::admin::SystemMetadata>(Arena*); template<> ::flyteidl::admin::WorkflowExecutionGetDataRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetDataRequest>(Arena*); template<> ::flyteidl::admin::WorkflowExecutionGetDataResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetDataResponse>(Arena*); +template<> ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetMetricsRequest>(Arena*); +template<> ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetMetricsResponse>(Arena*); template<> ::flyteidl::admin::WorkflowExecutionGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionGetRequest>(Arena*); } // namespace protobuf } // namespace google @@ -2355,6 +2364,15 @@ class ExecutionSpec final : ::google::protobuf::BoolValue* mutable_interruptible(); void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); + // .flyteidl.admin.Envs envs = 23; + bool has_envs() const; + void clear_envs(); + static const int kEnvsFieldNumber = 23; + const ::flyteidl::admin::Envs& envs() const; + ::flyteidl::admin::Envs* release_envs(); + ::flyteidl::admin::Envs* mutable_envs(); + void set_allocated_envs(::flyteidl::admin::Envs* envs); + // int32 max_parallelism = 18; void clear_max_parallelism(); static const int kMaxParallelismFieldNumber = 18; @@ -2408,6 +2426,7 @@ class ExecutionSpec final : ::flyteidl::admin::RawOutputDataConfig* raw_output_data_config_; ::flyteidl::admin::ClusterAssignment* cluster_assignment_; ::google::protobuf::BoolValue* interruptible_; + ::flyteidl::admin::Envs* envs_; ::google::protobuf::int32 max_parallelism_; bool overwrite_cache_; union NotificationOverridesUnion { @@ -3279,6 +3298,243 @@ class ExecutionUpdateResponse final : mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; }; +// ------------------------------------------------------------------- + +class WorkflowExecutionGetMetricsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetMetricsRequest) */ { + public: + WorkflowExecutionGetMetricsRequest(); + virtual ~WorkflowExecutionGetMetricsRequest(); + + WorkflowExecutionGetMetricsRequest(const WorkflowExecutionGetMetricsRequest& from); + + inline WorkflowExecutionGetMetricsRequest& operator=(const WorkflowExecutionGetMetricsRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowExecutionGetMetricsRequest(WorkflowExecutionGetMetricsRequest&& from) noexcept + : WorkflowExecutionGetMetricsRequest() { + *this = ::std::move(from); + } + + inline WorkflowExecutionGetMetricsRequest& operator=(WorkflowExecutionGetMetricsRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const WorkflowExecutionGetMetricsRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowExecutionGetMetricsRequest* internal_default_instance() { + return reinterpret_cast( + &_WorkflowExecutionGetMetricsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(WorkflowExecutionGetMetricsRequest* other); + friend void swap(WorkflowExecutionGetMetricsRequest& a, WorkflowExecutionGetMetricsRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowExecutionGetMetricsRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowExecutionGetMetricsRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const WorkflowExecutionGetMetricsRequest& from); + void MergeFrom(const WorkflowExecutionGetMetricsRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WorkflowExecutionGetMetricsRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.WorkflowExecutionIdentifier id = 1; + bool has_id() const; + void clear_id(); + static const int kIdFieldNumber = 1; + const ::flyteidl::core::WorkflowExecutionIdentifier& id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_id(); + void set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id); + + // int32 depth = 2; + void clear_depth(); + static const int kDepthFieldNumber = 2; + ::google::protobuf::int32 depth() const; + void set_depth(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::WorkflowExecutionIdentifier* id_; + ::google::protobuf::int32 depth_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkflowExecutionGetMetricsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowExecutionGetMetricsResponse) */ { + public: + WorkflowExecutionGetMetricsResponse(); + virtual ~WorkflowExecutionGetMetricsResponse(); + + WorkflowExecutionGetMetricsResponse(const WorkflowExecutionGetMetricsResponse& from); + + inline WorkflowExecutionGetMetricsResponse& operator=(const WorkflowExecutionGetMetricsResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowExecutionGetMetricsResponse(WorkflowExecutionGetMetricsResponse&& from) noexcept + : WorkflowExecutionGetMetricsResponse() { + *this = ::std::move(from); + } + + inline WorkflowExecutionGetMetricsResponse& operator=(WorkflowExecutionGetMetricsResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const WorkflowExecutionGetMetricsResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowExecutionGetMetricsResponse* internal_default_instance() { + return reinterpret_cast( + &_WorkflowExecutionGetMetricsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + void Swap(WorkflowExecutionGetMetricsResponse* other); + friend void swap(WorkflowExecutionGetMetricsResponse& a, WorkflowExecutionGetMetricsResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowExecutionGetMetricsResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowExecutionGetMetricsResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const WorkflowExecutionGetMetricsResponse& from); + void MergeFrom(const WorkflowExecutionGetMetricsResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WorkflowExecutionGetMetricsResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.Span span = 1; + bool has_span() const; + void clear_span(); + static const int kSpanFieldNumber = 1; + const ::flyteidl::core::Span& span() const; + ::flyteidl::core::Span* release_span(); + ::flyteidl::core::Span* mutable_span(); + void set_allocated_span(::flyteidl::core::Span* span); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Span* span_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fexecution_2eproto; +}; // =================================================================== @@ -5987,6 +6243,51 @@ inline void ExecutionSpec::set_overwrite_cache(bool value) { // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionSpec.overwrite_cache) } +// .flyteidl.admin.Envs envs = 23; +inline bool ExecutionSpec::has_envs() const { + return this != internal_default_instance() && envs_ != nullptr; +} +inline const ::flyteidl::admin::Envs& ExecutionSpec::envs() const { + const ::flyteidl::admin::Envs* p = envs_; + // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionSpec.envs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_Envs_default_instance_); +} +inline ::flyteidl::admin::Envs* ExecutionSpec::release_envs() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ExecutionSpec.envs) + + ::flyteidl::admin::Envs* temp = envs_; + envs_ = nullptr; + return temp; +} +inline ::flyteidl::admin::Envs* ExecutionSpec::mutable_envs() { + + if (envs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); + envs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionSpec.envs) + return envs_; +} +inline void ExecutionSpec::set_allocated_envs(::flyteidl::admin::Envs* envs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); + } + if (envs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + envs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, envs, submessage_arena); + } + + } else { + + } + envs_ = envs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ExecutionSpec.envs) +} + inline bool ExecutionSpec::has_notification_overrides() const { return notification_overrides_case() != NOTIFICATION_OVERRIDES_NOT_SET; } @@ -6519,6 +6820,118 @@ inline void ExecutionStateChangeDetails::set_allocated_principal(::std::string* // ExecutionUpdateResponse +// ------------------------------------------------------------------- + +// WorkflowExecutionGetMetricsRequest + +// .flyteidl.core.WorkflowExecutionIdentifier id = 1; +inline bool WorkflowExecutionGetMetricsRequest::has_id() const { + return this != internal_default_instance() && id_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& WorkflowExecutionGetMetricsRequest::id() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = id_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetMetricsRequest::release_id() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_; + id_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* WorkflowExecutionGetMetricsRequest::mutable_id() { + + if (id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) + return id_; +} +inline void WorkflowExecutionGetMetricsRequest::set_allocated_id(::flyteidl::core::WorkflowExecutionIdentifier* id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_); + } + if (id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, id, submessage_arena); + } + + } else { + + } + id_ = id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetMetricsRequest.id) +} + +// int32 depth = 2; +inline void WorkflowExecutionGetMetricsRequest::clear_depth() { + depth_ = 0; +} +inline ::google::protobuf::int32 WorkflowExecutionGetMetricsRequest::depth() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsRequest.depth) + return depth_; +} +inline void WorkflowExecutionGetMetricsRequest::set_depth(::google::protobuf::int32 value) { + + depth_ = value; + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionGetMetricsRequest.depth) +} + +// ------------------------------------------------------------------- + +// WorkflowExecutionGetMetricsResponse + +// .flyteidl.core.Span span = 1; +inline bool WorkflowExecutionGetMetricsResponse::has_span() const { + return this != internal_default_instance() && span_ != nullptr; +} +inline const ::flyteidl::core::Span& WorkflowExecutionGetMetricsResponse::span() const { + const ::flyteidl::core::Span* p = span_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Span_default_instance_); +} +inline ::flyteidl::core::Span* WorkflowExecutionGetMetricsResponse::release_span() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) + + ::flyteidl::core::Span* temp = span_; + span_ = nullptr; + return temp; +} +inline ::flyteidl::core::Span* WorkflowExecutionGetMetricsResponse::mutable_span() { + + if (span_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Span>(GetArenaNoVirtual()); + span_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) + return span_; +} +inline void WorkflowExecutionGetMetricsResponse::set_allocated_span(::flyteidl::core::Span* span) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(span_); + } + if (span) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + span = ::google::protobuf::internal::GetOwnedMessage( + message_arena, span, submessage_arena); + } + + } else { + + } + span_ = span; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionGetMetricsResponse.span) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -6562,6 +6975,10 @@ inline void ExecutionStateChangeDetails::set_allocated_principal(::std::string* // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc b/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc index 7b1c6b9d7..a0c5b2b23 100644 --- a/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc @@ -21,10 +21,11 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Notification_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Auth_flyteidl_2fadmin_2flaunch_5fplan_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<12> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<13> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2flaunch_5fplan_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto; @@ -176,8 +177,8 @@ static void InitDefaultsLaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto( ::flyteidl::admin::LaunchPlanSpec::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<12> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 12, InitDefaultsLaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { +::google::protobuf::internal::SCCInfo<13> scc_info_LaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 13, InitDefaultsLaunchPlanSpec_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, &scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base, &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base, @@ -189,7 +190,8 @@ ::google::protobuf::internal::SCCInfo<12> scc_info_LaunchPlanSpec_flyteidl_2fadm &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; + &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, + &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; static void InitDefaultsLaunchPlanClosure_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -357,6 +359,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2e PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, max_parallelism_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, interruptible_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, overwrite_cache_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanSpec, envs_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchPlanClosure, _internal_metadata_), ~0u, // no _extensions_ @@ -410,12 +413,12 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 20, -1, sizeof(::flyteidl::admin::LaunchPlanList)}, { 27, -1, sizeof(::flyteidl::admin::Auth)}, { 34, -1, sizeof(::flyteidl::admin::LaunchPlanSpec)}, - { 54, -1, sizeof(::flyteidl::admin::LaunchPlanClosure)}, - { 64, -1, sizeof(::flyteidl::admin::LaunchPlanMetadata)}, - { 71, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, - { 78, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, - { 83, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, - { 89, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, + { 55, -1, sizeof(::flyteidl::admin::LaunchPlanClosure)}, + { 65, -1, sizeof(::flyteidl::admin::LaunchPlanMetadata)}, + { 72, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, + { 79, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, + { 84, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, + { 90, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -459,7 +462,7 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto[] "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" - "ce_account\030\002 \001(\t:\002\030\001\"\311\005\n\016LaunchPlanSpec\022" + "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" "idl.admin.LaunchPlanMetadata\0223\n\016default_" @@ -477,33 +480,34 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto[] ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" - "rite_cache\030\024 \001(\010\"\217\002\n\021LaunchPlanClosure\022." - "\n\005state\030\001 \001(\0162\037.flyteidl.admin.LaunchPla" - "nState\0224\n\017expected_inputs\030\002 \001(\0132\033.flytei" - "dl.core.ParameterMap\0224\n\020expected_outputs" - "\030\003 \001(\0132\032.flyteidl.core.VariableMap\022.\n\ncr" - "eated_at\030\004 \001(\0132\032.google.protobuf.Timesta" - "mp\022.\n\nupdated_at\030\005 \001(\0132\032.google.protobuf" - ".Timestamp\"u\n\022LaunchPlanMetadata\022*\n\010sche" - "dule\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\r" - "notifications\030\002 \003(\0132\034.flyteidl.admin.Not" - "ification\"p\n\027LaunchPlanUpdateRequest\022%\n\002" - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022.\n\005s" - "tate\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanSt" - "ate\"\032\n\030LaunchPlanUpdateResponse\"L\n\027Activ" - "eLaunchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteid" - "l.admin.NamedEntityIdentifier\"\203\001\n\033Active" - "LaunchPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016" - "\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004" - " \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.S" - "ort*+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006" - "ACTIVE\020\001B7Z5github.com/flyteorg/flyteidl" - "/gen/pb-go/flyteidl/adminb\006proto3" + "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" + "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" + "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" + "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" + "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" + "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" + "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." + "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" + "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" + "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" + "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" + "ation\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001" + " \001(\0132\031.flyteidl.core.Identifier\022.\n\005state" + "\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanState\"" + "\032\n\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" + "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" + "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" + "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" + "main\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t" + "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*" + "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" + "VE\020\001B7Z5github.com/flyteorg/flyteidl/gen" + "/pb-go/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto = { false, InitDefaults_flyteidl_2fadmin_2flaunch_5fplan_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto, - "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2353, + "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2389, }; void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { @@ -2292,6 +2296,8 @@ void LaunchPlanSpec::InitAsDefaultInstance() { ::flyteidl::admin::RawOutputDataConfig::internal_default_instance()); ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( ::google::protobuf::BoolValue::internal_default_instance()); + ::flyteidl::admin::_LaunchPlanSpec_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( + ::flyteidl::admin::Envs::internal_default_instance()); } class LaunchPlanSpec::HasBitSetters { public: @@ -2307,6 +2313,7 @@ class LaunchPlanSpec::HasBitSetters { static const ::flyteidl::core::QualityOfService& quality_of_service(const LaunchPlanSpec* msg); static const ::flyteidl::admin::RawOutputDataConfig& raw_output_data_config(const LaunchPlanSpec* msg); static const ::google::protobuf::BoolValue& interruptible(const LaunchPlanSpec* msg); + static const ::flyteidl::admin::Envs& envs(const LaunchPlanSpec* msg); }; const ::flyteidl::core::Identifier& @@ -2357,6 +2364,10 @@ const ::google::protobuf::BoolValue& LaunchPlanSpec::HasBitSetters::interruptible(const LaunchPlanSpec* msg) { return *msg->interruptible_; } +const ::flyteidl::admin::Envs& +LaunchPlanSpec::HasBitSetters::envs(const LaunchPlanSpec* msg) { + return *msg->envs_; +} void LaunchPlanSpec::clear_workflow_id() { if (GetArenaNoVirtual() == nullptr && workflow_id_ != nullptr) { delete workflow_id_; @@ -2417,6 +2428,12 @@ void LaunchPlanSpec::clear_interruptible() { } interruptible_ = nullptr; } +void LaunchPlanSpec::clear_envs() { + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int LaunchPlanSpec::kWorkflowIdFieldNumber; const int LaunchPlanSpec::kEntityMetadataFieldNumber; @@ -2433,6 +2450,7 @@ const int LaunchPlanSpec::kRawOutputDataConfigFieldNumber; const int LaunchPlanSpec::kMaxParallelismFieldNumber; const int LaunchPlanSpec::kInterruptibleFieldNumber; const int LaunchPlanSpec::kOverwriteCacheFieldNumber; +const int LaunchPlanSpec::kEnvsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 LaunchPlanSpec::LaunchPlanSpec() @@ -2508,6 +2526,11 @@ LaunchPlanSpec::LaunchPlanSpec(const LaunchPlanSpec& from) } else { interruptible_ = nullptr; } + if (from.has_envs()) { + envs_ = new ::flyteidl::admin::Envs(*from.envs_); + } else { + envs_ = nullptr; + } ::memcpy(&max_parallelism_, &from.max_parallelism_, static_cast(reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -2542,6 +2565,7 @@ void LaunchPlanSpec::SharedDtor() { if (this != internal_default_instance()) delete quality_of_service_; if (this != internal_default_instance()) delete raw_output_data_config_; if (this != internal_default_instance()) delete interruptible_; + if (this != internal_default_instance()) delete envs_; } void LaunchPlanSpec::SetCachedSize(int size) const { @@ -2608,6 +2632,10 @@ void LaunchPlanSpec::Clear() { delete interruptible_; } interruptible_ = nullptr; + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; ::memset(&max_parallelism_, 0, static_cast( reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -2813,6 +2841,19 @@ const char* LaunchPlanSpec::_InternalParse(const char* begin, const char* end, v GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // .flyteidl.admin.Envs envs = 21; + case 21: { + if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::Envs::_InternalParse; + object = msg->mutable_envs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -3020,6 +3061,17 @@ bool LaunchPlanSpec::MergePartialFromCodedStream( break; } + // .flyteidl.admin.Envs envs = 21; + case 21: { + if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_envs())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -3139,6 +3191,12 @@ void LaunchPlanSpec::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(20, this->overwrite_cache(), output); } + // .flyteidl.admin.Envs envs = 21; + if (this->has_envs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 21, HasBitSetters::envs(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -3257,6 +3315,13 @@ ::google::protobuf::uint8* LaunchPlanSpec::InternalSerializeWithCachedSizesToArr target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(20, this->overwrite_cache(), target); } + // .flyteidl.admin.Envs envs = 21; + if (this->has_envs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 21, HasBitSetters::envs(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -3369,6 +3434,13 @@ size_t LaunchPlanSpec::ByteSizeLong() const { *interruptible_); } + // .flyteidl.admin.Envs envs = 21; + if (this->has_envs()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *envs_); + } + // int32 max_parallelism = 18; if (this->max_parallelism() != 0) { total_size += 2 + @@ -3448,6 +3520,9 @@ void LaunchPlanSpec::MergeFrom(const LaunchPlanSpec& from) { if (from.has_interruptible()) { mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); } + if (from.has_envs()) { + mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); + } if (from.max_parallelism() != 0) { set_max_parallelism(from.max_parallelism()); } @@ -3495,6 +3570,7 @@ void LaunchPlanSpec::InternalSwap(LaunchPlanSpec* other) { swap(quality_of_service_, other->quality_of_service_); swap(raw_output_data_config_, other->raw_output_data_config_); swap(interruptible_, other->interruptible_); + swap(envs_, other->envs_); swap(max_parallelism_, other->max_parallelism_); swap(overwrite_cache_, other->overwrite_cache_); } diff --git a/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h b/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h index e803fd8e6..122f1b8c2 100644 --- a/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h +++ b/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h @@ -990,6 +990,15 @@ class LaunchPlanSpec final : ::google::protobuf::BoolValue* mutable_interruptible(); void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); + // .flyteidl.admin.Envs envs = 21; + bool has_envs() const; + void clear_envs(); + static const int kEnvsFieldNumber = 21; + const ::flyteidl::admin::Envs& envs() const; + ::flyteidl::admin::Envs* release_envs(); + ::flyteidl::admin::Envs* mutable_envs(); + void set_allocated_envs(::flyteidl::admin::Envs* envs); + // int32 max_parallelism = 18; void clear_max_parallelism(); static const int kMaxParallelismFieldNumber = 18; @@ -1020,6 +1029,7 @@ class LaunchPlanSpec final : ::flyteidl::core::QualityOfService* quality_of_service_; ::flyteidl::admin::RawOutputDataConfig* raw_output_data_config_; ::google::protobuf::BoolValue* interruptible_; + ::flyteidl::admin::Envs* envs_; ::google::protobuf::int32 max_parallelism_; bool overwrite_cache_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -2911,6 +2921,51 @@ inline void LaunchPlanSpec::set_overwrite_cache(bool value) { // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchPlanSpec.overwrite_cache) } +// .flyteidl.admin.Envs envs = 21; +inline bool LaunchPlanSpec::has_envs() const { + return this != internal_default_instance() && envs_ != nullptr; +} +inline const ::flyteidl::admin::Envs& LaunchPlanSpec::envs() const { + const ::flyteidl::admin::Envs* p = envs_; + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchPlanSpec.envs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_Envs_default_instance_); +} +inline ::flyteidl::admin::Envs* LaunchPlanSpec::release_envs() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchPlanSpec.envs) + + ::flyteidl::admin::Envs* temp = envs_; + envs_ = nullptr; + return temp; +} +inline ::flyteidl::admin::Envs* LaunchPlanSpec::mutable_envs() { + + if (envs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); + envs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchPlanSpec.envs) + return envs_; +} +inline void LaunchPlanSpec::set_allocated_envs(::flyteidl::admin::Envs* envs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); + } + if (envs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + envs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, envs, submessage_arena); + } + + } else { + + } + envs_ = envs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchPlanSpec.envs) +} + // ------------------------------------------------------------------- // LaunchPlanClosure diff --git a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc index a31a29e1b..9da024066 100644 --- a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc @@ -19,6 +19,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; @@ -29,7 +30,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_MatchableAttributesConfiguration_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PluginOverrides_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fsecurity_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto; @@ -223,13 +224,14 @@ static void InitDefaultsWorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fr ::flyteidl::admin::WorkflowExecutionConfig::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<5> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsWorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { +::google::protobuf::internal::SCCInfo<6> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsWorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { &scc_info_SecurityContext_flyteidl_2fcore_2fsecurity_2eproto.base, &scc_info_RawOutputDataConfig_flyteidl_2fadmin_2fcommon_2eproto.base, &scc_info_Labels_flyteidl_2fadmin_2fcommon_2eproto.base, &scc_info_Annotations_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base,}}; + &scc_info_BoolValue_google_2fprotobuf_2fwrappers_2eproto.base, + &scc_info_Envs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; static void InitDefaultsMatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -388,6 +390,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fmatchable_5freso PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, annotations_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, interruptible_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, overwrite_cache_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowExecutionConfig, envs_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, _internal_metadata_), ~0u, // no _extensions_ @@ -435,10 +438,10 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 44, -1, sizeof(::flyteidl::admin::PluginOverride)}, { 52, -1, sizeof(::flyteidl::admin::PluginOverrides)}, { 58, -1, sizeof(::flyteidl::admin::WorkflowExecutionConfig)}, - { 70, -1, sizeof(::flyteidl::admin::MatchingAttributes)}, - { 84, -1, sizeof(::flyteidl::admin::MatchableAttributesConfiguration)}, - { 94, -1, sizeof(::flyteidl::admin::ListMatchableAttributesRequest)}, - { 100, -1, sizeof(::flyteidl::admin::ListMatchableAttributesResponse)}, + { 71, -1, sizeof(::flyteidl::admin::MatchingAttributes)}, + { 85, -1, sizeof(::flyteidl::admin::MatchableAttributesConfiguration)}, + { 95, -1, sizeof(::flyteidl::admin::ListMatchableAttributesRequest)}, + { 101, -1, sizeof(::flyteidl::admin::ListMatchableAttributesResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -488,7 +491,7 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2ep "\"2\n\025MissingPluginBehavior\022\010\n\004FAIL\020\000\022\017\n\013U" "SE_DEFAULT\020\001\"D\n\017PluginOverrides\0221\n\toverr" "ides\030\001 \003(\0132\036.flyteidl.admin.PluginOverri" - "de\"\327\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" + "de\"\373\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" "rallelism\030\001 \001(\005\0228\n\020security_context\030\002 \001(" "\0132\036.flyteidl.core.SecurityContext\022C\n\026raw" "_output_data_config\030\003 \001(\0132#.flyteidl.adm" @@ -496,44 +499,45 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2ep ".flyteidl.admin.Labels\0220\n\013annotations\030\005 " "\001(\0132\033.flyteidl.admin.Annotations\0221\n\rinte" "rruptible\030\006 \001(\0132\032.google.protobuf.BoolVa" - "lue\022\027\n\017overwrite_cache\030\007 \001(\010\"\341\004\n\022Matchin" - "gAttributes\022J\n\030task_resource_attributes\030" - "\001 \001(\0132&.flyteidl.admin.TaskResourceAttri" - "butesH\000\022P\n\033cluster_resource_attributes\030\002" - " \001(\0132).flyteidl.admin.ClusterResourceAtt" - "ributesH\000\022N\n\032execution_queue_attributes\030" - "\003 \001(\0132(.flyteidl.admin.ExecutionQueueAtt" - "ributesH\000\022H\n\027execution_cluster_label\030\004 \001" - "(\0132%.flyteidl.admin.ExecutionClusterLabe" - "lH\000\022=\n\022quality_of_service\030\005 \001(\0132\037.flytei" - "dl.core.QualityOfServiceH\000\022;\n\020plugin_ove" - "rrides\030\006 \001(\0132\037.flyteidl.admin.PluginOver" - "ridesH\000\022L\n\031workflow_execution_config\030\007 \001" - "(\0132\'.flyteidl.admin.WorkflowExecutionCon" - "figH\000\022\?\n\022cluster_assignment\030\010 \001(\0132!.flyt" - "eidl.admin.ClusterAssignmentH\000B\010\n\006target" - "\"\242\001\n MatchableAttributesConfiguration\0226\n" - "\nattributes\030\001 \001(\0132\".flyteidl.admin.Match" - "ingAttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project" - "\030\003 \001(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030" - "\005 \001(\t\"Z\n\036ListMatchableAttributesRequest\022" - "8\n\rresource_type\030\001 \001(\0162!.flyteidl.admin." - "MatchableResource\"k\n\037ListMatchableAttrib" - "utesResponse\022H\n\016configurations\030\001 \003(\01320.f" - "lyteidl.admin.MatchableAttributesConfigu" - "ration*\340\001\n\021MatchableResource\022\021\n\rTASK_RES" - "OURCE\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022\023\n\017EXECUTI" - "ON_QUEUE\020\002\022\033\n\027EXECUTION_CLUSTER_LABEL\020\003\022" - "$\n QUALITY_OF_SERVICE_SPECIFICATION\020\004\022\023\n" - "\017PLUGIN_OVERRIDE\020\005\022\035\n\031WORKFLOW_EXECUTION" - "_CONFIG\020\006\022\026\n\022CLUSTER_ASSIGNMENT\020\007B7Z5git" - "hub.com/flyteorg/flyteidl/gen/pb-go/flyt" - "eidl/adminb\006proto3" + "lue\022\027\n\017overwrite_cache\030\007 \001(\010\022\"\n\004envs\030\010 \001" + "(\0132\024.flyteidl.admin.Envs\"\341\004\n\022MatchingAtt" + "ributes\022J\n\030task_resource_attributes\030\001 \001(" + "\0132&.flyteidl.admin.TaskResourceAttribute" + "sH\000\022P\n\033cluster_resource_attributes\030\002 \001(\013" + "2).flyteidl.admin.ClusterResourceAttribu" + "tesH\000\022N\n\032execution_queue_attributes\030\003 \001(" + "\0132(.flyteidl.admin.ExecutionQueueAttribu" + "tesH\000\022H\n\027execution_cluster_label\030\004 \001(\0132%" + ".flyteidl.admin.ExecutionClusterLabelH\000\022" + "=\n\022quality_of_service\030\005 \001(\0132\037.flyteidl.c" + "ore.QualityOfServiceH\000\022;\n\020plugin_overrid" + "es\030\006 \001(\0132\037.flyteidl.admin.PluginOverride" + "sH\000\022L\n\031workflow_execution_config\030\007 \001(\0132\'" + ".flyteidl.admin.WorkflowExecutionConfigH" + "\000\022\?\n\022cluster_assignment\030\010 \001(\0132!.flyteidl" + ".admin.ClusterAssignmentH\000B\010\n\006target\"\242\001\n" + " MatchableAttributesConfiguration\0226\n\natt" + "ributes\030\001 \001(\0132\".flyteidl.admin.MatchingA" + "ttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project\030\003 \001" + "(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030\005 \001(" + "\t\"Z\n\036ListMatchableAttributesRequest\0228\n\rr" + "esource_type\030\001 \001(\0162!.flyteidl.admin.Matc" + "hableResource\"k\n\037ListMatchableAttributes" + "Response\022H\n\016configurations\030\001 \003(\01320.flyte" + "idl.admin.MatchableAttributesConfigurati" + "on*\340\001\n\021MatchableResource\022\021\n\rTASK_RESOURC" + "E\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022\023\n\017EXECUTION_Q" + "UEUE\020\002\022\033\n\027EXECUTION_CLUSTER_LABEL\020\003\022$\n Q" + "UALITY_OF_SERVICE_SPECIFICATION\020\004\022\023\n\017PLU" + "GIN_OVERRIDE\020\005\022\035\n\031WORKFLOW_EXECUTION_CON" + "FIG\020\006\022\026\n\022CLUSTER_ASSIGNMENT\020\007B7Z5github." + "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + "/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, - "flyteidl/admin/matchable_resource.proto", &assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 2578, + "flyteidl/admin/matchable_resource.proto", &assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 2614, }; void AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { @@ -3256,6 +3260,8 @@ void WorkflowExecutionConfig::InitAsDefaultInstance() { ::flyteidl::admin::Annotations::internal_default_instance()); ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->interruptible_ = const_cast< ::google::protobuf::BoolValue*>( ::google::protobuf::BoolValue::internal_default_instance()); + ::flyteidl::admin::_WorkflowExecutionConfig_default_instance_._instance.get_mutable()->envs_ = const_cast< ::flyteidl::admin::Envs*>( + ::flyteidl::admin::Envs::internal_default_instance()); } class WorkflowExecutionConfig::HasBitSetters { public: @@ -3264,6 +3270,7 @@ class WorkflowExecutionConfig::HasBitSetters { static const ::flyteidl::admin::Labels& labels(const WorkflowExecutionConfig* msg); static const ::flyteidl::admin::Annotations& annotations(const WorkflowExecutionConfig* msg); static const ::google::protobuf::BoolValue& interruptible(const WorkflowExecutionConfig* msg); + static const ::flyteidl::admin::Envs& envs(const WorkflowExecutionConfig* msg); }; const ::flyteidl::core::SecurityContext& @@ -3286,6 +3293,10 @@ const ::google::protobuf::BoolValue& WorkflowExecutionConfig::HasBitSetters::interruptible(const WorkflowExecutionConfig* msg) { return *msg->interruptible_; } +const ::flyteidl::admin::Envs& +WorkflowExecutionConfig::HasBitSetters::envs(const WorkflowExecutionConfig* msg) { + return *msg->envs_; +} void WorkflowExecutionConfig::clear_security_context() { if (GetArenaNoVirtual() == nullptr && security_context_ != nullptr) { delete security_context_; @@ -3316,6 +3327,12 @@ void WorkflowExecutionConfig::clear_interruptible() { } interruptible_ = nullptr; } +void WorkflowExecutionConfig::clear_envs() { + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int WorkflowExecutionConfig::kMaxParallelismFieldNumber; const int WorkflowExecutionConfig::kSecurityContextFieldNumber; @@ -3324,6 +3341,7 @@ const int WorkflowExecutionConfig::kLabelsFieldNumber; const int WorkflowExecutionConfig::kAnnotationsFieldNumber; const int WorkflowExecutionConfig::kInterruptibleFieldNumber; const int WorkflowExecutionConfig::kOverwriteCacheFieldNumber; +const int WorkflowExecutionConfig::kEnvsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 WorkflowExecutionConfig::WorkflowExecutionConfig() @@ -3360,6 +3378,11 @@ WorkflowExecutionConfig::WorkflowExecutionConfig(const WorkflowExecutionConfig& } else { interruptible_ = nullptr; } + if (from.has_envs()) { + envs_ = new ::flyteidl::admin::Envs(*from.envs_); + } else { + envs_ = nullptr; + } ::memcpy(&max_parallelism_, &from.max_parallelism_, static_cast(reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -3385,6 +3408,7 @@ void WorkflowExecutionConfig::SharedDtor() { if (this != internal_default_instance()) delete labels_; if (this != internal_default_instance()) delete annotations_; if (this != internal_default_instance()) delete interruptible_; + if (this != internal_default_instance()) delete envs_; } void WorkflowExecutionConfig::SetCachedSize(int size) const { @@ -3422,6 +3446,10 @@ void WorkflowExecutionConfig::Clear() { delete interruptible_; } interruptible_ = nullptr; + if (GetArenaNoVirtual() == nullptr && envs_ != nullptr) { + delete envs_; + } + envs_ = nullptr; ::memset(&max_parallelism_, 0, static_cast( reinterpret_cast(&overwrite_cache_) - reinterpret_cast(&max_parallelism_)) + sizeof(overwrite_cache_)); @@ -3520,6 +3548,19 @@ const char* WorkflowExecutionConfig::_InternalParse(const char* begin, const cha GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // .flyteidl.admin.Envs envs = 8; + case 8: { + if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::Envs::_InternalParse; + object = msg->mutable_envs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -3631,6 +3672,17 @@ bool WorkflowExecutionConfig::MergePartialFromCodedStream( break; } + // .flyteidl.admin.Envs envs = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_envs())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -3698,6 +3750,12 @@ void WorkflowExecutionConfig::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->overwrite_cache(), output); } + // .flyteidl.admin.Envs envs = 8; + if (this->has_envs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, HasBitSetters::envs(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -3756,6 +3814,13 @@ ::google::protobuf::uint8* WorkflowExecutionConfig::InternalSerializeWithCachedS target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->overwrite_cache(), target); } + // .flyteidl.admin.Envs envs = 8; + if (this->has_envs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, HasBitSetters::envs(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -3812,6 +3877,13 @@ size_t WorkflowExecutionConfig::ByteSizeLong() const { *interruptible_); } + // .flyteidl.admin.Envs envs = 8; + if (this->has_envs()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *envs_); + } + // int32 max_parallelism = 1; if (this->max_parallelism() != 0) { total_size += 1 + @@ -3866,6 +3938,9 @@ void WorkflowExecutionConfig::MergeFrom(const WorkflowExecutionConfig& from) { if (from.has_interruptible()) { mutable_interruptible()->::google::protobuf::BoolValue::MergeFrom(from.interruptible()); } + if (from.has_envs()) { + mutable_envs()->::flyteidl::admin::Envs::MergeFrom(from.envs()); + } if (from.max_parallelism() != 0) { set_max_parallelism(from.max_parallelism()); } @@ -3904,6 +3979,7 @@ void WorkflowExecutionConfig::InternalSwap(WorkflowExecutionConfig* other) { swap(labels_, other->labels_); swap(annotations_, other->annotations_); swap(interruptible_, other->interruptible_); + swap(envs_, other->envs_); swap(max_parallelism_, other->max_parallelism_); swap(overwrite_cache_, other->overwrite_cache_); } diff --git a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h index 79e6a2621..12ea29fdf 100644 --- a/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h +++ b/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h @@ -1302,6 +1302,15 @@ class WorkflowExecutionConfig final : ::google::protobuf::BoolValue* mutable_interruptible(); void set_allocated_interruptible(::google::protobuf::BoolValue* interruptible); + // .flyteidl.admin.Envs envs = 8; + bool has_envs() const; + void clear_envs(); + static const int kEnvsFieldNumber = 8; + const ::flyteidl::admin::Envs& envs() const; + ::flyteidl::admin::Envs* release_envs(); + ::flyteidl::admin::Envs* mutable_envs(); + void set_allocated_envs(::flyteidl::admin::Envs* envs); + // int32 max_parallelism = 1; void clear_max_parallelism(); static const int kMaxParallelismFieldNumber = 1; @@ -1324,6 +1333,7 @@ class WorkflowExecutionConfig final : ::flyteidl::admin::Labels* labels_; ::flyteidl::admin::Annotations* annotations_; ::google::protobuf::BoolValue* interruptible_; + ::flyteidl::admin::Envs* envs_; ::google::protobuf::int32 max_parallelism_; bool overwrite_cache_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -2917,6 +2927,51 @@ inline void WorkflowExecutionConfig::set_overwrite_cache(bool value) { // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowExecutionConfig.overwrite_cache) } +// .flyteidl.admin.Envs envs = 8; +inline bool WorkflowExecutionConfig::has_envs() const { + return this != internal_default_instance() && envs_ != nullptr; +} +inline const ::flyteidl::admin::Envs& WorkflowExecutionConfig::envs() const { + const ::flyteidl::admin::Envs* p = envs_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowExecutionConfig.envs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_Envs_default_instance_); +} +inline ::flyteidl::admin::Envs* WorkflowExecutionConfig::release_envs() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowExecutionConfig.envs) + + ::flyteidl::admin::Envs* temp = envs_; + envs_ = nullptr; + return temp; +} +inline ::flyteidl::admin::Envs* WorkflowExecutionConfig::mutable_envs() { + + if (envs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::Envs>(GetArenaNoVirtual()); + envs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowExecutionConfig.envs) + return envs_; +} +inline void WorkflowExecutionConfig::set_allocated_envs(::flyteidl::admin::Envs* envs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(envs_); + } + if (envs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + envs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, envs, submessage_arena); + } + + } else { + + } + envs_ = envs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowExecutionConfig.envs) +} + // ------------------------------------------------------------------- // MatchingAttributes diff --git a/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc b/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc index 12c1bba39..1a175add0 100644 --- a/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc @@ -16,6 +16,7 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fnode_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NodeExecutionMetaData_flyteidl_2fadmin_2fnode_5fexecution_2eproto; @@ -276,11 +277,12 @@ static void InitDefaultsNodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fe ::flyteidl::admin::NodeExecutionGetDataResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<3> scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsNodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { +::google::protobuf::internal::SCCInfo<4> scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsNodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto}, { &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base, &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, - &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base,}}; + &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base, + &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; void InitDefaults_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_NodeExecutionGetRequest_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); @@ -370,6 +372,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fnode_5fexecution offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, workflow_node_metadata_), offsetof(::flyteidl::admin::NodeExecutionClosureDefaultTypeInternal, task_node_metadata_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, deck_uri_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, dynamic_job_spec_uri_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, output_result_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionClosure, target_metadata_), ~0u, // no _has_bits_ @@ -393,6 +396,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fnode_5fexecution ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, id_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, compiled_workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DynamicWorkflowNodeMetadata, dynamic_job_spec_uri_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -409,6 +413,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fnode_5fexecution PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, full_inputs_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, full_outputs_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, dynamic_workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::NodeExecutionGetDataResponse, flyte_urls_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::admin::NodeExecutionGetRequest)}, @@ -418,11 +423,11 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 36, -1, sizeof(::flyteidl::admin::NodeExecutionMetaData)}, { 45, -1, sizeof(::flyteidl::admin::NodeExecutionList)}, { 52, -1, sizeof(::flyteidl::admin::NodeExecutionClosure)}, - { 70, -1, sizeof(::flyteidl::admin::WorkflowNodeMetadata)}, - { 76, -1, sizeof(::flyteidl::admin::TaskNodeMetadata)}, - { 84, -1, sizeof(::flyteidl::admin::DynamicWorkflowNodeMetadata)}, - { 91, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataRequest)}, - { 97, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataResponse)}, + { 71, -1, sizeof(::flyteidl::admin::WorkflowNodeMetadata)}, + { 77, -1, sizeof(::flyteidl::admin::TaskNodeMetadata)}, + { 85, -1, sizeof(::flyteidl::admin::DynamicWorkflowNodeMetadata)}, + { 93, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataRequest)}, + { 99, -1, sizeof(::flyteidl::admin::NodeExecutionGetDataResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -476,7 +481,7 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fnode_5fexecution_2eproto "ent_node\030\002 \001(\010\022\024\n\014spec_node_id\030\003 \001(\t\022\022\n\n" "is_dynamic\030\004 \001(\010\"Z\n\021NodeExecutionList\0226\n" "\017node_executions\030\001 \003(\0132\035.flyteidl.admin." - "NodeExecution\022\r\n\005token\030\002 \001(\t\"\304\004\n\024NodeExe" + "NodeExecution\022\r\n\005token\030\002 \001(\t\"\342\004\n\024NodeExe" "cutionClosure\022\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022" ".\n\005error\030\002 \001(\0132\035.flyteidl.core.Execution" "ErrorH\000\0224\n\013output_data\030\n \001(\0132\031.flyteidl." @@ -490,33 +495,36 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fnode_5fexecution_2eproto "etadata\030\010 \001(\0132$.flyteidl.admin.WorkflowN" "odeMetadataH\001\022>\n\022task_node_metadata\030\t \001(" "\0132 .flyteidl.admin.TaskNodeMetadataH\001\022\020\n" - "\010deck_uri\030\013 \001(\tB\017\n\routput_resultB\021\n\017targ" - "et_metadata\"W\n\024WorkflowNodeMetadata\022\?\n\013e" - "xecutionId\030\001 \001(\0132*.flyteidl.core.Workflo" - "wExecutionIdentifier\"\230\001\n\020TaskNodeMetadat" - "a\0227\n\014cache_status\030\001 \001(\0162!.flyteidl.core." - "CatalogCacheStatus\0223\n\013catalog_key\030\002 \001(\0132" - "\036.flyteidl.core.CatalogMetadata\022\026\n\016check" - "point_uri\030\004 \001(\t\"\207\001\n\033DynamicWorkflowNodeM" - "etadata\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Iden" - "tifier\022A\n\021compiled_workflow\030\002 \001(\0132&.flyt" - "eidl.core.CompiledWorkflowClosure\"Q\n\033Nod" - "eExecutionGetDataRequest\0222\n\002id\030\001 \001(\0132&.f" - "lyteidl.core.NodeExecutionIdentifier\"\241\002\n" - "\034NodeExecutionGetDataResponse\022+\n\006inputs\030" - "\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022,\n\007ou" - "tputs\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001" - "\022.\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Li" - "teralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteid" - "l.core.LiteralMap\022E\n\020dynamic_workflow\030\020 " - "\001(\0132+.flyteidl.admin.DynamicWorkflowNode" - "MetadataB7Z5github.com/flyteorg/flyteidl" - "/gen/pb-go/flyteidl/adminb\006proto3" + "\010deck_uri\030\013 \001(\t\022\034\n\024dynamic_job_spec_uri\030" + "\014 \001(\tB\017\n\routput_resultB\021\n\017target_metadat" + "a\"W\n\024WorkflowNodeMetadata\022\?\n\013executionId" + "\030\001 \001(\0132*.flyteidl.core.WorkflowExecution" + "Identifier\"\230\001\n\020TaskNodeMetadata\0227\n\014cache" + "_status\030\001 \001(\0162!.flyteidl.core.CatalogCac" + "heStatus\0223\n\013catalog_key\030\002 \001(\0132\036.flyteidl" + ".core.CatalogMetadata\022\026\n\016checkpoint_uri\030" + "\004 \001(\t\"\245\001\n\033DynamicWorkflowNodeMetadata\022%\n" + "\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\022A\n\021" + "compiled_workflow\030\002 \001(\0132&.flyteidl.core." + "CompiledWorkflowClosure\022\034\n\024dynamic_job_s" + "pec_uri\030\003 \001(\t\"Q\n\033NodeExecutionGetDataReq" + "uest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeExe" + "cutionIdentifier\"\320\002\n\034NodeExecutionGetDat" + "aResponse\022+\n\006inputs\030\001 \001(\0132\027.flyteidl.adm" + "in.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027.flytei" + "dl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030\003 \001(" + "\0132\031.flyteidl.core.LiteralMap\022/\n\014full_out" + "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022E\n" + "\020dynamic_workflow\030\020 \001(\0132+.flyteidl.admin" + ".DynamicWorkflowNodeMetadata\022-\n\nflyte_ur" + "ls\030\021 \001(\0132\031.flyteidl.admin.FlyteURLsB7Z5g" + "ithub.com/flyteorg/flyteidl/gen/pb-go/fl" + "yteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fnode_5fexecution_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fnode_5fexecution_2eproto, - "flyteidl/admin/node_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto, 2593, + "flyteidl/admin/node_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fnode_5fexecution_2eproto, 2700, }; void AddDescriptors_flyteidl_2fadmin_2fnode_5fexecution_2eproto() { @@ -3517,6 +3525,7 @@ const int NodeExecutionClosure::kUpdatedAtFieldNumber; const int NodeExecutionClosure::kWorkflowNodeMetadataFieldNumber; const int NodeExecutionClosure::kTaskNodeMetadataFieldNumber; const int NodeExecutionClosure::kDeckUriFieldNumber; +const int NodeExecutionClosure::kDynamicJobSpecUriFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 NodeExecutionClosure::NodeExecutionClosure() @@ -3532,6 +3541,10 @@ NodeExecutionClosure::NodeExecutionClosure(const NodeExecutionClosure& from) if (from.deck_uri().size() > 0) { deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); } + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.dynamic_job_spec_uri().size() > 0) { + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_started_at()) { started_at_ = new ::google::protobuf::Timestamp(*from.started_at_); } else { @@ -3592,6 +3605,7 @@ void NodeExecutionClosure::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_NodeExecutionClosure_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); deck_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&started_at_, 0, static_cast( reinterpret_cast(&phase_) - reinterpret_cast(&started_at_)) + sizeof(phase_)); @@ -3606,6 +3620,7 @@ NodeExecutionClosure::~NodeExecutionClosure() { void NodeExecutionClosure::SharedDtor() { deck_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete started_at_; if (this != internal_default_instance()) delete duration_; if (this != internal_default_instance()) delete created_at_; @@ -3675,6 +3690,7 @@ void NodeExecutionClosure::Clear() { (void) cached_has_bits; deck_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { delete started_at_; } @@ -3854,6 +3870,22 @@ const char* NodeExecutionClosure::_InternalParse(const char* begin, const char* ptr += size; break; } + // string dynamic_job_spec_uri = 12; + case 12: { + if (static_cast<::google::protobuf::uint8>(tag) != 98) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); + object = msg->mutable_dynamic_job_spec_uri(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -4020,6 +4052,21 @@ bool NodeExecutionClosure::MergePartialFromCodedStream( break; } + // string dynamic_job_spec_uri = 12; + case 12: { + if (static_cast< ::google::protobuf::uint8>(tag) == (98 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_dynamic_job_spec_uri())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -4121,6 +4168,16 @@ void NodeExecutionClosure::SerializeWithCachedSizes( 11, this->deck_uri(), output); } + // string dynamic_job_spec_uri = 12; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 12, this->dynamic_job_spec_uri(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -4218,6 +4275,17 @@ ::google::protobuf::uint8* NodeExecutionClosure::InternalSerializeWithCachedSize 11, this->deck_uri(), target); } + // string dynamic_job_spec_uri = 12; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 12, this->dynamic_job_spec_uri(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4246,6 +4314,13 @@ size_t NodeExecutionClosure::ByteSizeLong() const { this->deck_uri()); } + // string dynamic_job_spec_uri = 12; + if (this->dynamic_job_spec_uri().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->dynamic_job_spec_uri()); + } + // .google.protobuf.Timestamp started_at = 4; if (this->has_started_at()) { total_size += 1 + @@ -4356,6 +4431,10 @@ void NodeExecutionClosure::MergeFrom(const NodeExecutionClosure& from) { deck_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.deck_uri_); } + if (from.dynamic_job_spec_uri().size() > 0) { + + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_started_at()) { mutable_started_at()->::google::protobuf::Timestamp::MergeFrom(from.started_at()); } @@ -4430,6 +4509,8 @@ void NodeExecutionClosure::InternalSwap(NodeExecutionClosure* other) { _internal_metadata_.Swap(&other->_internal_metadata_); deck_uri_.Swap(&other->deck_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); + dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); swap(started_at_, other->started_at_); swap(duration_, other->duration_); swap(created_at_, other->created_at_); @@ -5196,6 +5277,7 @@ void DynamicWorkflowNodeMetadata::clear_compiled_workflow() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int DynamicWorkflowNodeMetadata::kIdFieldNumber; const int DynamicWorkflowNodeMetadata::kCompiledWorkflowFieldNumber; +const int DynamicWorkflowNodeMetadata::kDynamicJobSpecUriFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata() @@ -5207,6 +5289,10 @@ DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNo : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.dynamic_job_spec_uri().size() > 0) { + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_id()) { id_ = new ::flyteidl::core::Identifier(*from.id_); } else { @@ -5223,6 +5309,7 @@ DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNo void DynamicWorkflowNodeMetadata::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&id_, 0, static_cast( reinterpret_cast(&compiled_workflow_) - reinterpret_cast(&id_)) + sizeof(compiled_workflow_)); @@ -5234,6 +5321,7 @@ DynamicWorkflowNodeMetadata::~DynamicWorkflowNodeMetadata() { } void DynamicWorkflowNodeMetadata::SharedDtor() { + dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete compiled_workflow_; } @@ -5253,6 +5341,7 @@ void DynamicWorkflowNodeMetadata::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { delete id_; } @@ -5303,6 +5392,22 @@ const char* DynamicWorkflowNodeMetadata::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } + // string dynamic_job_spec_uri = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + object = msg->mutable_dynamic_job_spec_uri(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5318,6 +5423,10 @@ const char* DynamicWorkflowNodeMetadata::_InternalParse(const char* begin, const } // switch } // while return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; len_delim_till_end: return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, {parser_till_end, object}, size); @@ -5355,6 +5464,21 @@ bool DynamicWorkflowNodeMetadata::MergePartialFromCodedStream( break; } + // string dynamic_job_spec_uri = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_dynamic_job_spec_uri())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -5394,6 +5518,16 @@ void DynamicWorkflowNodeMetadata::SerializeWithCachedSizes( 2, HasBitSetters::compiled_workflow(this), output); } + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->dynamic_job_spec_uri(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -5421,6 +5555,17 @@ ::google::protobuf::uint8* DynamicWorkflowNodeMetadata::InternalSerializeWithCac 2, HasBitSetters::compiled_workflow(this), target); } + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->dynamic_job_spec_uri(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -5442,6 +5587,13 @@ size_t DynamicWorkflowNodeMetadata::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->dynamic_job_spec_uri()); + } + // .flyteidl.core.Identifier id = 1; if (this->has_id()) { total_size += 1 + @@ -5483,6 +5635,10 @@ void DynamicWorkflowNodeMetadata::MergeFrom(const DynamicWorkflowNodeMetadata& f ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; + if (from.dynamic_job_spec_uri().size() > 0) { + + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_id()) { mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); } @@ -5516,6 +5672,8 @@ void DynamicWorkflowNodeMetadata::Swap(DynamicWorkflowNodeMetadata* other) { void DynamicWorkflowNodeMetadata::InternalSwap(DynamicWorkflowNodeMetadata* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); + dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); swap(id_, other->id_); swap(compiled_workflow_, other->compiled_workflow_); } @@ -5832,6 +5990,8 @@ void NodeExecutionGetDataResponse::InitAsDefaultInstance() { ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->dynamic_workflow_ = const_cast< ::flyteidl::admin::DynamicWorkflowNodeMetadata*>( ::flyteidl::admin::DynamicWorkflowNodeMetadata::internal_default_instance()); + ::flyteidl::admin::_NodeExecutionGetDataResponse_default_instance_._instance.get_mutable()->flyte_urls_ = const_cast< ::flyteidl::admin::FlyteURLs*>( + ::flyteidl::admin::FlyteURLs::internal_default_instance()); } class NodeExecutionGetDataResponse::HasBitSetters { public: @@ -5840,6 +6000,7 @@ class NodeExecutionGetDataResponse::HasBitSetters { static const ::flyteidl::core::LiteralMap& full_inputs(const NodeExecutionGetDataResponse* msg); static const ::flyteidl::core::LiteralMap& full_outputs(const NodeExecutionGetDataResponse* msg); static const ::flyteidl::admin::DynamicWorkflowNodeMetadata& dynamic_workflow(const NodeExecutionGetDataResponse* msg); + static const ::flyteidl::admin::FlyteURLs& flyte_urls(const NodeExecutionGetDataResponse* msg); }; const ::flyteidl::admin::UrlBlob& @@ -5862,6 +6023,10 @@ const ::flyteidl::admin::DynamicWorkflowNodeMetadata& NodeExecutionGetDataResponse::HasBitSetters::dynamic_workflow(const NodeExecutionGetDataResponse* msg) { return *msg->dynamic_workflow_; } +const ::flyteidl::admin::FlyteURLs& +NodeExecutionGetDataResponse::HasBitSetters::flyte_urls(const NodeExecutionGetDataResponse* msg) { + return *msg->flyte_urls_; +} void NodeExecutionGetDataResponse::clear_inputs() { if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { delete inputs_; @@ -5886,12 +6051,19 @@ void NodeExecutionGetDataResponse::clear_full_outputs() { } full_outputs_ = nullptr; } +void NodeExecutionGetDataResponse::clear_flyte_urls() { + if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { + delete flyte_urls_; + } + flyte_urls_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int NodeExecutionGetDataResponse::kInputsFieldNumber; const int NodeExecutionGetDataResponse::kOutputsFieldNumber; const int NodeExecutionGetDataResponse::kFullInputsFieldNumber; const int NodeExecutionGetDataResponse::kFullOutputsFieldNumber; const int NodeExecutionGetDataResponse::kDynamicWorkflowFieldNumber; +const int NodeExecutionGetDataResponse::kFlyteUrlsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 NodeExecutionGetDataResponse::NodeExecutionGetDataResponse() @@ -5928,6 +6100,11 @@ NodeExecutionGetDataResponse::NodeExecutionGetDataResponse(const NodeExecutionGe } else { dynamic_workflow_ = nullptr; } + if (from.has_flyte_urls()) { + flyte_urls_ = new ::flyteidl::admin::FlyteURLs(*from.flyte_urls_); + } else { + flyte_urls_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.admin.NodeExecutionGetDataResponse) } @@ -5935,8 +6112,8 @@ void NodeExecutionGetDataResponse::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_NodeExecutionGetDataResponse_flyteidl_2fadmin_2fnode_5fexecution_2eproto.base); ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&dynamic_workflow_) - - reinterpret_cast(&inputs_)) + sizeof(dynamic_workflow_)); + reinterpret_cast(&flyte_urls_) - + reinterpret_cast(&inputs_)) + sizeof(flyte_urls_)); } NodeExecutionGetDataResponse::~NodeExecutionGetDataResponse() { @@ -5950,6 +6127,7 @@ void NodeExecutionGetDataResponse::SharedDtor() { if (this != internal_default_instance()) delete full_inputs_; if (this != internal_default_instance()) delete full_outputs_; if (this != internal_default_instance()) delete dynamic_workflow_; + if (this != internal_default_instance()) delete flyte_urls_; } void NodeExecutionGetDataResponse::SetCachedSize(int size) const { @@ -5987,6 +6165,10 @@ void NodeExecutionGetDataResponse::Clear() { delete dynamic_workflow_; } dynamic_workflow_ = nullptr; + if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { + delete flyte_urls_; + } + flyte_urls_ = nullptr; _internal_metadata_.Clear(); } @@ -6068,6 +6250,19 @@ const char* NodeExecutionGetDataResponse::_InternalParse(const char* begin, cons {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + case 17: { + if (static_cast<::google::protobuf::uint8>(tag) != 138) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::FlyteURLs::_InternalParse; + object = msg->mutable_flyte_urls(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -6153,6 +6348,17 @@ bool NodeExecutionGetDataResponse::MergePartialFromCodedStream( break; } + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + case 17: { + if (static_cast< ::google::protobuf::uint8>(tag) == (138 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_flyte_urls())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -6210,6 +6416,12 @@ void NodeExecutionGetDataResponse::SerializeWithCachedSizes( 16, HasBitSetters::dynamic_workflow(this), output); } + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + if (this->has_flyte_urls()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 17, HasBitSetters::flyte_urls(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -6258,6 +6470,13 @@ ::google::protobuf::uint8* NodeExecutionGetDataResponse::InternalSerializeWithCa 16, HasBitSetters::dynamic_workflow(this), target); } + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + if (this->has_flyte_urls()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 17, HasBitSetters::flyte_urls(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -6314,6 +6533,13 @@ size_t NodeExecutionGetDataResponse::ByteSizeLong() const { *dynamic_workflow_); } + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + if (this->has_flyte_urls()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *flyte_urls_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -6356,6 +6582,9 @@ void NodeExecutionGetDataResponse::MergeFrom(const NodeExecutionGetDataResponse& if (from.has_dynamic_workflow()) { mutable_dynamic_workflow()->::flyteidl::admin::DynamicWorkflowNodeMetadata::MergeFrom(from.dynamic_workflow()); } + if (from.has_flyte_urls()) { + mutable_flyte_urls()->::flyteidl::admin::FlyteURLs::MergeFrom(from.flyte_urls()); + } } void NodeExecutionGetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { @@ -6388,6 +6617,7 @@ void NodeExecutionGetDataResponse::InternalSwap(NodeExecutionGetDataResponse* ot swap(full_inputs_, other->full_inputs_); swap(full_outputs_, other->full_outputs_); swap(dynamic_workflow_, other->dynamic_workflow_); + swap(flyte_urls_, other->flyte_urls_); } ::google::protobuf::Metadata NodeExecutionGetDataResponse::GetMetadata() const { diff --git a/gen/pb-cpp/flyteidl/admin/node_execution.pb.h b/gen/pb-cpp/flyteidl/admin/node_execution.pb.h index 93772af1d..f3646427e 100644 --- a/gen/pb-cpp/flyteidl/admin/node_execution.pb.h +++ b/gen/pb-cpp/flyteidl/admin/node_execution.pb.h @@ -1125,6 +1125,20 @@ class NodeExecutionClosure final : ::std::string* release_deck_uri(); void set_allocated_deck_uri(::std::string* deck_uri); + // string dynamic_job_spec_uri = 12; + void clear_dynamic_job_spec_uri(); + static const int kDynamicJobSpecUriFieldNumber = 12; + const ::std::string& dynamic_job_spec_uri() const; + void set_dynamic_job_spec_uri(const ::std::string& value); + #if LANG_CXX11 + void set_dynamic_job_spec_uri(::std::string&& value); + #endif + void set_dynamic_job_spec_uri(const char* value); + void set_dynamic_job_spec_uri(const char* value, size_t size); + ::std::string* mutable_dynamic_job_spec_uri(); + ::std::string* release_dynamic_job_spec_uri(); + void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); + // .google.protobuf.Timestamp started_at = 4; bool has_started_at() const; void clear_started_at(); @@ -1241,6 +1255,7 @@ class NodeExecutionClosure final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr deck_uri_; + ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; ::google::protobuf::Timestamp* started_at_; ::google::protobuf::Duration* duration_; ::google::protobuf::Timestamp* created_at_; @@ -1611,6 +1626,20 @@ class DynamicWorkflowNodeMetadata final : // accessors ------------------------------------------------------- + // string dynamic_job_spec_uri = 3; + void clear_dynamic_job_spec_uri(); + static const int kDynamicJobSpecUriFieldNumber = 3; + const ::std::string& dynamic_job_spec_uri() const; + void set_dynamic_job_spec_uri(const ::std::string& value); + #if LANG_CXX11 + void set_dynamic_job_spec_uri(::std::string&& value); + #endif + void set_dynamic_job_spec_uri(const char* value); + void set_dynamic_job_spec_uri(const char* value, size_t size); + ::std::string* mutable_dynamic_job_spec_uri(); + ::std::string* release_dynamic_job_spec_uri(); + void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); + // .flyteidl.core.Identifier id = 1; bool has_id() const; void clear_id(); @@ -1634,6 +1663,7 @@ class DynamicWorkflowNodeMetadata final : class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; ::flyteidl::core::Identifier* id_; ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -1896,6 +1926,15 @@ class NodeExecutionGetDataResponse final : ::flyteidl::admin::DynamicWorkflowNodeMetadata* mutable_dynamic_workflow(); void set_allocated_dynamic_workflow(::flyteidl::admin::DynamicWorkflowNodeMetadata* dynamic_workflow); + // .flyteidl.admin.FlyteURLs flyte_urls = 17; + bool has_flyte_urls() const; + void clear_flyte_urls(); + static const int kFlyteUrlsFieldNumber = 17; + const ::flyteidl::admin::FlyteURLs& flyte_urls() const; + ::flyteidl::admin::FlyteURLs* release_flyte_urls(); + ::flyteidl::admin::FlyteURLs* mutable_flyte_urls(); + void set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls); + // @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataResponse) private: class HasBitSetters; @@ -1906,6 +1945,7 @@ class NodeExecutionGetDataResponse final : ::flyteidl::core::LiteralMap* full_inputs_; ::flyteidl::core::LiteralMap* full_outputs_; ::flyteidl::admin::DynamicWorkflowNodeMetadata* dynamic_workflow_; + ::flyteidl::admin::FlyteURLs* flyte_urls_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fnode_5fexecution_2eproto; }; @@ -3374,6 +3414,59 @@ inline void NodeExecutionClosure::set_allocated_deck_uri(::std::string* deck_uri // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.deck_uri) } +// string dynamic_job_spec_uri = 12; +inline void NodeExecutionClosure::clear_dynamic_job_spec_uri() { + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& NodeExecutionClosure::dynamic_job_spec_uri() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.GetNoArena(); +} +inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const ::std::string& value) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) +} +#if LANG_CXX11 +inline void NodeExecutionClosure::set_dynamic_job_spec_uri(::std::string&& value) { + + dynamic_job_spec_uri_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) +} +#endif +inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) +} +inline void NodeExecutionClosure::set_dynamic_job_spec_uri(const char* value, size_t size) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) +} +inline ::std::string* NodeExecutionClosure::mutable_dynamic_job_spec_uri() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* NodeExecutionClosure::release_dynamic_job_spec_uri() { + // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) + + return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void NodeExecutionClosure::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { + if (dynamic_job_spec_uri != nullptr) { + + } else { + + } + dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri) +} + inline bool NodeExecutionClosure::has_output_result() const { return output_result_case() != OUTPUT_RESULT_NOT_SET; } @@ -3651,6 +3744,59 @@ inline void DynamicWorkflowNodeMetadata::set_allocated_compiled_workflow(::flyte // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicWorkflowNodeMetadata.compiled_workflow) } +// string dynamic_job_spec_uri = 3; +inline void DynamicWorkflowNodeMetadata::clear_dynamic_job_spec_uri() { + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DynamicWorkflowNodeMetadata::dynamic_job_spec_uri() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.GetNoArena(); +} +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const ::std::string& value) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +#if LANG_CXX11 +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(::std::string&& value) { + + dynamic_job_spec_uri_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +#endif +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value, size_t size) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +inline ::std::string* DynamicWorkflowNodeMetadata::mutable_dynamic_job_spec_uri() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DynamicWorkflowNodeMetadata::release_dynamic_job_spec_uri() { + // @@protoc_insertion_point(field_release:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + + return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DynamicWorkflowNodeMetadata::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { + if (dynamic_job_spec_uri != nullptr) { + + } else { + + } + dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} + // ------------------------------------------------------------------- // NodeExecutionGetDataRequest @@ -3935,6 +4081,51 @@ inline void NodeExecutionGetDataResponse::set_allocated_dynamic_workflow(::flyte // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.dynamic_workflow) } +// .flyteidl.admin.FlyteURLs flyte_urls = 17; +inline bool NodeExecutionGetDataResponse::has_flyte_urls() const { + return this != internal_default_instance() && flyte_urls_ != nullptr; +} +inline const ::flyteidl::admin::FlyteURLs& NodeExecutionGetDataResponse::flyte_urls() const { + const ::flyteidl::admin::FlyteURLs* p = flyte_urls_; + // @@protoc_insertion_point(field_get:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_FlyteURLs_default_instance_); +} +inline ::flyteidl::admin::FlyteURLs* NodeExecutionGetDataResponse::release_flyte_urls() { + // @@protoc_insertion_point(field_release:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) + + ::flyteidl::admin::FlyteURLs* temp = flyte_urls_; + flyte_urls_ = nullptr; + return temp; +} +inline ::flyteidl::admin::FlyteURLs* NodeExecutionGetDataResponse::mutable_flyte_urls() { + + if (flyte_urls_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(GetArenaNoVirtual()); + flyte_urls_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) + return flyte_urls_; +} +inline void NodeExecutionGetDataResponse::set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(flyte_urls_); + } + if (flyte_urls) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + flyte_urls = ::google::protobuf::internal::GetOwnedMessage( + message_arena, flyte_urls, submessage_arena); + } + + } else { + + } + flyte_urls_ = flyte_urls; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ diff --git a/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc b/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc index f80d895ef..92e0ce3ae 100644 --- a/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc @@ -16,10 +16,12 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Sort_flyteidl_2fadmin_2fcommon_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<7> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2ftask_5fexecution_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; @@ -54,6 +56,10 @@ class TaskExecutionClosureDefaultTypeInternal { const ::flyteidl::core::ExecutionError* error_; const ::flyteidl::core::LiteralMap* output_data_; } _TaskExecutionClosure_default_instance_; +class ReasonDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Reason_default_instance_; class TaskExecutionGetDataRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -137,15 +143,31 @@ static void InitDefaultsTaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution ::flyteidl::admin::TaskExecutionClosure::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<7> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 7, InitDefaultsTaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { +::google::protobuf::internal::SCCInfo<8> scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsTaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { &scc_info_ExecutionError_flyteidl_2fcore_2fexecution_2eproto.base, &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, &scc_info_TaskLog_flyteidl_2fcore_2fexecution_2eproto.base, &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base, &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, - &scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base,}}; + &scc_info_TaskExecutionMetadata_flyteidl_2fevent_2fevent_2eproto.base, + &scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base,}}; + +static void InitDefaultsReason_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_Reason_default_instance_; + new (ptr) ::flyteidl::admin::Reason(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::Reason::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReason_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; static void InitDefaultsTaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -173,10 +195,11 @@ static void InitDefaultsTaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fe ::flyteidl::admin::TaskExecutionGetDataResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { +::google::protobuf::internal::SCCInfo<3> scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsTaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto}, { &scc_info_UrlBlob_flyteidl_2fadmin_2fcommon_2eproto.base, - &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_FlyteURLs_flyteidl_2fadmin_2fcommon_2eproto.base,}}; void InitDefaults_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); @@ -184,11 +207,12 @@ void InitDefaults_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_TaskExecution_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionList_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionClosure_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetDataRequest_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[7]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[8]; constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto = nullptr; @@ -244,8 +268,16 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2ftask_5fexecution PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, task_type_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, metadata_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, event_version_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, reasons_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionClosure, output_result_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, occurred_at_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Reason, message_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -260,6 +292,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2ftask_5fexecution PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, outputs_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, full_inputs_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, full_outputs_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskExecutionGetDataResponse, flyte_urls_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::admin::TaskExecutionGetRequest)}, @@ -267,8 +300,9 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 16, -1, sizeof(::flyteidl::admin::TaskExecution)}, { 25, -1, sizeof(::flyteidl::admin::TaskExecutionList)}, { 32, -1, sizeof(::flyteidl::admin::TaskExecutionClosure)}, - { 52, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataRequest)}, - { 58, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataResponse)}, + { 53, -1, sizeof(::flyteidl::admin::Reason)}, + { 60, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataRequest)}, + { 66, -1, sizeof(::flyteidl::admin::TaskExecutionGetDataResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -277,6 +311,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::admin::_TaskExecution_default_instance_), reinterpret_cast(&::flyteidl::admin::_TaskExecutionList_default_instance_), reinterpret_cast(&::flyteidl::admin::_TaskExecutionClosure_default_instance_), + reinterpret_cast(&::flyteidl::admin::_Reason_default_instance_), reinterpret_cast(&::flyteidl::admin::_TaskExecutionGetDataRequest_default_instance_), reinterpret_cast(&::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_), }; @@ -284,7 +319,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto = { {}, AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, "flyteidl/admin/task_execution.proto", schemas, file_default_instances, TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 7, file_level_enum_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, + file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 8, file_level_enum_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto, }; const char descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto[] = @@ -308,7 +343,7 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto "in.TaskExecutionClosure\022\021\n\tis_parent\030\004 \001" "(\010\"Z\n\021TaskExecutionList\0226\n\017task_executio" "ns\030\001 \003(\0132\035.flyteidl.admin.TaskExecution\022" - "\r\n\005token\030\002 \001(\t\"\336\004\n\024TaskExecutionClosure\022" + "\r\n\005token\030\002 \001(\t\"\207\005\n\024TaskExecutionClosure\022" "\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\013" "2\035.flyteidl.core.ExecutionErrorH\000\0224\n\013out" "put_data\030\014 \001(\0132\031.flyteidl.core.LiteralMa" @@ -323,21 +358,25 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto "obuf.Struct\022\016\n\006reason\030\n \001(\t\022\021\n\ttask_type" "\030\013 \001(\t\0227\n\010metadata\030\020 \001(\0132%.flyteidl.even" "t.TaskExecutionMetadata\022\025\n\revent_version" - "\030\021 \001(\005B\017\n\routput_result\"Q\n\033TaskExecution" - "GetDataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.co" - "re.TaskExecutionIdentifier\"\332\001\n\034TaskExecu" - "tionGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.fl" - "yteidl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(" - "\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_i" - "nputs\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/" - "\n\014full_outputs\030\004 \001(\0132\031.flyteidl.core.Lit" - "eralMapB7Z5github.com/flyteorg/flyteidl/" - "gen/pb-go/flyteidl/adminb\006proto3" + "\030\021 \001(\005\022\'\n\007reasons\030\022 \003(\0132\026.flyteidl.admin" + ".ReasonB\017\n\routput_result\"J\n\006Reason\022/\n\013oc" + "curred_at\030\001 \001(\0132\032.google.protobuf.Timest" + "amp\022\017\n\007message\030\002 \001(\t\"Q\n\033TaskExecutionGet" + "DataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.core." + "TaskExecutionIdentifier\"\211\002\n\034TaskExecutio" + "nGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.flyte" + "idl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027" + ".flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inpu" + "ts\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014f" + "ull_outputs\030\004 \001(\0132\031.flyteidl.core.Litera" + "lMap\022-\n\nflyte_urls\030\005 \001(\0132\031.flyteidl.admi" + "n.FlyteURLsB7Z5github.com/flyteorg/flyte" + "idl/gen/pb-go/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto = { false, InitDefaults_flyteidl_2fadmin_2ftask_5fexecution_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2ftask_5fexecution_2eproto, - "flyteidl/admin/task_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 1792, + "flyteidl/admin/task_execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto, 1956, }; void AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto() { @@ -2211,6 +2250,7 @@ const int TaskExecutionClosure::kReasonFieldNumber; const int TaskExecutionClosure::kTaskTypeFieldNumber; const int TaskExecutionClosure::kMetadataFieldNumber; const int TaskExecutionClosure::kEventVersionFieldNumber; +const int TaskExecutionClosure::kReasonsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 TaskExecutionClosure::TaskExecutionClosure() @@ -2221,7 +2261,8 @@ TaskExecutionClosure::TaskExecutionClosure() TaskExecutionClosure::TaskExecutionClosure(const TaskExecutionClosure& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr), - logs_(from.logs_) { + logs_(from.logs_), + reasons_(from.reasons_) { _internal_metadata_.MergeFrom(from._internal_metadata_); reason_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.reason().size() > 0) { @@ -2354,6 +2395,7 @@ void TaskExecutionClosure::Clear() { (void) cached_has_bits; logs_.Clear(); + reasons_.Clear(); reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && started_at_ != nullptr) { @@ -2583,6 +2625,22 @@ const char* TaskExecutionClosure::_InternalParse(const char* begin, const char* GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // repeated .flyteidl.admin.Reason reasons = 18; + case 18: { + if (static_cast<::google::protobuf::uint8>(tag) != 146) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::Reason::_InternalParse; + object = msg->add_reasons(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 65535) == 402 && (ptr += 2)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -2788,6 +2846,17 @@ bool TaskExecutionClosure::MergePartialFromCodedStream( break; } + // repeated .flyteidl.admin.Reason reasons = 18; + case 18: { + if (static_cast< ::google::protobuf::uint8>(tag) == (146 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_reasons())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -2913,6 +2982,15 @@ void TaskExecutionClosure::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->event_version(), output); } + // repeated .flyteidl.admin.Reason reasons = 18; + for (unsigned int i = 0, + n = static_cast(this->reasons_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 18, + this->reasons(static_cast(i)), + output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -3034,6 +3112,14 @@ ::google::protobuf::uint8* TaskExecutionClosure::InternalSerializeWithCachedSize target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->event_version(), target); } + // repeated .flyteidl.admin.Reason reasons = 18; + for (unsigned int i = 0, + n = static_cast(this->reasons_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 18, this->reasons(static_cast(i)), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -3066,6 +3152,17 @@ size_t TaskExecutionClosure::ByteSizeLong() const { } } + // repeated .flyteidl.admin.Reason reasons = 18; + { + unsigned int count = static_cast(this->reasons_size()); + total_size += 2UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->reasons(static_cast(i))); + } + } + // string reason = 10; if (this->reason().size() > 0) { total_size += 1 + @@ -3189,6 +3286,7 @@ void TaskExecutionClosure::MergeFrom(const TaskExecutionClosure& from) { (void) cached_has_bits; logs_.MergeFrom(from.logs_); + reasons_.MergeFrom(from.reasons_); if (from.reason().size() > 0) { reason_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reason_); @@ -3266,6 +3364,7 @@ void TaskExecutionClosure::InternalSwap(TaskExecutionClosure* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); CastToBase(&logs_)->InternalSwap(CastToBase(&other->logs_)); + CastToBase(&reasons_)->InternalSwap(CastToBase(&other->reasons_)); reason_.Swap(&other->reason_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), @@ -3288,6 +3387,376 @@ ::google::protobuf::Metadata TaskExecutionClosure::GetMetadata() const { } +// =================================================================== + +void Reason::InitAsDefaultInstance() { + ::flyteidl::admin::_Reason_default_instance_._instance.get_mutable()->occurred_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); +} +class Reason::HasBitSetters { + public: + static const ::google::protobuf::Timestamp& occurred_at(const Reason* msg); +}; + +const ::google::protobuf::Timestamp& +Reason::HasBitSetters::occurred_at(const Reason* msg) { + return *msg->occurred_at_; +} +void Reason::clear_occurred_at() { + if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { + delete occurred_at_; + } + occurred_at_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Reason::kOccurredAtFieldNumber; +const int Reason::kMessageFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Reason::Reason() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.Reason) +} +Reason::Reason(const Reason& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.message().size() > 0) { + message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); + } + if (from.has_occurred_at()) { + occurred_at_ = new ::google::protobuf::Timestamp(*from.occurred_at_); + } else { + occurred_at_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Reason) +} + +void Reason::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); + message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + occurred_at_ = nullptr; +} + +Reason::~Reason() { + // @@protoc_insertion_point(destructor:flyteidl.admin.Reason) + SharedDtor(); +} + +void Reason::SharedDtor() { + message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete occurred_at_; +} + +void Reason::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Reason& Reason::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Reason_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); + return *internal_default_instance(); +} + + +void Reason::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Reason) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && occurred_at_ != nullptr) { + delete occurred_at_; + } + occurred_at_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Reason::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .google.protobuf.Timestamp occurred_at = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_occurred_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string message = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.Reason.message"); + object = msg->mutable_message(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Reason::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.Reason) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .google.protobuf.Timestamp occurred_at = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_occurred_at())); + } else { + goto handle_unusual; + } + break; + } + + // string message = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.Reason.message")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.Reason) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.Reason) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Reason::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.Reason) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .google.protobuf.Timestamp occurred_at = 1; + if (this->has_occurred_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::occurred_at(this), output); + } + + // string message = 2; + if (this->message().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.Reason.message"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->message(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.Reason) +} + +::google::protobuf::uint8* Reason::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Reason) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .google.protobuf.Timestamp occurred_at = 1; + if (this->has_occurred_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::occurred_at(this), target); + } + + // string message = 2; + if (this->message().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.Reason.message"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->message(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Reason) + return target; +} + +size_t Reason::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Reason) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string message = 2; + if (this->message().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + // .google.protobuf.Timestamp occurred_at = 1; + if (this->has_occurred_at()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *occurred_at_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Reason::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Reason) + GOOGLE_DCHECK_NE(&from, this); + const Reason* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Reason) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Reason) + MergeFrom(*source); + } +} + +void Reason::MergeFrom(const Reason& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Reason) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.message().size() > 0) { + + message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); + } + if (from.has_occurred_at()) { + mutable_occurred_at()->::google::protobuf::Timestamp::MergeFrom(from.occurred_at()); + } +} + +void Reason::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Reason) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Reason::CopyFrom(const Reason& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Reason) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Reason::IsInitialized() const { + return true; +} + +void Reason::Swap(Reason* other) { + if (other == this) return; + InternalSwap(other); +} +void Reason::InternalSwap(Reason* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(occurred_at_, other->occurred_at_); +} + +::google::protobuf::Metadata Reason::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2ftask_5fexecution_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2ftask_5fexecution_2eproto[kIndexInFileMessages]; +} + + // =================================================================== void TaskExecutionGetDataRequest::InitAsDefaultInstance() { @@ -3592,6 +4061,8 @@ void TaskExecutionGetDataResponse::InitAsDefaultInstance() { ::flyteidl::core::LiteralMap::internal_default_instance()); ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->full_outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::admin::_TaskExecutionGetDataResponse_default_instance_._instance.get_mutable()->flyte_urls_ = const_cast< ::flyteidl::admin::FlyteURLs*>( + ::flyteidl::admin::FlyteURLs::internal_default_instance()); } class TaskExecutionGetDataResponse::HasBitSetters { public: @@ -3599,6 +4070,7 @@ class TaskExecutionGetDataResponse::HasBitSetters { static const ::flyteidl::admin::UrlBlob& outputs(const TaskExecutionGetDataResponse* msg); static const ::flyteidl::core::LiteralMap& full_inputs(const TaskExecutionGetDataResponse* msg); static const ::flyteidl::core::LiteralMap& full_outputs(const TaskExecutionGetDataResponse* msg); + static const ::flyteidl::admin::FlyteURLs& flyte_urls(const TaskExecutionGetDataResponse* msg); }; const ::flyteidl::admin::UrlBlob& @@ -3617,6 +4089,10 @@ const ::flyteidl::core::LiteralMap& TaskExecutionGetDataResponse::HasBitSetters::full_outputs(const TaskExecutionGetDataResponse* msg) { return *msg->full_outputs_; } +const ::flyteidl::admin::FlyteURLs& +TaskExecutionGetDataResponse::HasBitSetters::flyte_urls(const TaskExecutionGetDataResponse* msg) { + return *msg->flyte_urls_; +} void TaskExecutionGetDataResponse::clear_inputs() { if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { delete inputs_; @@ -3641,11 +4117,18 @@ void TaskExecutionGetDataResponse::clear_full_outputs() { } full_outputs_ = nullptr; } +void TaskExecutionGetDataResponse::clear_flyte_urls() { + if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { + delete flyte_urls_; + } + flyte_urls_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int TaskExecutionGetDataResponse::kInputsFieldNumber; const int TaskExecutionGetDataResponse::kOutputsFieldNumber; const int TaskExecutionGetDataResponse::kFullInputsFieldNumber; const int TaskExecutionGetDataResponse::kFullOutputsFieldNumber; +const int TaskExecutionGetDataResponse::kFlyteUrlsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 TaskExecutionGetDataResponse::TaskExecutionGetDataResponse() @@ -3677,6 +4160,11 @@ TaskExecutionGetDataResponse::TaskExecutionGetDataResponse(const TaskExecutionGe } else { full_outputs_ = nullptr; } + if (from.has_flyte_urls()) { + flyte_urls_ = new ::flyteidl::admin::FlyteURLs(*from.flyte_urls_); + } else { + flyte_urls_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskExecutionGetDataResponse) } @@ -3684,8 +4172,8 @@ void TaskExecutionGetDataResponse::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_TaskExecutionGetDataResponse_flyteidl_2fadmin_2ftask_5fexecution_2eproto.base); ::memset(&inputs_, 0, static_cast( - reinterpret_cast(&full_outputs_) - - reinterpret_cast(&inputs_)) + sizeof(full_outputs_)); + reinterpret_cast(&flyte_urls_) - + reinterpret_cast(&inputs_)) + sizeof(flyte_urls_)); } TaskExecutionGetDataResponse::~TaskExecutionGetDataResponse() { @@ -3698,6 +4186,7 @@ void TaskExecutionGetDataResponse::SharedDtor() { if (this != internal_default_instance()) delete outputs_; if (this != internal_default_instance()) delete full_inputs_; if (this != internal_default_instance()) delete full_outputs_; + if (this != internal_default_instance()) delete flyte_urls_; } void TaskExecutionGetDataResponse::SetCachedSize(int size) const { @@ -3731,6 +4220,10 @@ void TaskExecutionGetDataResponse::Clear() { delete full_outputs_; } full_outputs_ = nullptr; + if (GetArenaNoVirtual() == nullptr && flyte_urls_ != nullptr) { + delete flyte_urls_; + } + flyte_urls_ = nullptr; _internal_metadata_.Clear(); } @@ -3799,6 +4292,19 @@ const char* TaskExecutionGetDataResponse::_InternalParse(const char* begin, cons {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::FlyteURLs::_InternalParse; + object = msg->mutable_flyte_urls(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -3873,6 +4379,17 @@ bool TaskExecutionGetDataResponse::MergePartialFromCodedStream( break; } + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_flyte_urls())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -3924,6 +4441,12 @@ void TaskExecutionGetDataResponse::SerializeWithCachedSizes( 4, HasBitSetters::full_outputs(this), output); } + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + if (this->has_flyte_urls()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::flyte_urls(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -3965,6 +4488,13 @@ ::google::protobuf::uint8* TaskExecutionGetDataResponse::InternalSerializeWithCa 4, HasBitSetters::full_outputs(this), target); } + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + if (this->has_flyte_urls()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::flyte_urls(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4014,6 +4544,13 @@ size_t TaskExecutionGetDataResponse::ByteSizeLong() const { *full_outputs_); } + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + if (this->has_flyte_urls()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *flyte_urls_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -4053,6 +4590,9 @@ void TaskExecutionGetDataResponse::MergeFrom(const TaskExecutionGetDataResponse& if (from.has_full_outputs()) { mutable_full_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.full_outputs()); } + if (from.has_flyte_urls()) { + mutable_flyte_urls()->::flyteidl::admin::FlyteURLs::MergeFrom(from.flyte_urls()); + } } void TaskExecutionGetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { @@ -4084,6 +4624,7 @@ void TaskExecutionGetDataResponse::InternalSwap(TaskExecutionGetDataResponse* ot swap(outputs_, other->outputs_); swap(full_inputs_, other->full_inputs_); swap(full_outputs_, other->full_outputs_); + swap(flyte_urls_, other->flyte_urls_); } ::google::protobuf::Metadata TaskExecutionGetDataResponse::GetMetadata() const { @@ -4112,6 +4653,9 @@ template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionList* Arena::Create template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionClosure* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionClosure >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionClosure >(arena); } +template<> PROTOBUF_NOINLINE ::flyteidl::admin::Reason* Arena::CreateMaybeMessage< ::flyteidl::admin::Reason >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::Reason >(arena); +} template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskExecutionGetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskExecutionGetDataRequest >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::TaskExecutionGetDataRequest >(arena); } diff --git a/gen/pb-cpp/flyteidl/admin/task_execution.pb.h b/gen/pb-cpp/flyteidl/admin/task_execution.pb.h index 32c81855f..f792f0bb9 100644 --- a/gen/pb-cpp/flyteidl/admin/task_execution.pb.h +++ b/gen/pb-cpp/flyteidl/admin/task_execution.pb.h @@ -49,7 +49,7 @@ struct TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[7] + static const ::google::protobuf::internal::ParseTable schema[8] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -58,6 +58,9 @@ struct TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto { void AddDescriptors_flyteidl_2fadmin_2ftask_5fexecution_2eproto(); namespace flyteidl { namespace admin { +class Reason; +class ReasonDefaultTypeInternal; +extern ReasonDefaultTypeInternal _Reason_default_instance_; class TaskExecution; class TaskExecutionDefaultTypeInternal; extern TaskExecutionDefaultTypeInternal _TaskExecution_default_instance_; @@ -83,6 +86,7 @@ extern TaskExecutionListRequestDefaultTypeInternal _TaskExecutionListRequest_def } // namespace flyteidl namespace google { namespace protobuf { +template<> ::flyteidl::admin::Reason* Arena::CreateMaybeMessage<::flyteidl::admin::Reason>(Arena*); template<> ::flyteidl::admin::TaskExecution* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecution>(Arena*); template<> ::flyteidl::admin::TaskExecutionClosure* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionClosure>(Arena*); template<> ::flyteidl::admin::TaskExecutionGetDataRequest* Arena::CreateMaybeMessage<::flyteidl::admin::TaskExecutionGetDataRequest>(Arena*); @@ -768,6 +772,18 @@ class TaskExecutionClosure final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog >& logs() const; + // repeated .flyteidl.admin.Reason reasons = 18; + int reasons_size() const; + void clear_reasons(); + static const int kReasonsFieldNumber = 18; + ::flyteidl::admin::Reason* mutable_reasons(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >* + mutable_reasons(); + const ::flyteidl::admin::Reason& reasons(int index) const; + ::flyteidl::admin::Reason* add_reasons(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >& + reasons() const; + // string reason = 10; void clear_reason(); static const int kReasonFieldNumber = 10; @@ -911,6 +927,7 @@ class TaskExecutionClosure final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::flyteidl::core::TaskLog > logs_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason > reasons_; ::google::protobuf::internal::ArenaStringPtr reason_; ::google::protobuf::internal::ArenaStringPtr task_type_; ::google::protobuf::Timestamp* started_at_; @@ -934,6 +951,136 @@ class TaskExecutionClosure final : }; // ------------------------------------------------------------------- +class Reason final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Reason) */ { + public: + Reason(); + virtual ~Reason(); + + Reason(const Reason& from); + + inline Reason& operator=(const Reason& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Reason(Reason&& from) noexcept + : Reason() { + *this = ::std::move(from); + } + + inline Reason& operator=(Reason&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Reason& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Reason* internal_default_instance() { + return reinterpret_cast( + &_Reason_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(Reason* other); + friend void swap(Reason& a, Reason& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Reason* New() const final { + return CreateMaybeMessage(nullptr); + } + + Reason* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Reason& from); + void MergeFrom(const Reason& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Reason* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string message = 2; + void clear_message(); + static const int kMessageFieldNumber = 2; + const ::std::string& message() const; + void set_message(const ::std::string& value); + #if LANG_CXX11 + void set_message(::std::string&& value); + #endif + void set_message(const char* value); + void set_message(const char* value, size_t size); + ::std::string* mutable_message(); + ::std::string* release_message(); + void set_allocated_message(::std::string* message); + + // .google.protobuf.Timestamp occurred_at = 1; + bool has_occurred_at() const; + void clear_occurred_at(); + static const int kOccurredAtFieldNumber = 1; + const ::google::protobuf::Timestamp& occurred_at() const; + ::google::protobuf::Timestamp* release_occurred_at(); + ::google::protobuf::Timestamp* mutable_occurred_at(); + void set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Reason) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr message_; + ::google::protobuf::Timestamp* occurred_at_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; +}; +// ------------------------------------------------------------------- + class TaskExecutionGetDataRequest final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskExecutionGetDataRequest) */ { public: @@ -972,7 +1119,7 @@ class TaskExecutionGetDataRequest final : &_TaskExecutionGetDataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 6; void Swap(TaskExecutionGetDataRequest* other); friend void swap(TaskExecutionGetDataRequest& a, TaskExecutionGetDataRequest& b) { @@ -1087,7 +1234,7 @@ class TaskExecutionGetDataResponse final : &_TaskExecutionGetDataResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 6; + 7; void Swap(TaskExecutionGetDataResponse* other); friend void swap(TaskExecutionGetDataResponse& a, TaskExecutionGetDataResponse& b) { @@ -1180,6 +1327,15 @@ class TaskExecutionGetDataResponse final : ::flyteidl::core::LiteralMap* mutable_full_outputs(); void set_allocated_full_outputs(::flyteidl::core::LiteralMap* full_outputs); + // .flyteidl.admin.FlyteURLs flyte_urls = 5; + bool has_flyte_urls() const; + void clear_flyte_urls(); + static const int kFlyteUrlsFieldNumber = 5; + const ::flyteidl::admin::FlyteURLs& flyte_urls() const; + ::flyteidl::admin::FlyteURLs* release_flyte_urls(); + ::flyteidl::admin::FlyteURLs* mutable_flyte_urls(); + void set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls); + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataResponse) private: class HasBitSetters; @@ -1189,6 +1345,7 @@ class TaskExecutionGetDataResponse final : ::flyteidl::admin::UrlBlob* outputs_; ::flyteidl::core::LiteralMap* full_inputs_; ::flyteidl::core::LiteralMap* full_outputs_; + ::flyteidl::admin::FlyteURLs* flyte_urls_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2ftask_5fexecution_2eproto; }; @@ -2318,6 +2475,36 @@ inline void TaskExecutionClosure::set_event_version(::google::protobuf::int32 va // @@protoc_insertion_point(field_set:flyteidl.admin.TaskExecutionClosure.event_version) } +// repeated .flyteidl.admin.Reason reasons = 18; +inline int TaskExecutionClosure::reasons_size() const { + return reasons_.size(); +} +inline void TaskExecutionClosure::clear_reasons() { + reasons_.Clear(); +} +inline ::flyteidl::admin::Reason* TaskExecutionClosure::mutable_reasons(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionClosure.reasons) + return reasons_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >* +TaskExecutionClosure::mutable_reasons() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.TaskExecutionClosure.reasons) + return &reasons_; +} +inline const ::flyteidl::admin::Reason& TaskExecutionClosure::reasons(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionClosure.reasons) + return reasons_.Get(index); +} +inline ::flyteidl::admin::Reason* TaskExecutionClosure::add_reasons() { + // @@protoc_insertion_point(field_add:flyteidl.admin.TaskExecutionClosure.reasons) + return reasons_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::admin::Reason >& +TaskExecutionClosure::reasons() const { + // @@protoc_insertion_point(field_list:flyteidl.admin.TaskExecutionClosure.reasons) + return reasons_; +} + inline bool TaskExecutionClosure::has_output_result() const { return output_result_case() != OUTPUT_RESULT_NOT_SET; } @@ -2329,6 +2516,109 @@ inline TaskExecutionClosure::OutputResultCase TaskExecutionClosure::output_resul } // ------------------------------------------------------------------- +// Reason + +// .google.protobuf.Timestamp occurred_at = 1; +inline bool Reason::has_occurred_at() const { + return this != internal_default_instance() && occurred_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& Reason::occurred_at() const { + const ::google::protobuf::Timestamp* p = occurred_at_; + // @@protoc_insertion_point(field_get:flyteidl.admin.Reason.occurred_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* Reason::release_occurred_at() { + // @@protoc_insertion_point(field_release:flyteidl.admin.Reason.occurred_at) + + ::google::protobuf::Timestamp* temp = occurred_at_; + occurred_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Reason::mutable_occurred_at() { + + if (occurred_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + occurred_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.Reason.occurred_at) + return occurred_at_; +} +inline void Reason::set_allocated_occurred_at(::google::protobuf::Timestamp* occurred_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(occurred_at_); + } + if (occurred_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(occurred_at)->GetArena(); + if (message_arena != submessage_arena) { + occurred_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, occurred_at, submessage_arena); + } + + } else { + + } + occurred_at_ = occurred_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Reason.occurred_at) +} + +// string message = 2; +inline void Reason::clear_message() { + message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& Reason::message() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.Reason.message) + return message_.GetNoArena(); +} +inline void Reason::set_message(const ::std::string& value) { + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.Reason.message) +} +#if LANG_CXX11 +inline void Reason::set_message(::std::string&& value) { + + message_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.Reason.message) +} +#endif +inline void Reason::set_message(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.Reason.message) +} +inline void Reason::set_message(const char* value, size_t size) { + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.Reason.message) +} +inline ::std::string* Reason::mutable_message() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.Reason.message) + return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* Reason::release_message() { + // @@protoc_insertion_point(field_release:flyteidl.admin.Reason.message) + + return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void Reason::set_allocated_message(::std::string* message) { + if (message != nullptr) { + + } else { + + } + message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Reason.message) +} + +// ------------------------------------------------------------------- + // TaskExecutionGetDataRequest // .flyteidl.core.TaskExecutionIdentifier id = 1; @@ -2560,6 +2850,51 @@ inline void TaskExecutionGetDataResponse::set_allocated_full_outputs(::flyteidl: // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.full_outputs) } +// .flyteidl.admin.FlyteURLs flyte_urls = 5; +inline bool TaskExecutionGetDataResponse::has_flyte_urls() const { + return this != internal_default_instance() && flyte_urls_ != nullptr; +} +inline const ::flyteidl::admin::FlyteURLs& TaskExecutionGetDataResponse::flyte_urls() const { + const ::flyteidl::admin::FlyteURLs* p = flyte_urls_; + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_FlyteURLs_default_instance_); +} +inline ::flyteidl::admin::FlyteURLs* TaskExecutionGetDataResponse::release_flyte_urls() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) + + ::flyteidl::admin::FlyteURLs* temp = flyte_urls_; + flyte_urls_ = nullptr; + return temp; +} +inline ::flyteidl::admin::FlyteURLs* TaskExecutionGetDataResponse::mutable_flyte_urls() { + + if (flyte_urls_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::FlyteURLs>(GetArenaNoVirtual()); + flyte_urls_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) + return flyte_urls_; +} +inline void TaskExecutionGetDataResponse::set_allocated_flyte_urls(::flyteidl::admin::FlyteURLs* flyte_urls) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(flyte_urls_); + } + if (flyte_urls) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + flyte_urls = ::google::protobuf::internal::GetOwnedMessage( + message_arena, flyte_urls, submessage_arena); + } + + } else { + + } + flyte_urls_ = flyte_urls; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -2575,6 +2910,8 @@ inline void TaskExecutionGetDataResponse::set_allocated_full_outputs(::flyteidl: // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc b/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc new file mode 100644 index 000000000..e48bb1256 --- /dev/null +++ b/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/core/metrics.proto + +#include "flyteidl/core/metrics.pb.h" +#include "flyteidl/core/metrics.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace core { + +} // namespace flyteidl +} // namespace core + diff --git a/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h b/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h new file mode 100644 index 000000000..1bd56797b --- /dev/null +++ b/gen/pb-cpp/flyteidl/core/metrics.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/core/metrics.proto +#ifndef GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED +#define GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED + +#include "flyteidl/core/metrics.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace core { + +} // namespace core +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fcore_2fmetrics_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/core/metrics.pb.cc b/gen/pb-cpp/flyteidl/core/metrics.pb.cc new file mode 100644 index 000000000..703bda83c --- /dev/null +++ b/gen/pb-cpp/flyteidl/core/metrics.pb.cc @@ -0,0 +1,930 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/metrics.proto + +#include "flyteidl/core/metrics.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; +namespace flyteidl { +namespace core { +class SpanDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::WorkflowExecutionIdentifier* workflow_id_; + const ::flyteidl::core::NodeExecutionIdentifier* node_id_; + const ::flyteidl::core::TaskExecutionIdentifier* task_id_; + ::google::protobuf::internal::ArenaStringPtr operation_id_; +} _Span_default_instance_; +} // namespace core +} // namespace flyteidl +static void InitDefaultsSpan_flyteidl_2fcore_2fmetrics_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Span_default_instance_; + new (ptr) ::flyteidl::core::Span(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::Span::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<4> scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsSpan_flyteidl_2fcore_2fmetrics_2eproto}, { + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +void InitDefaults_flyteidl_2fcore_2fmetrics_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto[1]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fcore_2fmetrics_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2fmetrics_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fmetrics_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, start_time_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, end_time_), + offsetof(::flyteidl::core::SpanDefaultTypeInternal, workflow_id_), + offsetof(::flyteidl::core::SpanDefaultTypeInternal, node_id_), + offsetof(::flyteidl::core::SpanDefaultTypeInternal, task_id_), + offsetof(::flyteidl::core::SpanDefaultTypeInternal, operation_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, spans_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Span, id_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::core::Span)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::core::_Span_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto = { + {}, AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto, "flyteidl/core/metrics.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fcore_2fmetrics_2eproto::offsets, + file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto, 1, file_level_enum_descriptors_flyteidl_2fcore_2fmetrics_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fmetrics_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fcore_2fmetrics_2eproto[] = + "\n\033flyteidl/core/metrics.proto\022\rflyteidl." + "core\032\036flyteidl/core/identifier.proto\032\037go" + "ogle/protobuf/timestamp.proto\"\337\002\n\004Span\022." + "\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Tim" + "estamp\022,\n\010end_time\030\002 \001(\0132\032.google.protob" + "uf.Timestamp\022A\n\013workflow_id\030\003 \001(\0132*.flyt" + "eidl.core.WorkflowExecutionIdentifierH\000\022" + "9\n\007node_id\030\004 \001(\0132&.flyteidl.core.NodeExe" + "cutionIdentifierH\000\0229\n\007task_id\030\005 \001(\0132&.fl" + "yteidl.core.TaskExecutionIdentifierH\000\022\026\n" + "\014operation_id\030\006 \001(\tH\000\022\"\n\005spans\030\007 \003(\0132\023.f" + "lyteidl.core.SpanB\004\n\002idB6Z4github.com/fl" + "yteorg/flyteidl/gen/pb-go/flyteidl/coreb" + "\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fcore_2fmetrics_2eproto = { + false, InitDefaults_flyteidl_2fcore_2fmetrics_2eproto, + descriptor_table_protodef_flyteidl_2fcore_2fmetrics_2eproto, + "flyteidl/core/metrics.proto", &assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto, 527, +}; + +void AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[2] = + { + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fcore_2fmetrics_2eproto, deps, 2); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fcore_2fmetrics_2eproto = []() { AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto(); return true; }(); +namespace flyteidl { +namespace core { + +// =================================================================== + +void Span::InitAsDefaultInstance() { + ::flyteidl::core::_Span_default_instance_._instance.get_mutable()->start_time_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::core::_Span_default_instance_._instance.get_mutable()->end_time_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::core::_Span_default_instance_.workflow_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); + ::flyteidl::core::_Span_default_instance_.node_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( + ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); + ::flyteidl::core::_Span_default_instance_.task_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( + ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); + ::flyteidl::core::_Span_default_instance_.operation_id_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +class Span::HasBitSetters { + public: + static const ::google::protobuf::Timestamp& start_time(const Span* msg); + static const ::google::protobuf::Timestamp& end_time(const Span* msg); + static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_id(const Span* msg); + static const ::flyteidl::core::NodeExecutionIdentifier& node_id(const Span* msg); + static const ::flyteidl::core::TaskExecutionIdentifier& task_id(const Span* msg); +}; + +const ::google::protobuf::Timestamp& +Span::HasBitSetters::start_time(const Span* msg) { + return *msg->start_time_; +} +const ::google::protobuf::Timestamp& +Span::HasBitSetters::end_time(const Span* msg) { + return *msg->end_time_; +} +const ::flyteidl::core::WorkflowExecutionIdentifier& +Span::HasBitSetters::workflow_id(const Span* msg) { + return *msg->id_.workflow_id_; +} +const ::flyteidl::core::NodeExecutionIdentifier& +Span::HasBitSetters::node_id(const Span* msg) { + return *msg->id_.node_id_; +} +const ::flyteidl::core::TaskExecutionIdentifier& +Span::HasBitSetters::task_id(const Span* msg) { + return *msg->id_.task_id_; +} +void Span::clear_start_time() { + if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { + delete start_time_; + } + start_time_ = nullptr; +} +void Span::clear_end_time() { + if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { + delete end_time_; + } + end_time_ = nullptr; +} +void Span::set_allocated_workflow_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_id(); + if (workflow_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_id, submessage_arena); + } + set_has_workflow_id(); + id_.workflow_id_ = workflow_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.workflow_id) +} +void Span::clear_workflow_id() { + if (has_workflow_id()) { + delete id_.workflow_id_; + clear_has_id(); + } +} +void Span::set_allocated_node_id(::flyteidl::core::NodeExecutionIdentifier* node_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_id(); + if (node_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + node_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, node_id, submessage_arena); + } + set_has_node_id(); + id_.node_id_ = node_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.node_id) +} +void Span::clear_node_id() { + if (has_node_id()) { + delete id_.node_id_; + clear_has_id(); + } +} +void Span::set_allocated_task_id(::flyteidl::core::TaskExecutionIdentifier* task_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_id(); + if (task_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_id, submessage_arena); + } + set_has_task_id(); + id_.task_id_ = task_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.task_id) +} +void Span::clear_task_id() { + if (has_task_id()) { + delete id_.task_id_; + clear_has_id(); + } +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Span::kStartTimeFieldNumber; +const int Span::kEndTimeFieldNumber; +const int Span::kWorkflowIdFieldNumber; +const int Span::kNodeIdFieldNumber; +const int Span::kTaskIdFieldNumber; +const int Span::kOperationIdFieldNumber; +const int Span::kSpansFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Span::Span() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.Span) +} +Span::Span(const Span& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + spans_(from.spans_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_start_time()) { + start_time_ = new ::google::protobuf::Timestamp(*from.start_time_); + } else { + start_time_ = nullptr; + } + if (from.has_end_time()) { + end_time_ = new ::google::protobuf::Timestamp(*from.end_time_); + } else { + end_time_ = nullptr; + } + clear_has_id(); + switch (from.id_case()) { + case kWorkflowId: { + mutable_workflow_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_id()); + break; + } + case kNodeId: { + mutable_node_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_id()); + break; + } + case kTaskId: { + mutable_task_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_id()); + break; + } + case kOperationId: { + set_operation_id(from.operation_id()); + break; + } + case ID_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.Span) +} + +void Span::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); + ::memset(&start_time_, 0, static_cast( + reinterpret_cast(&end_time_) - + reinterpret_cast(&start_time_)) + sizeof(end_time_)); + clear_has_id(); +} + +Span::~Span() { + // @@protoc_insertion_point(destructor:flyteidl.core.Span) + SharedDtor(); +} + +void Span::SharedDtor() { + if (this != internal_default_instance()) delete start_time_; + if (this != internal_default_instance()) delete end_time_; + if (has_id()) { + clear_id(); + } +} + +void Span::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Span& Span::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Span_flyteidl_2fcore_2fmetrics_2eproto.base); + return *internal_default_instance(); +} + + +void Span::clear_id() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.Span) + switch (id_case()) { + case kWorkflowId: { + delete id_.workflow_id_; + break; + } + case kNodeId: { + delete id_.node_id_; + break; + } + case kTaskId: { + delete id_.task_id_; + break; + } + case kOperationId: { + id_.operation_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case ID_NOT_SET: { + break; + } + } + _oneof_case_[0] = ID_NOT_SET; +} + + +void Span::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.Span) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + spans_.Clear(); + if (GetArenaNoVirtual() == nullptr && start_time_ != nullptr) { + delete start_time_; + } + start_time_ = nullptr; + if (GetArenaNoVirtual() == nullptr && end_time_ != nullptr) { + delete end_time_; + } + end_time_ = nullptr; + clear_id(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Span::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .google.protobuf.Timestamp start_time = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_start_time(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .google.protobuf.Timestamp end_time = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_end_time(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_workflow_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::NodeExecutionIdentifier::_InternalParse; + object = msg->mutable_node_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::TaskExecutionIdentifier::_InternalParse; + object = msg->mutable_task_id(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string operation_id = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.Span.operation_id"); + object = msg->mutable_operation_id(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // repeated .flyteidl.core.Span spans = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Span::_InternalParse; + object = msg->add_spans(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 58 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Span::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.core.Span) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .google.protobuf.Timestamp start_time = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_start_time())); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Timestamp end_time = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_end_time())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_node_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_id())); + } else { + goto handle_unusual; + } + break; + } + + // string operation_id = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_operation_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->operation_id().data(), static_cast(this->operation_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Span.operation_id")); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.Span spans = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_spans())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.core.Span) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.Span) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Span::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.Span) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .google.protobuf.Timestamp start_time = 1; + if (this->has_start_time()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::start_time(this), output); + } + + // .google.protobuf.Timestamp end_time = 2; + if (this->has_end_time()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::end_time(this), output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + if (has_workflow_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::workflow_id(this), output); + } + + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + if (has_node_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::node_id(this), output); + } + + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + if (has_task_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::task_id(this), output); + } + + // string operation_id = 6; + if (has_operation_id()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->operation_id().data(), static_cast(this->operation_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Span.operation_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->operation_id(), output); + } + + // repeated .flyteidl.core.Span spans = 7; + for (unsigned int i = 0, + n = static_cast(this->spans_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, + this->spans(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.Span) +} + +::google::protobuf::uint8* Span::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Span) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .google.protobuf.Timestamp start_time = 1; + if (this->has_start_time()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::start_time(this), target); + } + + // .google.protobuf.Timestamp end_time = 2; + if (this->has_end_time()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::end_time(this), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + if (has_workflow_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::workflow_id(this), target); + } + + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + if (has_node_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::node_id(this), target); + } + + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + if (has_task_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::task_id(this), target); + } + + // string operation_id = 6; + if (has_operation_id()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->operation_id().data(), static_cast(this->operation_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Span.operation_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->operation_id(), target); + } + + // repeated .flyteidl.core.Span spans = 7; + for (unsigned int i = 0, + n = static_cast(this->spans_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, this->spans(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.core.Span) + return target; +} + +size_t Span::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Span) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .flyteidl.core.Span spans = 7; + { + unsigned int count = static_cast(this->spans_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->spans(static_cast(i))); + } + } + + // .google.protobuf.Timestamp start_time = 1; + if (this->has_start_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *start_time_); + } + + // .google.protobuf.Timestamp end_time = 2; + if (this->has_end_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *end_time_); + } + + switch (id_case()) { + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + case kWorkflowId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *id_.workflow_id_); + break; + } + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + case kNodeId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *id_.node_id_); + break; + } + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + case kTaskId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *id_.task_id_); + break; + } + // string operation_id = 6; + case kOperationId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->operation_id()); + break; + } + case ID_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Span::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Span) + GOOGLE_DCHECK_NE(&from, this); + const Span* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Span) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Span) + MergeFrom(*source); + } +} + +void Span::MergeFrom(const Span& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Span) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + spans_.MergeFrom(from.spans_); + if (from.has_start_time()) { + mutable_start_time()->::google::protobuf::Timestamp::MergeFrom(from.start_time()); + } + if (from.has_end_time()) { + mutable_end_time()->::google::protobuf::Timestamp::MergeFrom(from.end_time()); + } + switch (from.id_case()) { + case kWorkflowId: { + mutable_workflow_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_id()); + break; + } + case kNodeId: { + mutable_node_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_id()); + break; + } + case kTaskId: { + mutable_task_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_id()); + break; + } + case kOperationId: { + set_operation_id(from.operation_id()); + break; + } + case ID_NOT_SET: { + break; + } + } +} + +void Span::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Span) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Span::CopyFrom(const Span& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Span) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Span::IsInitialized() const { + return true; +} + +void Span::Swap(Span* other) { + if (other == this) return; + InternalSwap(other); +} +void Span::InternalSwap(Span* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&spans_)->InternalSwap(CastToBase(&other->spans_)); + swap(start_time_, other->start_time_); + swap(end_time_, other->end_time_); + swap(id_, other->id_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata Span::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2fmetrics_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2fmetrics_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace core +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::core::Span* Arena::CreateMaybeMessage< ::flyteidl::core::Span >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Span >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/core/metrics.pb.h b/gen/pb-cpp/flyteidl/core/metrics.pb.h new file mode 100644 index 000000000..c19d6f944 --- /dev/null +++ b/gen/pb-cpp/flyteidl/core/metrics.pb.h @@ -0,0 +1,627 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/metrics.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "flyteidl/core/identifier.pb.h" +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fmetrics_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fcore_2fmetrics_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[1] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fcore_2fmetrics_2eproto(); +namespace flyteidl { +namespace core { +class Span; +class SpanDefaultTypeInternal; +extern SpanDefaultTypeInternal _Span_default_instance_; +} // namespace core +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::core::Span* Arena::CreateMaybeMessage<::flyteidl::core::Span>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace core { + +// =================================================================== + +class Span final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Span) */ { + public: + Span(); + virtual ~Span(); + + Span(const Span& from); + + inline Span& operator=(const Span& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Span(Span&& from) noexcept + : Span() { + *this = ::std::move(from); + } + + inline Span& operator=(Span&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Span& default_instance(); + + enum IdCase { + kWorkflowId = 3, + kNodeId = 4, + kTaskId = 5, + kOperationId = 6, + ID_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Span* internal_default_instance() { + return reinterpret_cast( + &_Span_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(Span* other); + friend void swap(Span& a, Span& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Span* New() const final { + return CreateMaybeMessage(nullptr); + } + + Span* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Span& from); + void MergeFrom(const Span& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Span* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .flyteidl.core.Span spans = 7; + int spans_size() const; + void clear_spans(); + static const int kSpansFieldNumber = 7; + ::flyteidl::core::Span* mutable_spans(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >* + mutable_spans(); + const ::flyteidl::core::Span& spans(int index) const; + ::flyteidl::core::Span* add_spans(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >& + spans() const; + + // .google.protobuf.Timestamp start_time = 1; + bool has_start_time() const; + void clear_start_time(); + static const int kStartTimeFieldNumber = 1; + const ::google::protobuf::Timestamp& start_time() const; + ::google::protobuf::Timestamp* release_start_time(); + ::google::protobuf::Timestamp* mutable_start_time(); + void set_allocated_start_time(::google::protobuf::Timestamp* start_time); + + // .google.protobuf.Timestamp end_time = 2; + bool has_end_time() const; + void clear_end_time(); + static const int kEndTimeFieldNumber = 2; + const ::google::protobuf::Timestamp& end_time() const; + ::google::protobuf::Timestamp* release_end_time(); + ::google::protobuf::Timestamp* mutable_end_time(); + void set_allocated_end_time(::google::protobuf::Timestamp* end_time); + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + bool has_workflow_id() const; + void clear_workflow_id(); + static const int kWorkflowIdFieldNumber = 3; + const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_workflow_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_workflow_id(); + void set_allocated_workflow_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_id); + + // .flyteidl.core.NodeExecutionIdentifier node_id = 4; + bool has_node_id() const; + void clear_node_id(); + static const int kNodeIdFieldNumber = 4; + const ::flyteidl::core::NodeExecutionIdentifier& node_id() const; + ::flyteidl::core::NodeExecutionIdentifier* release_node_id(); + ::flyteidl::core::NodeExecutionIdentifier* mutable_node_id(); + void set_allocated_node_id(::flyteidl::core::NodeExecutionIdentifier* node_id); + + // .flyteidl.core.TaskExecutionIdentifier task_id = 5; + bool has_task_id() const; + void clear_task_id(); + static const int kTaskIdFieldNumber = 5; + const ::flyteidl::core::TaskExecutionIdentifier& task_id() const; + ::flyteidl::core::TaskExecutionIdentifier* release_task_id(); + ::flyteidl::core::TaskExecutionIdentifier* mutable_task_id(); + void set_allocated_task_id(::flyteidl::core::TaskExecutionIdentifier* task_id); + + // string operation_id = 6; + private: + bool has_operation_id() const; + public: + void clear_operation_id(); + static const int kOperationIdFieldNumber = 6; + const ::std::string& operation_id() const; + void set_operation_id(const ::std::string& value); + #if LANG_CXX11 + void set_operation_id(::std::string&& value); + #endif + void set_operation_id(const char* value); + void set_operation_id(const char* value, size_t size); + ::std::string* mutable_operation_id(); + ::std::string* release_operation_id(); + void set_allocated_operation_id(::std::string* operation_id); + + void clear_id(); + IdCase id_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.Span) + private: + class HasBitSetters; + void set_has_workflow_id(); + void set_has_node_id(); + void set_has_task_id(); + void set_has_operation_id(); + + inline bool has_id() const; + inline void clear_has_id(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span > spans_; + ::google::protobuf::Timestamp* start_time_; + ::google::protobuf::Timestamp* end_time_; + union IdUnion { + IdUnion() {} + ::flyteidl::core::WorkflowExecutionIdentifier* workflow_id_; + ::flyteidl::core::NodeExecutionIdentifier* node_id_; + ::flyteidl::core::TaskExecutionIdentifier* task_id_; + ::google::protobuf::internal::ArenaStringPtr operation_id_; + } id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fcore_2fmetrics_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Span + +// .google.protobuf.Timestamp start_time = 1; +inline bool Span::has_start_time() const { + return this != internal_default_instance() && start_time_ != nullptr; +} +inline const ::google::protobuf::Timestamp& Span::start_time() const { + const ::google::protobuf::Timestamp* p = start_time_; + // @@protoc_insertion_point(field_get:flyteidl.core.Span.start_time) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* Span::release_start_time() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.start_time) + + ::google::protobuf::Timestamp* temp = start_time_; + start_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Span::mutable_start_time() { + + if (start_time_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + start_time_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.start_time) + return start_time_; +} +inline void Span::set_allocated_start_time(::google::protobuf::Timestamp* start_time) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(start_time_); + } + if (start_time) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(start_time)->GetArena(); + if (message_arena != submessage_arena) { + start_time = ::google::protobuf::internal::GetOwnedMessage( + message_arena, start_time, submessage_arena); + } + + } else { + + } + start_time_ = start_time; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.start_time) +} + +// .google.protobuf.Timestamp end_time = 2; +inline bool Span::has_end_time() const { + return this != internal_default_instance() && end_time_ != nullptr; +} +inline const ::google::protobuf::Timestamp& Span::end_time() const { + const ::google::protobuf::Timestamp* p = end_time_; + // @@protoc_insertion_point(field_get:flyteidl.core.Span.end_time) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* Span::release_end_time() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.end_time) + + ::google::protobuf::Timestamp* temp = end_time_; + end_time_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Span::mutable_end_time() { + + if (end_time_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + end_time_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.end_time) + return end_time_; +} +inline void Span::set_allocated_end_time(::google::protobuf::Timestamp* end_time) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(end_time_); + } + if (end_time) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(end_time)->GetArena(); + if (message_arena != submessage_arena) { + end_time = ::google::protobuf::internal::GetOwnedMessage( + message_arena, end_time, submessage_arena); + } + + } else { + + } + end_time_ = end_time; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.end_time) +} + +// .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; +inline bool Span::has_workflow_id() const { + return id_case() == kWorkflowId; +} +inline void Span::set_has_workflow_id() { + _oneof_case_[0] = kWorkflowId; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* Span::release_workflow_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.workflow_id) + if (has_workflow_id()) { + clear_has_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* temp = id_.workflow_id_; + id_.workflow_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& Span::workflow_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Span.workflow_id) + return has_workflow_id() + ? *id_.workflow_id_ + : *reinterpret_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>(&::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* Span::mutable_workflow_id() { + if (!has_workflow_id()) { + clear_id(); + set_has_workflow_id(); + id_.workflow_id_ = CreateMaybeMessage< ::flyteidl::core::WorkflowExecutionIdentifier >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.workflow_id) + return id_.workflow_id_; +} + +// .flyteidl.core.NodeExecutionIdentifier node_id = 4; +inline bool Span::has_node_id() const { + return id_case() == kNodeId; +} +inline void Span::set_has_node_id() { + _oneof_case_[0] = kNodeId; +} +inline ::flyteidl::core::NodeExecutionIdentifier* Span::release_node_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.node_id) + if (has_node_id()) { + clear_has_id(); + ::flyteidl::core::NodeExecutionIdentifier* temp = id_.node_id_; + id_.node_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::NodeExecutionIdentifier& Span::node_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Span.node_id) + return has_node_id() + ? *id_.node_id_ + : *reinterpret_cast< ::flyteidl::core::NodeExecutionIdentifier*>(&::flyteidl::core::_NodeExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::NodeExecutionIdentifier* Span::mutable_node_id() { + if (!has_node_id()) { + clear_id(); + set_has_node_id(); + id_.node_id_ = CreateMaybeMessage< ::flyteidl::core::NodeExecutionIdentifier >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.node_id) + return id_.node_id_; +} + +// .flyteidl.core.TaskExecutionIdentifier task_id = 5; +inline bool Span::has_task_id() const { + return id_case() == kTaskId; +} +inline void Span::set_has_task_id() { + _oneof_case_[0] = kTaskId; +} +inline ::flyteidl::core::TaskExecutionIdentifier* Span::release_task_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.task_id) + if (has_task_id()) { + clear_has_id(); + ::flyteidl::core::TaskExecutionIdentifier* temp = id_.task_id_; + id_.task_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::TaskExecutionIdentifier& Span::task_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Span.task_id) + return has_task_id() + ? *id_.task_id_ + : *reinterpret_cast< ::flyteidl::core::TaskExecutionIdentifier*>(&::flyteidl::core::_TaskExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::TaskExecutionIdentifier* Span::mutable_task_id() { + if (!has_task_id()) { + clear_id(); + set_has_task_id(); + id_.task_id_ = CreateMaybeMessage< ::flyteidl::core::TaskExecutionIdentifier >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.task_id) + return id_.task_id_; +} + +// string operation_id = 6; +inline bool Span::has_operation_id() const { + return id_case() == kOperationId; +} +inline void Span::set_has_operation_id() { + _oneof_case_[0] = kOperationId; +} +inline void Span::clear_operation_id() { + if (has_operation_id()) { + id_.operation_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_id(); + } +} +inline const ::std::string& Span::operation_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Span.operation_id) + if (has_operation_id()) { + return id_.operation_id_.GetNoArena(); + } + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void Span::set_operation_id(const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) + if (!has_operation_id()) { + clear_id(); + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) +} +#if LANG_CXX11 +inline void Span::set_operation_id(::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.core.Span.operation_id) + if (!has_operation_id()) { + clear_id(); + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Span.operation_id) +} +#endif +inline void Span::set_operation_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!has_operation_id()) { + clear_id(); + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.Span.operation_id) +} +inline void Span::set_operation_id(const char* value, size_t size) { + if (!has_operation_id()) { + clear_id(); + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + id_.operation_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Span.operation_id) +} +inline ::std::string* Span::mutable_operation_id() { + if (!has_operation_id()) { + clear_id(); + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.operation_id) + return id_.operation_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* Span::release_operation_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Span.operation_id) + if (has_operation_id()) { + clear_has_id(); + return id_.operation_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } else { + return nullptr; + } +} +inline void Span::set_allocated_operation_id(::std::string* operation_id) { + if (has_id()) { + clear_id(); + } + if (operation_id != nullptr) { + set_has_operation_id(); + id_.operation_id_.UnsafeSetDefault(operation_id); + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Span.operation_id) +} + +// repeated .flyteidl.core.Span spans = 7; +inline int Span::spans_size() const { + return spans_.size(); +} +inline void Span::clear_spans() { + spans_.Clear(); +} +inline ::flyteidl::core::Span* Span::mutable_spans(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.core.Span.spans) + return spans_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >* +Span::mutable_spans() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Span.spans) + return &spans_; +} +inline const ::flyteidl::core::Span& Span::spans(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.core.Span.spans) + return spans_.Get(index); +} +inline ::flyteidl::core::Span* Span::add_spans() { + // @@protoc_insertion_point(field_add:flyteidl.core.Span.spans) + return spans_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::Span >& +Span::spans() const { + // @@protoc_insertion_point(field_list:flyteidl.core.Span.spans) + return spans_; +} + +inline bool Span::has_id() const { + return id_case() != ID_NOT_SET; +} +inline void Span::clear_has_id() { + _oneof_case_[0] = ID_NOT_SET; +} +inline Span::IdCase Span::id_case() const { + return Span::IdCase(_oneof_case_[0]); +} +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +} // namespace core +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fcore_2fmetrics_2eproto diff --git a/gen/pb-cpp/flyteidl/core/security.pb.cc b/gen/pb-cpp/flyteidl/core/security.pb.cc index 960bc2f64..f1a7ee507 100644 --- a/gen/pb-cpp/flyteidl/core/security.pb.cc +++ b/gen/pb-cpp/flyteidl/core/security.pb.cc @@ -157,6 +157,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fsecurity_2eproto: PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, iam_role_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, k8s_service_account_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, oauth2_client_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Identity, execution_identity_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::OAuth2TokenRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -180,8 +181,8 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 0, -1, sizeof(::flyteidl::core::Secret)}, { 9, -1, sizeof(::flyteidl::core::OAuth2Client)}, { 16, -1, sizeof(::flyteidl::core::Identity)}, - { 24, -1, sizeof(::flyteidl::core::OAuth2TokenRequest)}, - { 34, -1, sizeof(::flyteidl::core::SecurityContext)}, + { 25, -1, sizeof(::flyteidl::core::OAuth2TokenRequest)}, + { 35, -1, sizeof(::flyteidl::core::SecurityContext)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -206,26 +207,26 @@ const char descriptor_table_protodef_flyteidl_2fcore_2fsecurity_2eproto[] = "untType\"+\n\tMountType\022\007\n\003ANY\020\000\022\013\n\007ENV_VAR" "\020\001\022\010\n\004FILE\020\002\"O\n\014OAuth2Client\022\021\n\tclient_i" "d\030\001 \001(\t\022,\n\rclient_secret\030\002 \001(\0132\025.flyteid" - "l.core.Secret\"m\n\010Identity\022\020\n\010iam_role\030\001 " - "\001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roaut" - "h2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2Cl" - "ient\"\335\001\n\022OAuth2TokenRequest\022\014\n\004name\030\001 \001(" - "\t\0224\n\004type\030\002 \001(\0162&.flyteidl.core.OAuth2To" - "kenRequest.Type\022+\n\006client\030\003 \001(\0132\033.flytei" - "dl.core.OAuth2Client\022\036\n\026idp_discovery_en" - "dpoint\030\004 \001(\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004" - "Type\022\026\n\022CLIENT_CREDENTIALS\020\000\"\225\001\n\017Securit" - "yContext\022\'\n\006run_as\030\001 \001(\0132\027.flyteidl.core" - ".Identity\022&\n\007secrets\030\002 \003(\0132\025.flyteidl.co" - "re.Secret\0221\n\006tokens\030\003 \003(\0132!.flyteidl.cor" - "e.OAuth2TokenRequestB6Z4github.com/flyte" - "org/flyteidl/gen/pb-go/flyteidl/coreb\006pr" - "oto3" + "l.core.Secret\"\211\001\n\010Identity\022\020\n\010iam_role\030\001" + " \001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roau" + "th2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2C" + "lient\022\032\n\022execution_identity\030\004 \001(\t\"\335\001\n\022OA" + "uth2TokenRequest\022\014\n\004name\030\001 \001(\t\0224\n\004type\030\002" + " \001(\0162&.flyteidl.core.OAuth2TokenRequest." + "Type\022+\n\006client\030\003 \001(\0132\033.flyteidl.core.OAu" + "th2Client\022\036\n\026idp_discovery_endpoint\030\004 \001(" + "\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004Type\022\026\n\022CLI" + "ENT_CREDENTIALS\020\000\"\225\001\n\017SecurityContext\022\'\n" + "\006run_as\030\001 \001(\0132\027.flyteidl.core.Identity\022&" + "\n\007secrets\030\002 \003(\0132\025.flyteidl.core.Secret\0221" + "\n\006tokens\030\003 \003(\0132!.flyteidl.core.OAuth2Tok" + "enRequestB6Z4github.com/flyteorg/flyteid" + "l/gen/pb-go/flyteidl/coreb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fcore_2fsecurity_2eproto = { false, InitDefaults_flyteidl_2fcore_2fsecurity_2eproto, descriptor_table_protodef_flyteidl_2fcore_2fsecurity_2eproto, - "flyteidl/core/security.proto", &assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto, 844, + "flyteidl/core/security.proto", &assign_descriptors_table_flyteidl_2fcore_2fsecurity_2eproto, 873, }; void AddDescriptors_flyteidl_2fcore_2fsecurity_2eproto() { @@ -1156,6 +1157,7 @@ Identity::HasBitSetters::oauth2_client(const Identity* msg) { const int Identity::kIamRoleFieldNumber; const int Identity::kK8SServiceAccountFieldNumber; const int Identity::kOauth2ClientFieldNumber; +const int Identity::kExecutionIdentityFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 Identity::Identity() @@ -1175,6 +1177,10 @@ Identity::Identity(const Identity& from) if (from.k8s_service_account().size() > 0) { k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); } + execution_identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.execution_identity().size() > 0) { + execution_identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_identity_); + } if (from.has_oauth2_client()) { oauth2_client_ = new ::flyteidl::core::OAuth2Client(*from.oauth2_client_); } else { @@ -1188,6 +1194,7 @@ void Identity::SharedCtor() { &scc_info_Identity_flyteidl_2fcore_2fsecurity_2eproto.base); iam_role_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); k8s_service_account_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + execution_identity_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); oauth2_client_ = nullptr; } @@ -1199,6 +1206,7 @@ Identity::~Identity() { void Identity::SharedDtor() { iam_role_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); k8s_service_account_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + execution_identity_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete oauth2_client_; } @@ -1219,6 +1227,7 @@ void Identity::Clear() { iam_role_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); k8s_service_account_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + execution_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && oauth2_client_ != nullptr) { delete oauth2_client_; } @@ -1284,6 +1293,22 @@ const char* Identity::_InternalParse(const char* begin, const char* end, void* o {parser_till_end, object}, ptr - size, ptr)); break; } + // string execution_identity = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.core.Identity.execution_identity"); + object = msg->mutable_execution_identity(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -1359,6 +1384,21 @@ bool Identity::MergePartialFromCodedStream( break; } + // string execution_identity = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_execution_identity())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->execution_identity().data(), static_cast(this->execution_identity().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.Identity.execution_identity")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -1412,6 +1452,16 @@ void Identity::SerializeWithCachedSizes( 3, HasBitSetters::oauth2_client(this), output); } + // string execution_identity = 4; + if (this->execution_identity().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->execution_identity().data(), static_cast(this->execution_identity().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Identity.execution_identity"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->execution_identity(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -1454,6 +1504,17 @@ ::google::protobuf::uint8* Identity::InternalSerializeWithCachedSizesToArray( 3, HasBitSetters::oauth2_client(this), target); } + // string execution_identity = 4; + if (this->execution_identity().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->execution_identity().data(), static_cast(this->execution_identity().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.Identity.execution_identity"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->execution_identity(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -1489,6 +1550,13 @@ size_t Identity::ByteSizeLong() const { this->k8s_service_account()); } + // string execution_identity = 4; + if (this->execution_identity().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->execution_identity()); + } + // .flyteidl.core.OAuth2Client oauth2_client = 3; if (this->has_oauth2_client()) { total_size += 1 + @@ -1531,6 +1599,10 @@ void Identity::MergeFrom(const Identity& from) { k8s_service_account_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.k8s_service_account_); } + if (from.execution_identity().size() > 0) { + + execution_identity_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.execution_identity_); + } if (from.has_oauth2_client()) { mutable_oauth2_client()->::flyteidl::core::OAuth2Client::MergeFrom(from.oauth2_client()); } @@ -1565,6 +1637,8 @@ void Identity::InternalSwap(Identity* other) { GetArenaNoVirtual()); k8s_service_account_.Swap(&other->k8s_service_account_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); + execution_identity_.Swap(&other->execution_identity_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); swap(oauth2_client_, other->oauth2_client_); } diff --git a/gen/pb-cpp/flyteidl/core/security.pb.h b/gen/pb-cpp/flyteidl/core/security.pb.h index b6fc10468..d50307557 100644 --- a/gen/pb-cpp/flyteidl/core/security.pb.h +++ b/gen/pb-cpp/flyteidl/core/security.pb.h @@ -562,6 +562,20 @@ class Identity final : ::std::string* release_k8s_service_account(); void set_allocated_k8s_service_account(::std::string* k8s_service_account); + // string execution_identity = 4; + void clear_execution_identity(); + static const int kExecutionIdentityFieldNumber = 4; + const ::std::string& execution_identity() const; + void set_execution_identity(const ::std::string& value); + #if LANG_CXX11 + void set_execution_identity(::std::string&& value); + #endif + void set_execution_identity(const char* value); + void set_execution_identity(const char* value, size_t size); + ::std::string* mutable_execution_identity(); + ::std::string* release_execution_identity(); + void set_allocated_execution_identity(::std::string* execution_identity); + // .flyteidl.core.OAuth2Client oauth2_client = 3; bool has_oauth2_client() const; void clear_oauth2_client(); @@ -578,6 +592,7 @@ class Identity final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr iam_role_; ::google::protobuf::internal::ArenaStringPtr k8s_service_account_; + ::google::protobuf::internal::ArenaStringPtr execution_identity_; ::flyteidl::core::OAuth2Client* oauth2_client_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fcore_2fsecurity_2eproto; @@ -1367,6 +1382,59 @@ inline void Identity::set_allocated_oauth2_client(::flyteidl::core::OAuth2Client // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.oauth2_client) } +// string execution_identity = 4; +inline void Identity::clear_execution_identity() { + execution_identity_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& Identity::execution_identity() const { + // @@protoc_insertion_point(field_get:flyteidl.core.Identity.execution_identity) + return execution_identity_.GetNoArena(); +} +inline void Identity::set_execution_identity(const ::std::string& value) { + + execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.Identity.execution_identity) +} +#if LANG_CXX11 +inline void Identity::set_execution_identity(::std::string&& value) { + + execution_identity_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.Identity.execution_identity) +} +#endif +inline void Identity::set_execution_identity(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.Identity.execution_identity) +} +inline void Identity::set_execution_identity(const char* value, size_t size) { + + execution_identity_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.Identity.execution_identity) +} +inline ::std::string* Identity::mutable_execution_identity() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.Identity.execution_identity) + return execution_identity_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* Identity::release_execution_identity() { + // @@protoc_insertion_point(field_release:flyteidl.core.Identity.execution_identity) + + return execution_identity_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void Identity::set_allocated_execution_identity(::std::string* execution_identity) { + if (execution_identity != nullptr) { + + } else { + + } + execution_identity_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), execution_identity); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Identity.execution_identity) +} + // ------------------------------------------------------------------- // OAuth2TokenRequest diff --git a/gen/pb-cpp/flyteidl/core/tasks.pb.cc b/gen/pb-cpp/flyteidl/core/tasks.pb.cc index 2835c08c5..54fb10724 100644 --- a/gen/pb-cpp/flyteidl/core/tasks.pb.cc +++ b/gen/pb-cpp/flyteidl/core/tasks.pb.cc @@ -33,7 +33,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protob extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Container_flyteidl_2fcore_2ftasks_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_TaskMetadata_flyteidl_2fcore_2ftasks_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; @@ -292,10 +292,11 @@ static void InitDefaultsK8sPod_flyteidl_2fcore_2ftasks_2eproto() { ::flyteidl::core::K8sPod::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsK8sPod_flyteidl_2fcore_2ftasks_2eproto}, { +::google::protobuf::internal::SCCInfo<3> scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsK8sPod_flyteidl_2fcore_2ftasks_2eproto}, { &scc_info_K8sObjectMetadata_flyteidl_2fcore_2ftasks_2eproto.base, - &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base,}}; + &scc_info_ListValue_google_2fprotobuf_2fstruct_2eproto.base, + &scc_info_DataLoadingConfig_flyteidl_2fcore_2ftasks_2eproto.base,}}; static void InitDefaultsK8sObjectMetadata_LabelsEntry_DoNotUse_flyteidl_2fcore_2ftasks_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -495,6 +496,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2ftasks_2eproto::of ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, metadata_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, pod_spec_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sPod, data_config_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse, _internal_metadata_), ~0u, // no _extensions_ @@ -541,10 +543,10 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 94, -1, sizeof(::flyteidl::core::IOStrategy)}, { 101, -1, sizeof(::flyteidl::core::DataLoadingConfig)}, { 111, -1, sizeof(::flyteidl::core::K8sPod)}, - { 118, 125, sizeof(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse)}, - { 127, 134, sizeof(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse)}, - { 136, -1, sizeof(::flyteidl::core::K8sObjectMetadata)}, - { 143, -1, sizeof(::flyteidl::core::Sql)}, + { 119, 126, sizeof(::flyteidl::core::K8sObjectMetadata_LabelsEntry_DoNotUse)}, + { 128, 135, sizeof(::flyteidl::core::K8sObjectMetadata_AnnotationsEntry_DoNotUse)}, + { 137, -1, sizeof(::flyteidl::core::K8sObjectMetadata)}, + { 144, -1, sizeof(::flyteidl::core::Sql)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -640,25 +642,27 @@ const char descriptor_table_protodef_flyteidl_2fcore_2ftasks_2eproto[] = "oadingConfig.LiteralMapFormat\022.\n\013io_stra" "tegy\030\005 \001(\0132\031.flyteidl.core.IOStrategy\"1\n" "\020LiteralMapFormat\022\010\n\004JSON\020\000\022\010\n\004YAML\020\001\022\t\n" - "\005PROTO\020\002\"g\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 .f" - "lyteidl.core.K8sObjectMetadata\022)\n\010pod_sp" - "ec\030\002 \001(\0132\027.google.protobuf.Struct\"\374\001\n\021K8" - "sObjectMetadata\022<\n\006labels\030\001 \003(\0132,.flytei" - "dl.core.K8sObjectMetadata.LabelsEntry\022F\n" - "\013annotations\030\002 \003(\01321.flyteidl.core.K8sOb" - "jectMetadata.AnnotationsEntry\032-\n\013LabelsE" - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020" - "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - " \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstatement\030\001 \001(\t\022+\n\007di" - "alect\030\002 \001(\0162\032.flyteidl.core.Sql.Dialect\"" - "7\n\007Dialect\022\r\n\tUNDEFINED\020\000\022\010\n\004ANSI\020\001\022\010\n\004H" - "IVE\020\002\022\t\n\005OTHER\020\003B6Z4github.com/flyteorg/" - "flyteidl/gen/pb-go/flyteidl/coreb\006proto3" + "\005PROTO\020\002\"\236\001\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 ." + "flyteidl.core.K8sObjectMetadata\022)\n\010pod_s" + "pec\030\002 \001(\0132\027.google.protobuf.Struct\0225\n\013da" + "ta_config\030\003 \001(\0132 .flyteidl.core.DataLoad" + "ingConfig\"\374\001\n\021K8sObjectMetadata\022<\n\006label" + "s\030\001 \003(\0132,.flyteidl.core.K8sObjectMetadat" + "a.LabelsEntry\022F\n\013annotations\030\002 \003(\01321.fly" + "teidl.core.K8sObjectMetadata.Annotations" + "Entry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstate" + "ment\030\001 \001(\t\022+\n\007dialect\030\002 \001(\0162\032.flyteidl.c" + "ore.Sql.Dialect\"7\n\007Dialect\022\r\n\tUNDEFINED\020" + "\000\022\010\n\004ANSI\020\001\022\010\n\004HIVE\020\002\022\t\n\005OTHER\020\003B6Z4gith" + "ub.com/flyteorg/flyteidl/gen/pb-go/flyte" + "idl/coreb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fcore_2ftasks_2eproto = { false, InitDefaults_flyteidl_2fcore_2ftasks_2eproto, descriptor_table_protodef_flyteidl_2fcore_2ftasks_2eproto, - "flyteidl/core/tasks.proto", &assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto, 3240, + "flyteidl/core/tasks.proto", &assign_descriptors_table_flyteidl_2fcore_2ftasks_2eproto, 3296, }; void AddDescriptors_flyteidl_2fcore_2ftasks_2eproto() { @@ -6103,11 +6107,14 @@ void K8sPod::InitAsDefaultInstance() { ::flyteidl::core::K8sObjectMetadata::internal_default_instance()); ::flyteidl::core::_K8sPod_default_instance_._instance.get_mutable()->pod_spec_ = const_cast< ::google::protobuf::Struct*>( ::google::protobuf::Struct::internal_default_instance()); + ::flyteidl::core::_K8sPod_default_instance_._instance.get_mutable()->data_config_ = const_cast< ::flyteidl::core::DataLoadingConfig*>( + ::flyteidl::core::DataLoadingConfig::internal_default_instance()); } class K8sPod::HasBitSetters { public: static const ::flyteidl::core::K8sObjectMetadata& metadata(const K8sPod* msg); static const ::google::protobuf::Struct& pod_spec(const K8sPod* msg); + static const ::flyteidl::core::DataLoadingConfig& data_config(const K8sPod* msg); }; const ::flyteidl::core::K8sObjectMetadata& @@ -6118,6 +6125,10 @@ const ::google::protobuf::Struct& K8sPod::HasBitSetters::pod_spec(const K8sPod* msg) { return *msg->pod_spec_; } +const ::flyteidl::core::DataLoadingConfig& +K8sPod::HasBitSetters::data_config(const K8sPod* msg) { + return *msg->data_config_; +} void K8sPod::clear_pod_spec() { if (GetArenaNoVirtual() == nullptr && pod_spec_ != nullptr) { delete pod_spec_; @@ -6127,6 +6138,7 @@ void K8sPod::clear_pod_spec() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int K8sPod::kMetadataFieldNumber; const int K8sPod::kPodSpecFieldNumber; +const int K8sPod::kDataConfigFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 K8sPod::K8sPod() @@ -6148,6 +6160,11 @@ K8sPod::K8sPod(const K8sPod& from) } else { pod_spec_ = nullptr; } + if (from.has_data_config()) { + data_config_ = new ::flyteidl::core::DataLoadingConfig(*from.data_config_); + } else { + data_config_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.core.K8sPod) } @@ -6155,8 +6172,8 @@ void K8sPod::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_K8sPod_flyteidl_2fcore_2ftasks_2eproto.base); ::memset(&metadata_, 0, static_cast( - reinterpret_cast(&pod_spec_) - - reinterpret_cast(&metadata_)) + sizeof(pod_spec_)); + reinterpret_cast(&data_config_) - + reinterpret_cast(&metadata_)) + sizeof(data_config_)); } K8sPod::~K8sPod() { @@ -6167,6 +6184,7 @@ K8sPod::~K8sPod() { void K8sPod::SharedDtor() { if (this != internal_default_instance()) delete metadata_; if (this != internal_default_instance()) delete pod_spec_; + if (this != internal_default_instance()) delete data_config_; } void K8sPod::SetCachedSize(int size) const { @@ -6192,6 +6210,10 @@ void K8sPod::Clear() { delete pod_spec_; } pod_spec_ = nullptr; + if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { + delete data_config_; + } + data_config_ = nullptr; _internal_metadata_.Clear(); } @@ -6234,6 +6256,19 @@ const char* K8sPod::_InternalParse(const char* begin, const char* end, void* obj {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.core.DataLoadingConfig data_config = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::DataLoadingConfig::_InternalParse; + object = msg->mutable_data_config(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -6286,6 +6321,17 @@ bool K8sPod::MergePartialFromCodedStream( break; } + // .flyteidl.core.DataLoadingConfig data_config = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_data_config())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -6325,6 +6371,12 @@ void K8sPod::SerializeWithCachedSizes( 2, HasBitSetters::pod_spec(this), output); } + // .flyteidl.core.DataLoadingConfig data_config = 3; + if (this->has_data_config()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::data_config(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -6352,6 +6404,13 @@ ::google::protobuf::uint8* K8sPod::InternalSerializeWithCachedSizesToArray( 2, HasBitSetters::pod_spec(this), target); } + // .flyteidl.core.DataLoadingConfig data_config = 3; + if (this->has_data_config()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::data_config(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -6387,6 +6446,13 @@ size_t K8sPod::ByteSizeLong() const { *pod_spec_); } + // .flyteidl.core.DataLoadingConfig data_config = 3; + if (this->has_data_config()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *data_config_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -6420,6 +6486,9 @@ void K8sPod::MergeFrom(const K8sPod& from) { if (from.has_pod_spec()) { mutable_pod_spec()->::google::protobuf::Struct::MergeFrom(from.pod_spec()); } + if (from.has_data_config()) { + mutable_data_config()->::flyteidl::core::DataLoadingConfig::MergeFrom(from.data_config()); + } } void K8sPod::CopyFrom(const ::google::protobuf::Message& from) { @@ -6449,6 +6518,7 @@ void K8sPod::InternalSwap(K8sPod* other) { _internal_metadata_.Swap(&other->_internal_metadata_); swap(metadata_, other->metadata_); swap(pod_spec_, other->pod_spec_); + swap(data_config_, other->data_config_); } ::google::protobuf::Metadata K8sPod::GetMetadata() const { diff --git a/gen/pb-cpp/flyteidl/core/tasks.pb.h b/gen/pb-cpp/flyteidl/core/tasks.pb.h index 3c845ef12..430d86712 100644 --- a/gen/pb-cpp/flyteidl/core/tasks.pb.h +++ b/gen/pb-cpp/flyteidl/core/tasks.pb.h @@ -2141,6 +2141,15 @@ class K8sPod final : ::google::protobuf::Struct* mutable_pod_spec(); void set_allocated_pod_spec(::google::protobuf::Struct* pod_spec); + // .flyteidl.core.DataLoadingConfig data_config = 3; + bool has_data_config() const; + void clear_data_config(); + static const int kDataConfigFieldNumber = 3; + const ::flyteidl::core::DataLoadingConfig& data_config() const; + ::flyteidl::core::DataLoadingConfig* release_data_config(); + ::flyteidl::core::DataLoadingConfig* mutable_data_config(); + void set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config); + // @@protoc_insertion_point(class_scope:flyteidl.core.K8sPod) private: class HasBitSetters; @@ -2148,6 +2157,7 @@ class K8sPod final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::flyteidl::core::K8sObjectMetadata* metadata_; ::google::protobuf::Struct* pod_spec_; + ::flyteidl::core::DataLoadingConfig* data_config_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fcore_2ftasks_2eproto; }; @@ -4353,6 +4363,57 @@ inline void K8sPod::set_allocated_pod_spec(::google::protobuf::Struct* pod_spec) // @@protoc_insertion_point(field_set_allocated:flyteidl.core.K8sPod.pod_spec) } +// .flyteidl.core.DataLoadingConfig data_config = 3; +inline bool K8sPod::has_data_config() const { + return this != internal_default_instance() && data_config_ != nullptr; +} +inline void K8sPod::clear_data_config() { + if (GetArenaNoVirtual() == nullptr && data_config_ != nullptr) { + delete data_config_; + } + data_config_ = nullptr; +} +inline const ::flyteidl::core::DataLoadingConfig& K8sPod::data_config() const { + const ::flyteidl::core::DataLoadingConfig* p = data_config_; + // @@protoc_insertion_point(field_get:flyteidl.core.K8sPod.data_config) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_DataLoadingConfig_default_instance_); +} +inline ::flyteidl::core::DataLoadingConfig* K8sPod::release_data_config() { + // @@protoc_insertion_point(field_release:flyteidl.core.K8sPod.data_config) + + ::flyteidl::core::DataLoadingConfig* temp = data_config_; + data_config_ = nullptr; + return temp; +} +inline ::flyteidl::core::DataLoadingConfig* K8sPod::mutable_data_config() { + + if (data_config_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::DataLoadingConfig>(GetArenaNoVirtual()); + data_config_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.K8sPod.data_config) + return data_config_; +} +inline void K8sPod::set_allocated_data_config(::flyteidl::core::DataLoadingConfig* data_config) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete data_config_; + } + if (data_config) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + data_config = ::google::protobuf::internal::GetOwnedMessage( + message_arena, data_config, submessage_arena); + } + + } else { + + } + data_config_ = data_config; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.K8sPod.data_config) +} + // ------------------------------------------------------------------- // ------------------------------------------------------------------- diff --git a/gen/pb-cpp/flyteidl/event/event.pb.cc b/gen/pb-cpp/flyteidl/event/event.pb.cc index c829d410c..7f7275900 100644 --- a/gen/pb-cpp/flyteidl/event/event.pb.cc +++ b/gen/pb-cpp/flyteidl/event/event.pb.cc @@ -338,6 +338,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fevent_2eproto::o PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, is_parent_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, is_dynamic_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, deck_uri_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, reported_at_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, input_value_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, output_result_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::NodeExecutionEvent, target_metadata_), @@ -364,6 +365,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fevent_2eproto::o ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, id_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, compiled_workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::DynamicWorkflowNodeMetadata, dynamic_job_spec_uri_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::event::ParentTaskExecutionMetadata, _internal_metadata_), ~0u, // no _extensions_ @@ -399,6 +401,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fevent_2eproto::o PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, task_type_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, metadata_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, event_version_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, reported_at_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, input_value_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::TaskExecutionEvent, output_result_), ~0u, // no _has_bits_ @@ -433,15 +436,15 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fevent_2eproto::o static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::event::WorkflowExecutionEvent)}, { 13, -1, sizeof(::flyteidl::event::NodeExecutionEvent)}, - { 41, -1, sizeof(::flyteidl::event::WorkflowNodeMetadata)}, - { 47, -1, sizeof(::flyteidl::event::TaskNodeMetadata)}, - { 57, -1, sizeof(::flyteidl::event::DynamicWorkflowNodeMetadata)}, - { 64, -1, sizeof(::flyteidl::event::ParentTaskExecutionMetadata)}, - { 70, -1, sizeof(::flyteidl::event::ParentNodeExecutionMetadata)}, - { 76, -1, sizeof(::flyteidl::event::TaskExecutionEvent)}, - { 101, -1, sizeof(::flyteidl::event::ExternalResourceInfo)}, - { 112, -1, sizeof(::flyteidl::event::ResourcePoolInfo)}, - { 119, -1, sizeof(::flyteidl::event::TaskExecutionMetadata)}, + { 42, -1, sizeof(::flyteidl::event::WorkflowNodeMetadata)}, + { 48, -1, sizeof(::flyteidl::event::TaskNodeMetadata)}, + { 58, -1, sizeof(::flyteidl::event::DynamicWorkflowNodeMetadata)}, + { 66, -1, sizeof(::flyteidl::event::ParentTaskExecutionMetadata)}, + { 72, -1, sizeof(::flyteidl::event::ParentNodeExecutionMetadata)}, + { 78, -1, sizeof(::flyteidl::event::TaskExecutionEvent)}, + { 104, -1, sizeof(::flyteidl::event::ExternalResourceInfo)}, + { 115, -1, sizeof(::flyteidl::event::ResourcePoolInfo)}, + { 122, -1, sizeof(::flyteidl::event::TaskExecutionMetadata)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -480,7 +483,7 @@ const char descriptor_table_protodef_flyteidl_2fevent_2fevent_2eproto[] = "\noutput_uri\030\005 \001(\tH\000\022.\n\005error\030\006 \001(\0132\035.fly" "teidl.core.ExecutionErrorH\000\0220\n\013output_da" "ta\030\007 \001(\0132\031.flyteidl.core.LiteralMapH\000B\017\n" - "\routput_result\"\336\006\n\022NodeExecutionEvent\0222\n" + "\routput_result\"\217\007\n\022NodeExecutionEvent\0222\n" "\002id\030\001 \001(\0132&.flyteidl.core.NodeExecutionI" "dentifier\022\023\n\013producer_id\030\002 \001(\t\0221\n\005phase\030" "\003 \001(\0162\".flyteidl.core.NodeExecution.Phas" @@ -500,65 +503,69 @@ const char descriptor_table_protodef_flyteidl_2fevent_2fevent_2eproto[] = "tadata\022\023\n\013retry_group\030\013 \001(\t\022\024\n\014spec_node" "_id\030\014 \001(\t\022\021\n\tnode_name\030\r \001(\t\022\025\n\revent_ve" "rsion\030\020 \001(\005\022\021\n\tis_parent\030\021 \001(\010\022\022\n\nis_dyn" - "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\tB\r\n\013input_va" - "lueB\017\n\routput_resultB\021\n\017target_metadata\"" - "X\n\024WorkflowNodeMetadata\022@\n\014execution_id\030" - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" - "dentifier\"\245\002\n\020TaskNodeMetadata\0227\n\014cache_" - "status\030\001 \001(\0162!.flyteidl.core.CatalogCach" - "eStatus\0223\n\013catalog_key\030\002 \001(\0132\036.flyteidl." - "core.CatalogMetadata\022D\n\022reservation_stat" - "us\030\003 \001(\0162(.flyteidl.core.CatalogReservat" - "ion.Status\022\026\n\016checkpoint_uri\030\004 \001(\t\022E\n\020dy" - "namic_workflow\030\020 \001(\0132+.flyteidl.event.Dy" - "namicWorkflowNodeMetadata\"\207\001\n\033DynamicWor" - "kflowNodeMetadata\022%\n\002id\030\001 \001(\0132\031.flyteidl" - ".core.Identifier\022A\n\021compiled_workflow\030\002 " - "\001(\0132&.flyteidl.core.CompiledWorkflowClos" - "ure\"Q\n\033ParentTaskExecutionMetadata\0222\n\002id" - "\030\001 \001(\0132&.flyteidl.core.TaskExecutionIden" - "tifier\".\n\033ParentNodeExecutionMetadata\022\017\n" - "\007node_id\030\001 \001(\t\"\326\005\n\022TaskExecutionEvent\022*\n" - "\007task_id\030\001 \001(\0132\031.flyteidl.core.Identifie" - "r\022H\n\030parent_node_execution_id\030\002 \001(\0132&.fl" - "yteidl.core.NodeExecutionIdentifier\022\025\n\rr" - "etry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\".flyt" - "eidl.core.TaskExecution.Phase\022\023\n\013produce" - "r_id\030\005 \001(\t\022$\n\004logs\030\006 \003(\0132\026.flyteidl.core" - ".TaskLog\022/\n\013occurred_at\030\007 \001(\0132\032.google.p" - "rotobuf.Timestamp\022\023\n\tinput_uri\030\010 \001(\tH\000\022/" - "\n\ninput_data\030\023 \001(\0132\031.flyteidl.core.Liter" - "alMapH\000\022\024\n\noutput_uri\030\t \001(\tH\001\022.\n\005error\030\n" - " \001(\0132\035.flyteidl.core.ExecutionErrorH\001\0220\n" - "\013output_data\030\021 \001(\0132\031.flyteidl.core.Liter" - "alMapH\001\022,\n\013custom_info\030\013 \001(\0132\027.google.pr" - "otobuf.Struct\022\025\n\rphase_version\030\014 \001(\r\022\016\n\006" - "reason\030\r \001(\t\022\021\n\ttask_type\030\016 \001(\t\0227\n\010metad" - "ata\030\020 \001(\0132%.flyteidl.event.TaskExecution" - "Metadata\022\025\n\revent_version\030\022 \001(\005B\r\n\013input" - "_valueB\017\n\routput_result\"\343\001\n\024ExternalReso" - "urceInfo\022\023\n\013external_id\030\001 \001(\t\022\r\n\005index\030\002" - " \001(\r\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001" - "(\0162\".flyteidl.core.TaskExecution.Phase\0227" - "\n\014cache_status\030\005 \001(\0162!.flyteidl.core.Cat" - "alogCacheStatus\022$\n\004logs\030\006 \003(\0132\026.flyteidl" - ".core.TaskLog\"\?\n\020ResourcePoolInfo\022\030\n\020all" - "ocation_token\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\310" - "\002\n\025TaskExecutionMetadata\022\026\n\016generated_na" - "me\030\001 \001(\t\022@\n\022external_resources\030\002 \003(\0132$.f" - "lyteidl.event.ExternalResourceInfo\022<\n\022re" - "source_pool_info\030\003 \003(\0132 .flyteidl.event." - "ResourcePoolInfo\022\031\n\021plugin_identifier\030\004 " - "\001(\t\022K\n\016instance_class\030\020 \001(\01623.flyteidl.e" - "vent.TaskExecutionMetadata.InstanceClass" - "\"/\n\rInstanceClass\022\013\n\007DEFAULT\020\000\022\021\n\rINTERR" - "UPTIBLE\020\001B7Z5github.com/flyteorg/flyteid" - "l/gen/pb-go/flyteidl/eventb\006proto3" + "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\t\022/\n\013reported" + "_at\030\025 \001(\0132\032.google.protobuf.TimestampB\r\n" + "\013input_valueB\017\n\routput_resultB\021\n\017target_" + "metadata\"X\n\024WorkflowNodeMetadata\022@\n\014exec" + "ution_id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + "xecutionIdentifier\"\245\002\n\020TaskNodeMetadata\022" + "7\n\014cache_status\030\001 \001(\0162!.flyteidl.core.Ca" + "talogCacheStatus\0223\n\013catalog_key\030\002 \001(\0132\036." + "flyteidl.core.CatalogMetadata\022D\n\022reserva" + "tion_status\030\003 \001(\0162(.flyteidl.core.Catalo" + "gReservation.Status\022\026\n\016checkpoint_uri\030\004 " + "\001(\t\022E\n\020dynamic_workflow\030\020 \001(\0132+.flyteidl" + ".event.DynamicWorkflowNodeMetadata\"\245\001\n\033D" + "ynamicWorkflowNodeMetadata\022%\n\002id\030\001 \001(\0132\031" + ".flyteidl.core.Identifier\022A\n\021compiled_wo" + "rkflow\030\002 \001(\0132&.flyteidl.core.CompiledWor" + "kflowClosure\022\034\n\024dynamic_job_spec_uri\030\003 \001" + "(\t\"Q\n\033ParentTaskExecutionMetadata\0222\n\002id\030" + "\001 \001(\0132&.flyteidl.core.TaskExecutionIdent" + "ifier\".\n\033ParentNodeExecutionMetadata\022\017\n\007" + "node_id\030\001 \001(\t\"\207\006\n\022TaskExecutionEvent\022*\n\007" + "task_id\030\001 \001(\0132\031.flyteidl.core.Identifier" + "\022H\n\030parent_node_execution_id\030\002 \001(\0132&.fly" + "teidl.core.NodeExecutionIdentifier\022\025\n\rre" + "try_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\".flyte" + "idl.core.TaskExecution.Phase\022\023\n\013producer" + "_id\030\005 \001(\t\022$\n\004logs\030\006 \003(\0132\026.flyteidl.core." + "TaskLog\022/\n\013occurred_at\030\007 \001(\0132\032.google.pr" + "otobuf.Timestamp\022\023\n\tinput_uri\030\010 \001(\tH\000\022/\n" + "\ninput_data\030\023 \001(\0132\031.flyteidl.core.Litera" + "lMapH\000\022\024\n\noutput_uri\030\t \001(\tH\001\022.\n\005error\030\n " + "\001(\0132\035.flyteidl.core.ExecutionErrorH\001\0220\n\013" + "output_data\030\021 \001(\0132\031.flyteidl.core.Litera" + "lMapH\001\022,\n\013custom_info\030\013 \001(\0132\027.google.pro" + "tobuf.Struct\022\025\n\rphase_version\030\014 \001(\r\022\016\n\006r" + "eason\030\r \001(\t\022\021\n\ttask_type\030\016 \001(\t\0227\n\010metada" + "ta\030\020 \001(\0132%.flyteidl.event.TaskExecutionM" + "etadata\022\025\n\revent_version\030\022 \001(\005\022/\n\013report" + "ed_at\030\024 \001(\0132\032.google.protobuf.TimestampB" + "\r\n\013input_valueB\017\n\routput_result\"\343\001\n\024Exte" + "rnalResourceInfo\022\023\n\013external_id\030\001 \001(\t\022\r\n" + "\005index\030\002 \001(\r\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005p" + "hase\030\004 \001(\0162\".flyteidl.core.TaskExecution" + ".Phase\0227\n\014cache_status\030\005 \001(\0162!.flyteidl." + "core.CatalogCacheStatus\022$\n\004logs\030\006 \003(\0132\026." + "flyteidl.core.TaskLog\"\?\n\020ResourcePoolInf" + "o\022\030\n\020allocation_token\030\001 \001(\t\022\021\n\tnamespace" + "\030\002 \001(\t\"\310\002\n\025TaskExecutionMetadata\022\026\n\016gene" + "rated_name\030\001 \001(\t\022@\n\022external_resources\030\002" + " \003(\0132$.flyteidl.event.ExternalResourceIn" + "fo\022<\n\022resource_pool_info\030\003 \003(\0132 .flyteid" + "l.event.ResourcePoolInfo\022\031\n\021plugin_ident" + "ifier\030\004 \001(\t\022K\n\016instance_class\030\020 \001(\01623.fl" + "yteidl.event.TaskExecutionMetadata.Insta" + "nceClass\"/\n\rInstanceClass\022\013\n\007DEFAULT\020\000\022\021" + "\n\rINTERRUPTIBLE\020\001B7Z5github.com/flyteorg" + "/flyteidl/gen/pb-go/flyteidl/eventb\006prot" + "o3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fevent_2fevent_2eproto = { false, InitDefaults_flyteidl_2fevent_2fevent_2eproto, descriptor_table_protodef_flyteidl_2fevent_2fevent_2eproto, - "flyteidl/event/event.proto", &assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto, 3554, + "flyteidl/event/event.proto", &assign_descriptors_table_flyteidl_2fevent_2fevent_2eproto, 3682, }; void AddDescriptors_flyteidl_2fevent_2fevent_2eproto() { @@ -1393,6 +1400,8 @@ void NodeExecutionEvent::InitAsDefaultInstance() { ::flyteidl::event::ParentTaskExecutionMetadata::internal_default_instance()); ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->parent_node_metadata_ = const_cast< ::flyteidl::event::ParentNodeExecutionMetadata*>( ::flyteidl::event::ParentNodeExecutionMetadata::internal_default_instance()); + ::flyteidl::event::_NodeExecutionEvent_default_instance_._instance.get_mutable()->reported_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); } class NodeExecutionEvent::HasBitSetters { public: @@ -1405,6 +1414,7 @@ class NodeExecutionEvent::HasBitSetters { static const ::flyteidl::event::TaskNodeMetadata& task_node_metadata(const NodeExecutionEvent* msg); static const ::flyteidl::event::ParentTaskExecutionMetadata& parent_task_metadata(const NodeExecutionEvent* msg); static const ::flyteidl::event::ParentNodeExecutionMetadata& parent_node_metadata(const NodeExecutionEvent* msg); + static const ::google::protobuf::Timestamp& reported_at(const NodeExecutionEvent* msg); }; const ::flyteidl::core::NodeExecutionIdentifier& @@ -1443,6 +1453,10 @@ const ::flyteidl::event::ParentNodeExecutionMetadata& NodeExecutionEvent::HasBitSetters::parent_node_metadata(const NodeExecutionEvent* msg) { return *msg->parent_node_metadata_; } +const ::google::protobuf::Timestamp& +NodeExecutionEvent::HasBitSetters::reported_at(const NodeExecutionEvent* msg) { + return *msg->reported_at_; +} void NodeExecutionEvent::clear_id() { if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { delete id_; @@ -1543,6 +1557,12 @@ void NodeExecutionEvent::set_allocated_task_node_metadata(::flyteidl::event::Tas } // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.task_node_metadata) } +void NodeExecutionEvent::clear_reported_at() { + if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { + delete reported_at_; + } + reported_at_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int NodeExecutionEvent::kIdFieldNumber; const int NodeExecutionEvent::kProducerIdFieldNumber; @@ -1564,6 +1584,7 @@ const int NodeExecutionEvent::kEventVersionFieldNumber; const int NodeExecutionEvent::kIsParentFieldNumber; const int NodeExecutionEvent::kIsDynamicFieldNumber; const int NodeExecutionEvent::kDeckUriFieldNumber; +const int NodeExecutionEvent::kReportedAtFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 NodeExecutionEvent::NodeExecutionEvent() @@ -1615,6 +1636,11 @@ NodeExecutionEvent::NodeExecutionEvent(const NodeExecutionEvent& from) } else { parent_node_metadata_ = nullptr; } + if (from.has_reported_at()) { + reported_at_ = new ::google::protobuf::Timestamp(*from.reported_at_); + } else { + reported_at_ = nullptr; + } ::memcpy(&phase_, &from.phase_, static_cast(reinterpret_cast(&is_dynamic_) - reinterpret_cast(&phase_)) + sizeof(is_dynamic_)); @@ -1698,6 +1724,7 @@ void NodeExecutionEvent::SharedDtor() { if (this != internal_default_instance()) delete occurred_at_; if (this != internal_default_instance()) delete parent_task_metadata_; if (this != internal_default_instance()) delete parent_node_metadata_; + if (this != internal_default_instance()) delete reported_at_; if (has_input_value()) { clear_input_value(); } @@ -1804,6 +1831,10 @@ void NodeExecutionEvent::Clear() { delete parent_node_metadata_; } parent_node_metadata_ = nullptr; + if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { + delete reported_at_; + } + reported_at_ = nullptr; ::memset(&phase_, 0, static_cast( reinterpret_cast(&is_dynamic_) - reinterpret_cast(&phase_)) + sizeof(is_dynamic_)); @@ -2084,6 +2115,19 @@ const char* NodeExecutionEvent::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } + // .google.protobuf.Timestamp reported_at = 21; + case 21: { + if (static_cast<::google::protobuf::uint8>(tag) != 170) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_reported_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -2375,6 +2419,17 @@ bool NodeExecutionEvent::MergePartialFromCodedStream( break; } + // .google.protobuf.Timestamp reported_at = 21; + case 21: { + if (static_cast< ::google::protobuf::uint8>(tag) == (170 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_reported_at())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -2547,6 +2602,12 @@ void NodeExecutionEvent::SerializeWithCachedSizes( 20, HasBitSetters::input_data(this), output); } + // .google.protobuf.Timestamp reported_at = 21; + if (this->has_reported_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 21, HasBitSetters::reported_at(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -2721,6 +2782,13 @@ ::google::protobuf::uint8* NodeExecutionEvent::InternalSerializeWithCachedSizesT 20, HasBitSetters::input_data(this), target); } + // .google.protobuf.Timestamp reported_at = 21; + if (this->has_reported_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 21, HasBitSetters::reported_at(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -2805,6 +2873,13 @@ size_t NodeExecutionEvent::ByteSizeLong() const { *parent_node_metadata_); } + // .google.protobuf.Timestamp reported_at = 21; + if (this->has_reported_at()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reported_at_); + } + // .flyteidl.core.NodeExecution.Phase phase = 3; if (this->phase() != 0) { total_size += 1 + @@ -2951,6 +3026,9 @@ void NodeExecutionEvent::MergeFrom(const NodeExecutionEvent& from) { if (from.has_parent_node_metadata()) { mutable_parent_node_metadata()->::flyteidl::event::ParentNodeExecutionMetadata::MergeFrom(from.parent_node_metadata()); } + if (from.has_reported_at()) { + mutable_reported_at()->::google::protobuf::Timestamp::MergeFrom(from.reported_at()); + } if (from.phase() != 0) { set_phase(from.phase()); } @@ -3047,6 +3125,7 @@ void NodeExecutionEvent::InternalSwap(NodeExecutionEvent* other) { swap(occurred_at_, other->occurred_at_); swap(parent_task_metadata_, other->parent_task_metadata_); swap(parent_node_metadata_, other->parent_node_metadata_); + swap(reported_at_, other->reported_at_); swap(phase_, other->phase_); swap(event_version_, other->event_version_); swap(is_parent_, other->is_parent_); @@ -3929,6 +4008,7 @@ void DynamicWorkflowNodeMetadata::clear_compiled_workflow() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int DynamicWorkflowNodeMetadata::kIdFieldNumber; const int DynamicWorkflowNodeMetadata::kCompiledWorkflowFieldNumber; +const int DynamicWorkflowNodeMetadata::kDynamicJobSpecUriFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata() @@ -3940,6 +4020,10 @@ DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNo : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.dynamic_job_spec_uri().size() > 0) { + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_id()) { id_ = new ::flyteidl::core::Identifier(*from.id_); } else { @@ -3956,6 +4040,7 @@ DynamicWorkflowNodeMetadata::DynamicWorkflowNodeMetadata(const DynamicWorkflowNo void DynamicWorkflowNodeMetadata::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_DynamicWorkflowNodeMetadata_flyteidl_2fevent_2fevent_2eproto.base); + dynamic_job_spec_uri_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(&id_, 0, static_cast( reinterpret_cast(&compiled_workflow_) - reinterpret_cast(&id_)) + sizeof(compiled_workflow_)); @@ -3967,6 +4052,7 @@ DynamicWorkflowNodeMetadata::~DynamicWorkflowNodeMetadata() { } void DynamicWorkflowNodeMetadata::SharedDtor() { + dynamic_job_spec_uri_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete id_; if (this != internal_default_instance()) delete compiled_workflow_; } @@ -3986,6 +4072,7 @@ void DynamicWorkflowNodeMetadata::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && id_ != nullptr) { delete id_; } @@ -4036,6 +4123,22 @@ const char* DynamicWorkflowNodeMetadata::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } + // string dynamic_job_spec_uri = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + object = msg->mutable_dynamic_job_spec_uri(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -4051,6 +4154,10 @@ const char* DynamicWorkflowNodeMetadata::_InternalParse(const char* begin, const } // switch } // while return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; len_delim_till_end: return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, {parser_till_end, object}, size); @@ -4088,6 +4195,21 @@ bool DynamicWorkflowNodeMetadata::MergePartialFromCodedStream( break; } + // string dynamic_job_spec_uri = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_dynamic_job_spec_uri())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -4127,6 +4249,16 @@ void DynamicWorkflowNodeMetadata::SerializeWithCachedSizes( 2, HasBitSetters::compiled_workflow(this), output); } + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->dynamic_job_spec_uri(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -4154,6 +4286,17 @@ ::google::protobuf::uint8* DynamicWorkflowNodeMetadata::InternalSerializeWithCac 2, HasBitSetters::compiled_workflow(this), target); } + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->dynamic_job_spec_uri().data(), static_cast(this->dynamic_job_spec_uri().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->dynamic_job_spec_uri(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -4175,6 +4318,13 @@ size_t DynamicWorkflowNodeMetadata::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // string dynamic_job_spec_uri = 3; + if (this->dynamic_job_spec_uri().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->dynamic_job_spec_uri()); + } + // .flyteidl.core.Identifier id = 1; if (this->has_id()) { total_size += 1 + @@ -4216,6 +4366,10 @@ void DynamicWorkflowNodeMetadata::MergeFrom(const DynamicWorkflowNodeMetadata& f ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; + if (from.dynamic_job_spec_uri().size() > 0) { + + dynamic_job_spec_uri_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dynamic_job_spec_uri_); + } if (from.has_id()) { mutable_id()->::flyteidl::core::Identifier::MergeFrom(from.id()); } @@ -4249,6 +4403,8 @@ void DynamicWorkflowNodeMetadata::Swap(DynamicWorkflowNodeMetadata* other) { void DynamicWorkflowNodeMetadata::InternalSwap(DynamicWorkflowNodeMetadata* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); + dynamic_job_spec_uri_.Swap(&other->dynamic_job_spec_uri_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); swap(id_, other->id_); swap(compiled_workflow_, other->compiled_workflow_); } @@ -4872,6 +5028,8 @@ void TaskExecutionEvent::InitAsDefaultInstance() { ::google::protobuf::Struct::internal_default_instance()); ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::flyteidl::event::TaskExecutionMetadata*>( ::flyteidl::event::TaskExecutionMetadata::internal_default_instance()); + ::flyteidl::event::_TaskExecutionEvent_default_instance_._instance.get_mutable()->reported_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); } class TaskExecutionEvent::HasBitSetters { public: @@ -4883,6 +5041,7 @@ class TaskExecutionEvent::HasBitSetters { static const ::flyteidl::core::LiteralMap& output_data(const TaskExecutionEvent* msg); static const ::google::protobuf::Struct& custom_info(const TaskExecutionEvent* msg); static const ::flyteidl::event::TaskExecutionMetadata& metadata(const TaskExecutionEvent* msg); + static const ::google::protobuf::Timestamp& reported_at(const TaskExecutionEvent* msg); }; const ::flyteidl::core::Identifier& @@ -4917,6 +5076,10 @@ const ::flyteidl::event::TaskExecutionMetadata& TaskExecutionEvent::HasBitSetters::metadata(const TaskExecutionEvent* msg) { return *msg->metadata_; } +const ::google::protobuf::Timestamp& +TaskExecutionEvent::HasBitSetters::reported_at(const TaskExecutionEvent* msg) { + return *msg->reported_at_; +} void TaskExecutionEvent::clear_task_id() { if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { delete task_id_; @@ -5004,6 +5167,12 @@ void TaskExecutionEvent::clear_custom_info() { } custom_info_ = nullptr; } +void TaskExecutionEvent::clear_reported_at() { + if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { + delete reported_at_; + } + reported_at_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int TaskExecutionEvent::kTaskIdFieldNumber; const int TaskExecutionEvent::kParentNodeExecutionIdFieldNumber; @@ -5023,6 +5192,7 @@ const int TaskExecutionEvent::kReasonFieldNumber; const int TaskExecutionEvent::kTaskTypeFieldNumber; const int TaskExecutionEvent::kMetadataFieldNumber; const int TaskExecutionEvent::kEventVersionFieldNumber; +const int TaskExecutionEvent::kReportedAtFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 TaskExecutionEvent::TaskExecutionEvent() @@ -5072,6 +5242,11 @@ TaskExecutionEvent::TaskExecutionEvent(const TaskExecutionEvent& from) } else { metadata_ = nullptr; } + if (from.has_reported_at()) { + reported_at_ = new ::google::protobuf::Timestamp(*from.reported_at_); + } else { + reported_at_ = nullptr; + } ::memcpy(&retry_attempt_, &from.retry_attempt_, static_cast(reinterpret_cast(&event_version_) - reinterpret_cast(&retry_attempt_)) + sizeof(event_version_)); @@ -5137,6 +5312,7 @@ void TaskExecutionEvent::SharedDtor() { if (this != internal_default_instance()) delete occurred_at_; if (this != internal_default_instance()) delete custom_info_; if (this != internal_default_instance()) delete metadata_; + if (this != internal_default_instance()) delete reported_at_; if (has_input_value()) { clear_input_value(); } @@ -5225,6 +5401,10 @@ void TaskExecutionEvent::Clear() { delete metadata_; } metadata_ = nullptr; + if (GetArenaNoVirtual() == nullptr && reported_at_ != nullptr) { + delete reported_at_; + } + reported_at_ = nullptr; ::memset(&retry_attempt_, 0, static_cast( reinterpret_cast(&event_version_) - reinterpret_cast(&retry_attempt_)) + sizeof(event_version_)); @@ -5475,6 +5655,19 @@ const char* TaskExecutionEvent::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } + // .google.protobuf.Timestamp reported_at = 20; + case 20: { + if (static_cast<::google::protobuf::uint8>(tag) != 162) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_reported_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5736,6 +5929,17 @@ bool TaskExecutionEvent::MergePartialFromCodedStream( break; } + // .google.protobuf.Timestamp reported_at = 20; + case 20: { + if (static_cast< ::google::protobuf::uint8>(tag) == (162 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_reported_at())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -5891,6 +6095,12 @@ void TaskExecutionEvent::SerializeWithCachedSizes( 19, HasBitSetters::input_data(this), output); } + // .google.protobuf.Timestamp reported_at = 20; + if (this->has_reported_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 20, HasBitSetters::reported_at(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -6044,6 +6254,13 @@ ::google::protobuf::uint8* TaskExecutionEvent::InternalSerializeWithCachedSizesT 19, HasBitSetters::input_data(this), target); } + // .google.protobuf.Timestamp reported_at = 20; + if (this->has_reported_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 20, HasBitSetters::reported_at(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -6132,6 +6349,13 @@ size_t TaskExecutionEvent::ByteSizeLong() const { *metadata_); } + // .google.protobuf.Timestamp reported_at = 20; + if (this->has_reported_at()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reported_at_); + } + // uint32 retry_attempt = 3; if (this->retry_attempt() != 0) { total_size += 1 + @@ -6259,6 +6483,9 @@ void TaskExecutionEvent::MergeFrom(const TaskExecutionEvent& from) { if (from.has_metadata()) { mutable_metadata()->::flyteidl::event::TaskExecutionMetadata::MergeFrom(from.metadata()); } + if (from.has_reported_at()) { + mutable_reported_at()->::google::protobuf::Timestamp::MergeFrom(from.reported_at()); + } if (from.retry_attempt() != 0) { set_retry_attempt(from.retry_attempt()); } @@ -6340,6 +6567,7 @@ void TaskExecutionEvent::InternalSwap(TaskExecutionEvent* other) { swap(occurred_at_, other->occurred_at_); swap(custom_info_, other->custom_info_); swap(metadata_, other->metadata_); + swap(reported_at_, other->reported_at_); swap(retry_attempt_, other->retry_attempt_); swap(phase_, other->phase_); swap(phase_version_, other->phase_version_); diff --git a/gen/pb-cpp/flyteidl/event/event.pb.h b/gen/pb-cpp/flyteidl/event/event.pb.h index d52de97ab..ef79dac7d 100644 --- a/gen/pb-cpp/flyteidl/event/event.pb.h +++ b/gen/pb-cpp/flyteidl/event/event.pb.h @@ -559,6 +559,15 @@ class NodeExecutionEvent final : ::flyteidl::event::ParentNodeExecutionMetadata* mutable_parent_node_metadata(); void set_allocated_parent_node_metadata(::flyteidl::event::ParentNodeExecutionMetadata* parent_node_metadata); + // .google.protobuf.Timestamp reported_at = 21; + bool has_reported_at() const; + void clear_reported_at(); + static const int kReportedAtFieldNumber = 21; + const ::google::protobuf::Timestamp& reported_at() const; + ::google::protobuf::Timestamp* release_reported_at(); + ::google::protobuf::Timestamp* mutable_reported_at(); + void set_allocated_reported_at(::google::protobuf::Timestamp* reported_at); + // .flyteidl.core.NodeExecution.Phase phase = 3; void clear_phase(); static const int kPhaseFieldNumber = 3; @@ -698,6 +707,7 @@ class NodeExecutionEvent final : ::google::protobuf::Timestamp* occurred_at_; ::flyteidl::event::ParentTaskExecutionMetadata* parent_task_metadata_; ::flyteidl::event::ParentNodeExecutionMetadata* parent_node_metadata_; + ::google::protobuf::Timestamp* reported_at_; int phase_; ::google::protobuf::int32 event_version_; bool is_parent_; @@ -1089,6 +1099,20 @@ class DynamicWorkflowNodeMetadata final : // accessors ------------------------------------------------------- + // string dynamic_job_spec_uri = 3; + void clear_dynamic_job_spec_uri(); + static const int kDynamicJobSpecUriFieldNumber = 3; + const ::std::string& dynamic_job_spec_uri() const; + void set_dynamic_job_spec_uri(const ::std::string& value); + #if LANG_CXX11 + void set_dynamic_job_spec_uri(::std::string&& value); + #endif + void set_dynamic_job_spec_uri(const char* value); + void set_dynamic_job_spec_uri(const char* value, size_t size); + ::std::string* mutable_dynamic_job_spec_uri(); + ::std::string* release_dynamic_job_spec_uri(); + void set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri); + // .flyteidl.core.Identifier id = 1; bool has_id() const; void clear_id(); @@ -1112,6 +1136,7 @@ class DynamicWorkflowNodeMetadata final : class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr dynamic_job_spec_uri_; ::flyteidl::core::Identifier* id_; ::flyteidl::core::CompiledWorkflowClosure* compiled_workflow_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -1561,6 +1586,15 @@ class TaskExecutionEvent final : ::flyteidl::event::TaskExecutionMetadata* mutable_metadata(); void set_allocated_metadata(::flyteidl::event::TaskExecutionMetadata* metadata); + // .google.protobuf.Timestamp reported_at = 20; + bool has_reported_at() const; + void clear_reported_at(); + static const int kReportedAtFieldNumber = 20; + const ::google::protobuf::Timestamp& reported_at() const; + ::google::protobuf::Timestamp* release_reported_at(); + ::google::protobuf::Timestamp* mutable_reported_at(); + void set_allocated_reported_at(::google::protobuf::Timestamp* reported_at); + // uint32 retry_attempt = 3; void clear_retry_attempt(); static const int kRetryAttemptFieldNumber = 3; @@ -1675,6 +1709,7 @@ class TaskExecutionEvent final : ::google::protobuf::Timestamp* occurred_at_; ::google::protobuf::Struct* custom_info_; ::flyteidl::event::TaskExecutionMetadata* metadata_; + ::google::protobuf::Timestamp* reported_at_; ::google::protobuf::uint32 retry_attempt_; int phase_; ::google::protobuf::uint32 phase_version_; @@ -3414,6 +3449,52 @@ inline void NodeExecutionEvent::set_allocated_deck_uri(::std::string* deck_uri) // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.deck_uri) } +// .google.protobuf.Timestamp reported_at = 21; +inline bool NodeExecutionEvent::has_reported_at() const { + return this != internal_default_instance() && reported_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& NodeExecutionEvent::reported_at() const { + const ::google::protobuf::Timestamp* p = reported_at_; + // @@protoc_insertion_point(field_get:flyteidl.event.NodeExecutionEvent.reported_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* NodeExecutionEvent::release_reported_at() { + // @@protoc_insertion_point(field_release:flyteidl.event.NodeExecutionEvent.reported_at) + + ::google::protobuf::Timestamp* temp = reported_at_; + reported_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* NodeExecutionEvent::mutable_reported_at() { + + if (reported_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + reported_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.NodeExecutionEvent.reported_at) + return reported_at_; +} +inline void NodeExecutionEvent::set_allocated_reported_at(::google::protobuf::Timestamp* reported_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(reported_at_); + } + if (reported_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(reported_at)->GetArena(); + if (message_arena != submessage_arena) { + reported_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, reported_at, submessage_arena); + } + + } else { + + } + reported_at_ = reported_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.NodeExecutionEvent.reported_at) +} + inline bool NodeExecutionEvent::has_input_value() const { return input_value_case() != INPUT_VALUE_NOT_SET; } @@ -3765,6 +3846,59 @@ inline void DynamicWorkflowNodeMetadata::set_allocated_compiled_workflow(::flyte // @@protoc_insertion_point(field_set_allocated:flyteidl.event.DynamicWorkflowNodeMetadata.compiled_workflow) } +// string dynamic_job_spec_uri = 3; +inline void DynamicWorkflowNodeMetadata::clear_dynamic_job_spec_uri() { + dynamic_job_spec_uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DynamicWorkflowNodeMetadata::dynamic_job_spec_uri() const { + // @@protoc_insertion_point(field_get:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.GetNoArena(); +} +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const ::std::string& value) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +#if LANG_CXX11 +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(::std::string&& value) { + + dynamic_job_spec_uri_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +#endif +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +inline void DynamicWorkflowNodeMetadata::set_dynamic_job_spec_uri(const char* value, size_t size) { + + dynamic_job_spec_uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} +inline ::std::string* DynamicWorkflowNodeMetadata::mutable_dynamic_job_spec_uri() { + + // @@protoc_insertion_point(field_mutable:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + return dynamic_job_spec_uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DynamicWorkflowNodeMetadata::release_dynamic_job_spec_uri() { + // @@protoc_insertion_point(field_release:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) + + return dynamic_job_spec_uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DynamicWorkflowNodeMetadata::set_allocated_dynamic_job_spec_uri(::std::string* dynamic_job_spec_uri) { + if (dynamic_job_spec_uri != nullptr) { + + } else { + + } + dynamic_job_spec_uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dynamic_job_spec_uri); + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri) +} + // ------------------------------------------------------------------- // ParentTaskExecutionMetadata @@ -4639,6 +4773,52 @@ inline void TaskExecutionEvent::set_event_version(::google::protobuf::int32 valu // @@protoc_insertion_point(field_set:flyteidl.event.TaskExecutionEvent.event_version) } +// .google.protobuf.Timestamp reported_at = 20; +inline bool TaskExecutionEvent::has_reported_at() const { + return this != internal_default_instance() && reported_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& TaskExecutionEvent::reported_at() const { + const ::google::protobuf::Timestamp* p = reported_at_; + // @@protoc_insertion_point(field_get:flyteidl.event.TaskExecutionEvent.reported_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* TaskExecutionEvent::release_reported_at() { + // @@protoc_insertion_point(field_release:flyteidl.event.TaskExecutionEvent.reported_at) + + ::google::protobuf::Timestamp* temp = reported_at_; + reported_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* TaskExecutionEvent::mutable_reported_at() { + + if (reported_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + reported_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.TaskExecutionEvent.reported_at) + return reported_at_; +} +inline void TaskExecutionEvent::set_allocated_reported_at(::google::protobuf::Timestamp* reported_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(reported_at_); + } + if (reported_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(reported_at)->GetArena(); + if (message_arena != submessage_arena) { + reported_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, reported_at, submessage_arena); + } + + } else { + + } + reported_at_ = reported_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.TaskExecutionEvent.reported_at) +} + inline bool TaskExecutionEvent::has_input_value() const { return input_value_case() != INPUT_VALUE_NOT_SET; } diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc new file mode 100644 index 000000000..97c982009 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.cc @@ -0,0 +1,26 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/common.proto + +#include "flyteidl/plugins/kubeflow/common.pb.h" +#include "flyteidl/plugins/kubeflow/common.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace flyteidl +} // namespace plugins +} // namespace kubeflow + diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h new file mode 100644 index 000000000..010f31fab --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.grpc.pb.h @@ -0,0 +1,49 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/common.proto +#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED +#define GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED + +#include "flyteidl/plugins/kubeflow/common.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc new file mode 100644 index 000000000..3ee0fd441 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.cc @@ -0,0 +1,548 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/common.proto + +#include "flyteidl/plugins/kubeflow/common.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class RunPolicyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RunPolicy_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +static void InitDefaultsRunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::RunPolicy(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::RunPolicy::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto}, {}}; + +void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[1]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[2]; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, clean_pod_policy_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, ttl_seconds_after_finished_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, active_deadline_seconds_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::RunPolicy, backoff_limit_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::plugins::kubeflow::RunPolicy)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = { + {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, "flyteidl/plugins/kubeflow/common.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto::offsets, + file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[] = + "\n&flyteidl/plugins/kubeflow/common.proto" + "\022\031flyteidl.plugins.kubeflow\"\254\001\n\tRunPolic" + "y\022C\n\020clean_pod_policy\030\001 \001(\0162).flyteidl.p" + "lugins.kubeflow.CleanPodPolicy\022\"\n\032ttl_se" + "conds_after_finished\030\002 \001(\005\022\037\n\027active_dea" + "dline_seconds\030\003 \001(\005\022\025\n\rbackoff_limit\030\004 \001" + "(\005*c\n\rRestartPolicy\022\030\n\024RESTART_POLICY_NE" + "VER\020\000\022\035\n\031RESTART_POLICY_ON_FAILURE\020\001\022\031\n\025" + "RESTART_POLICY_ALWAYS\020\002*`\n\016CleanPodPolic" + "y\022\030\n\024CLEANPOD_POLICY_NONE\020\000\022\033\n\027CLEANPOD_" + "POLICY_RUNNING\020\001\022\027\n\023CLEANPOD_POLICY_ALL\020" + "\002B9Z7github.com/flyteorg/flyteidl/gen/pb" + "-go/flyteidl/pluginsb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = { + false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, + descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, + "flyteidl/plugins/kubeflow/common.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, 508, +}; + +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[1] = + { + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, deps, 0); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto(); return true; }(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { +const ::google::protobuf::EnumDescriptor* RestartPolicy_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); + return file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[0]; +} +bool RestartPolicy_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* CleanPodPolicy_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); + return file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[1]; +} +bool CleanPodPolicy_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +void RunPolicy::InitAsDefaultInstance() { +} +class RunPolicy::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RunPolicy::kCleanPodPolicyFieldNumber; +const int RunPolicy::kTtlSecondsAfterFinishedFieldNumber; +const int RunPolicy::kActiveDeadlineSecondsFieldNumber; +const int RunPolicy::kBackoffLimitFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RunPolicy::RunPolicy() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.RunPolicy) +} +RunPolicy::RunPolicy(const RunPolicy& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&clean_pod_policy_, &from.clean_pod_policy_, + static_cast(reinterpret_cast(&backoff_limit_) - + reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.RunPolicy) +} + +void RunPolicy::SharedCtor() { + ::memset(&clean_pod_policy_, 0, static_cast( + reinterpret_cast(&backoff_limit_) - + reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); +} + +RunPolicy::~RunPolicy() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.RunPolicy) + SharedDtor(); +} + +void RunPolicy::SharedDtor() { +} + +void RunPolicy::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RunPolicy& RunPolicy::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base); + return *internal_default_instance(); +} + + +void RunPolicy::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.RunPolicy) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&clean_pod_policy_, 0, static_cast( + reinterpret_cast(&backoff_limit_) - + reinterpret_cast(&clean_pod_policy_)) + sizeof(backoff_limit_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RunPolicy::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_clean_pod_policy(static_cast<::flyteidl::plugins::kubeflow::CleanPodPolicy>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 ttl_seconds_after_finished = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_ttl_seconds_after_finished(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 active_deadline_seconds = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; + msg->set_active_deadline_seconds(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 backoff_limit = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + msg->set_backoff_limit(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool RunPolicy::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.RunPolicy) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_clean_pod_policy(static_cast< ::flyteidl::plugins::kubeflow::CleanPodPolicy >(value)); + } else { + goto handle_unusual; + } + break; + } + + // int32 ttl_seconds_after_finished = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &ttl_seconds_after_finished_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 active_deadline_seconds = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &active_deadline_seconds_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 backoff_limit = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &backoff_limit_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.RunPolicy) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.RunPolicy) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RunPolicy::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.RunPolicy) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + if (this->clean_pod_policy() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->clean_pod_policy(), output); + } + + // int32 ttl_seconds_after_finished = 2; + if (this->ttl_seconds_after_finished() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->ttl_seconds_after_finished(), output); + } + + // int32 active_deadline_seconds = 3; + if (this->active_deadline_seconds() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->active_deadline_seconds(), output); + } + + // int32 backoff_limit = 4; + if (this->backoff_limit() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->backoff_limit(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.RunPolicy) +} + +::google::protobuf::uint8* RunPolicy::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.RunPolicy) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + if (this->clean_pod_policy() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->clean_pod_policy(), target); + } + + // int32 ttl_seconds_after_finished = 2; + if (this->ttl_seconds_after_finished() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->ttl_seconds_after_finished(), target); + } + + // int32 active_deadline_seconds = 3; + if (this->active_deadline_seconds() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->active_deadline_seconds(), target); + } + + // int32 backoff_limit = 4; + if (this->backoff_limit() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->backoff_limit(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.RunPolicy) + return target; +} + +size_t RunPolicy::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.RunPolicy) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + if (this->clean_pod_policy() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->clean_pod_policy()); + } + + // int32 ttl_seconds_after_finished = 2; + if (this->ttl_seconds_after_finished() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->ttl_seconds_after_finished()); + } + + // int32 active_deadline_seconds = 3; + if (this->active_deadline_seconds() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->active_deadline_seconds()); + } + + // int32 backoff_limit = 4; + if (this->backoff_limit() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->backoff_limit()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RunPolicy::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.RunPolicy) + GOOGLE_DCHECK_NE(&from, this); + const RunPolicy* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.RunPolicy) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.RunPolicy) + MergeFrom(*source); + } +} + +void RunPolicy::MergeFrom(const RunPolicy& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.RunPolicy) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.clean_pod_policy() != 0) { + set_clean_pod_policy(from.clean_pod_policy()); + } + if (from.ttl_seconds_after_finished() != 0) { + set_ttl_seconds_after_finished(from.ttl_seconds_after_finished()); + } + if (from.active_deadline_seconds() != 0) { + set_active_deadline_seconds(from.active_deadline_seconds()); + } + if (from.backoff_limit() != 0) { + set_backoff_limit(from.backoff_limit()); + } +} + +void RunPolicy::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.RunPolicy) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RunPolicy::CopyFrom(const RunPolicy& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.RunPolicy) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RunPolicy::IsInitialized() const { + return true; +} + +void RunPolicy::Swap(RunPolicy* other) { + if (other == this) return; + InternalSwap(other); +} +void RunPolicy::InternalSwap(RunPolicy* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(clean_pod_policy_, other->clean_pod_policy_); + swap(ttl_seconds_after_finished_, other->ttl_seconds_after_finished_); + swap(active_deadline_seconds_, other->active_deadline_seconds_); + swap(backoff_limit_, other->backoff_limit_); +} + +::google::protobuf::Metadata RunPolicy::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::RunPolicy* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::RunPolicy >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::RunPolicy >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h new file mode 100644 index 000000000..de4d80d2a --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/common.pb.h @@ -0,0 +1,344 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/common.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[1] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class RunPolicy; +class RunPolicyDefaultTypeInternal; +extern RunPolicyDefaultTypeInternal _RunPolicy_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::plugins::kubeflow::RunPolicy* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +enum RestartPolicy { + RESTART_POLICY_NEVER = 0, + RESTART_POLICY_ON_FAILURE = 1, + RESTART_POLICY_ALWAYS = 2, + RestartPolicy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + RestartPolicy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool RestartPolicy_IsValid(int value); +const RestartPolicy RestartPolicy_MIN = RESTART_POLICY_NEVER; +const RestartPolicy RestartPolicy_MAX = RESTART_POLICY_ALWAYS; +const int RestartPolicy_ARRAYSIZE = RestartPolicy_MAX + 1; + +const ::google::protobuf::EnumDescriptor* RestartPolicy_descriptor(); +inline const ::std::string& RestartPolicy_Name(RestartPolicy value) { + return ::google::protobuf::internal::NameOfEnum( + RestartPolicy_descriptor(), value); +} +inline bool RestartPolicy_Parse( + const ::std::string& name, RestartPolicy* value) { + return ::google::protobuf::internal::ParseNamedEnum( + RestartPolicy_descriptor(), name, value); +} +enum CleanPodPolicy { + CLEANPOD_POLICY_NONE = 0, + CLEANPOD_POLICY_RUNNING = 1, + CLEANPOD_POLICY_ALL = 2, + CleanPodPolicy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + CleanPodPolicy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool CleanPodPolicy_IsValid(int value); +const CleanPodPolicy CleanPodPolicy_MIN = CLEANPOD_POLICY_NONE; +const CleanPodPolicy CleanPodPolicy_MAX = CLEANPOD_POLICY_ALL; +const int CleanPodPolicy_ARRAYSIZE = CleanPodPolicy_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CleanPodPolicy_descriptor(); +inline const ::std::string& CleanPodPolicy_Name(CleanPodPolicy value) { + return ::google::protobuf::internal::NameOfEnum( + CleanPodPolicy_descriptor(), value); +} +inline bool CleanPodPolicy_Parse( + const ::std::string& name, CleanPodPolicy* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CleanPodPolicy_descriptor(), name, value); +} +// =================================================================== + +class RunPolicy final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.RunPolicy) */ { + public: + RunPolicy(); + virtual ~RunPolicy(); + + RunPolicy(const RunPolicy& from); + + inline RunPolicy& operator=(const RunPolicy& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RunPolicy(RunPolicy&& from) noexcept + : RunPolicy() { + *this = ::std::move(from); + } + + inline RunPolicy& operator=(RunPolicy&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RunPolicy& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RunPolicy* internal_default_instance() { + return reinterpret_cast( + &_RunPolicy_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(RunPolicy* other); + friend void swap(RunPolicy& a, RunPolicy& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RunPolicy* New() const final { + return CreateMaybeMessage(nullptr); + } + + RunPolicy* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RunPolicy& from); + void MergeFrom(const RunPolicy& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RunPolicy* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + void clear_clean_pod_policy(); + static const int kCleanPodPolicyFieldNumber = 1; + ::flyteidl::plugins::kubeflow::CleanPodPolicy clean_pod_policy() const; + void set_clean_pod_policy(::flyteidl::plugins::kubeflow::CleanPodPolicy value); + + // int32 ttl_seconds_after_finished = 2; + void clear_ttl_seconds_after_finished(); + static const int kTtlSecondsAfterFinishedFieldNumber = 2; + ::google::protobuf::int32 ttl_seconds_after_finished() const; + void set_ttl_seconds_after_finished(::google::protobuf::int32 value); + + // int32 active_deadline_seconds = 3; + void clear_active_deadline_seconds(); + static const int kActiveDeadlineSecondsFieldNumber = 3; + ::google::protobuf::int32 active_deadline_seconds() const; + void set_active_deadline_seconds(::google::protobuf::int32 value); + + // int32 backoff_limit = 4; + void clear_backoff_limit(); + static const int kBackoffLimitFieldNumber = 4; + ::google::protobuf::int32 backoff_limit() const; + void set_backoff_limit(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.RunPolicy) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + int clean_pod_policy_; + ::google::protobuf::int32 ttl_seconds_after_finished_; + ::google::protobuf::int32 active_deadline_seconds_; + ::google::protobuf::int32 backoff_limit_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// RunPolicy + +// .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; +inline void RunPolicy::clear_clean_pod_policy() { + clean_pod_policy_ = 0; +} +inline ::flyteidl::plugins::kubeflow::CleanPodPolicy RunPolicy::clean_pod_policy() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy) + return static_cast< ::flyteidl::plugins::kubeflow::CleanPodPolicy >(clean_pod_policy_); +} +inline void RunPolicy::set_clean_pod_policy(::flyteidl::plugins::kubeflow::CleanPodPolicy value) { + + clean_pod_policy_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy) +} + +// int32 ttl_seconds_after_finished = 2; +inline void RunPolicy::clear_ttl_seconds_after_finished() { + ttl_seconds_after_finished_ = 0; +} +inline ::google::protobuf::int32 RunPolicy::ttl_seconds_after_finished() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.ttl_seconds_after_finished) + return ttl_seconds_after_finished_; +} +inline void RunPolicy::set_ttl_seconds_after_finished(::google::protobuf::int32 value) { + + ttl_seconds_after_finished_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.ttl_seconds_after_finished) +} + +// int32 active_deadline_seconds = 3; +inline void RunPolicy::clear_active_deadline_seconds() { + active_deadline_seconds_ = 0; +} +inline ::google::protobuf::int32 RunPolicy::active_deadline_seconds() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.active_deadline_seconds) + return active_deadline_seconds_; +} +inline void RunPolicy::set_active_deadline_seconds(::google::protobuf::int32 value) { + + active_deadline_seconds_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.active_deadline_seconds) +} + +// int32 backoff_limit = 4; +inline void RunPolicy::clear_backoff_limit() { + backoff_limit_ = 0; +} +inline ::google::protobuf::int32 RunPolicy::backoff_limit() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.RunPolicy.backoff_limit) + return backoff_limit_; +} +inline void RunPolicy::set_backoff_limit(::google::protobuf::int32 value) { + + backoff_limit_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.RunPolicy.backoff_limit) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::flyteidl::plugins::kubeflow::RestartPolicy> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::plugins::kubeflow::RestartPolicy>() { + return ::flyteidl::plugins::kubeflow::RestartPolicy_descriptor(); +} +template <> struct is_proto_enum< ::flyteidl::plugins::kubeflow::CleanPodPolicy> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::plugins::kubeflow::CleanPodPolicy>() { + return ::flyteidl::plugins::kubeflow::CleanPodPolicy_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc new file mode 100644 index 000000000..bbf565e02 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.cc @@ -0,0 +1,26 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/mpi.proto + +#include "flyteidl/plugins/kubeflow/mpi.pb.h" +#include "flyteidl/plugins/kubeflow/mpi.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace flyteidl +} // namespace plugins +} // namespace kubeflow + diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h new file mode 100644 index 000000000..c6570dd36 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.grpc.pb.h @@ -0,0 +1,49 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/mpi.proto +#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED +#define GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED + +#include "flyteidl/plugins/kubeflow/mpi.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc new file mode 100644 index 000000000..bac650d44 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.cc @@ -0,0 +1,1173 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/mpi.proto + +#include "flyteidl/plugins/kubeflow/mpi.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class DistributedMPITrainingTaskDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedMPITrainingTask_default_instance_; +class DistributedMPITrainingReplicaSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedMPITrainingReplicaSpec_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +static void InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto}, { + &scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base, + &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base,}}; + +static void InitDefaultsDistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto}, { + &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; + +void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[2]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, worker_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, launcher_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, run_policy_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask, slots_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, image_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, resources_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, restart_policy_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec, command_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedMPITrainingTask)}, + { 9, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_), + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = { + {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, "flyteidl/plugins/kubeflow/mpi.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto::offsets, + file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[] = + "\n#flyteidl/plugins/kubeflow/mpi.proto\022\031f" + "lyteidl.plugins.kubeflow\032\031flyteidl/core/" + "tasks.proto\032&flyteidl/plugins/kubeflow/c" + "ommon.proto\"\225\002\n\032DistributedMPITrainingTa" + "sk\022U\n\017worker_replicas\030\001 \001(\0132<.flyteidl.p" + "lugins.kubeflow.DistributedMPITrainingRe" + "plicaSpec\022W\n\021launcher_replicas\030\002 \001(\0132<.f" + "lyteidl.plugins.kubeflow.DistributedMPIT" + "rainingReplicaSpec\0228\n\nrun_policy\030\003 \001(\0132$" + ".flyteidl.plugins.kubeflow.RunPolicy\022\r\n\005" + "slots\030\004 \001(\005\"\304\001\n!DistributedMPITrainingRe" + "plicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001" + "(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Re" + "sources\022@\n\016restart_policy\030\004 \001(\0162(.flytei" + "dl.plugins.kubeflow.RestartPolicy\022\017\n\007com" + "mand\030\005 \003(\tB9Z7github.com/flyteorg/flytei" + "dl/gen/pb-go/flyteidl/pluginsb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = { + false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, + descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, + "flyteidl/plugins/kubeflow/mpi.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, 677, +}; + +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[2] = + { + ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, + ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto, deps, 2); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto(); return true; }(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +void DistributedMPITrainingTask::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->launcher_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedMPITrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( + ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); +} +class DistributedMPITrainingTask::HasBitSetters { + public: + static const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& worker_replicas(const DistributedMPITrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& launcher_replicas(const DistributedMPITrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedMPITrainingTask* msg); +}; + +const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& +DistributedMPITrainingTask::HasBitSetters::worker_replicas(const DistributedMPITrainingTask* msg) { + return *msg->worker_replicas_; +} +const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& +DistributedMPITrainingTask::HasBitSetters::launcher_replicas(const DistributedMPITrainingTask* msg) { + return *msg->launcher_replicas_; +} +const ::flyteidl::plugins::kubeflow::RunPolicy& +DistributedMPITrainingTask::HasBitSetters::run_policy(const DistributedMPITrainingTask* msg) { + return *msg->run_policy_; +} +void DistributedMPITrainingTask::clear_run_policy() { + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedMPITrainingTask::kWorkerReplicasFieldNumber; +const int DistributedMPITrainingTask::kLauncherReplicasFieldNumber; +const int DistributedMPITrainingTask::kRunPolicyFieldNumber; +const int DistributedMPITrainingTask::kSlotsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedMPITrainingTask::DistributedMPITrainingTask() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) +} +DistributedMPITrainingTask::DistributedMPITrainingTask(const DistributedMPITrainingTask& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_worker_replicas()) { + worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(*from.worker_replicas_); + } else { + worker_replicas_ = nullptr; + } + if (from.has_launcher_replicas()) { + launcher_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec(*from.launcher_replicas_); + } else { + launcher_replicas_ = nullptr; + } + if (from.has_run_policy()) { + run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); + } else { + run_policy_ = nullptr; + } + slots_ = from.slots_; + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) +} + +void DistributedMPITrainingTask::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); + ::memset(&worker_replicas_, 0, static_cast( + reinterpret_cast(&slots_) - + reinterpret_cast(&worker_replicas_)) + sizeof(slots_)); +} + +DistributedMPITrainingTask::~DistributedMPITrainingTask() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + SharedDtor(); +} + +void DistributedMPITrainingTask::SharedDtor() { + if (this != internal_default_instance()) delete worker_replicas_; + if (this != internal_default_instance()) delete launcher_replicas_; + if (this != internal_default_instance()) delete run_policy_; +} + +void DistributedMPITrainingTask::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedMPITrainingTask& DistributedMPITrainingTask::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedMPITrainingTask_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedMPITrainingTask::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && launcher_replicas_ != nullptr) { + delete launcher_replicas_; + } + launcher_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; + slots_ = 0; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedMPITrainingTask::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::_InternalParse; + object = msg->mutable_worker_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::_InternalParse; + object = msg->mutable_launcher_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::RunPolicy::_InternalParse; + object = msg->mutable_run_policy(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // int32 slots = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + msg->set_slots(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedMPITrainingTask::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_worker_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launcher_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_run_policy())); + } else { + goto handle_unusual; + } + break; + } + + // int32 slots = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slots_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedMPITrainingTask::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::worker_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + if (this->has_launcher_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::launcher_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::run_policy(this), output); + } + + // int32 slots = 4; + if (this->slots() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->slots(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) +} + +::google::protobuf::uint8* DistributedMPITrainingTask::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::worker_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + if (this->has_launcher_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::launcher_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::run_policy(this), target); + } + + // int32 slots = 4; + if (this->slots() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->slots(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + return target; +} + +size_t DistributedMPITrainingTask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *worker_replicas_); + } + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + if (this->has_launcher_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *launcher_replicas_); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *run_policy_); + } + + // int32 slots = 4; + if (this->slots() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slots()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedMPITrainingTask::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + GOOGLE_DCHECK_NE(&from, this); + const DistributedMPITrainingTask* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + MergeFrom(*source); + } +} + +void DistributedMPITrainingTask::MergeFrom(const DistributedMPITrainingTask& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_worker_replicas()) { + mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::MergeFrom(from.worker_replicas()); + } + if (from.has_launcher_replicas()) { + mutable_launcher_replicas()->::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec::MergeFrom(from.launcher_replicas()); + } + if (from.has_run_policy()) { + mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); + } + if (from.slots() != 0) { + set_slots(from.slots()); + } +} + +void DistributedMPITrainingTask::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedMPITrainingTask::CopyFrom(const DistributedMPITrainingTask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedMPITrainingTask::IsInitialized() const { + return true; +} + +void DistributedMPITrainingTask::Swap(DistributedMPITrainingTask* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedMPITrainingTask::InternalSwap(DistributedMPITrainingTask* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(worker_replicas_, other->worker_replicas_); + swap(launcher_replicas_, other->launcher_replicas_); + swap(run_policy_, other->run_policy_); + swap(slots_, other->slots_); +} + +::google::protobuf::Metadata DistributedMPITrainingTask::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DistributedMPITrainingReplicaSpec::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( + ::flyteidl::core::Resources::internal_default_instance()); +} +class DistributedMPITrainingReplicaSpec::HasBitSetters { + public: + static const ::flyteidl::core::Resources& resources(const DistributedMPITrainingReplicaSpec* msg); +}; + +const ::flyteidl::core::Resources& +DistributedMPITrainingReplicaSpec::HasBitSetters::resources(const DistributedMPITrainingReplicaSpec* msg) { + return *msg->resources_; +} +void DistributedMPITrainingReplicaSpec::clear_resources() { + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedMPITrainingReplicaSpec::kReplicasFieldNumber; +const int DistributedMPITrainingReplicaSpec::kImageFieldNumber; +const int DistributedMPITrainingReplicaSpec::kResourcesFieldNumber; +const int DistributedMPITrainingReplicaSpec::kRestartPolicyFieldNumber; +const int DistributedMPITrainingReplicaSpec::kCommandFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedMPITrainingReplicaSpec::DistributedMPITrainingReplicaSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) +} +DistributedMPITrainingReplicaSpec::DistributedMPITrainingReplicaSpec(const DistributedMPITrainingReplicaSpec& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + command_(from.command_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.image().size() > 0) { + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + resources_ = new ::flyteidl::core::Resources(*from.resources_); + } else { + resources_ = nullptr; + } + ::memcpy(&replicas_, &from.replicas_, + static_cast(reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) +} + +void DistributedMPITrainingReplicaSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&resources_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&resources_)) + sizeof(restart_policy_)); +} + +DistributedMPITrainingReplicaSpec::~DistributedMPITrainingReplicaSpec() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + SharedDtor(); +} + +void DistributedMPITrainingReplicaSpec::SharedDtor() { + image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete resources_; +} + +void DistributedMPITrainingReplicaSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedMPITrainingReplicaSpec& DistributedMPITrainingReplicaSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedMPITrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedMPITrainingReplicaSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + command_.Clear(); + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; + ::memset(&replicas_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedMPITrainingReplicaSpec::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // int32 replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // string image = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); + object = msg->mutable_image(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Resources::_InternalParse; + object = msg->mutable_resources(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // repeated string command = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); + object = msg->add_command(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 42 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedMPITrainingReplicaSpec::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int32 replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // string image = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_image())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_resources())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); + } else { + goto handle_unusual; + } + break; + } + + // repeated string command = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_command())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command(this->command_size() - 1).data(), + static_cast(this->command(this->command_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedMPITrainingReplicaSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->image(), output); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::resources(this), output); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 4, this->restart_policy(), output); + } + + // repeated string command = 5; + for (int i = 0, n = this->command_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command(i).data(), static_cast(this->command(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->command(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) +} + +::google::protobuf::uint8* DistributedMPITrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->image(), target); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::resources(this), target); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 4, this->restart_policy(), target); + } + + // repeated string command = 5; + for (int i = 0, n = this->command_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->command(i).data(), static_cast(this->command(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(5, this->command(i), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + return target; +} + +size_t DistributedMPITrainingReplicaSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string command = 5; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->command_size()); + for (int i = 0, n = this->command_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->command(i)); + } + + // string image = 2; + if (this->image().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->image()); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *resources_); + } + + // int32 replicas = 1; + if (this->replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->replicas()); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedMPITrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + const DistributedMPITrainingReplicaSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + MergeFrom(*source); + } +} + +void DistributedMPITrainingReplicaSpec::MergeFrom(const DistributedMPITrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + command_.MergeFrom(from.command_); + if (from.image().size() > 0) { + + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); + } + if (from.replicas() != 0) { + set_replicas(from.replicas()); + } + if (from.restart_policy() != 0) { + set_restart_policy(from.restart_policy()); + } +} + +void DistributedMPITrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedMPITrainingReplicaSpec::CopyFrom(const DistributedMPITrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedMPITrainingReplicaSpec::IsInitialized() const { + return true; +} + +void DistributedMPITrainingReplicaSpec::Swap(DistributedMPITrainingReplicaSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedMPITrainingReplicaSpec::InternalSwap(DistributedMPITrainingReplicaSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + command_.InternalSwap(CastToBase(&other->command_)); + image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(resources_, other->resources_); + swap(replicas_, other->replicas_); + swap(restart_policy_, other->restart_policy_); +} + +::google::protobuf::Metadata DistributedMPITrainingReplicaSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h new file mode 100644 index 000000000..46d41ed49 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/mpi.pb.h @@ -0,0 +1,770 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/mpi.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "flyteidl/core/tasks.pb.h" +#include "flyteidl/plugins/kubeflow/common.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[2] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class DistributedMPITrainingReplicaSpec; +class DistributedMPITrainingReplicaSpecDefaultTypeInternal; +extern DistributedMPITrainingReplicaSpecDefaultTypeInternal _DistributedMPITrainingReplicaSpec_default_instance_; +class DistributedMPITrainingTask; +class DistributedMPITrainingTaskDefaultTypeInternal; +extern DistributedMPITrainingTaskDefaultTypeInternal _DistributedMPITrainingTask_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(Arena*); +template<> ::flyteidl::plugins::kubeflow::DistributedMPITrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingTask>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +class DistributedMPITrainingTask final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) */ { + public: + DistributedMPITrainingTask(); + virtual ~DistributedMPITrainingTask(); + + DistributedMPITrainingTask(const DistributedMPITrainingTask& from); + + inline DistributedMPITrainingTask& operator=(const DistributedMPITrainingTask& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedMPITrainingTask(DistributedMPITrainingTask&& from) noexcept + : DistributedMPITrainingTask() { + *this = ::std::move(from); + } + + inline DistributedMPITrainingTask& operator=(DistributedMPITrainingTask&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedMPITrainingTask& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedMPITrainingTask* internal_default_instance() { + return reinterpret_cast( + &_DistributedMPITrainingTask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(DistributedMPITrainingTask* other); + friend void swap(DistributedMPITrainingTask& a, DistributedMPITrainingTask& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedMPITrainingTask* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedMPITrainingTask* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedMPITrainingTask& from); + void MergeFrom(const DistributedMPITrainingTask& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedMPITrainingTask* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + bool has_worker_replicas() const; + void clear_worker_replicas(); + static const int kWorkerReplicasFieldNumber = 1; + const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& worker_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* release_worker_replicas(); + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* mutable_worker_replicas(); + void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas); + + // .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + bool has_launcher_replicas() const; + void clear_launcher_replicas(); + static const int kLauncherReplicasFieldNumber = 2; + const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& launcher_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* release_launcher_replicas(); + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* mutable_launcher_replicas(); + void set_allocated_launcher_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas); + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + bool has_run_policy() const; + void clear_run_policy(); + static const int kRunPolicyFieldNumber = 3; + const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; + ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); + ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); + void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); + + // int32 slots = 4; + void clear_slots(); + static const int kSlotsFieldNumber = 4; + ::google::protobuf::int32 slots() const; + void set_slots(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas_; + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas_; + ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; + ::google::protobuf::int32 slots_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; +}; +// ------------------------------------------------------------------- + +class DistributedMPITrainingReplicaSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) */ { + public: + DistributedMPITrainingReplicaSpec(); + virtual ~DistributedMPITrainingReplicaSpec(); + + DistributedMPITrainingReplicaSpec(const DistributedMPITrainingReplicaSpec& from); + + inline DistributedMPITrainingReplicaSpec& operator=(const DistributedMPITrainingReplicaSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedMPITrainingReplicaSpec(DistributedMPITrainingReplicaSpec&& from) noexcept + : DistributedMPITrainingReplicaSpec() { + *this = ::std::move(from); + } + + inline DistributedMPITrainingReplicaSpec& operator=(DistributedMPITrainingReplicaSpec&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedMPITrainingReplicaSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedMPITrainingReplicaSpec* internal_default_instance() { + return reinterpret_cast( + &_DistributedMPITrainingReplicaSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(DistributedMPITrainingReplicaSpec* other); + friend void swap(DistributedMPITrainingReplicaSpec& a, DistributedMPITrainingReplicaSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedMPITrainingReplicaSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedMPITrainingReplicaSpec* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedMPITrainingReplicaSpec& from); + void MergeFrom(const DistributedMPITrainingReplicaSpec& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedMPITrainingReplicaSpec* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated string command = 5; + int command_size() const; + void clear_command(); + static const int kCommandFieldNumber = 5; + const ::std::string& command(int index) const; + ::std::string* mutable_command(int index); + void set_command(int index, const ::std::string& value); + #if LANG_CXX11 + void set_command(int index, ::std::string&& value); + #endif + void set_command(int index, const char* value); + void set_command(int index, const char* value, size_t size); + ::std::string* add_command(); + void add_command(const ::std::string& value); + #if LANG_CXX11 + void add_command(::std::string&& value); + #endif + void add_command(const char* value); + void add_command(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& command() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_command(); + + // string image = 2; + void clear_image(); + static const int kImageFieldNumber = 2; + const ::std::string& image() const; + void set_image(const ::std::string& value); + #if LANG_CXX11 + void set_image(::std::string&& value); + #endif + void set_image(const char* value); + void set_image(const char* value, size_t size); + ::std::string* mutable_image(); + ::std::string* release_image(); + void set_allocated_image(::std::string* image); + + // .flyteidl.core.Resources resources = 3; + bool has_resources() const; + void clear_resources(); + static const int kResourcesFieldNumber = 3; + const ::flyteidl::core::Resources& resources() const; + ::flyteidl::core::Resources* release_resources(); + ::flyteidl::core::Resources* mutable_resources(); + void set_allocated_resources(::flyteidl::core::Resources* resources); + + // int32 replicas = 1; + void clear_replicas(); + static const int kReplicasFieldNumber = 1; + ::google::protobuf::int32 replicas() const; + void set_replicas(::google::protobuf::int32 value); + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + void clear_restart_policy(); + static const int kRestartPolicyFieldNumber = 4; + ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; + void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField<::std::string> command_; + ::google::protobuf::internal::ArenaStringPtr image_; + ::flyteidl::core::Resources* resources_; + ::google::protobuf::int32 replicas_; + int restart_policy_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// DistributedMPITrainingTask + +// .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; +inline bool DistributedMPITrainingTask::has_worker_replicas() const { + return this != internal_default_instance() && worker_replicas_ != nullptr; +} +inline void DistributedMPITrainingTask::clear_worker_replicas() { + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& DistributedMPITrainingTask::worker_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* p = worker_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::release_worker_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) + + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* temp = worker_replicas_; + worker_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::mutable_worker_replicas() { + + if (worker_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(GetArenaNoVirtual()); + worker_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) + return worker_replicas_; +} +inline void DistributedMPITrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* worker_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete worker_replicas_; + } + if (worker_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + worker_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, worker_replicas, submessage_arena); + } + + } else { + + } + worker_replicas_ = worker_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas) +} + +// .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; +inline bool DistributedMPITrainingTask::has_launcher_replicas() const { + return this != internal_default_instance() && launcher_replicas_ != nullptr; +} +inline void DistributedMPITrainingTask::clear_launcher_replicas() { + if (GetArenaNoVirtual() == nullptr && launcher_replicas_ != nullptr) { + delete launcher_replicas_; + } + launcher_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec& DistributedMPITrainingTask::launcher_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* p = launcher_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedMPITrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::release_launcher_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) + + ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* temp = launcher_replicas_; + launcher_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* DistributedMPITrainingTask::mutable_launcher_replicas() { + + if (launcher_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec>(GetArenaNoVirtual()); + launcher_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) + return launcher_replicas_; +} +inline void DistributedMPITrainingTask::set_allocated_launcher_replicas(::flyteidl::plugins::kubeflow::DistributedMPITrainingReplicaSpec* launcher_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete launcher_replicas_; + } + if (launcher_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launcher_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launcher_replicas, submessage_arena); + } + + } else { + + } + launcher_replicas_ = launcher_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas) +} + +// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; +inline bool DistributedMPITrainingTask::has_run_policy() const { + return this != internal_default_instance() && run_policy_ != nullptr; +} +inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedMPITrainingTask::run_policy() const { + const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedMPITrainingTask::release_run_policy() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) + + ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; + run_policy_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedMPITrainingTask::mutable_run_policy() { + + if (run_policy_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); + run_policy_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) + return run_policy_; +} +inline void DistributedMPITrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); + } + if (run_policy) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + run_policy = ::google::protobuf::internal::GetOwnedMessage( + message_arena, run_policy, submessage_arena); + } + + } else { + + } + run_policy_ = run_policy; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy) +} + +// int32 slots = 4; +inline void DistributedMPITrainingTask::clear_slots() { + slots_ = 0; +} +inline ::google::protobuf::int32 DistributedMPITrainingTask::slots() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.slots) + return slots_; +} +inline void DistributedMPITrainingTask::set_slots(::google::protobuf::int32 value) { + + slots_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingTask.slots) +} + +// ------------------------------------------------------------------- + +// DistributedMPITrainingReplicaSpec + +// int32 replicas = 1; +inline void DistributedMPITrainingReplicaSpec::clear_replicas() { + replicas_ = 0; +} +inline ::google::protobuf::int32 DistributedMPITrainingReplicaSpec::replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.replicas) + return replicas_; +} +inline void DistributedMPITrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { + + replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.replicas) +} + +// string image = 2; +inline void DistributedMPITrainingReplicaSpec::clear_image() { + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DistributedMPITrainingReplicaSpec::image() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) + return image_.GetNoArena(); +} +inline void DistributedMPITrainingReplicaSpec::set_image(const ::std::string& value) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) +} +#if LANG_CXX11 +inline void DistributedMPITrainingReplicaSpec::set_image(::std::string&& value) { + + image_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) +} +#endif +inline void DistributedMPITrainingReplicaSpec::set_image(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) +} +inline void DistributedMPITrainingReplicaSpec::set_image(const char* value, size_t size) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) +} +inline ::std::string* DistributedMPITrainingReplicaSpec::mutable_image() { + + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) + return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DistributedMPITrainingReplicaSpec::release_image() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) + + return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DistributedMPITrainingReplicaSpec::set_allocated_image(::std::string* image) { + if (image != nullptr) { + + } else { + + } + image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image) +} + +// .flyteidl.core.Resources resources = 3; +inline bool DistributedMPITrainingReplicaSpec::has_resources() const { + return this != internal_default_instance() && resources_ != nullptr; +} +inline const ::flyteidl::core::Resources& DistributedMPITrainingReplicaSpec::resources() const { + const ::flyteidl::core::Resources* p = resources_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Resources_default_instance_); +} +inline ::flyteidl::core::Resources* DistributedMPITrainingReplicaSpec::release_resources() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) + + ::flyteidl::core::Resources* temp = resources_; + resources_ = nullptr; + return temp; +} +inline ::flyteidl::core::Resources* DistributedMPITrainingReplicaSpec::mutable_resources() { + + if (resources_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); + resources_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) + return resources_; +} +inline void DistributedMPITrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); + } + if (resources) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + resources = ::google::protobuf::internal::GetOwnedMessage( + message_arena, resources, submessage_arena); + } + + } else { + + } + resources_ = resources; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources) +} + +// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; +inline void DistributedMPITrainingReplicaSpec::clear_restart_policy() { + restart_policy_ = 0; +} +inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedMPITrainingReplicaSpec::restart_policy() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy) + return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); +} +inline void DistributedMPITrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { + + restart_policy_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy) +} + +// repeated string command = 5; +inline int DistributedMPITrainingReplicaSpec::command_size() const { + return command_.size(); +} +inline void DistributedMPITrainingReplicaSpec::clear_command() { + command_.Clear(); +} +inline const ::std::string& DistributedMPITrainingReplicaSpec::command(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + return command_.Get(index); +} +inline ::std::string* DistributedMPITrainingReplicaSpec::mutable_command(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + return command_.Mutable(index); +} +inline void DistributedMPITrainingReplicaSpec::set_command(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + command_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void DistributedMPITrainingReplicaSpec::set_command(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + command_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void DistributedMPITrainingReplicaSpec::set_command(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + command_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +inline void DistributedMPITrainingReplicaSpec::set_command(int index, const char* value, size_t size) { + command_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +inline ::std::string* DistributedMPITrainingReplicaSpec::add_command() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + return command_.Add(); +} +inline void DistributedMPITrainingReplicaSpec::add_command(const ::std::string& value) { + command_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +#if LANG_CXX11 +inline void DistributedMPITrainingReplicaSpec::add_command(::std::string&& value) { + command_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +#endif +inline void DistributedMPITrainingReplicaSpec::add_command(const char* value) { + GOOGLE_DCHECK(value != nullptr); + command_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +inline void DistributedMPITrainingReplicaSpec::add_command(const char* value, size_t size) { + command_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +DistributedMPITrainingReplicaSpec::command() const { + // @@protoc_insertion_point(field_list:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + return command_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +DistributedMPITrainingReplicaSpec::mutable_command() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command) + return &command_; +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fmpi_2eproto diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc new file mode 100644 index 000000000..af2f89e97 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.cc @@ -0,0 +1,26 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/pytorch.proto + +#include "flyteidl/plugins/kubeflow/pytorch.pb.h" +#include "flyteidl/plugins/kubeflow/pytorch.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace flyteidl +} // namespace plugins +} // namespace kubeflow + diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h new file mode 100644 index 000000000..45c83cf06 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.grpc.pb.h @@ -0,0 +1,49 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/pytorch.proto +#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED +#define GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED + +#include "flyteidl/plugins/kubeflow/pytorch.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc new file mode 100644 index 000000000..3c4fd38ab --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.cc @@ -0,0 +1,1641 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/pytorch.proto + +#include "flyteidl/plugins/kubeflow/pytorch.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class ElasticConfigDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ElasticConfig_default_instance_; +class DistributedPyTorchTrainingTaskDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedPyTorchTrainingTask_default_instance_; +class DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedPyTorchTrainingReplicaSpec_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +static void InitDefaultsElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::ElasticConfig(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::ElasticConfig::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, {}}; + +static void InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, { + &scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base, + &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base, + &scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base,}}; + +static void InitDefaultsDistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto}, { + &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; + +void InitDefaults_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[3]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, rdzv_backend_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, min_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, max_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, nproc_per_node_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::ElasticConfig, max_restarts_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, worker_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, master_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, run_policy_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask, elastic_config_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, image_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, resources_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec, restart_policy_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::plugins::kubeflow::ElasticConfig)}, + { 10, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask)}, + { 19, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_), + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_), + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = { + {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, "flyteidl/plugins/kubeflow/pytorch.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto::offsets, + file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, 3, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[] = + "\n\'flyteidl/plugins/kubeflow/pytorch.prot" + "o\022\031flyteidl.plugins.kubeflow\032\031flyteidl/c" + "ore/tasks.proto\032&flyteidl/plugins/kubefl" + "ow/common.proto\"\177\n\rElasticConfig\022\024\n\014rdzv" + "_backend\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014" + "max_replicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001" + "(\005\022\024\n\014max_restarts\030\005 \001(\005\"\322\002\n\036Distributed" + "PyTorchTrainingTask\022Y\n\017worker_replicas\030\001" + " \001(\0132@.flyteidl.plugins.kubeflow.Distrib" + "utedPyTorchTrainingReplicaSpec\022Y\n\017master" + "_replicas\030\002 \001(\0132@.flyteidl.plugins.kubef" + "low.DistributedPyTorchTrainingReplicaSpe" + "c\0228\n\nrun_policy\030\003 \001(\0132$.flyteidl.plugins" + ".kubeflow.RunPolicy\022@\n\016elastic_config\030\004 " + "\001(\0132(.flyteidl.plugins.kubeflow.ElasticC" + "onfig\"\267\001\n%DistributedPyTorchTrainingRepl" + "icaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t" + "\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Reso" + "urces\022@\n\016restart_policy\030\004 \001(\0162(.flyteidl" + ".plugins.kubeflow.RestartPolicyB9Z7githu" + "b.com/flyteorg/flyteidl/gen/pb-go/flytei" + "dl/pluginsb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = { + false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, + descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, + "flyteidl/plugins/kubeflow/pytorch.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, 858, +}; + +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[2] = + { + ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, + ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto, deps, 2); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto(); return true; }(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +void ElasticConfig::InitAsDefaultInstance() { +} +class ElasticConfig::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ElasticConfig::kRdzvBackendFieldNumber; +const int ElasticConfig::kMinReplicasFieldNumber; +const int ElasticConfig::kMaxReplicasFieldNumber; +const int ElasticConfig::kNprocPerNodeFieldNumber; +const int ElasticConfig::kMaxRestartsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ElasticConfig::ElasticConfig() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.ElasticConfig) +} +ElasticConfig::ElasticConfig(const ElasticConfig& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.rdzv_backend().size() > 0) { + rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); + } + ::memcpy(&min_replicas_, &from.min_replicas_, + static_cast(reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.ElasticConfig) +} + +void ElasticConfig::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&min_replicas_, 0, static_cast( + reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); +} + +ElasticConfig::~ElasticConfig() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.ElasticConfig) + SharedDtor(); +} + +void ElasticConfig::SharedDtor() { + rdzv_backend_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ElasticConfig::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ElasticConfig& ElasticConfig::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ElasticConfig_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + return *internal_default_instance(); +} + + +void ElasticConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&min_replicas_, 0, static_cast( + reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ElasticConfig::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string rdzv_backend = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); + object = msg->mutable_rdzv_backend(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // int32 min_replicas = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_min_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 max_replicas = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; + msg->set_max_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 nproc_per_node = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + msg->set_nproc_per_node(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 max_restarts = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; + msg->set_max_restarts(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ElasticConfig::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.ElasticConfig) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string rdzv_backend = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_rdzv_backend())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend")); + } else { + goto handle_unusual; + } + break; + } + + // int32 min_replicas = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &min_replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 max_replicas = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 nproc_per_node = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &nproc_per_node_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 max_restarts = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_restarts_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.ElasticConfig) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.ElasticConfig) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ElasticConfig::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->rdzv_backend(), output); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->min_replicas(), output); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_replicas(), output); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nproc_per_node(), output); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->max_restarts(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.ElasticConfig) +} + +::google::protobuf::uint8* ElasticConfig::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->rdzv_backend(), target); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->min_replicas(), target); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_replicas(), target); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nproc_per_node(), target); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->max_restarts(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.ElasticConfig) + return target; +} + +size_t ElasticConfig::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.ElasticConfig) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->rdzv_backend()); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->min_replicas()); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_replicas()); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->nproc_per_node()); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_restarts()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ElasticConfig::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.ElasticConfig) + GOOGLE_DCHECK_NE(&from, this); + const ElasticConfig* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.ElasticConfig) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.ElasticConfig) + MergeFrom(*source); + } +} + +void ElasticConfig::MergeFrom(const ElasticConfig& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.ElasticConfig) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.rdzv_backend().size() > 0) { + + rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); + } + if (from.min_replicas() != 0) { + set_min_replicas(from.min_replicas()); + } + if (from.max_replicas() != 0) { + set_max_replicas(from.max_replicas()); + } + if (from.nproc_per_node() != 0) { + set_nproc_per_node(from.nproc_per_node()); + } + if (from.max_restarts() != 0) { + set_max_restarts(from.max_restarts()); + } +} + +void ElasticConfig::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.ElasticConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ElasticConfig::CopyFrom(const ElasticConfig& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.ElasticConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ElasticConfig::IsInitialized() const { + return true; +} + +void ElasticConfig::Swap(ElasticConfig* other) { + if (other == this) return; + InternalSwap(other); +} +void ElasticConfig::InternalSwap(ElasticConfig* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + rdzv_backend_.Swap(&other->rdzv_backend_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(min_replicas_, other->min_replicas_); + swap(max_replicas_, other->max_replicas_); + swap(nproc_per_node_, other->nproc_per_node_); + swap(max_restarts_, other->max_restarts_); +} + +::google::protobuf::Metadata ElasticConfig::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DistributedPyTorchTrainingTask::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->master_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( + ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->elastic_config_ = const_cast< ::flyteidl::plugins::kubeflow::ElasticConfig*>( + ::flyteidl::plugins::kubeflow::ElasticConfig::internal_default_instance()); +} +class DistributedPyTorchTrainingTask::HasBitSetters { + public: + static const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& worker_replicas(const DistributedPyTorchTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& master_replicas(const DistributedPyTorchTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedPyTorchTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::ElasticConfig& elastic_config(const DistributedPyTorchTrainingTask* msg); +}; + +const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& +DistributedPyTorchTrainingTask::HasBitSetters::worker_replicas(const DistributedPyTorchTrainingTask* msg) { + return *msg->worker_replicas_; +} +const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& +DistributedPyTorchTrainingTask::HasBitSetters::master_replicas(const DistributedPyTorchTrainingTask* msg) { + return *msg->master_replicas_; +} +const ::flyteidl::plugins::kubeflow::RunPolicy& +DistributedPyTorchTrainingTask::HasBitSetters::run_policy(const DistributedPyTorchTrainingTask* msg) { + return *msg->run_policy_; +} +const ::flyteidl::plugins::kubeflow::ElasticConfig& +DistributedPyTorchTrainingTask::HasBitSetters::elastic_config(const DistributedPyTorchTrainingTask* msg) { + return *msg->elastic_config_; +} +void DistributedPyTorchTrainingTask::clear_run_policy() { + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedPyTorchTrainingTask::kWorkerReplicasFieldNumber; +const int DistributedPyTorchTrainingTask::kMasterReplicasFieldNumber; +const int DistributedPyTorchTrainingTask::kRunPolicyFieldNumber; +const int DistributedPyTorchTrainingTask::kElasticConfigFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) +} +DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_worker_replicas()) { + worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(*from.worker_replicas_); + } else { + worker_replicas_ = nullptr; + } + if (from.has_master_replicas()) { + master_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec(*from.master_replicas_); + } else { + master_replicas_ = nullptr; + } + if (from.has_run_policy()) { + run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); + } else { + run_policy_ = nullptr; + } + if (from.has_elastic_config()) { + elastic_config_ = new ::flyteidl::plugins::kubeflow::ElasticConfig(*from.elastic_config_); + } else { + elastic_config_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) +} + +void DistributedPyTorchTrainingTask::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + ::memset(&worker_replicas_, 0, static_cast( + reinterpret_cast(&elastic_config_) - + reinterpret_cast(&worker_replicas_)) + sizeof(elastic_config_)); +} + +DistributedPyTorchTrainingTask::~DistributedPyTorchTrainingTask() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + SharedDtor(); +} + +void DistributedPyTorchTrainingTask::SharedDtor() { + if (this != internal_default_instance()) delete worker_replicas_; + if (this != internal_default_instance()) delete master_replicas_; + if (this != internal_default_instance()) delete run_policy_; + if (this != internal_default_instance()) delete elastic_config_; +} + +void DistributedPyTorchTrainingTask::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedPyTorchTrainingTask& DistributedPyTorchTrainingTask::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedPyTorchTrainingTask::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && master_replicas_ != nullptr) { + delete master_replicas_; + } + master_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; + if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { + delete elastic_config_; + } + elastic_config_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedPyTorchTrainingTask::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::_InternalParse; + object = msg->mutable_worker_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::_InternalParse; + object = msg->mutable_master_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::RunPolicy::_InternalParse; + object = msg->mutable_run_policy(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::ElasticConfig::_InternalParse; + object = msg->mutable_elastic_config(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedPyTorchTrainingTask::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_worker_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_master_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_run_policy())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_elastic_config())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedPyTorchTrainingTask::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::worker_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + if (this->has_master_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::master_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::run_policy(this), output); + } + + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + if (this->has_elastic_config()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::elastic_config(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) +} + +::google::protobuf::uint8* DistributedPyTorchTrainingTask::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::worker_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + if (this->has_master_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::master_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::run_policy(this), target); + } + + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + if (this->has_elastic_config()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::elastic_config(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + return target; +} + +size_t DistributedPyTorchTrainingTask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *worker_replicas_); + } + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + if (this->has_master_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *master_replicas_); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + if (this->has_run_policy()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *run_policy_); + } + + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + if (this->has_elastic_config()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *elastic_config_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedPyTorchTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + GOOGLE_DCHECK_NE(&from, this); + const DistributedPyTorchTrainingTask* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + MergeFrom(*source); + } +} + +void DistributedPyTorchTrainingTask::MergeFrom(const DistributedPyTorchTrainingTask& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_worker_replicas()) { + mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::MergeFrom(from.worker_replicas()); + } + if (from.has_master_replicas()) { + mutable_master_replicas()->::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec::MergeFrom(from.master_replicas()); + } + if (from.has_run_policy()) { + mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); + } + if (from.has_elastic_config()) { + mutable_elastic_config()->::flyteidl::plugins::kubeflow::ElasticConfig::MergeFrom(from.elastic_config()); + } +} + +void DistributedPyTorchTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedPyTorchTrainingTask::CopyFrom(const DistributedPyTorchTrainingTask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedPyTorchTrainingTask::IsInitialized() const { + return true; +} + +void DistributedPyTorchTrainingTask::Swap(DistributedPyTorchTrainingTask* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedPyTorchTrainingTask::InternalSwap(DistributedPyTorchTrainingTask* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(worker_replicas_, other->worker_replicas_); + swap(master_replicas_, other->master_replicas_); + swap(run_policy_, other->run_policy_); + swap(elastic_config_, other->elastic_config_); +} + +::google::protobuf::Metadata DistributedPyTorchTrainingTask::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DistributedPyTorchTrainingReplicaSpec::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( + ::flyteidl::core::Resources::internal_default_instance()); +} +class DistributedPyTorchTrainingReplicaSpec::HasBitSetters { + public: + static const ::flyteidl::core::Resources& resources(const DistributedPyTorchTrainingReplicaSpec* msg); +}; + +const ::flyteidl::core::Resources& +DistributedPyTorchTrainingReplicaSpec::HasBitSetters::resources(const DistributedPyTorchTrainingReplicaSpec* msg) { + return *msg->resources_; +} +void DistributedPyTorchTrainingReplicaSpec::clear_resources() { + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedPyTorchTrainingReplicaSpec::kReplicasFieldNumber; +const int DistributedPyTorchTrainingReplicaSpec::kImageFieldNumber; +const int DistributedPyTorchTrainingReplicaSpec::kResourcesFieldNumber; +const int DistributedPyTorchTrainingReplicaSpec::kRestartPolicyFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedPyTorchTrainingReplicaSpec::DistributedPyTorchTrainingReplicaSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) +} +DistributedPyTorchTrainingReplicaSpec::DistributedPyTorchTrainingReplicaSpec(const DistributedPyTorchTrainingReplicaSpec& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.image().size() > 0) { + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + resources_ = new ::flyteidl::core::Resources(*from.resources_); + } else { + resources_ = nullptr; + } + ::memcpy(&replicas_, &from.replicas_, + static_cast(reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) +} + +void DistributedPyTorchTrainingReplicaSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&resources_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&resources_)) + sizeof(restart_policy_)); +} + +DistributedPyTorchTrainingReplicaSpec::~DistributedPyTorchTrainingReplicaSpec() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + SharedDtor(); +} + +void DistributedPyTorchTrainingReplicaSpec::SharedDtor() { + image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete resources_; +} + +void DistributedPyTorchTrainingReplicaSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingReplicaSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedPyTorchTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedPyTorchTrainingReplicaSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; + ::memset(&replicas_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedPyTorchTrainingReplicaSpec::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // int32 replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // string image = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); + object = msg->mutable_image(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Resources::_InternalParse; + object = msg->mutable_resources(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedPyTorchTrainingReplicaSpec::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int32 replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // string image = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_image())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_resources())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedPyTorchTrainingReplicaSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->image(), output); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::resources(this), output); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 4, this->restart_policy(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) +} + +::google::protobuf::uint8* DistributedPyTorchTrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->image(), target); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::resources(this), target); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 4, this->restart_policy(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + return target; +} + +size_t DistributedPyTorchTrainingReplicaSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string image = 2; + if (this->image().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->image()); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *resources_); + } + + // int32 replicas = 1; + if (this->replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->replicas()); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedPyTorchTrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + const DistributedPyTorchTrainingReplicaSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + MergeFrom(*source); + } +} + +void DistributedPyTorchTrainingReplicaSpec::MergeFrom(const DistributedPyTorchTrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.image().size() > 0) { + + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); + } + if (from.replicas() != 0) { + set_replicas(from.replicas()); + } + if (from.restart_policy() != 0) { + set_restart_policy(from.restart_policy()); + } +} + +void DistributedPyTorchTrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedPyTorchTrainingReplicaSpec::CopyFrom(const DistributedPyTorchTrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedPyTorchTrainingReplicaSpec::IsInitialized() const { + return true; +} + +void DistributedPyTorchTrainingReplicaSpec::Swap(DistributedPyTorchTrainingReplicaSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedPyTorchTrainingReplicaSpec::InternalSwap(DistributedPyTorchTrainingReplicaSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(resources_, other->resources_); + swap(replicas_, other->replicas_); + swap(restart_policy_, other->restart_policy_); +} + +::google::protobuf::Metadata DistributedPyTorchTrainingReplicaSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::ElasticConfig* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::ElasticConfig >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::ElasticConfig >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h new file mode 100644 index 000000000..f124f939a --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/pytorch.pb.h @@ -0,0 +1,985 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/pytorch.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "flyteidl/core/tasks.pb.h" +#include "flyteidl/plugins/kubeflow/common.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[3] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class DistributedPyTorchTrainingReplicaSpec; +class DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal; +extern DistributedPyTorchTrainingReplicaSpecDefaultTypeInternal _DistributedPyTorchTrainingReplicaSpec_default_instance_; +class DistributedPyTorchTrainingTask; +class DistributedPyTorchTrainingTaskDefaultTypeInternal; +extern DistributedPyTorchTrainingTaskDefaultTypeInternal _DistributedPyTorchTrainingTask_default_instance_; +class ElasticConfig; +class ElasticConfigDefaultTypeInternal; +extern ElasticConfigDefaultTypeInternal _ElasticConfig_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(Arena*); +template<> ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingTask>(Arena*); +template<> ::flyteidl::plugins::kubeflow::ElasticConfig* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::ElasticConfig>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +class ElasticConfig final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.ElasticConfig) */ { + public: + ElasticConfig(); + virtual ~ElasticConfig(); + + ElasticConfig(const ElasticConfig& from); + + inline ElasticConfig& operator=(const ElasticConfig& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ElasticConfig(ElasticConfig&& from) noexcept + : ElasticConfig() { + *this = ::std::move(from); + } + + inline ElasticConfig& operator=(ElasticConfig&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ElasticConfig& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ElasticConfig* internal_default_instance() { + return reinterpret_cast( + &_ElasticConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(ElasticConfig* other); + friend void swap(ElasticConfig& a, ElasticConfig& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ElasticConfig* New() const final { + return CreateMaybeMessage(nullptr); + } + + ElasticConfig* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ElasticConfig& from); + void MergeFrom(const ElasticConfig& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ElasticConfig* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string rdzv_backend = 1; + void clear_rdzv_backend(); + static const int kRdzvBackendFieldNumber = 1; + const ::std::string& rdzv_backend() const; + void set_rdzv_backend(const ::std::string& value); + #if LANG_CXX11 + void set_rdzv_backend(::std::string&& value); + #endif + void set_rdzv_backend(const char* value); + void set_rdzv_backend(const char* value, size_t size); + ::std::string* mutable_rdzv_backend(); + ::std::string* release_rdzv_backend(); + void set_allocated_rdzv_backend(::std::string* rdzv_backend); + + // int32 min_replicas = 2; + void clear_min_replicas(); + static const int kMinReplicasFieldNumber = 2; + ::google::protobuf::int32 min_replicas() const; + void set_min_replicas(::google::protobuf::int32 value); + + // int32 max_replicas = 3; + void clear_max_replicas(); + static const int kMaxReplicasFieldNumber = 3; + ::google::protobuf::int32 max_replicas() const; + void set_max_replicas(::google::protobuf::int32 value); + + // int32 nproc_per_node = 4; + void clear_nproc_per_node(); + static const int kNprocPerNodeFieldNumber = 4; + ::google::protobuf::int32 nproc_per_node() const; + void set_nproc_per_node(::google::protobuf::int32 value); + + // int32 max_restarts = 5; + void clear_max_restarts(); + static const int kMaxRestartsFieldNumber = 5; + ::google::protobuf::int32 max_restarts() const; + void set_max_restarts(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.ElasticConfig) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr rdzv_backend_; + ::google::protobuf::int32 min_replicas_; + ::google::protobuf::int32 max_replicas_; + ::google::protobuf::int32 nproc_per_node_; + ::google::protobuf::int32 max_restarts_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; +}; +// ------------------------------------------------------------------- + +class DistributedPyTorchTrainingTask final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) */ { + public: + DistributedPyTorchTrainingTask(); + virtual ~DistributedPyTorchTrainingTask(); + + DistributedPyTorchTrainingTask(const DistributedPyTorchTrainingTask& from); + + inline DistributedPyTorchTrainingTask& operator=(const DistributedPyTorchTrainingTask& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedPyTorchTrainingTask(DistributedPyTorchTrainingTask&& from) noexcept + : DistributedPyTorchTrainingTask() { + *this = ::std::move(from); + } + + inline DistributedPyTorchTrainingTask& operator=(DistributedPyTorchTrainingTask&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedPyTorchTrainingTask& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedPyTorchTrainingTask* internal_default_instance() { + return reinterpret_cast( + &_DistributedPyTorchTrainingTask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(DistributedPyTorchTrainingTask* other); + friend void swap(DistributedPyTorchTrainingTask& a, DistributedPyTorchTrainingTask& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedPyTorchTrainingTask* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedPyTorchTrainingTask* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedPyTorchTrainingTask& from); + void MergeFrom(const DistributedPyTorchTrainingTask& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedPyTorchTrainingTask* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + bool has_worker_replicas() const; + void clear_worker_replicas(); + static const int kWorkerReplicasFieldNumber = 1; + const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& worker_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* release_worker_replicas(); + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* mutable_worker_replicas(); + void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas); + + // .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + bool has_master_replicas() const; + void clear_master_replicas(); + static const int kMasterReplicasFieldNumber = 2; + const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& master_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* release_master_replicas(); + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* mutable_master_replicas(); + void set_allocated_master_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas); + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + bool has_run_policy() const; + void clear_run_policy(); + static const int kRunPolicyFieldNumber = 3; + const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; + ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); + ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); + void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); + + // .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + bool has_elastic_config() const; + void clear_elastic_config(); + static const int kElasticConfigFieldNumber = 4; + const ::flyteidl::plugins::kubeflow::ElasticConfig& elastic_config() const; + ::flyteidl::plugins::kubeflow::ElasticConfig* release_elastic_config(); + ::flyteidl::plugins::kubeflow::ElasticConfig* mutable_elastic_config(); + void set_allocated_elastic_config(::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas_; + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas_; + ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; + ::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; +}; +// ------------------------------------------------------------------- + +class DistributedPyTorchTrainingReplicaSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) */ { + public: + DistributedPyTorchTrainingReplicaSpec(); + virtual ~DistributedPyTorchTrainingReplicaSpec(); + + DistributedPyTorchTrainingReplicaSpec(const DistributedPyTorchTrainingReplicaSpec& from); + + inline DistributedPyTorchTrainingReplicaSpec& operator=(const DistributedPyTorchTrainingReplicaSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedPyTorchTrainingReplicaSpec(DistributedPyTorchTrainingReplicaSpec&& from) noexcept + : DistributedPyTorchTrainingReplicaSpec() { + *this = ::std::move(from); + } + + inline DistributedPyTorchTrainingReplicaSpec& operator=(DistributedPyTorchTrainingReplicaSpec&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedPyTorchTrainingReplicaSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedPyTorchTrainingReplicaSpec* internal_default_instance() { + return reinterpret_cast( + &_DistributedPyTorchTrainingReplicaSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(DistributedPyTorchTrainingReplicaSpec* other); + friend void swap(DistributedPyTorchTrainingReplicaSpec& a, DistributedPyTorchTrainingReplicaSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedPyTorchTrainingReplicaSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedPyTorchTrainingReplicaSpec* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedPyTorchTrainingReplicaSpec& from); + void MergeFrom(const DistributedPyTorchTrainingReplicaSpec& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedPyTorchTrainingReplicaSpec* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string image = 2; + void clear_image(); + static const int kImageFieldNumber = 2; + const ::std::string& image() const; + void set_image(const ::std::string& value); + #if LANG_CXX11 + void set_image(::std::string&& value); + #endif + void set_image(const char* value); + void set_image(const char* value, size_t size); + ::std::string* mutable_image(); + ::std::string* release_image(); + void set_allocated_image(::std::string* image); + + // .flyteidl.core.Resources resources = 3; + bool has_resources() const; + void clear_resources(); + static const int kResourcesFieldNumber = 3; + const ::flyteidl::core::Resources& resources() const; + ::flyteidl::core::Resources* release_resources(); + ::flyteidl::core::Resources* mutable_resources(); + void set_allocated_resources(::flyteidl::core::Resources* resources); + + // int32 replicas = 1; + void clear_replicas(); + static const int kReplicasFieldNumber = 1; + ::google::protobuf::int32 replicas() const; + void set_replicas(::google::protobuf::int32 value); + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + void clear_restart_policy(); + static const int kRestartPolicyFieldNumber = 4; + ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; + void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr image_; + ::flyteidl::core::Resources* resources_; + ::google::protobuf::int32 replicas_; + int restart_policy_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ElasticConfig + +// string rdzv_backend = 1; +inline void ElasticConfig::clear_rdzv_backend() { + rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ElasticConfig::rdzv_backend() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) + return rdzv_backend_.GetNoArena(); +} +inline void ElasticConfig::set_rdzv_backend(const ::std::string& value) { + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) +} +#if LANG_CXX11 +inline void ElasticConfig::set_rdzv_backend(::std::string&& value) { + + rdzv_backend_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) +} +#endif +inline void ElasticConfig::set_rdzv_backend(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) +} +inline void ElasticConfig::set_rdzv_backend(const char* value, size_t size) { + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) +} +inline ::std::string* ElasticConfig::mutable_rdzv_backend() { + + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) + return rdzv_backend_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ElasticConfig::release_rdzv_backend() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) + + return rdzv_backend_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ElasticConfig::set_allocated_rdzv_backend(::std::string* rdzv_backend) { + if (rdzv_backend != nullptr) { + + } else { + + } + rdzv_backend_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rdzv_backend); + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend) +} + +// int32 min_replicas = 2; +inline void ElasticConfig::clear_min_replicas() { + min_replicas_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::min_replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.min_replicas) + return min_replicas_; +} +inline void ElasticConfig::set_min_replicas(::google::protobuf::int32 value) { + + min_replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.min_replicas) +} + +// int32 max_replicas = 3; +inline void ElasticConfig::clear_max_replicas() { + max_replicas_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::max_replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.max_replicas) + return max_replicas_; +} +inline void ElasticConfig::set_max_replicas(::google::protobuf::int32 value) { + + max_replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.max_replicas) +} + +// int32 nproc_per_node = 4; +inline void ElasticConfig::clear_nproc_per_node() { + nproc_per_node_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::nproc_per_node() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.nproc_per_node) + return nproc_per_node_; +} +inline void ElasticConfig::set_nproc_per_node(::google::protobuf::int32 value) { + + nproc_per_node_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.nproc_per_node) +} + +// int32 max_restarts = 5; +inline void ElasticConfig::clear_max_restarts() { + max_restarts_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::max_restarts() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.ElasticConfig.max_restarts) + return max_restarts_; +} +inline void ElasticConfig::set_max_restarts(::google::protobuf::int32 value) { + + max_restarts_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.ElasticConfig.max_restarts) +} + +// ------------------------------------------------------------------- + +// DistributedPyTorchTrainingTask + +// .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; +inline bool DistributedPyTorchTrainingTask::has_worker_replicas() const { + return this != internal_default_instance() && worker_replicas_ != nullptr; +} +inline void DistributedPyTorchTrainingTask::clear_worker_replicas() { + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingTask::worker_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* p = worker_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::release_worker_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) + + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* temp = worker_replicas_; + worker_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::mutable_worker_replicas() { + + if (worker_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(GetArenaNoVirtual()); + worker_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) + return worker_replicas_; +} +inline void DistributedPyTorchTrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* worker_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete worker_replicas_; + } + if (worker_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + worker_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, worker_replicas, submessage_arena); + } + + } else { + + } + worker_replicas_ = worker_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas) +} + +// .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; +inline bool DistributedPyTorchTrainingTask::has_master_replicas() const { + return this != internal_default_instance() && master_replicas_ != nullptr; +} +inline void DistributedPyTorchTrainingTask::clear_master_replicas() { + if (GetArenaNoVirtual() == nullptr && master_replicas_ != nullptr) { + delete master_replicas_; + } + master_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec& DistributedPyTorchTrainingTask::master_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* p = master_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedPyTorchTrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::release_master_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) + + ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* temp = master_replicas_; + master_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* DistributedPyTorchTrainingTask::mutable_master_replicas() { + + if (master_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec>(GetArenaNoVirtual()); + master_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) + return master_replicas_; +} +inline void DistributedPyTorchTrainingTask::set_allocated_master_replicas(::flyteidl::plugins::kubeflow::DistributedPyTorchTrainingReplicaSpec* master_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete master_replicas_; + } + if (master_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + master_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, master_replicas, submessage_arena); + } + + } else { + + } + master_replicas_ = master_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas) +} + +// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; +inline bool DistributedPyTorchTrainingTask::has_run_policy() const { + return this != internal_default_instance() && run_policy_ != nullptr; +} +inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedPyTorchTrainingTask::run_policy() const { + const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedPyTorchTrainingTask::release_run_policy() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) + + ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; + run_policy_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedPyTorchTrainingTask::mutable_run_policy() { + + if (run_policy_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); + run_policy_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) + return run_policy_; +} +inline void DistributedPyTorchTrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); + } + if (run_policy) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + run_policy = ::google::protobuf::internal::GetOwnedMessage( + message_arena, run_policy, submessage_arena); + } + + } else { + + } + run_policy_ = run_policy; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy) +} + +// .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; +inline bool DistributedPyTorchTrainingTask::has_elastic_config() const { + return this != internal_default_instance() && elastic_config_ != nullptr; +} +inline void DistributedPyTorchTrainingTask::clear_elastic_config() { + if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { + delete elastic_config_; + } + elastic_config_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::ElasticConfig& DistributedPyTorchTrainingTask::elastic_config() const { + const ::flyteidl::plugins::kubeflow::ElasticConfig* p = elastic_config_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_ElasticConfig_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::ElasticConfig* DistributedPyTorchTrainingTask::release_elastic_config() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) + + ::flyteidl::plugins::kubeflow::ElasticConfig* temp = elastic_config_; + elastic_config_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::ElasticConfig* DistributedPyTorchTrainingTask::mutable_elastic_config() { + + if (elastic_config_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::ElasticConfig>(GetArenaNoVirtual()); + elastic_config_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) + return elastic_config_; +} +inline void DistributedPyTorchTrainingTask::set_allocated_elastic_config(::flyteidl::plugins::kubeflow::ElasticConfig* elastic_config) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete elastic_config_; + } + if (elastic_config) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + elastic_config = ::google::protobuf::internal::GetOwnedMessage( + message_arena, elastic_config, submessage_arena); + } + + } else { + + } + elastic_config_ = elastic_config; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config) +} + +// ------------------------------------------------------------------- + +// DistributedPyTorchTrainingReplicaSpec + +// int32 replicas = 1; +inline void DistributedPyTorchTrainingReplicaSpec::clear_replicas() { + replicas_ = 0; +} +inline ::google::protobuf::int32 DistributedPyTorchTrainingReplicaSpec::replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.replicas) + return replicas_; +} +inline void DistributedPyTorchTrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { + + replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.replicas) +} + +// string image = 2; +inline void DistributedPyTorchTrainingReplicaSpec::clear_image() { + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DistributedPyTorchTrainingReplicaSpec::image() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) + return image_.GetNoArena(); +} +inline void DistributedPyTorchTrainingReplicaSpec::set_image(const ::std::string& value) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) +} +#if LANG_CXX11 +inline void DistributedPyTorchTrainingReplicaSpec::set_image(::std::string&& value) { + + image_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) +} +#endif +inline void DistributedPyTorchTrainingReplicaSpec::set_image(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) +} +inline void DistributedPyTorchTrainingReplicaSpec::set_image(const char* value, size_t size) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) +} +inline ::std::string* DistributedPyTorchTrainingReplicaSpec::mutable_image() { + + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) + return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DistributedPyTorchTrainingReplicaSpec::release_image() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) + + return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DistributedPyTorchTrainingReplicaSpec::set_allocated_image(::std::string* image) { + if (image != nullptr) { + + } else { + + } + image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image) +} + +// .flyteidl.core.Resources resources = 3; +inline bool DistributedPyTorchTrainingReplicaSpec::has_resources() const { + return this != internal_default_instance() && resources_ != nullptr; +} +inline const ::flyteidl::core::Resources& DistributedPyTorchTrainingReplicaSpec::resources() const { + const ::flyteidl::core::Resources* p = resources_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Resources_default_instance_); +} +inline ::flyteidl::core::Resources* DistributedPyTorchTrainingReplicaSpec::release_resources() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) + + ::flyteidl::core::Resources* temp = resources_; + resources_ = nullptr; + return temp; +} +inline ::flyteidl::core::Resources* DistributedPyTorchTrainingReplicaSpec::mutable_resources() { + + if (resources_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); + resources_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) + return resources_; +} +inline void DistributedPyTorchTrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); + } + if (resources) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + resources = ::google::protobuf::internal::GetOwnedMessage( + message_arena, resources, submessage_arena); + } + + } else { + + } + resources_ = resources; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources) +} + +// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; +inline void DistributedPyTorchTrainingReplicaSpec::clear_restart_policy() { + restart_policy_ = 0; +} +inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedPyTorchTrainingReplicaSpec::restart_policy() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy) + return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); +} +inline void DistributedPyTorchTrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { + + restart_policy_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2fpytorch_2eproto diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc new file mode 100644 index 000000000..536038459 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.cc @@ -0,0 +1,26 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +#include "flyteidl/plugins/kubeflow/tensorflow.pb.h" +#include "flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace flyteidl +} // namespace plugins +} // namespace kubeflow + diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h new file mode 100644 index 000000000..2ab6f394d --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.grpc.pb.h @@ -0,0 +1,49 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/plugins/kubeflow/tensorflow.proto +#ifndef GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED +#define GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED + +#include "flyteidl/plugins/kubeflow/tensorflow.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc new file mode 100644 index 000000000..9227307c4 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.cc @@ -0,0 +1,1129 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +#include "flyteidl/plugins/kubeflow/tensorflow.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class DistributedTensorflowTrainingTaskDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedTensorflowTrainingTask_default_instance_; +class DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DistributedTensorflowTrainingReplicaSpec_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +static void InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto}, { + &scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base, + &scc_info_RunPolicy_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto.base,}}; + +static void InitDefaultsDistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_; + new (ptr) ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto}, { + &scc_info_Resources_flyteidl_2fcore_2ftasks_2eproto.base,}}; + +void InitDefaults_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[2]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, worker_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, ps_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, chief_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask, run_policy_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, image_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, resources_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec, restart_policy_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask)}, + { 9, -1, sizeof(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_), + reinterpret_cast(&::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = { + {}, AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, "flyteidl/plugins/kubeflow/tensorflow.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto::offsets, + file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[] = + "\n*flyteidl/plugins/kubeflow/tensorflow.p" + "roto\022\031flyteidl.plugins.kubeflow\032\031flyteid" + "l/core/tasks.proto\032&flyteidl/plugins/kub" + "eflow/common.proto\"\362\002\n!DistributedTensor" + "flowTrainingTask\022\\\n\017worker_replicas\030\001 \001(" + "\0132C.flyteidl.plugins.kubeflow.Distribute" + "dTensorflowTrainingReplicaSpec\022X\n\013ps_rep" + "licas\030\002 \001(\0132C.flyteidl.plugins.kubeflow." + "DistributedTensorflowTrainingReplicaSpec" + "\022[\n\016chief_replicas\030\003 \001(\0132C.flyteidl.plug" + "ins.kubeflow.DistributedTensorflowTraini" + "ngReplicaSpec\0228\n\nrun_policy\030\004 \001(\0132$.flyt" + "eidl.plugins.kubeflow.RunPolicy\"\272\001\n(Dist" + "ributedTensorflowTrainingReplicaSpec\022\020\n\010" + "replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t\022+\n\tresourc" + "es\030\003 \001(\0132\030.flyteidl.core.Resources\022@\n\016re" + "start_policy\030\004 \001(\0162(.flyteidl.plugins.ku" + "beflow.RestartPolicyB9Z7github.com/flyte" + "org/flyteidl/gen/pb-go/flyteidl/pluginsb" + "\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = { + false, InitDefaults_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, + descriptor_table_protodef_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, + "flyteidl/plugins/kubeflow/tensorflow.proto", &assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, 767, +}; + +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[2] = + { + ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, + ::AddDescriptors_flyteidl_2fplugins_2fkubeflow_2fcommon_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto, deps, 2); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto = []() { AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto(); return true; }(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +void DistributedTensorflowTrainingTask::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->worker_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->ps_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->chief_replicas_ = const_cast< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec*>( + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::internal_default_instance()); + ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingTask_default_instance_._instance.get_mutable()->run_policy_ = const_cast< ::flyteidl::plugins::kubeflow::RunPolicy*>( + ::flyteidl::plugins::kubeflow::RunPolicy::internal_default_instance()); +} +class DistributedTensorflowTrainingTask::HasBitSetters { + public: + static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& worker_replicas(const DistributedTensorflowTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& ps_replicas(const DistributedTensorflowTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& chief_replicas(const DistributedTensorflowTrainingTask* msg); + static const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy(const DistributedTensorflowTrainingTask* msg); +}; + +const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& +DistributedTensorflowTrainingTask::HasBitSetters::worker_replicas(const DistributedTensorflowTrainingTask* msg) { + return *msg->worker_replicas_; +} +const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& +DistributedTensorflowTrainingTask::HasBitSetters::ps_replicas(const DistributedTensorflowTrainingTask* msg) { + return *msg->ps_replicas_; +} +const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& +DistributedTensorflowTrainingTask::HasBitSetters::chief_replicas(const DistributedTensorflowTrainingTask* msg) { + return *msg->chief_replicas_; +} +const ::flyteidl::plugins::kubeflow::RunPolicy& +DistributedTensorflowTrainingTask::HasBitSetters::run_policy(const DistributedTensorflowTrainingTask* msg) { + return *msg->run_policy_; +} +void DistributedTensorflowTrainingTask::clear_run_policy() { + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedTensorflowTrainingTask::kWorkerReplicasFieldNumber; +const int DistributedTensorflowTrainingTask::kPsReplicasFieldNumber; +const int DistributedTensorflowTrainingTask::kChiefReplicasFieldNumber; +const int DistributedTensorflowTrainingTask::kRunPolicyFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) +} +DistributedTensorflowTrainingTask::DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_worker_replicas()) { + worker_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.worker_replicas_); + } else { + worker_replicas_ = nullptr; + } + if (from.has_ps_replicas()) { + ps_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.ps_replicas_); + } else { + ps_replicas_ = nullptr; + } + if (from.has_chief_replicas()) { + chief_replicas_ = new ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec(*from.chief_replicas_); + } else { + chief_replicas_ = nullptr; + } + if (from.has_run_policy()) { + run_policy_ = new ::flyteidl::plugins::kubeflow::RunPolicy(*from.run_policy_); + } else { + run_policy_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) +} + +void DistributedTensorflowTrainingTask::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); + ::memset(&worker_replicas_, 0, static_cast( + reinterpret_cast(&run_policy_) - + reinterpret_cast(&worker_replicas_)) + sizeof(run_policy_)); +} + +DistributedTensorflowTrainingTask::~DistributedTensorflowTrainingTask() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + SharedDtor(); +} + +void DistributedTensorflowTrainingTask::SharedDtor() { + if (this != internal_default_instance()) delete worker_replicas_; + if (this != internal_default_instance()) delete ps_replicas_; + if (this != internal_default_instance()) delete chief_replicas_; + if (this != internal_default_instance()) delete run_policy_; +} + +void DistributedTensorflowTrainingTask::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedTensorflowTrainingTask& DistributedTensorflowTrainingTask::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedTensorflowTrainingTask_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedTensorflowTrainingTask::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && ps_replicas_ != nullptr) { + delete ps_replicas_; + } + ps_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && chief_replicas_ != nullptr) { + delete chief_replicas_; + } + chief_replicas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && run_policy_ != nullptr) { + delete run_policy_; + } + run_policy_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedTensorflowTrainingTask::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; + object = msg->mutable_worker_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; + object = msg->mutable_ps_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::_InternalParse; + object = msg->mutable_chief_replicas(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::kubeflow::RunPolicy::_InternalParse; + object = msg->mutable_run_policy(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedTensorflowTrainingTask::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_worker_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_ps_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_chief_replicas())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_run_policy())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedTensorflowTrainingTask::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::worker_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + if (this->has_ps_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::ps_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + if (this->has_chief_replicas()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::chief_replicas(this), output); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + if (this->has_run_policy()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::run_policy(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) +} + +::google::protobuf::uint8* DistributedTensorflowTrainingTask::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::worker_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + if (this->has_ps_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::ps_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + if (this->has_chief_replicas()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::chief_replicas(this), target); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + if (this->has_run_policy()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::run_policy(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + return target; +} + +size_t DistributedTensorflowTrainingTask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + if (this->has_worker_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *worker_replicas_); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + if (this->has_ps_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *ps_replicas_); + } + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + if (this->has_chief_replicas()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *chief_replicas_); + } + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + if (this->has_run_policy()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *run_policy_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedTensorflowTrainingTask::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + GOOGLE_DCHECK_NE(&from, this); + const DistributedTensorflowTrainingTask* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + MergeFrom(*source); + } +} + +void DistributedTensorflowTrainingTask::MergeFrom(const DistributedTensorflowTrainingTask& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_worker_replicas()) { + mutable_worker_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.worker_replicas()); + } + if (from.has_ps_replicas()) { + mutable_ps_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.ps_replicas()); + } + if (from.has_chief_replicas()) { + mutable_chief_replicas()->::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec::MergeFrom(from.chief_replicas()); + } + if (from.has_run_policy()) { + mutable_run_policy()->::flyteidl::plugins::kubeflow::RunPolicy::MergeFrom(from.run_policy()); + } +} + +void DistributedTensorflowTrainingTask::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedTensorflowTrainingTask::CopyFrom(const DistributedTensorflowTrainingTask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedTensorflowTrainingTask::IsInitialized() const { + return true; +} + +void DistributedTensorflowTrainingTask::Swap(DistributedTensorflowTrainingTask* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedTensorflowTrainingTask::InternalSwap(DistributedTensorflowTrainingTask* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(worker_replicas_, other->worker_replicas_); + swap(ps_replicas_, other->ps_replicas_); + swap(chief_replicas_, other->chief_replicas_); + swap(run_policy_, other->run_policy_); +} + +::google::protobuf::Metadata DistributedTensorflowTrainingTask::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DistributedTensorflowTrainingReplicaSpec::InitAsDefaultInstance() { + ::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_._instance.get_mutable()->resources_ = const_cast< ::flyteidl::core::Resources*>( + ::flyteidl::core::Resources::internal_default_instance()); +} +class DistributedTensorflowTrainingReplicaSpec::HasBitSetters { + public: + static const ::flyteidl::core::Resources& resources(const DistributedTensorflowTrainingReplicaSpec* msg); +}; + +const ::flyteidl::core::Resources& +DistributedTensorflowTrainingReplicaSpec::HasBitSetters::resources(const DistributedTensorflowTrainingReplicaSpec* msg) { + return *msg->resources_; +} +void DistributedTensorflowTrainingReplicaSpec::clear_resources() { + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DistributedTensorflowTrainingReplicaSpec::kReplicasFieldNumber; +const int DistributedTensorflowTrainingReplicaSpec::kImageFieldNumber; +const int DistributedTensorflowTrainingReplicaSpec::kResourcesFieldNumber; +const int DistributedTensorflowTrainingReplicaSpec::kRestartPolicyFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DistributedTensorflowTrainingReplicaSpec::DistributedTensorflowTrainingReplicaSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) +} +DistributedTensorflowTrainingReplicaSpec::DistributedTensorflowTrainingReplicaSpec(const DistributedTensorflowTrainingReplicaSpec& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.image().size() > 0) { + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + resources_ = new ::flyteidl::core::Resources(*from.resources_); + } else { + resources_ = nullptr; + } + ::memcpy(&replicas_, &from.replicas_, + static_cast(reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) +} + +void DistributedTensorflowTrainingReplicaSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); + image_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&resources_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&resources_)) + sizeof(restart_policy_)); +} + +DistributedTensorflowTrainingReplicaSpec::~DistributedTensorflowTrainingReplicaSpec() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + SharedDtor(); +} + +void DistributedTensorflowTrainingReplicaSpec::SharedDtor() { + image_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete resources_; +} + +void DistributedTensorflowTrainingReplicaSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingReplicaSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DistributedTensorflowTrainingReplicaSpec_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto.base); + return *internal_default_instance(); +} + + +void DistributedTensorflowTrainingReplicaSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && resources_ != nullptr) { + delete resources_; + } + resources_ = nullptr; + ::memset(&replicas_, 0, static_cast( + reinterpret_cast(&restart_policy_) - + reinterpret_cast(&replicas_)) + sizeof(restart_policy_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DistributedTensorflowTrainingReplicaSpec::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // int32 replicas = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + msg->set_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // string image = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); + object = msg->mutable_image(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::Resources::_InternalParse; + object = msg->mutable_resources(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_restart_policy(static_cast<::flyteidl::plugins::kubeflow::RestartPolicy>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DistributedTensorflowTrainingReplicaSpec::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int32 replicas = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // string image = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_image())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Resources resources = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_resources())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_restart_policy(static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(value)); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DistributedTensorflowTrainingReplicaSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->replicas(), output); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->image(), output); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::resources(this), output); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 4, this->restart_policy(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) +} + +::google::protobuf::uint8* DistributedTensorflowTrainingReplicaSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 replicas = 1; + if (this->replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->replicas(), target); + } + + // string image = 2; + if (this->image().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->image().data(), static_cast(this->image().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->image(), target); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::resources(this), target); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 4, this->restart_policy(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + return target; +} + +size_t DistributedTensorflowTrainingReplicaSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string image = 2; + if (this->image().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->image()); + } + + // .flyteidl.core.Resources resources = 3; + if (this->has_resources()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *resources_); + } + + // int32 replicas = 1; + if (this->replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->replicas()); + } + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + if (this->restart_policy() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->restart_policy()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DistributedTensorflowTrainingReplicaSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + const DistributedTensorflowTrainingReplicaSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + MergeFrom(*source); + } +} + +void DistributedTensorflowTrainingReplicaSpec::MergeFrom(const DistributedTensorflowTrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.image().size() > 0) { + + image_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.image_); + } + if (from.has_resources()) { + mutable_resources()->::flyteidl::core::Resources::MergeFrom(from.resources()); + } + if (from.replicas() != 0) { + set_replicas(from.replicas()); + } + if (from.restart_policy() != 0) { + set_restart_policy(from.restart_policy()); + } +} + +void DistributedTensorflowTrainingReplicaSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DistributedTensorflowTrainingReplicaSpec::CopyFrom(const DistributedTensorflowTrainingReplicaSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DistributedTensorflowTrainingReplicaSpec::IsInitialized() const { + return true; +} + +void DistributedTensorflowTrainingReplicaSpec::Swap(DistributedTensorflowTrainingReplicaSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void DistributedTensorflowTrainingReplicaSpec::InternalSwap(DistributedTensorflowTrainingReplicaSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + image_.Swap(&other->image_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(resources_, other->resources_); + swap(replicas_, other->replicas_); + swap(restart_policy_, other->restart_policy_); +} + +::google::protobuf::Metadata DistributedTensorflowTrainingReplicaSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* Arena::CreateMaybeMessage< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h new file mode 100644 index 000000000..9839ca481 --- /dev/null +++ b/gen/pb-cpp/flyteidl/plugins/kubeflow/tensorflow.pb.h @@ -0,0 +1,718 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include "flyteidl/core/tasks.pb.h" +#include "flyteidl/plugins/kubeflow/common.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[2] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto(); +namespace flyteidl { +namespace plugins { +namespace kubeflow { +class DistributedTensorflowTrainingReplicaSpec; +class DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal; +extern DistributedTensorflowTrainingReplicaSpecDefaultTypeInternal _DistributedTensorflowTrainingReplicaSpec_default_instance_; +class DistributedTensorflowTrainingTask; +class DistributedTensorflowTrainingTaskDefaultTypeInternal; +extern DistributedTensorflowTrainingTaskDefaultTypeInternal _DistributedTensorflowTrainingTask_default_instance_; +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(Arena*); +template<> ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingTask>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace plugins { +namespace kubeflow { + +// =================================================================== + +class DistributedTensorflowTrainingTask final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) */ { + public: + DistributedTensorflowTrainingTask(); + virtual ~DistributedTensorflowTrainingTask(); + + DistributedTensorflowTrainingTask(const DistributedTensorflowTrainingTask& from); + + inline DistributedTensorflowTrainingTask& operator=(const DistributedTensorflowTrainingTask& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedTensorflowTrainingTask(DistributedTensorflowTrainingTask&& from) noexcept + : DistributedTensorflowTrainingTask() { + *this = ::std::move(from); + } + + inline DistributedTensorflowTrainingTask& operator=(DistributedTensorflowTrainingTask&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedTensorflowTrainingTask& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedTensorflowTrainingTask* internal_default_instance() { + return reinterpret_cast( + &_DistributedTensorflowTrainingTask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(DistributedTensorflowTrainingTask* other); + friend void swap(DistributedTensorflowTrainingTask& a, DistributedTensorflowTrainingTask& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedTensorflowTrainingTask* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedTensorflowTrainingTask* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedTensorflowTrainingTask& from); + void MergeFrom(const DistributedTensorflowTrainingTask& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedTensorflowTrainingTask* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + bool has_worker_replicas() const; + void clear_worker_replicas(); + static const int kWorkerReplicasFieldNumber = 1; + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& worker_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_worker_replicas(); + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_worker_replicas(); + void set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas); + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + bool has_ps_replicas() const; + void clear_ps_replicas(); + static const int kPsReplicasFieldNumber = 2; + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& ps_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_ps_replicas(); + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_ps_replicas(); + void set_allocated_ps_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas); + + // .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + bool has_chief_replicas() const; + void clear_chief_replicas(); + static const int kChiefReplicasFieldNumber = 3; + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& chief_replicas() const; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* release_chief_replicas(); + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* mutable_chief_replicas(); + void set_allocated_chief_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas); + + // .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + bool has_run_policy() const; + void clear_run_policy(); + static const int kRunPolicyFieldNumber = 4; + const ::flyteidl::plugins::kubeflow::RunPolicy& run_policy() const; + ::flyteidl::plugins::kubeflow::RunPolicy* release_run_policy(); + ::flyteidl::plugins::kubeflow::RunPolicy* mutable_run_policy(); + void set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas_; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas_; + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas_; + ::flyteidl::plugins::kubeflow::RunPolicy* run_policy_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; +}; +// ------------------------------------------------------------------- + +class DistributedTensorflowTrainingReplicaSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) */ { + public: + DistributedTensorflowTrainingReplicaSpec(); + virtual ~DistributedTensorflowTrainingReplicaSpec(); + + DistributedTensorflowTrainingReplicaSpec(const DistributedTensorflowTrainingReplicaSpec& from); + + inline DistributedTensorflowTrainingReplicaSpec& operator=(const DistributedTensorflowTrainingReplicaSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DistributedTensorflowTrainingReplicaSpec(DistributedTensorflowTrainingReplicaSpec&& from) noexcept + : DistributedTensorflowTrainingReplicaSpec() { + *this = ::std::move(from); + } + + inline DistributedTensorflowTrainingReplicaSpec& operator=(DistributedTensorflowTrainingReplicaSpec&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DistributedTensorflowTrainingReplicaSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DistributedTensorflowTrainingReplicaSpec* internal_default_instance() { + return reinterpret_cast( + &_DistributedTensorflowTrainingReplicaSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(DistributedTensorflowTrainingReplicaSpec* other); + friend void swap(DistributedTensorflowTrainingReplicaSpec& a, DistributedTensorflowTrainingReplicaSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DistributedTensorflowTrainingReplicaSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + DistributedTensorflowTrainingReplicaSpec* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DistributedTensorflowTrainingReplicaSpec& from); + void MergeFrom(const DistributedTensorflowTrainingReplicaSpec& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DistributedTensorflowTrainingReplicaSpec* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string image = 2; + void clear_image(); + static const int kImageFieldNumber = 2; + const ::std::string& image() const; + void set_image(const ::std::string& value); + #if LANG_CXX11 + void set_image(::std::string&& value); + #endif + void set_image(const char* value); + void set_image(const char* value, size_t size); + ::std::string* mutable_image(); + ::std::string* release_image(); + void set_allocated_image(::std::string* image); + + // .flyteidl.core.Resources resources = 3; + bool has_resources() const; + void clear_resources(); + static const int kResourcesFieldNumber = 3; + const ::flyteidl::core::Resources& resources() const; + ::flyteidl::core::Resources* release_resources(); + ::flyteidl::core::Resources* mutable_resources(); + void set_allocated_resources(::flyteidl::core::Resources* resources); + + // int32 replicas = 1; + void clear_replicas(); + static const int kReplicasFieldNumber = 1; + ::google::protobuf::int32 replicas() const; + void set_replicas(::google::protobuf::int32 value); + + // .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + void clear_restart_policy(); + static const int kRestartPolicyFieldNumber = 4; + ::flyteidl::plugins::kubeflow::RestartPolicy restart_policy() const; + void set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr image_; + ::flyteidl::core::Resources* resources_; + ::google::protobuf::int32 replicas_; + int restart_policy_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// DistributedTensorflowTrainingTask + +// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; +inline bool DistributedTensorflowTrainingTask::has_worker_replicas() const { + return this != internal_default_instance() && worker_replicas_ != nullptr; +} +inline void DistributedTensorflowTrainingTask::clear_worker_replicas() { + if (GetArenaNoVirtual() == nullptr && worker_replicas_ != nullptr) { + delete worker_replicas_; + } + worker_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::worker_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = worker_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_worker_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) + + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = worker_replicas_; + worker_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_worker_replicas() { + + if (worker_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); + worker_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) + return worker_replicas_; +} +inline void DistributedTensorflowTrainingTask::set_allocated_worker_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* worker_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete worker_replicas_; + } + if (worker_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + worker_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, worker_replicas, submessage_arena); + } + + } else { + + } + worker_replicas_ = worker_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas) +} + +// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; +inline bool DistributedTensorflowTrainingTask::has_ps_replicas() const { + return this != internal_default_instance() && ps_replicas_ != nullptr; +} +inline void DistributedTensorflowTrainingTask::clear_ps_replicas() { + if (GetArenaNoVirtual() == nullptr && ps_replicas_ != nullptr) { + delete ps_replicas_; + } + ps_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::ps_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = ps_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_ps_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) + + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = ps_replicas_; + ps_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_ps_replicas() { + + if (ps_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); + ps_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) + return ps_replicas_; +} +inline void DistributedTensorflowTrainingTask::set_allocated_ps_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* ps_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete ps_replicas_; + } + if (ps_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + ps_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, ps_replicas, submessage_arena); + } + + } else { + + } + ps_replicas_ = ps_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas) +} + +// .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; +inline bool DistributedTensorflowTrainingTask::has_chief_replicas() const { + return this != internal_default_instance() && chief_replicas_ != nullptr; +} +inline void DistributedTensorflowTrainingTask::clear_chief_replicas() { + if (GetArenaNoVirtual() == nullptr && chief_replicas_ != nullptr) { + delete chief_replicas_; + } + chief_replicas_ = nullptr; +} +inline const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec& DistributedTensorflowTrainingTask::chief_replicas() const { + const ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* p = chief_replicas_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_DistributedTensorflowTrainingReplicaSpec_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::release_chief_replicas() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) + + ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* temp = chief_replicas_; + chief_replicas_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* DistributedTensorflowTrainingTask::mutable_chief_replicas() { + + if (chief_replicas_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec>(GetArenaNoVirtual()); + chief_replicas_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) + return chief_replicas_; +} +inline void DistributedTensorflowTrainingTask::set_allocated_chief_replicas(::flyteidl::plugins::kubeflow::DistributedTensorflowTrainingReplicaSpec* chief_replicas) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete chief_replicas_; + } + if (chief_replicas) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + chief_replicas = ::google::protobuf::internal::GetOwnedMessage( + message_arena, chief_replicas, submessage_arena); + } + + } else { + + } + chief_replicas_ = chief_replicas; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas) +} + +// .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; +inline bool DistributedTensorflowTrainingTask::has_run_policy() const { + return this != internal_default_instance() && run_policy_ != nullptr; +} +inline const ::flyteidl::plugins::kubeflow::RunPolicy& DistributedTensorflowTrainingTask::run_policy() const { + const ::flyteidl::plugins::kubeflow::RunPolicy* p = run_policy_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::kubeflow::_RunPolicy_default_instance_); +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedTensorflowTrainingTask::release_run_policy() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) + + ::flyteidl::plugins::kubeflow::RunPolicy* temp = run_policy_; + run_policy_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::kubeflow::RunPolicy* DistributedTensorflowTrainingTask::mutable_run_policy() { + + if (run_policy_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::kubeflow::RunPolicy>(GetArenaNoVirtual()); + run_policy_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) + return run_policy_; +} +inline void DistributedTensorflowTrainingTask::set_allocated_run_policy(::flyteidl::plugins::kubeflow::RunPolicy* run_policy) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(run_policy_); + } + if (run_policy) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + run_policy = ::google::protobuf::internal::GetOwnedMessage( + message_arena, run_policy, submessage_arena); + } + + } else { + + } + run_policy_ = run_policy; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy) +} + +// ------------------------------------------------------------------- + +// DistributedTensorflowTrainingReplicaSpec + +// int32 replicas = 1; +inline void DistributedTensorflowTrainingReplicaSpec::clear_replicas() { + replicas_ = 0; +} +inline ::google::protobuf::int32 DistributedTensorflowTrainingReplicaSpec::replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.replicas) + return replicas_; +} +inline void DistributedTensorflowTrainingReplicaSpec::set_replicas(::google::protobuf::int32 value) { + + replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.replicas) +} + +// string image = 2; +inline void DistributedTensorflowTrainingReplicaSpec::clear_image() { + image_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DistributedTensorflowTrainingReplicaSpec::image() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) + return image_.GetNoArena(); +} +inline void DistributedTensorflowTrainingReplicaSpec::set_image(const ::std::string& value) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) +} +#if LANG_CXX11 +inline void DistributedTensorflowTrainingReplicaSpec::set_image(::std::string&& value) { + + image_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) +} +#endif +inline void DistributedTensorflowTrainingReplicaSpec::set_image(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) +} +inline void DistributedTensorflowTrainingReplicaSpec::set_image(const char* value, size_t size) { + + image_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) +} +inline ::std::string* DistributedTensorflowTrainingReplicaSpec::mutable_image() { + + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) + return image_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DistributedTensorflowTrainingReplicaSpec::release_image() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) + + return image_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DistributedTensorflowTrainingReplicaSpec::set_allocated_image(::std::string* image) { + if (image != nullptr) { + + } else { + + } + image_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), image); + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image) +} + +// .flyteidl.core.Resources resources = 3; +inline bool DistributedTensorflowTrainingReplicaSpec::has_resources() const { + return this != internal_default_instance() && resources_ != nullptr; +} +inline const ::flyteidl::core::Resources& DistributedTensorflowTrainingReplicaSpec::resources() const { + const ::flyteidl::core::Resources* p = resources_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Resources_default_instance_); +} +inline ::flyteidl::core::Resources* DistributedTensorflowTrainingReplicaSpec::release_resources() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) + + ::flyteidl::core::Resources* temp = resources_; + resources_ = nullptr; + return temp; +} +inline ::flyteidl::core::Resources* DistributedTensorflowTrainingReplicaSpec::mutable_resources() { + + if (resources_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Resources>(GetArenaNoVirtual()); + resources_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) + return resources_; +} +inline void DistributedTensorflowTrainingReplicaSpec::set_allocated_resources(::flyteidl::core::Resources* resources) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(resources_); + } + if (resources) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + resources = ::google::protobuf::internal::GetOwnedMessage( + message_arena, resources, submessage_arena); + } + + } else { + + } + resources_ = resources; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources) +} + +// .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; +inline void DistributedTensorflowTrainingReplicaSpec::clear_restart_policy() { + restart_policy_ = 0; +} +inline ::flyteidl::plugins::kubeflow::RestartPolicy DistributedTensorflowTrainingReplicaSpec::restart_policy() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy) + return static_cast< ::flyteidl::plugins::kubeflow::RestartPolicy >(restart_policy_); +} +inline void DistributedTensorflowTrainingReplicaSpec::set_restart_policy(::flyteidl::plugins::kubeflow::RestartPolicy value) { + + restart_policy_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace kubeflow +} // namespace plugins +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fplugins_2fkubeflow_2ftensorflow_2eproto diff --git a/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc b/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc index 9b1951b38..20bc82696 100644 --- a/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc +++ b/gen/pb-cpp/flyteidl/plugins/pytorch.pb.cc @@ -16,14 +16,33 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fplugins_2fpytorch_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto; namespace flyteidl { namespace plugins { +class ElasticConfigDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ElasticConfig_default_instance_; class DistributedPyTorchTrainingTaskDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _DistributedPyTorchTrainingTask_default_instance_; } // namespace plugins } // namespace flyteidl +static void InitDefaultsElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::plugins::_ElasticConfig_default_instance_; + new (ptr) ::flyteidl::plugins::ElasticConfig(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::plugins::ElasticConfig::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto}, {}}; + static void InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -35,50 +54,69 @@ static void InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpyto ::flyteidl::plugins::DistributedPyTorchTrainingTask::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<0> scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto}, {}}; +::google::protobuf::internal::SCCInfo<1> scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto}, { + &scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base,}}; void InitDefaults_flyteidl_2fplugins_2fpytorch_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[1]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[2]; constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fplugins_2fpytorch_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fplugins_2fpytorch_2eproto = nullptr; const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fpytorch_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, rdzv_backend_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, min_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, max_replicas_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, nproc_per_node_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::ElasticConfig, max_restarts_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, workers_), + PROTOBUF_FIELD_OFFSET(::flyteidl::plugins::DistributedPyTorchTrainingTask, elastic_config_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::flyteidl::plugins::DistributedPyTorchTrainingTask)}, + { 0, -1, sizeof(::flyteidl::plugins::ElasticConfig)}, + { 10, -1, sizeof(::flyteidl::plugins::DistributedPyTorchTrainingTask)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::plugins::_ElasticConfig_default_instance_), reinterpret_cast(&::flyteidl::plugins::_DistributedPyTorchTrainingTask_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto = { {}, AddDescriptors_flyteidl_2fplugins_2fpytorch_2eproto, "flyteidl/plugins/pytorch.proto", schemas, file_default_instances, TableStruct_flyteidl_2fplugins_2fpytorch_2eproto::offsets, - file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto, 1, file_level_enum_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, + file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto, 2, file_level_enum_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, file_level_service_descriptors_flyteidl_2fplugins_2fpytorch_2eproto, }; const char descriptor_table_protodef_flyteidl_2fplugins_2fpytorch_2eproto[] = "\n\036flyteidl/plugins/pytorch.proto\022\020flytei" - "dl.plugins\"1\n\036DistributedPyTorchTraining" - "Task\022\017\n\007workers\030\001 \001(\005B9Z7github.com/flyt" - "eorg/flyteidl/gen/pb-go/flyteidl/plugins" - "b\006proto3" + "dl.plugins\"\177\n\rElasticConfig\022\024\n\014rdzv_back" + "end\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014max_r" + "eplicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001(\005\022\024\n" + "\014max_restarts\030\005 \001(\005\"j\n\036DistributedPyTorc" + "hTrainingTask\022\017\n\007workers\030\001 \001(\005\0227\n\016elasti" + "c_config\030\002 \001(\0132\037.flyteidl.plugins.Elasti" + "cConfigB9Z7github.com/flyteorg/flyteidl/" + "gen/pb-go/flyteidl/pluginsb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fplugins_2fpytorch_2eproto = { false, InitDefaults_flyteidl_2fplugins_2fpytorch_2eproto, descriptor_table_protodef_flyteidl_2fplugins_2fpytorch_2eproto, - "flyteidl/plugins/pytorch.proto", &assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto, 168, + "flyteidl/plugins/pytorch.proto", &assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto, 354, }; void AddDescriptors_flyteidl_2fplugins_2fpytorch_2eproto() { @@ -93,16 +131,498 @@ static bool dynamic_init_dummy_flyteidl_2fplugins_2fpytorch_2eproto = []() { Add namespace flyteidl { namespace plugins { +// =================================================================== + +void ElasticConfig::InitAsDefaultInstance() { +} +class ElasticConfig::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ElasticConfig::kRdzvBackendFieldNumber; +const int ElasticConfig::kMinReplicasFieldNumber; +const int ElasticConfig::kMaxReplicasFieldNumber; +const int ElasticConfig::kNprocPerNodeFieldNumber; +const int ElasticConfig::kMaxRestartsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ElasticConfig::ElasticConfig() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.plugins.ElasticConfig) +} +ElasticConfig::ElasticConfig(const ElasticConfig& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.rdzv_backend().size() > 0) { + rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); + } + ::memcpy(&min_replicas_, &from.min_replicas_, + static_cast(reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.ElasticConfig) +} + +void ElasticConfig::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); + rdzv_backend_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&min_replicas_, 0, static_cast( + reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); +} + +ElasticConfig::~ElasticConfig() { + // @@protoc_insertion_point(destructor:flyteidl.plugins.ElasticConfig) + SharedDtor(); +} + +void ElasticConfig::SharedDtor() { + rdzv_backend_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ElasticConfig::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ElasticConfig& ElasticConfig::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ElasticConfig_flyteidl_2fplugins_2fpytorch_2eproto.base); + return *internal_default_instance(); +} + + +void ElasticConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.plugins.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&min_replicas_, 0, static_cast( + reinterpret_cast(&max_restarts_) - + reinterpret_cast(&min_replicas_)) + sizeof(max_restarts_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ElasticConfig::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string rdzv_backend = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.plugins.ElasticConfig.rdzv_backend"); + object = msg->mutable_rdzv_backend(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // int32 min_replicas = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_min_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 max_replicas = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; + msg->set_max_replicas(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 nproc_per_node = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + msg->set_nproc_per_node(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // int32 max_restarts = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 40) goto handle_unusual; + msg->set_max_restarts(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ElasticConfig::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.plugins.ElasticConfig) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string rdzv_backend = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_rdzv_backend())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.plugins.ElasticConfig.rdzv_backend")); + } else { + goto handle_unusual; + } + break; + } + + // int32 min_replicas = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (16 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &min_replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 max_replicas = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (24 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_replicas_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 nproc_per_node = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (32 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &nproc_per_node_))); + } else { + goto handle_unusual; + } + break; + } + + // int32 max_restarts = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (40 & 0xFF)) { + + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_restarts_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.plugins.ElasticConfig) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.plugins.ElasticConfig) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ElasticConfig::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.plugins.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.ElasticConfig.rdzv_backend"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->rdzv_backend(), output); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->min_replicas(), output); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_replicas(), output); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->nproc_per_node(), output); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->max_restarts(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.plugins.ElasticConfig) +} + +::google::protobuf::uint8* ElasticConfig::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.plugins.ElasticConfig) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->rdzv_backend().data(), static_cast(this->rdzv_backend().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.plugins.ElasticConfig.rdzv_backend"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->rdzv_backend(), target); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->min_replicas(), target); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_replicas(), target); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->nproc_per_node(), target); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->max_restarts(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.plugins.ElasticConfig) + return target; +} + +size_t ElasticConfig::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.plugins.ElasticConfig) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string rdzv_backend = 1; + if (this->rdzv_backend().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->rdzv_backend()); + } + + // int32 min_replicas = 2; + if (this->min_replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->min_replicas()); + } + + // int32 max_replicas = 3; + if (this->max_replicas() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_replicas()); + } + + // int32 nproc_per_node = 4; + if (this->nproc_per_node() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->nproc_per_node()); + } + + // int32 max_restarts = 5; + if (this->max_restarts() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_restarts()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ElasticConfig::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.plugins.ElasticConfig) + GOOGLE_DCHECK_NE(&from, this); + const ElasticConfig* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.plugins.ElasticConfig) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.plugins.ElasticConfig) + MergeFrom(*source); + } +} + +void ElasticConfig::MergeFrom(const ElasticConfig& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.plugins.ElasticConfig) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.rdzv_backend().size() > 0) { + + rdzv_backend_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.rdzv_backend_); + } + if (from.min_replicas() != 0) { + set_min_replicas(from.min_replicas()); + } + if (from.max_replicas() != 0) { + set_max_replicas(from.max_replicas()); + } + if (from.nproc_per_node() != 0) { + set_nproc_per_node(from.nproc_per_node()); + } + if (from.max_restarts() != 0) { + set_max_restarts(from.max_restarts()); + } +} + +void ElasticConfig::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.plugins.ElasticConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ElasticConfig::CopyFrom(const ElasticConfig& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.plugins.ElasticConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ElasticConfig::IsInitialized() const { + return true; +} + +void ElasticConfig::Swap(ElasticConfig* other) { + if (other == this) return; + InternalSwap(other); +} +void ElasticConfig::InternalSwap(ElasticConfig* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + rdzv_backend_.Swap(&other->rdzv_backend_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(min_replicas_, other->min_replicas_); + swap(max_replicas_, other->max_replicas_); + swap(nproc_per_node_, other->nproc_per_node_); + swap(max_restarts_, other->max_restarts_); +} + +::google::protobuf::Metadata ElasticConfig::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fplugins_2fpytorch_2eproto); + return ::file_level_metadata_flyteidl_2fplugins_2fpytorch_2eproto[kIndexInFileMessages]; +} + + // =================================================================== void DistributedPyTorchTrainingTask::InitAsDefaultInstance() { + ::flyteidl::plugins::_DistributedPyTorchTrainingTask_default_instance_._instance.get_mutable()->elastic_config_ = const_cast< ::flyteidl::plugins::ElasticConfig*>( + ::flyteidl::plugins::ElasticConfig::internal_default_instance()); } class DistributedPyTorchTrainingTask::HasBitSetters { public: + static const ::flyteidl::plugins::ElasticConfig& elastic_config(const DistributedPyTorchTrainingTask* msg); }; +const ::flyteidl::plugins::ElasticConfig& +DistributedPyTorchTrainingTask::HasBitSetters::elastic_config(const DistributedPyTorchTrainingTask* msg) { + return *msg->elastic_config_; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int DistributedPyTorchTrainingTask::kWorkersFieldNumber; +const int DistributedPyTorchTrainingTask::kElasticConfigFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask() @@ -114,12 +634,21 @@ DistributedPyTorchTrainingTask::DistributedPyTorchTrainingTask(const Distributed : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_elastic_config()) { + elastic_config_ = new ::flyteidl::plugins::ElasticConfig(*from.elastic_config_); + } else { + elastic_config_ = nullptr; + } workers_ = from.workers_; // @@protoc_insertion_point(copy_constructor:flyteidl.plugins.DistributedPyTorchTrainingTask) } void DistributedPyTorchTrainingTask::SharedCtor() { - workers_ = 0; + ::google::protobuf::internal::InitSCC( + &scc_info_DistributedPyTorchTrainingTask_flyteidl_2fplugins_2fpytorch_2eproto.base); + ::memset(&elastic_config_, 0, static_cast( + reinterpret_cast(&workers_) - + reinterpret_cast(&elastic_config_)) + sizeof(workers_)); } DistributedPyTorchTrainingTask::~DistributedPyTorchTrainingTask() { @@ -128,6 +657,7 @@ DistributedPyTorchTrainingTask::~DistributedPyTorchTrainingTask() { } void DistributedPyTorchTrainingTask::SharedDtor() { + if (this != internal_default_instance()) delete elastic_config_; } void DistributedPyTorchTrainingTask::SetCachedSize(int size) const { @@ -145,6 +675,10 @@ void DistributedPyTorchTrainingTask::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { + delete elastic_config_; + } + elastic_config_ = nullptr; workers_ = 0; _internal_metadata_.Clear(); } @@ -169,6 +703,19 @@ const char* DistributedPyTorchTrainingTask::_InternalParse(const char* begin, co GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::plugins::ElasticConfig::_InternalParse; + object = msg->mutable_elastic_config(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -184,6 +731,9 @@ const char* DistributedPyTorchTrainingTask::_InternalParse(const char* begin, co } // switch } // while return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER bool DistributedPyTorchTrainingTask::MergePartialFromCodedStream( @@ -209,6 +759,17 @@ bool DistributedPyTorchTrainingTask::MergePartialFromCodedStream( break; } + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_elastic_config())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -241,6 +802,12 @@ void DistributedPyTorchTrainingTask::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->workers(), output); } + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + if (this->has_elastic_config()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::elastic_config(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -259,6 +826,13 @@ ::google::protobuf::uint8* DistributedPyTorchTrainingTask::InternalSerializeWith target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->workers(), target); } + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + if (this->has_elastic_config()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::elastic_config(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -280,6 +854,13 @@ size_t DistributedPyTorchTrainingTask::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + if (this->has_elastic_config()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *elastic_config_); + } + // int32 workers = 1; if (this->workers() != 0) { total_size += 1 + @@ -314,6 +895,9 @@ void DistributedPyTorchTrainingTask::MergeFrom(const DistributedPyTorchTrainingT ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; + if (from.has_elastic_config()) { + mutable_elastic_config()->::flyteidl::plugins::ElasticConfig::MergeFrom(from.elastic_config()); + } if (from.workers() != 0) { set_workers(from.workers()); } @@ -344,6 +928,7 @@ void DistributedPyTorchTrainingTask::Swap(DistributedPyTorchTrainingTask* other) void DistributedPyTorchTrainingTask::InternalSwap(DistributedPyTorchTrainingTask* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); + swap(elastic_config_, other->elastic_config_); swap(workers_, other->workers_); } @@ -358,6 +943,9 @@ ::google::protobuf::Metadata DistributedPyTorchTrainingTask::GetMetadata() const } // namespace flyteidl namespace google { namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::plugins::ElasticConfig* Arena::CreateMaybeMessage< ::flyteidl::plugins::ElasticConfig >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::plugins::ElasticConfig >(arena); +} template<> PROTOBUF_NOINLINE ::flyteidl::plugins::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage< ::flyteidl::plugins::DistributedPyTorchTrainingTask >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::plugins::DistributedPyTorchTrainingTask >(arena); } diff --git a/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h b/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h index c546d0f48..b0d9b4a27 100644 --- a/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h +++ b/gen/pb-cpp/flyteidl/plugins/pytorch.pb.h @@ -41,7 +41,7 @@ struct TableStruct_flyteidl_2fplugins_2fpytorch_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[1] + static const ::google::protobuf::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -53,11 +53,15 @@ namespace plugins { class DistributedPyTorchTrainingTask; class DistributedPyTorchTrainingTaskDefaultTypeInternal; extern DistributedPyTorchTrainingTaskDefaultTypeInternal _DistributedPyTorchTrainingTask_default_instance_; +class ElasticConfig; +class ElasticConfigDefaultTypeInternal; +extern ElasticConfigDefaultTypeInternal _ElasticConfig_default_instance_; } // namespace plugins } // namespace flyteidl namespace google { namespace protobuf { template<> ::flyteidl::plugins::DistributedPyTorchTrainingTask* Arena::CreateMaybeMessage<::flyteidl::plugins::DistributedPyTorchTrainingTask>(Arena*); +template<> ::flyteidl::plugins::ElasticConfig* Arena::CreateMaybeMessage<::flyteidl::plugins::ElasticConfig>(Arena*); } // namespace protobuf } // namespace google namespace flyteidl { @@ -65,6 +69,154 @@ namespace plugins { // =================================================================== +class ElasticConfig final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.ElasticConfig) */ { + public: + ElasticConfig(); + virtual ~ElasticConfig(); + + ElasticConfig(const ElasticConfig& from); + + inline ElasticConfig& operator=(const ElasticConfig& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ElasticConfig(ElasticConfig&& from) noexcept + : ElasticConfig() { + *this = ::std::move(from); + } + + inline ElasticConfig& operator=(ElasticConfig&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ElasticConfig& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ElasticConfig* internal_default_instance() { + return reinterpret_cast( + &_ElasticConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(ElasticConfig* other); + friend void swap(ElasticConfig& a, ElasticConfig& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ElasticConfig* New() const final { + return CreateMaybeMessage(nullptr); + } + + ElasticConfig* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ElasticConfig& from); + void MergeFrom(const ElasticConfig& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ElasticConfig* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string rdzv_backend = 1; + void clear_rdzv_backend(); + static const int kRdzvBackendFieldNumber = 1; + const ::std::string& rdzv_backend() const; + void set_rdzv_backend(const ::std::string& value); + #if LANG_CXX11 + void set_rdzv_backend(::std::string&& value); + #endif + void set_rdzv_backend(const char* value); + void set_rdzv_backend(const char* value, size_t size); + ::std::string* mutable_rdzv_backend(); + ::std::string* release_rdzv_backend(); + void set_allocated_rdzv_backend(::std::string* rdzv_backend); + + // int32 min_replicas = 2; + void clear_min_replicas(); + static const int kMinReplicasFieldNumber = 2; + ::google::protobuf::int32 min_replicas() const; + void set_min_replicas(::google::protobuf::int32 value); + + // int32 max_replicas = 3; + void clear_max_replicas(); + static const int kMaxReplicasFieldNumber = 3; + ::google::protobuf::int32 max_replicas() const; + void set_max_replicas(::google::protobuf::int32 value); + + // int32 nproc_per_node = 4; + void clear_nproc_per_node(); + static const int kNprocPerNodeFieldNumber = 4; + ::google::protobuf::int32 nproc_per_node() const; + void set_nproc_per_node(::google::protobuf::int32 value); + + // int32 max_restarts = 5; + void clear_max_restarts(); + static const int kMaxRestartsFieldNumber = 5; + ::google::protobuf::int32 max_restarts() const; + void set_max_restarts(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.ElasticConfig) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr rdzv_backend_; + ::google::protobuf::int32 min_replicas_; + ::google::protobuf::int32 max_replicas_; + ::google::protobuf::int32 nproc_per_node_; + ::google::protobuf::int32 max_restarts_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fplugins_2fpytorch_2eproto; +}; +// ------------------------------------------------------------------- + class DistributedPyTorchTrainingTask final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.plugins.DistributedPyTorchTrainingTask) */ { public: @@ -103,7 +255,7 @@ class DistributedPyTorchTrainingTask final : &_DistributedPyTorchTrainingTask_default_instance_); } static constexpr int kIndexInFileMessages = - 0; + 1; void Swap(DistributedPyTorchTrainingTask* other); friend void swap(DistributedPyTorchTrainingTask& a, DistributedPyTorchTrainingTask& b) { @@ -160,6 +312,15 @@ class DistributedPyTorchTrainingTask final : // accessors ------------------------------------------------------- + // .flyteidl.plugins.ElasticConfig elastic_config = 2; + bool has_elastic_config() const; + void clear_elastic_config(); + static const int kElasticConfigFieldNumber = 2; + const ::flyteidl::plugins::ElasticConfig& elastic_config() const; + ::flyteidl::plugins::ElasticConfig* release_elastic_config(); + ::flyteidl::plugins::ElasticConfig* mutable_elastic_config(); + void set_allocated_elastic_config(::flyteidl::plugins::ElasticConfig* elastic_config); + // int32 workers = 1; void clear_workers(); static const int kWorkersFieldNumber = 1; @@ -171,6 +332,7 @@ class DistributedPyTorchTrainingTask final : class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::plugins::ElasticConfig* elastic_config_; ::google::protobuf::int32 workers_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fplugins_2fpytorch_2eproto; @@ -184,6 +346,119 @@ class DistributedPyTorchTrainingTask final : #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ +// ElasticConfig + +// string rdzv_backend = 1; +inline void ElasticConfig::clear_rdzv_backend() { + rdzv_backend_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ElasticConfig::rdzv_backend() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.rdzv_backend) + return rdzv_backend_.GetNoArena(); +} +inline void ElasticConfig::set_rdzv_backend(const ::std::string& value) { + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.rdzv_backend) +} +#if LANG_CXX11 +inline void ElasticConfig::set_rdzv_backend(::std::string&& value) { + + rdzv_backend_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.plugins.ElasticConfig.rdzv_backend) +} +#endif +inline void ElasticConfig::set_rdzv_backend(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.plugins.ElasticConfig.rdzv_backend) +} +inline void ElasticConfig::set_rdzv_backend(const char* value, size_t size) { + + rdzv_backend_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.plugins.ElasticConfig.rdzv_backend) +} +inline ::std::string* ElasticConfig::mutable_rdzv_backend() { + + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.ElasticConfig.rdzv_backend) + return rdzv_backend_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ElasticConfig::release_rdzv_backend() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.ElasticConfig.rdzv_backend) + + return rdzv_backend_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ElasticConfig::set_allocated_rdzv_backend(::std::string* rdzv_backend) { + if (rdzv_backend != nullptr) { + + } else { + + } + rdzv_backend_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rdzv_backend); + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.ElasticConfig.rdzv_backend) +} + +// int32 min_replicas = 2; +inline void ElasticConfig::clear_min_replicas() { + min_replicas_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::min_replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.min_replicas) + return min_replicas_; +} +inline void ElasticConfig::set_min_replicas(::google::protobuf::int32 value) { + + min_replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.min_replicas) +} + +// int32 max_replicas = 3; +inline void ElasticConfig::clear_max_replicas() { + max_replicas_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::max_replicas() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.max_replicas) + return max_replicas_; +} +inline void ElasticConfig::set_max_replicas(::google::protobuf::int32 value) { + + max_replicas_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.max_replicas) +} + +// int32 nproc_per_node = 4; +inline void ElasticConfig::clear_nproc_per_node() { + nproc_per_node_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::nproc_per_node() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.nproc_per_node) + return nproc_per_node_; +} +inline void ElasticConfig::set_nproc_per_node(::google::protobuf::int32 value) { + + nproc_per_node_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.nproc_per_node) +} + +// int32 max_restarts = 5; +inline void ElasticConfig::clear_max_restarts() { + max_restarts_ = 0; +} +inline ::google::protobuf::int32 ElasticConfig::max_restarts() const { + // @@protoc_insertion_point(field_get:flyteidl.plugins.ElasticConfig.max_restarts) + return max_restarts_; +} +inline void ElasticConfig::set_max_restarts(::google::protobuf::int32 value) { + + max_restarts_ = value; + // @@protoc_insertion_point(field_set:flyteidl.plugins.ElasticConfig.max_restarts) +} + +// ------------------------------------------------------------------- + // DistributedPyTorchTrainingTask // int32 workers = 1; @@ -200,9 +475,62 @@ inline void DistributedPyTorchTrainingTask::set_workers(::google::protobuf::int3 // @@protoc_insertion_point(field_set:flyteidl.plugins.DistributedPyTorchTrainingTask.workers) } +// .flyteidl.plugins.ElasticConfig elastic_config = 2; +inline bool DistributedPyTorchTrainingTask::has_elastic_config() const { + return this != internal_default_instance() && elastic_config_ != nullptr; +} +inline void DistributedPyTorchTrainingTask::clear_elastic_config() { + if (GetArenaNoVirtual() == nullptr && elastic_config_ != nullptr) { + delete elastic_config_; + } + elastic_config_ = nullptr; +} +inline const ::flyteidl::plugins::ElasticConfig& DistributedPyTorchTrainingTask::elastic_config() const { + const ::flyteidl::plugins::ElasticConfig* p = elastic_config_; + // @@protoc_insertion_point(field_get:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::plugins::_ElasticConfig_default_instance_); +} +inline ::flyteidl::plugins::ElasticConfig* DistributedPyTorchTrainingTask::release_elastic_config() { + // @@protoc_insertion_point(field_release:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) + + ::flyteidl::plugins::ElasticConfig* temp = elastic_config_; + elastic_config_ = nullptr; + return temp; +} +inline ::flyteidl::plugins::ElasticConfig* DistributedPyTorchTrainingTask::mutable_elastic_config() { + + if (elastic_config_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::plugins::ElasticConfig>(GetArenaNoVirtual()); + elastic_config_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) + return elastic_config_; +} +inline void DistributedPyTorchTrainingTask::set_allocated_elastic_config(::flyteidl::plugins::ElasticConfig* elastic_config) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete elastic_config_; + } + if (elastic_config) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + elastic_config = ::google::protobuf::internal::GetOwnedMessage( + message_arena, elastic_config, submessage_arena); + } + + } else { + + } + elastic_config_ = elastic_config; + // @@protoc_insertion_point(field_set_allocated:flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc b/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc index e3d019e88..cf8c19b8a 100644 --- a/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc +++ b/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc @@ -72,6 +72,7 @@ static const char* AdminService_method_names[] = { "/flyteidl.service.AdminService/GetVersion", "/flyteidl.service.AdminService/GetDescriptionEntity", "/flyteidl.service.AdminService/ListDescriptionEntities", + "/flyteidl.service.AdminService/GetExecutionMetrics", }; std::unique_ptr< AdminService::Stub> AdminService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -133,6 +134,7 @@ AdminService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& chann , rpcmethod_GetVersion_(AdminService_method_names[49], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetDescriptionEntity_(AdminService_method_names[50], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListDescriptionEntities_(AdminService_method_names[51], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetExecutionMetrics_(AdminService_method_names[52], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status AdminService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::flyteidl::admin::TaskCreateResponse* response) { @@ -1591,6 +1593,34 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* Ad return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::DescriptionEntityList>::Create(channel_.get(), cq, rpcmethod_ListDescriptionEntities_, context, request, false); } +::grpc::Status AdminService::Stub::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetExecutionMetrics_, context, request, response); +} + +void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, reactor); +} + +void AdminService::Stub::experimental_async::GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetExecutionMetrics_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AdminService::Stub::AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionMetrics_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AdminService::Stub::PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>::Create(channel_.get(), cq, rpcmethod_GetExecutionMetrics_, context, request, false); +} + AdminService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AdminService_method_names[0], @@ -1852,6 +1882,11 @@ AdminService::Service::Service() { ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::DescriptionEntityListRequest, ::flyteidl::admin::DescriptionEntityList>( std::mem_fn(&AdminService::Service::ListDescriptionEntities), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AdminService_method_names[52], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>( + std::mem_fn(&AdminService::Service::GetExecutionMetrics), this))); } AdminService::Service::~Service() { @@ -2221,6 +2256,13 @@ ::grpc::Status AdminService::Service::ListDescriptionEntities(::grpc::ServerCont return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AdminService::Service::GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + } // namespace flyteidl } // namespace service diff --git a/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h b/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h index 57ff8aa59..77f3dc148 100644 --- a/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h +++ b/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h @@ -471,6 +471,14 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>> PrepareAsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>>(PrepareAsyncListDescriptionEntitiesRaw(context, request, cq)); } + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + virtual ::grpc::Status GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> AsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(AsyncGetExecutionMetricsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> PrepareAsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(PrepareAsyncGetExecutionMetricsRaw(context, request, cq)); + } class experimental_async_interface { public: virtual ~experimental_async_interface() {} @@ -739,6 +747,11 @@ class AdminService final { virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) = 0; virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) = 0; + virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) = 0; + virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; }; virtual class experimental_async_interface* experimental_async() { return nullptr; } private: @@ -846,6 +859,8 @@ class AdminService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntity>* PrepareAsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>* AsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::DescriptionEntityList>* PrepareAsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -1214,6 +1229,13 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>> PrepareAsyncListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>>(PrepareAsyncListDescriptionEntitiesRaw(context, request, cq)); } + ::grpc::Status GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> AsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(AsyncGetExecutionMetricsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>> PrepareAsyncGetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>>(PrepareAsyncGetExecutionMetricsRaw(context, request, cq)); + } class experimental_async final : public StubInterface::experimental_async_interface { public: @@ -1425,6 +1447,10 @@ class AdminService final { void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, std::function) override; void ListDescriptionEntities(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void ListDescriptionEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) override; + void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, std::function) override; + void GetExecutionMetrics(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetExecutionMetrics(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit experimental_async(Stub* stub): stub_(stub) { } @@ -1540,6 +1566,8 @@ class AdminService final { ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntity>* PrepareAsyncGetDescriptionEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ObjectGetRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* AsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::DescriptionEntityList>* PrepareAsyncListDescriptionEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::DescriptionEntityListRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* AsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* PrepareAsyncGetExecutionMetricsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateTask_; const ::grpc::internal::RpcMethod rpcmethod_GetTask_; const ::grpc::internal::RpcMethod rpcmethod_ListTaskIds_; @@ -1592,6 +1620,7 @@ class AdminService final { const ::grpc::internal::RpcMethod rpcmethod_GetVersion_; const ::grpc::internal::RpcMethod rpcmethod_GetDescriptionEntity_; const ::grpc::internal::RpcMethod rpcmethod_ListDescriptionEntities_; + const ::grpc::internal::RpcMethod rpcmethod_GetExecutionMetrics_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -1708,6 +1737,8 @@ class AdminService final { virtual ::grpc::Status GetDescriptionEntity(::grpc::ServerContext* context, const ::flyteidl::admin::ObjectGetRequest* request, ::flyteidl::admin::DescriptionEntity* response); // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. virtual ::grpc::Status ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response); + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + virtual ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response); }; template class WithAsyncMethod_CreateTask : public BaseClass { @@ -2749,7 +2780,27 @@ class AdminService final { ::grpc::Service::RequestAsyncUnary(51, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + template + class WithAsyncMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetExecutionMetrics() { + ::grpc::Service::MarkMethodAsync(52); + } + ~WithAsyncMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetExecutionMetrics(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { private: @@ -4362,7 +4413,38 @@ class AdminService final { } virtual void ListDescriptionEntities(::grpc::ServerContext* context, const ::flyteidl::admin::DescriptionEntityListRequest* request, ::flyteidl::admin::DescriptionEntityList* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; + template + class ExperimentalWithCallbackMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_GetExecutionMetrics() { + ::grpc::Service::experimental().MarkMethodCallback(52, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, + ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetExecutionMetrics(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetExecutionMetrics( + ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>*>( + ::grpc::Service::experimental().GetHandler(52)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_CreateTask : public BaseClass { private: @@ -5248,6 +5330,23 @@ class AdminService final { } }; template + class WithGenericMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetExecutionMetrics() { + ::grpc::Service::MarkMethodGeneric(52); + } + ~WithGenericMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithRawMethod_CreateTask : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -6288,6 +6387,26 @@ class AdminService final { } }; template + class WithRawMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetExecutionMetrics() { + ::grpc::Service::MarkMethodRaw(52); + } + ~WithRawMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetExecutionMetrics(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(52, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class ExperimentalWithRawCallbackMethod_CreateTask : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -7588,6 +7707,31 @@ class AdminService final { virtual void ListDescriptionEntities(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_GetExecutionMetrics() { + ::grpc::Service::experimental().MarkMethodRawCallback(52, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->GetExecutionMetrics(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetExecutionMetrics(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class WithStreamedUnaryMethod_CreateTask : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -8627,9 +8771,29 @@ class AdminService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedListDescriptionEntities(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::DescriptionEntityListRequest,::flyteidl::admin::DescriptionEntityList>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + template + class WithStreamedUnaryMethod_GetExecutionMetrics : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetExecutionMetrics() { + ::grpc::Service::MarkMethodStreamed(52, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse>(std::bind(&WithStreamedUnaryMethod_GetExecutionMetrics::StreamedGetExecutionMetrics, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetExecutionMetrics() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetExecutionMetrics(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowExecutionGetMetricsRequest* request, ::flyteidl::admin::WorkflowExecutionGetMetricsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetExecutionMetrics(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowExecutionGetMetricsRequest,::flyteidl::admin::WorkflowExecutionGetMetricsResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace service diff --git a/gen/pb-cpp/flyteidl/service/admin.pb.cc b/gen/pb-cpp/flyteidl/service/admin.pb.cc index 6d96c762a..efbf98757 100644 --- a/gen/pb-cpp/flyteidl/service/admin.pb.cc +++ b/gen/pb-cpp/flyteidl/service/admin.pb.cc @@ -52,263 +52,267 @@ const char descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto[] = "admin/task_execution.proto\032\034flyteidl/adm" "in/version.proto\032\033flyteidl/admin/common." "proto\032\'flyteidl/admin/description_entity" - ".proto\032\036flyteidl/core/identifier.proto2\274" - "L\n\014AdminService\022m\n\nCreateTask\022!.flyteidl" - ".admin.TaskCreateRequest\032\".flyteidl.admi" - "n.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/api/v1/ta" - "sks:\001*\022\210\001\n\007GetTask\022 .flyteidl.admin.Obje" - "ctGetRequest\032\024.flyteidl.admin.Task\"E\202\323\344\223" - "\002\?\022=/api/v1/tasks/{id.project}/{id.domai" - "n}/{id.name}/{id.version}\022\227\001\n\013ListTaskId" - "s\0220.flyteidl.admin.NamedEntityIdentifier" - "ListRequest\032).flyteidl.admin.NamedEntity" - "IdentifierList\"+\202\323\344\223\002%\022#/api/v1/task_ids" - "/{project}/{domain}\022\256\001\n\tListTasks\022#.flyt" - "eidl.admin.ResourceListRequest\032\030.flyteid" - "l.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v1/tasks/" - "{id.project}/{id.domain}/{id.name}Z(\022&/a" - "pi/v1/tasks/{id.project}/{id.domain}\022}\n\016" - "CreateWorkflow\022%.flyteidl.admin.Workflow" - "CreateRequest\032&.flyteidl.admin.WorkflowC" - "reateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/workflows" - ":\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.admin.Obj" - "ectGetRequest\032\030.flyteidl.admin.Workflow\"" - "I\202\323\344\223\002C\022A/api/v1/workflows/{id.project}/" - "{id.domain}/{id.name}/{id.version}\022\237\001\n\017L" - "istWorkflowIds\0220.flyteidl.admin.NamedEnt" - "ityIdentifierListRequest\032).flyteidl.admi" - "n.NamedEntityIdentifierList\"/\202\323\344\223\002)\022\'/ap" - "i/v1/workflow_ids/{project}/{domain}\022\276\001\n" - "\rListWorkflows\022#.flyteidl.admin.Resource" - "ListRequest\032\034.flyteidl.admin.WorkflowLis" - "t\"j\202\323\344\223\002d\0224/api/v1/workflows/{id.project" - "}/{id.domain}/{id.name}Z,\022*/api/v1/workf" - "lows/{id.project}/{id.domain}\022\206\001\n\020Create" - "LaunchPlan\022\'.flyteidl.admin.LaunchPlanCr" - "eateRequest\032(.flyteidl.admin.LaunchPlanC" - "reateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/launch_pl" - "ans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyteidl.admi" - "n.ObjectGetRequest\032\032.flyteidl.admin.Laun" - "chPlan\"L\202\323\344\223\002F\022D/api/v1/launch_plans/{id" - ".project}/{id.domain}/{id.name}/{id.vers" - "ion}\022\242\001\n\023GetActiveLaunchPlan\022\'.flyteidl." - "admin.ActiveLaunchPlanRequest\032\032.flyteidl" - ".admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/v1/activ" - "e_launch_plans/{id.project}/{id.domain}/" - "{id.name}\022\234\001\n\025ListActiveLaunchPlans\022+.fl" - "yteidl.admin.ActiveLaunchPlanListRequest" - "\032\036.flyteidl.admin.LaunchPlanList\"6\202\323\344\223\0020" - "\022./api/v1/active_launch_plans/{project}/" - "{domain}\022\244\001\n\021ListLaunchPlanIds\0220.flyteid" - "l.admin.NamedEntityIdentifierListRequest" - "\032).flyteidl.admin.NamedEntityIdentifierL" - "ist\"2\202\323\344\223\002,\022*/api/v1/launch_plan_ids/{pr" - "oject}/{domain}\022\310\001\n\017ListLaunchPlans\022#.fl" - "yteidl.admin.ResourceListRequest\032\036.flyte" - "idl.admin.LaunchPlanList\"p\202\323\344\223\002j\0227/api/v" - "1/launch_plans/{id.project}/{id.domain}/" - "{id.name}Z/\022-/api/v1/launch_plans/{id.pr" - "oject}/{id.domain}\022\266\001\n\020UpdateLaunchPlan\022" - "\'.flyteidl.admin.LaunchPlanUpdateRequest" - "\032(.flyteidl.admin.LaunchPlanUpdateRespon" - "se\"O\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" + ".proto2\204N\n\014AdminService\022m\n\nCreateTask\022!." + "flyteidl.admin.TaskCreateRequest\032\".flyte" + "idl.admin.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/a" + "pi/v1/tasks:\001*\022\210\001\n\007GetTask\022 .flyteidl.ad" + "min.ObjectGetRequest\032\024.flyteidl.admin.Ta" + "sk\"E\202\323\344\223\002\?\022=/api/v1/tasks/{id.project}/{" + "id.domain}/{id.name}/{id.version}\022\227\001\n\013Li" + "stTaskIds\0220.flyteidl.admin.NamedEntityId" + "entifierListRequest\032).flyteidl.admin.Nam" + "edEntityIdentifierList\"+\202\323\344\223\002%\022#/api/v1/" + "task_ids/{project}/{domain}\022\256\001\n\tListTask" + "s\022#.flyteidl.admin.ResourceListRequest\032\030" + ".flyteidl.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v" + "1/tasks/{id.project}/{id.domain}/{id.nam" + "e}Z(\022&/api/v1/tasks/{id.project}/{id.dom" + "ain}\022}\n\016CreateWorkflow\022%.flyteidl.admin." + "WorkflowCreateRequest\032&.flyteidl.admin.W" + "orkflowCreateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/w" + "orkflows:\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.a" + "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" + "orkflow\"I\202\323\344\223\002C\022A/api/v1/workflows/{id.p" + "roject}/{id.domain}/{id.name}/{id.versio" + "n}\022\237\001\n\017ListWorkflowIds\0220.flyteidl.admin." + "NamedEntityIdentifierListRequest\032).flyte" + "idl.admin.NamedEntityIdentifierList\"/\202\323\344" + "\223\002)\022\'/api/v1/workflow_ids/{project}/{dom" + "ain}\022\276\001\n\rListWorkflows\022#.flyteidl.admin." + "ResourceListRequest\032\034.flyteidl.admin.Wor" + "kflowList\"j\202\323\344\223\002d\0224/api/v1/workflows/{id" + ".project}/{id.domain}/{id.name}Z,\022*/api/" + "v1/workflows/{id.project}/{id.domain}\022\206\001" + "\n\020CreateLaunchPlan\022\'.flyteidl.admin.Laun" + "chPlanCreateRequest\032(.flyteidl.admin.Lau" + "nchPlanCreateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/l" + "aunch_plans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyte" + "idl.admin.ObjectGetRequest\032\032.flyteidl.ad" + "min.LaunchPlan\"L\202\323\344\223\002F\022D/api/v1/launch_p" + "lans/{id.project}/{id.domain}/{id.name}/" + "{id.version}\022\242\001\n\023GetActiveLaunchPlan\022\'.f" + "lyteidl.admin.ActiveLaunchPlanRequest\032\032." + "flyteidl.admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/" + "v1/active_launch_plans/{id.project}/{id." + "domain}/{id.name}\022\234\001\n\025ListActiveLaunchPl" + "ans\022+.flyteidl.admin.ActiveLaunchPlanLis" + "tRequest\032\036.flyteidl.admin.LaunchPlanList" + "\"6\202\323\344\223\0020\022./api/v1/active_launch_plans/{p" + "roject}/{domain}\022\244\001\n\021ListLaunchPlanIds\0220" + ".flyteidl.admin.NamedEntityIdentifierLis" + "tRequest\032).flyteidl.admin.NamedEntityIde" + "ntifierList\"2\202\323\344\223\002,\022*/api/v1/launch_plan" + "_ids/{project}/{domain}\022\310\001\n\017ListLaunchPl" + "ans\022#.flyteidl.admin.ResourceListRequest" + "\032\036.flyteidl.admin.LaunchPlanList\"p\202\323\344\223\002j" + "\0227/api/v1/launch_plans/{id.project}/{id." + "domain}/{id.name}Z/\022-/api/v1/launch_plan" + "s/{id.project}/{id.domain}\022\266\001\n\020UpdateLau" + "nchPlan\022\'.flyteidl.admin.LaunchPlanUpdat" + "eRequest\032(.flyteidl.admin.LaunchPlanUpda" + "teResponse\"O\202\323\344\223\002I\032D/api/v1/launch_plans" + "/{id.project}/{id.domain}/{id.name}/{id." + "version}:\001*\022\201\001\n\017CreateExecution\022&.flytei" + "dl.admin.ExecutionCreateRequest\032\'.flytei" + "dl.admin.ExecutionCreateResponse\"\035\202\323\344\223\002\027" + "\"\022/api/v1/executions:\001*\022\216\001\n\021RelaunchExec" + "ution\022(.flyteidl.admin.ExecutionRelaunch" + "Request\032\'.flyteidl.admin.ExecutionCreate" + "Response\"&\202\323\344\223\002 \"\033/api/v1/executions/rel" + "aunch:\001*\022\213\001\n\020RecoverExecution\022\'.flyteidl" + ".admin.ExecutionRecoverRequest\032\'.flyteid" + "l.admin.ExecutionCreateResponse\"%\202\323\344\223\002\037\"" + "\032/api/v1/executions/recover:\001*\022\225\001\n\014GetEx" + "ecution\022+.flyteidl.admin.WorkflowExecuti" + "onGetRequest\032\031.flyteidl.admin.Execution\"" + "=\202\323\344\223\0027\0225/api/v1/executions/{id.project}" + "/{id.domain}/{id.name}\022\244\001\n\017UpdateExecuti" + "on\022&.flyteidl.admin.ExecutionUpdateReque" + "st\032\'.flyteidl.admin.ExecutionUpdateRespo" + "nse\"@\202\323\344\223\002:\0325/api/v1/executions/{id.proj" + "ect}/{id.domain}/{id.name}:\001*\022\271\001\n\020GetExe" + "cutionData\022/.flyteidl.admin.WorkflowExec" + "utionGetDataRequest\0320.flyteidl.admin.Wor" + "kflowExecutionGetDataResponse\"B\202\323\344\223\002<\022:/" + "api/v1/data/executions/{id.project}/{id." + "domain}/{id.name}\022\211\001\n\016ListExecutions\022#.f" + "lyteidl.admin.ResourceListRequest\032\035.flyt" + "eidl.admin.ExecutionList\"3\202\323\344\223\002-\022+/api/v" + "1/executions/{id.project}/{id.domain}\022\255\001" + "\n\022TerminateExecution\022).flyteidl.admin.Ex" + "ecutionTerminateRequest\032*.flyteidl.admin" + ".ExecutionTerminateResponse\"@\202\323\344\223\002:*5/ap" + "i/v1/executions/{id.project}/{id.domain}" + "/{id.name}:\001*\022\322\001\n\020GetNodeExecution\022\'.fly" + "teidl.admin.NodeExecutionGetRequest\032\035.fl" + "yteidl.admin.NodeExecution\"v\202\323\344\223\002p\022n/api" + "/v1/node_executions/{id.execution_id.pro" + "ject}/{id.execution_id.domain}/{id.execu" + "tion_id.name}/{id.node_id}\022\336\001\n\022ListNodeE" + "xecutions\022(.flyteidl.admin.NodeExecution" + "ListRequest\032!.flyteidl.admin.NodeExecuti" + "onList\"{\202\323\344\223\002u\022s/api/v1/node_executions/" + "{workflow_execution_id.project}/{workflo" + "w_execution_id.domain}/{workflow_executi" + "on_id.name}\022\245\004\n\031ListNodeExecutionsForTas" + "k\022/.flyteidl.admin.NodeExecutionForTaskL" + "istRequest\032!.flyteidl.admin.NodeExecutio" + "nList\"\263\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_" + "executions/{task_execution_id.node_execu" + "tion_id.execution_id.project}/{task_exec" + "ution_id.node_execution_id.execution_id." + "domain}/{task_execution_id.node_executio" + "n_id.execution_id.name}/{task_execution_" + "id.node_execution_id.node_id}/{task_exec" + "ution_id.task_id.project}/{task_executio" + "n_id.task_id.domain}/{task_execution_id." + "task_id.name}/{task_execution_id.task_id" + ".version}/{task_execution_id.retry_attem" + "pt}\022\356\001\n\024GetNodeExecutionData\022+.flyteidl." + "admin.NodeExecutionGetDataRequest\032,.flyt" + "eidl.admin.NodeExecutionGetDataResponse\"" + "{\202\323\344\223\002u\022s/api/v1/data/node_executions/{i" + "d.execution_id.project}/{id.execution_id" + ".domain}/{id.execution_id.name}/{id.node" + "_id}\022\177\n\017RegisterProject\022&.flyteidl.admin" + ".ProjectRegisterRequest\032\'.flyteidl.admin" + ".ProjectRegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v" + "1/projects:\001*\022q\n\rUpdateProject\022\027.flyteid" + "l.admin.Project\032%.flyteidl.admin.Project" + "UpdateResponse\" \202\323\344\223\002\032\032\025/api/v1/projects" + "/{id}:\001*\022f\n\014ListProjects\022\".flyteidl.admi" + "n.ProjectListRequest\032\030.flyteidl.admin.Pr" + "ojects\"\030\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023Cre" + "ateWorkflowEvent\022-.flyteidl.admin.Workfl" + "owExecutionEventRequest\032..flyteidl.admin" + ".WorkflowExecutionEventResponse\"#\202\323\344\223\002\035\"" + "\030/api/v1/events/workflows:\001*\022\211\001\n\017CreateN" + "odeEvent\022).flyteidl.admin.NodeExecutionE" + "ventRequest\032*.flyteidl.admin.NodeExecuti" + "onEventResponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/" + "nodes:\001*\022\211\001\n\017CreateTaskEvent\022).flyteidl." + "admin.TaskExecutionEventRequest\032*.flytei" + "dl.admin.TaskExecutionEventResponse\"\037\202\323\344" + "\223\002\031\"\024/api/v1/events/tasks:\001*\022\200\003\n\020GetTask" + "Execution\022\'.flyteidl.admin.TaskExecution" + "GetRequest\032\035.flyteidl.admin.TaskExecutio" + "n\"\243\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{i" + "d.node_execution_id.execution_id.project" + "}/{id.node_execution_id.execution_id.dom" + "ain}/{id.node_execution_id.execution_id." + "name}/{id.node_execution_id.node_id}/{id" + ".task_id.project}/{id.task_id.domain}/{i" + "d.task_id.name}/{id.task_id.version}/{id" + ".retry_attempt}\022\230\002\n\022ListTaskExecutions\022(" + ".flyteidl.admin.TaskExecutionListRequest" + "\032!.flyteidl.admin.TaskExecutionList\"\264\001\202\323" + "\344\223\002\255\001\022\252\001/api/v1/task_executions/{node_ex" + "ecution_id.execution_id.project}/{node_e" + "xecution_id.execution_id.domain}/{node_e" + "xecution_id.execution_id.name}/{node_exe" + "cution_id.node_id}\022\234\003\n\024GetTaskExecutionD" + "ata\022+.flyteidl.admin.TaskExecutionGetDat" + "aRequest\032,.flyteidl.admin.TaskExecutionG" + "etDataResponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/" + "task_executions/{id.node_execution_id.ex" + "ecution_id.project}/{id.node_execution_i" + "d.execution_id.domain}/{id.node_executio" + "n_id.execution_id.name}/{id.node_executi" + "on_id.node_id}/{id.task_id.project}/{id." + "task_id.domain}/{id.task_id.name}/{id.ta" + "sk_id.version}/{id.retry_attempt}\022\343\001\n\035Up" + "dateProjectDomainAttributes\0224.flyteidl.a" + "dmin.ProjectDomainAttributesUpdateReques" + "t\0325.flyteidl.admin.ProjectDomainAttribut" + "esUpdateResponse\"U\202\323\344\223\002O\032J/api/v1/projec" + "t_domain_attributes/{attributes.project}" + "/{attributes.domain}:\001*\022\301\001\n\032GetProjectDo" + "mainAttributes\0221.flyteidl.admin.ProjectD" + "omainAttributesGetRequest\0322.flyteidl.adm" + "in.ProjectDomainAttributesGetResponse\"<\202" + "\323\344\223\0026\0224/api/v1/project_domain_attributes" + "/{project}/{domain}\022\315\001\n\035DeleteProjectDom" + "ainAttributes\0224.flyteidl.admin.ProjectDo" + "mainAttributesDeleteRequest\0325.flyteidl.a" + "dmin.ProjectDomainAttributesDeleteRespon" + "se\"\?\202\323\344\223\0029*4/api/v1/project_domain_attri" + "butes/{project}/{domain}:\001*\022\266\001\n\027UpdatePr" + "ojectAttributes\022..flyteidl.admin.Project" + "AttributesUpdateRequest\032/.flyteidl.admin" + ".ProjectAttributesUpdateResponse\":\202\323\344\223\0024" + "\032//api/v1/project_attributes/{attributes" + ".project}:\001*\022\237\001\n\024GetProjectAttributes\022+." + "flyteidl.admin.ProjectAttributesGetReque" + "st\032,.flyteidl.admin.ProjectAttributesGet" + "Response\",\202\323\344\223\002&\022$/api/v1/project_attrib" + "utes/{project}\022\253\001\n\027DeleteProjectAttribut" + "es\022..flyteidl.admin.ProjectAttributesDel" + "eteRequest\032/.flyteidl.admin.ProjectAttri" + "butesDeleteResponse\"/\202\323\344\223\002)*$/api/v1/pro" + "ject_attributes/{project}:\001*\022\344\001\n\030UpdateW" + "orkflowAttributes\022/.flyteidl.admin.Workf" + "lowAttributesUpdateRequest\0320.flyteidl.ad" + "min.WorkflowAttributesUpdateResponse\"e\202\323" + "\344\223\002_\032Z/api/v1/workflow_attributes/{attri" + "butes.project}/{attributes.domain}/{attr" + "ibutes.workflow}:\001*\022\267\001\n\025GetWorkflowAttri" + "butes\022,.flyteidl.admin.WorkflowAttribute" + "sGetRequest\032-.flyteidl.admin.WorkflowAtt" + "ributesGetResponse\"A\202\323\344\223\002;\0229/api/v1/work" + "flow_attributes/{project}/{domain}/{work" + "flow}\022\303\001\n\030DeleteWorkflowAttributes\022/.fly" + "teidl.admin.WorkflowAttributesDeleteRequ" + "est\0320.flyteidl.admin.WorkflowAttributesD" + "eleteResponse\"D\202\323\344\223\002>*9/api/v1/workflow_" + "attributes/{project}/{domain}/{workflow}" + ":\001*\022\240\001\n\027ListMatchableAttributes\022..flytei" + "dl.admin.ListMatchableAttributesRequest\032" + "/.flyteidl.admin.ListMatchableAttributes" + "Response\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attr" + "ibutes\022\237\001\n\021ListNamedEntities\022&.flyteidl." + "admin.NamedEntityListRequest\032\037.flyteidl." + "admin.NamedEntityList\"A\202\323\344\223\002;\0229/api/v1/n" + "amed_entities/{resource_type}/{project}/" + "{domain}\022\247\001\n\016GetNamedEntity\022%.flyteidl.a" + "dmin.NamedEntityGetRequest\032\033.flyteidl.ad" + "min.NamedEntity\"Q\202\323\344\223\002K\022I/api/v1/named_e" + "ntities/{resource_type}/{id.project}/{id" + ".domain}/{id.name}\022\276\001\n\021UpdateNamedEntity" + "\022(.flyteidl.admin.NamedEntityUpdateReque" + "st\032).flyteidl.admin.NamedEntityUpdateRes" + "ponse\"T\202\323\344\223\002N\032I/api/v1/named_entities/{r" + "esource_type}/{id.project}/{id.domain}/{" + "id.name}:\001*\022l\n\nGetVersion\022!.flyteidl.adm" + "in.GetVersionRequest\032\".flyteidl.admin.Ge" + "tVersionResponse\"\027\202\323\344\223\002\021\022\017/api/v1/versio" + "n\022\304\001\n\024GetDescriptionEntity\022 .flyteidl.ad" + "min.ObjectGetRequest\032!.flyteidl.admin.De" + "scriptionEntity\"g\202\323\344\223\002a\022_/api/v1/descrip" + "tion_entities/{id.resource_type}/{id.pro" "ject}/{id.domain}/{id.name}/{id.version}" - ":\001*\022\201\001\n\017CreateExecution\022&.flyteidl.admin" - ".ExecutionCreateRequest\032\'.flyteidl.admin" - ".ExecutionCreateResponse\"\035\202\323\344\223\002\027\"\022/api/v" - "1/executions:\001*\022\216\001\n\021RelaunchExecution\022(." - "flyteidl.admin.ExecutionRelaunchRequest\032" - "\'.flyteidl.admin.ExecutionCreateResponse" - "\"&\202\323\344\223\002 \"\033/api/v1/executions/relaunch:\001*" - "\022\213\001\n\020RecoverExecution\022\'.flyteidl.admin.E" - "xecutionRecoverRequest\032\'.flyteidl.admin." - "ExecutionCreateResponse\"%\202\323\344\223\002\037\"\032/api/v1" - "/executions/recover:\001*\022\225\001\n\014GetExecution\022" - "+.flyteidl.admin.WorkflowExecutionGetReq" - "uest\032\031.flyteidl.admin.Execution\"=\202\323\344\223\0027\022" - "5/api/v1/executions/{id.project}/{id.dom" - "ain}/{id.name}\022\244\001\n\017UpdateExecution\022&.fly" - "teidl.admin.ExecutionUpdateRequest\032\'.fly" - "teidl.admin.ExecutionUpdateResponse\"@\202\323\344" - "\223\002:\0325/api/v1/executions/{id.project}/{id" - ".domain}/{id.name}:\001*\022\271\001\n\020GetExecutionDa" - "ta\022/.flyteidl.admin.WorkflowExecutionGet" - "DataRequest\0320.flyteidl.admin.WorkflowExe" - "cutionGetDataResponse\"B\202\323\344\223\002<\022:/api/v1/d" - "ata/executions/{id.project}/{id.domain}/" - "{id.name}\022\211\001\n\016ListExecutions\022#.flyteidl." - "admin.ResourceListRequest\032\035.flyteidl.adm" - "in.ExecutionList\"3\202\323\344\223\002-\022+/api/v1/execut" - "ions/{id.project}/{id.domain}\022\255\001\n\022Termin" - "ateExecution\022).flyteidl.admin.ExecutionT" - "erminateRequest\032*.flyteidl.admin.Executi" - "onTerminateResponse\"@\202\323\344\223\002:*5/api/v1/exe" - "cutions/{id.project}/{id.domain}/{id.nam" - "e}:\001*\022\322\001\n\020GetNodeExecution\022\'.flyteidl.ad" - "min.NodeExecutionGetRequest\032\035.flyteidl.a" - "dmin.NodeExecution\"v\202\323\344\223\002p\022n/api/v1/node" - "_executions/{id.execution_id.project}/{i" - "d.execution_id.domain}/{id.execution_id." - "name}/{id.node_id}\022\336\001\n\022ListNodeExecution" - "s\022(.flyteidl.admin.NodeExecutionListRequ" - "est\032!.flyteidl.admin.NodeExecutionList\"{" - "\202\323\344\223\002u\022s/api/v1/node_executions/{workflo" - "w_execution_id.project}/{workflow_execut" - "ion_id.domain}/{workflow_execution_id.na" - "me}\022\245\004\n\031ListNodeExecutionsForTask\022/.flyt" - "eidl.admin.NodeExecutionForTaskListReque" - "st\032!.flyteidl.admin.NodeExecutionList\"\263\003" - "\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_executio" - "ns/{task_execution_id.node_execution_id." - "execution_id.project}/{task_execution_id" - ".node_execution_id.execution_id.domain}/" - "{task_execution_id.node_execution_id.exe" - "cution_id.name}/{task_execution_id.node_" - "execution_id.node_id}/{task_execution_id" - ".task_id.project}/{task_execution_id.tas" - "k_id.domain}/{task_execution_id.task_id." - "name}/{task_execution_id.task_id.version" - "}/{task_execution_id.retry_attempt}\022\356\001\n\024" - "GetNodeExecutionData\022+.flyteidl.admin.No" - "deExecutionGetDataRequest\032,.flyteidl.adm" - "in.NodeExecutionGetDataResponse\"{\202\323\344\223\002u\022" - "s/api/v1/data/node_executions/{id.execut" - "ion_id.project}/{id.execution_id.domain}" - "/{id.execution_id.name}/{id.node_id}\022\177\n\017" - "RegisterProject\022&.flyteidl.admin.Project" - "RegisterRequest\032\'.flyteidl.admin.Project" - "RegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v1/projec" - "ts:\001*\022q\n\rUpdateProject\022\027.flyteidl.admin." - "Project\032%.flyteidl.admin.ProjectUpdateRe" - "sponse\" \202\323\344\223\002\032\032\025/api/v1/projects/{id}:\001*" - "\022f\n\014ListProjects\022\".flyteidl.admin.Projec" - "tListRequest\032\030.flyteidl.admin.Projects\"\030" - "\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023CreateWorkf" - "lowEvent\022-.flyteidl.admin.WorkflowExecut" - "ionEventRequest\032..flyteidl.admin.Workflo" - "wExecutionEventResponse\"#\202\323\344\223\002\035\"\030/api/v1" - "/events/workflows:\001*\022\211\001\n\017CreateNodeEvent" - "\022).flyteidl.admin.NodeExecutionEventRequ" - "est\032*.flyteidl.admin.NodeExecutionEventR" - "esponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*" - "\022\211\001\n\017CreateTaskEvent\022).flyteidl.admin.Ta" - "skExecutionEventRequest\032*.flyteidl.admin" - ".TaskExecutionEventResponse\"\037\202\323\344\223\002\031\"\024/ap" - "i/v1/events/tasks:\001*\022\200\003\n\020GetTaskExecutio" - "n\022\'.flyteidl.admin.TaskExecutionGetReque" - "st\032\035.flyteidl.admin.TaskExecution\"\243\002\202\323\344\223" - "\002\234\002\022\231\002/api/v1/task_executions/{id.node_e" - "xecution_id.execution_id.project}/{id.no" - "de_execution_id.execution_id.domain}/{id" - ".node_execution_id.execution_id.name}/{i" - "d.node_execution_id.node_id}/{id.task_id" - ".project}/{id.task_id.domain}/{id.task_i" - "d.name}/{id.task_id.version}/{id.retry_a" - "ttempt}\022\230\002\n\022ListTaskExecutions\022(.flyteid" - "l.admin.TaskExecutionListRequest\032!.flyte" - "idl.admin.TaskExecutionList\"\264\001\202\323\344\223\002\255\001\022\252\001" - "/api/v1/task_executions/{node_execution_" - "id.execution_id.project}/{node_execution" - "_id.execution_id.domain}/{node_execution" - "_id.execution_id.name}/{node_execution_i" - "d.node_id}\022\234\003\n\024GetTaskExecutionData\022+.fl" - "yteidl.admin.TaskExecutionGetDataRequest" - "\032,.flyteidl.admin.TaskExecutionGetDataRe" - "sponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/task_exe" - "cutions/{id.node_execution_id.execution_" - "id.project}/{id.node_execution_id.execut" - "ion_id.domain}/{id.node_execution_id.exe" - "cution_id.name}/{id.node_execution_id.no" - "de_id}/{id.task_id.project}/{id.task_id." - "domain}/{id.task_id.name}/{id.task_id.ve" - "rsion}/{id.retry_attempt}\022\343\001\n\035UpdateProj" - "ectDomainAttributes\0224.flyteidl.admin.Pro" - "jectDomainAttributesUpdateRequest\0325.flyt" - "eidl.admin.ProjectDomainAttributesUpdate" - "Response\"U\202\323\344\223\002O\032J/api/v1/project_domain" - "_attributes/{attributes.project}/{attrib" - "utes.domain}:\001*\022\301\001\n\032GetProjectDomainAttr" - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" - "ributesGetRequest\0322.flyteidl.admin.Proje" - "ctDomainAttributesGetResponse\"<\202\323\344\223\0026\0224/" - "api/v1/project_domain_attributes/{projec" - "t}/{domain}\022\315\001\n\035DeleteProjectDomainAttri" - "butes\0224.flyteidl.admin.ProjectDomainAttr" - "ibutesDeleteRequest\0325.flyteidl.admin.Pro" - "jectDomainAttributesDeleteResponse\"\?\202\323\344\223" - "\0029*4/api/v1/project_domain_attributes/{p" - "roject}/{domain}:\001*\022\266\001\n\027UpdateProjectAtt" - "ributes\022..flyteidl.admin.ProjectAttribut" - "esUpdateRequest\032/.flyteidl.admin.Project" - "AttributesUpdateResponse\":\202\323\344\223\0024\032//api/v" - "1/project_attributes/{attributes.project" - "}:\001*\022\237\001\n\024GetProjectAttributes\022+.flyteidl" - ".admin.ProjectAttributesGetRequest\032,.fly" - "teidl.admin.ProjectAttributesGetResponse" - "\",\202\323\344\223\002&\022$/api/v1/project_attributes/{pr" - "oject}\022\253\001\n\027DeleteProjectAttributes\022..fly" - "teidl.admin.ProjectAttributesDeleteReque" - "st\032/.flyteidl.admin.ProjectAttributesDel" - "eteResponse\"/\202\323\344\223\002)*$/api/v1/project_att" - "ributes/{project}:\001*\022\344\001\n\030UpdateWorkflowA" - "ttributes\022/.flyteidl.admin.WorkflowAttri" - "butesUpdateRequest\0320.flyteidl.admin.Work" - "flowAttributesUpdateResponse\"e\202\323\344\223\002_\032Z/a" - "pi/v1/workflow_attributes/{attributes.pr" - "oject}/{attributes.domain}/{attributes.w" - "orkflow}:\001*\022\267\001\n\025GetWorkflowAttributes\022,." - "flyteidl.admin.WorkflowAttributesGetRequ" - "est\032-.flyteidl.admin.WorkflowAttributesG" - "etResponse\"A\202\323\344\223\002;\0229/api/v1/workflow_att" - "ributes/{project}/{domain}/{workflow}\022\303\001" - "\n\030DeleteWorkflowAttributes\022/.flyteidl.ad" - "min.WorkflowAttributesDeleteRequest\0320.fl" - "yteidl.admin.WorkflowAttributesDeleteRes" - "ponse\"D\202\323\344\223\002>*9/api/v1/workflow_attribut" - "es/{project}/{domain}/{workflow}:\001*\022\240\001\n\027" - "ListMatchableAttributes\022..flyteidl.admin" - ".ListMatchableAttributesRequest\032/.flytei" - "dl.admin.ListMatchableAttributesResponse" - "\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attributes\022\237" - "\001\n\021ListNamedEntities\022&.flyteidl.admin.Na" - "medEntityListRequest\032\037.flyteidl.admin.Na" - "medEntityList\"A\202\323\344\223\002;\0229/api/v1/named_ent" - "ities/{resource_type}/{project}/{domain}" - "\022\247\001\n\016GetNamedEntity\022%.flyteidl.admin.Nam" - "edEntityGetRequest\032\033.flyteidl.admin.Name" - "dEntity\"Q\202\323\344\223\002K\022I/api/v1/named_entities/" - "{resource_type}/{id.project}/{id.domain}" - "/{id.name}\022\276\001\n\021UpdateNamedEntity\022(.flyte" - "idl.admin.NamedEntityUpdateRequest\032).fly" - "teidl.admin.NamedEntityUpdateResponse\"T\202" - "\323\344\223\002N\032I/api/v1/named_entities/{resource_" - "type}/{id.project}/{id.domain}/{id.name}" - ":\001*\022l\n\nGetVersion\022!.flyteidl.admin.GetVe" - "rsionRequest\032\".flyteidl.admin.GetVersion" - "Response\"\027\202\323\344\223\002\021\022\017/api/v1/version\022\304\001\n\024Ge" - "tDescriptionEntity\022 .flyteidl.admin.Obje" - "ctGetRequest\032!.flyteidl.admin.Descriptio" - "nEntity\"g\202\323\344\223\002a\022_/api/v1/description_ent" - "ities/{id.resource_type}/{id.project}/{i" - "d.domain}/{id.name}/{id.version}\022\222\002\n\027Lis" - "tDescriptionEntities\022,.flyteidl.admin.De" - "scriptionEntityListRequest\032%.flyteidl.ad" - "min.DescriptionEntityList\"\241\001\202\323\344\223\002\232\001\022O/ap" - "i/v1/description_entities/{resource_type" - "}/{id.project}/{id.domain}/{id.name}ZG\022E" - "/api/v1/description_entities/{resource_t" - "ype}/{id.project}/{id.domain}B9Z7github." - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" - "/serviceb\006proto3" + "\022\222\002\n\027ListDescriptionEntities\022,.flyteidl." + "admin.DescriptionEntityListRequest\032%.fly" + "teidl.admin.DescriptionEntityList\"\241\001\202\323\344\223" + "\002\232\001\022O/api/v1/description_entities/{resou" + "rce_type}/{id.project}/{id.domain}/{id.n" + "ame}ZG\022E/api/v1/description_entities/{re" + "source_type}/{id.project}/{id.domain}\022\305\001" + "\n\023GetExecutionMetrics\0222.flyteidl.admin.W" + "orkflowExecutionGetMetricsRequest\0323.flyt" + "eidl.admin.WorkflowExecutionGetMetricsRe" + "sponse\"E\202\323\344\223\002\?\022=/api/v1/metrics/executio" + "ns/{id.project}/{id.domain}/{id.name}B9Z" + "7github.com/flyteorg/flyteidl/gen/pb-go/" + "flyteidl/serviceb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fadmin_2eproto = { false, InitDefaults_flyteidl_2fservice_2fadmin_2eproto, descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto, - "flyteidl/service/admin.proto", &assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto, 10496, + "flyteidl/service/admin.proto", &assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto, 10664, }; void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[17] = + static constexpr ::google::protobuf::internal::InitFunc deps[16] = { ::AddDescriptors_google_2fapi_2fannotations_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fproject_2eproto, @@ -326,9 +330,8 @@ void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { ::AddDescriptors_flyteidl_2fadmin_2fversion_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 17); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 16); } // Force running AddDescriptors() at dynamic initialization time. diff --git a/gen/pb-cpp/flyteidl/service/admin.pb.h b/gen/pb-cpp/flyteidl/service/admin.pb.h index 0a6aec1ea..ca8c835a9 100644 --- a/gen/pb-cpp/flyteidl/service/admin.pb.h +++ b/gen/pb-cpp/flyteidl/service/admin.pb.h @@ -45,7 +45,6 @@ #include "flyteidl/admin/version.pb.h" #include "flyteidl/admin/common.pb.h" #include "flyteidl/admin/description_entity.pb.h" -#include "flyteidl/core/identifier.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fadmin_2eproto diff --git a/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc b/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc index 4d84b70f1..2bff0c5a8 100644 --- a/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc +++ b/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.cc @@ -23,6 +23,7 @@ static const char* DataProxyService_method_names[] = { "/flyteidl.service.DataProxyService/CreateUploadLocation", "/flyteidl.service.DataProxyService/CreateDownloadLocation", "/flyteidl.service.DataProxyService/CreateDownloadLink", + "/flyteidl.service.DataProxyService/GetData", }; std::unique_ptr< DataProxyService::Stub> DataProxyService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -35,6 +36,7 @@ DataProxyService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& c : channel_(channel), rpcmethod_CreateUploadLocation_(DataProxyService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateDownloadLocation_(DataProxyService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateDownloadLink_(DataProxyService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetData_(DataProxyService_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status DataProxyService::Stub::CreateUploadLocation(::grpc::ClientContext* context, const ::flyteidl::service::CreateUploadLocationRequest& request, ::flyteidl::service::CreateUploadLocationResponse* response) { @@ -121,6 +123,34 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkRespon return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::CreateDownloadLinkResponse>::Create(channel_.get(), cq, rpcmethod_CreateDownloadLink_, context, request, false); } +::grpc::Status DataProxyService::Stub::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetData_, context, request, response); +} + +void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, std::move(f)); +} + +void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, std::move(f)); +} + +void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, reactor); +} + +void DataProxyService::Stub::experimental_async::GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetData_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* DataProxyService::Stub::AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::GetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetData_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* DataProxyService::Stub::PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::GetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetData_, context, request, false); +} + DataProxyService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( DataProxyService_method_names[0], @@ -137,6 +167,11 @@ DataProxyService::Service::Service() { ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::CreateDownloadLinkRequest, ::flyteidl::service::CreateDownloadLinkResponse>( std::mem_fn(&DataProxyService::Service::CreateDownloadLink), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + DataProxyService_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< DataProxyService::Service, ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>( + std::mem_fn(&DataProxyService::Service::GetData), this))); } DataProxyService::Service::~Service() { @@ -163,6 +198,13 @@ ::grpc::Status DataProxyService::Service::CreateDownloadLink(::grpc::ServerConte return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status DataProxyService::Service::GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + } // namespace flyteidl } // namespace service diff --git a/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h b/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h index da74beda7..aaf05b601 100644 --- a/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h +++ b/gen/pb-cpp/flyteidl/service/dataproxy.grpc.pb.h @@ -73,6 +73,13 @@ class DataProxyService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>> PrepareAsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>>(PrepareAsyncCreateDownloadLinkRaw(context, request, cq)); } + virtual ::grpc::Status GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>> AsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>>(AsyncGetDataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>> PrepareAsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>>(PrepareAsyncGetDataRaw(context, request, cq)); + } class experimental_async_interface { public: virtual ~experimental_async_interface() {} @@ -91,6 +98,10 @@ class DataProxyService final { virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) = 0; virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function) = 0; + virtual void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function) = 0; + virtual void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; }; virtual class experimental_async_interface* experimental_async() { return nullptr; } private: @@ -100,6 +111,8 @@ class DataProxyService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLocationResponse>* PrepareAsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>* AsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::CreateDownloadLinkResponse>* PrepareAsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>* AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::GetDataResponse>* PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -125,6 +138,13 @@ class DataProxyService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>> PrepareAsyncCreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>>(PrepareAsyncCreateDownloadLinkRaw(context, request, cq)); } + ::grpc::Status GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::flyteidl::service::GetDataResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>> AsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>>(AsyncGetDataRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>> PrepareAsyncGetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>>(PrepareAsyncGetDataRaw(context, request, cq)); + } class experimental_async final : public StubInterface::experimental_async_interface { public: @@ -140,6 +160,10 @@ class DataProxyService final { void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, std::function) override; void CreateDownloadLink(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void CreateDownloadLink(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, std::function) override; + void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, std::function) override; + void GetData(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit experimental_async(Stub* stub): stub_(stub) { } @@ -157,9 +181,12 @@ class DataProxyService final { ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLocationResponse>* PrepareAsyncCreateDownloadLocationRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLocationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* AsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::service::CreateDownloadLinkResponse>* PrepareAsyncCreateDownloadLinkRaw(::grpc::ClientContext* context, const ::flyteidl::service::CreateDownloadLinkRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* AsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::GetDataResponse>* PrepareAsyncGetDataRaw(::grpc::ClientContext* context, const ::flyteidl::service::GetDataRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateUploadLocation_; const ::grpc::internal::RpcMethod rpcmethod_CreateDownloadLocation_; const ::grpc::internal::RpcMethod rpcmethod_CreateDownloadLink_; + const ::grpc::internal::RpcMethod rpcmethod_GetData_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -173,6 +200,7 @@ class DataProxyService final { virtual ::grpc::Status CreateDownloadLocation(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLocationRequest* request, ::flyteidl::service::CreateDownloadLocationResponse* response); // CreateDownloadLocation creates a signed url to download artifacts. virtual ::grpc::Status CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response); + virtual ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response); }; template class WithAsyncMethod_CreateUploadLocation : public BaseClass { @@ -234,7 +262,27 @@ class DataProxyService final { ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateUploadLocation > > AsyncService; + template + class WithAsyncMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetData() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetData(::grpc::ServerContext* context, ::flyteidl::service::GetDataRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::GetDataResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateUploadLocation > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateUploadLocation : public BaseClass { private: @@ -328,7 +376,38 @@ class DataProxyService final { } virtual void CreateDownloadLink(::grpc::ServerContext* context, const ::flyteidl::service::CreateDownloadLinkRequest* request, ::flyteidl::service::CreateDownloadLinkResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateUploadLocation > > ExperimentalCallbackService; + template + class ExperimentalWithCallbackMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_GetData() { + ::grpc::Service::experimental().MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::GetDataRequest* request, + ::flyteidl::service::GetDataResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetData(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetData( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>*>( + ::grpc::Service::experimental().GetHandler(3)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateUploadLocation > > > ExperimentalCallbackService; template class WithGenericMethod_CreateUploadLocation : public BaseClass { private: @@ -381,6 +460,23 @@ class DataProxyService final { } }; template + class WithGenericMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetData() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithRawMethod_CreateUploadLocation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -441,6 +537,26 @@ class DataProxyService final { } }; template + class WithRawMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetData() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetData(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(3, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class ExperimentalWithRawCallbackMethod_CreateUploadLocation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -516,6 +632,31 @@ class DataProxyService final { virtual void CreateDownloadLink(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_GetData() { + ::grpc::Service::experimental().MarkMethodRawCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->GetData(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class WithStreamedUnaryMethod_CreateUploadLocation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -575,9 +716,29 @@ class DataProxyService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedCreateDownloadLink(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::CreateDownloadLinkRequest,::flyteidl::service::CreateDownloadLinkResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateUploadLocation > > StreamedUnaryService; + template + class WithStreamedUnaryMethod_GetData : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetData() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::GetDataRequest, ::flyteidl::service::GetDataResponse>(std::bind(&WithStreamedUnaryMethod_GetData::StreamedGetData, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetData() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetData(::grpc::ServerContext* context, const ::flyteidl::service::GetDataRequest* request, ::flyteidl::service::GetDataResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::GetDataRequest,::flyteidl::service::GetDataResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateUploadLocation > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateUploadLocation > > StreamedService; + typedef WithStreamedUnaryMethod_CreateUploadLocation > > > StreamedService; }; } // namespace service diff --git a/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc b/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc index 246185385..37c893f57 100644 --- a/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc +++ b/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc @@ -17,6 +17,8 @@ #include extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fduration_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Duration_google_2fprotobuf_2fduration_2eproto; extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftimestamp_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto; namespace flyteidl { @@ -46,6 +48,20 @@ class CreateDownloadLinkResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _CreateDownloadLinkResponse_default_instance_; +class PreSignedURLsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _PreSignedURLs_default_instance_; +class GetDataRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetDataRequest_default_instance_; +class GetDataResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::LiteralMap* literal_map_; + const ::flyteidl::service::PreSignedURLs* pre_signed_urls_; +} _GetDataResponse_default_instance_; } // namespace service } // namespace flyteidl static void InitDefaultsCreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto() { @@ -135,10 +151,56 @@ static void InitDefaultsCreateDownloadLinkResponse_flyteidl_2fservice_2fdataprox ::flyteidl::service::CreateDownloadLinkResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { +::google::protobuf::internal::SCCInfo<2> scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsCreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { + &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base, + &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base,}}; + +static void InitDefaultsPreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_PreSignedURLs_default_instance_; + new (ptr) ::flyteidl::service::PreSignedURLs(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::PreSignedURLs::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsPreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto}, { &scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto.base,}}; +static void InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_GetDataRequest_default_instance_; + new (ptr) ::flyteidl::service::GetDataRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::GetDataRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto}, {}}; + +static void InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_GetDataResponse_default_instance_; + new (ptr) ::flyteidl::service::GetDataResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::GetDataResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsGetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto}, { + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base,}}; + void InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_CreateUploadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateUploadLocationRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); @@ -146,9 +208,12 @@ void InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLocationResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLinkRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[6]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[9]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto[1]; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fdataproxy_2eproto = nullptr; @@ -201,6 +266,28 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fdataproxy_2epr ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, signed_url_), PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, expires_at_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::CreateDownloadLinkResponse, pre_signed_urls_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, signed_url_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::PreSignedURLs, expires_at_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataRequest, flyte_url_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, literal_map_), + offsetof(::flyteidl::service::GetDataResponseDefaultTypeInternal, pre_signed_urls_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::GetDataResponse, data_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::service::CreateUploadLocationResponse)}, @@ -209,6 +296,9 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 25, -1, sizeof(::flyteidl::service::CreateDownloadLocationResponse)}, { 32, -1, sizeof(::flyteidl::service::CreateDownloadLinkRequest)}, { 41, -1, sizeof(::flyteidl::service::CreateDownloadLinkResponse)}, + { 49, -1, sizeof(::flyteidl::service::PreSignedURLs)}, + { 56, -1, sizeof(::flyteidl::service::GetDataRequest)}, + { 62, -1, sizeof(::flyteidl::service::GetDataResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -218,12 +308,15 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::service::_CreateDownloadLocationResponse_default_instance_), reinterpret_cast(&::flyteidl::service::_CreateDownloadLinkRequest_default_instance_), reinterpret_cast(&::flyteidl::service::_CreateDownloadLinkResponse_default_instance_), + reinterpret_cast(&::flyteidl::service::_PreSignedURLs_default_instance_), + reinterpret_cast(&::flyteidl::service::_GetDataRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_GetDataResponse_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto = { {}, AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto, "flyteidl/service/dataproxy.proto", schemas, file_default_instances, TableStruct_flyteidl_2fservice_2fdataproxy_2eproto::offsets, - file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto, 6, file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, + file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto, 9, file_level_enum_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fdataproxy_2eproto, }; const char descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto[] = @@ -231,59 +324,71 @@ const char descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto[] = "eidl.service\032\034google/api/annotations.pro" "to\032\036google/protobuf/duration.proto\032\037goog" "le/protobuf/timestamp.proto\032\036flyteidl/co" - "re/identifier.proto\"v\n\034CreateUploadLocat" - "ionResponse\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnativ" - "e_url\030\002 \001(\t\022.\n\nexpires_at\030\003 \001(\0132\032.google" - ".protobuf.Timestamp\"\224\001\n\033CreateUploadLoca" - "tionRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" - " \001(\t\022\020\n\010filename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001" - "(\0132\031.google.protobuf.Duration\022\023\n\013content" - "_md5\030\005 \001(\014\"f\n\035CreateDownloadLocationRequ" - "est\022\022\n\nnative_url\030\001 \001(\t\022-\n\nexpires_in\030\002 " - "\001(\0132\031.google.protobuf.Duration:\002\030\001\"h\n\036Cr" - "eateDownloadLocationResponse\022\022\n\nsigned_u" - "rl\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.pr" - "otobuf.Timestamp:\002\030\001\"\320\001\n\031CreateDownloadL" - "inkRequest\0225\n\rartifact_type\030\001 \001(\0162\036.flyt" - "eidl.service.ArtifactType\022-\n\nexpires_in\030" - "\002 \001(\0132\031.google.protobuf.Duration\022C\n\021node" - "_execution_id\030\003 \001(\0132&.flyteidl.core.Node" - "ExecutionIdentifierH\000B\010\n\006source\"`\n\032Creat" - "eDownloadLinkResponse\022\022\n\nsigned_url\030\001 \003(" - "\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.protobuf." - "Timestamp*C\n\014ArtifactType\022\033\n\027ARTIFACT_TY" - "PE_UNDEFINED\020\000\022\026\n\022ARTIFACT_TYPE_DECK\020\0012\374" - "\003\n\020DataProxyService\022\240\001\n\024CreateUploadLoca" - "tion\022-.flyteidl.service.CreateUploadLoca" - "tionRequest\032..flyteidl.service.CreateUpl" - "oadLocationResponse\")\202\323\344\223\002#\"\036/api/v1/dat" - "aproxy/artifact_urn:\001*\022\246\001\n\026CreateDownloa" - "dLocation\022/.flyteidl.service.CreateDownl" - "oadLocationRequest\0320.flyteidl.service.Cr" - "eateDownloadLocationResponse\")\210\002\001\202\323\344\223\002 \022" - "\036/api/v1/dataproxy/artifact_urn\022\233\001\n\022Crea" - "teDownloadLink\022+.flyteidl.service.Create" - "DownloadLinkRequest\032,.flyteidl.service.C" - "reateDownloadLinkResponse\"*\202\323\344\223\002$\"\037/api/" - "v1/dataproxy/artifact_link:\001*B9Z7github." - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" - "/serviceb\006proto3" + "re/identifier.proto\032\034flyteidl/core/liter" + "als.proto\"v\n\034CreateUploadLocationRespons" + "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" + "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." + "Timestamp\"\224\001\n\033CreateUploadLocationReques" + "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" + "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" + "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" + "\"f\n\035CreateDownloadLocationRequest\022\022\n\nnat" + "ive_url\030\001 \001(\t\022-\n\nexpires_in\030\002 \001(\0132\031.goog" + "le.protobuf.Duration:\002\030\001\"h\n\036CreateDownlo" + "adLocationResponse\022\022\n\nsigned_url\030\001 \001(\t\022." + "\n\nexpires_at\030\002 \001(\0132\032.google.protobuf.Tim" + "estamp:\002\030\001\"\320\001\n\031CreateDownloadLinkRequest" + "\0225\n\rartifact_type\030\001 \001(\0162\036.flyteidl.servi" + "ce.ArtifactType\022-\n\nexpires_in\030\002 \001(\0132\031.go" + "ogle.protobuf.Duration\022C\n\021node_execution" + "_id\030\003 \001(\0132&.flyteidl.core.NodeExecutionI" + "dentifierH\000B\010\n\006source\"\242\001\n\032CreateDownload" + "LinkResponse\022\026\n\nsigned_url\030\001 \003(\tB\002\030\001\0222\n\n" + "expires_at\030\002 \001(\0132\032.google.protobuf.Times" + "tampB\002\030\001\0228\n\017pre_signed_urls\030\003 \001(\0132\037.flyt" + "eidl.service.PreSignedURLs\"S\n\rPreSignedU" + "RLs\022\022\n\nsigned_url\030\001 \003(\t\022.\n\nexpires_at\030\002 " + "\001(\0132\032.google.protobuf.Timestamp\"#\n\016GetDa" + "taRequest\022\021\n\tflyte_url\030\001 \001(\t\"\207\001\n\017GetData" + "Response\0220\n\013literal_map\030\001 \001(\0132\031.flyteidl" + ".core.LiteralMapH\000\022:\n\017pre_signed_urls\030\002 " + "\001(\0132\037.flyteidl.service.PreSignedURLsH\000B\006" + "\n\004data*C\n\014ArtifactType\022\033\n\027ARTIFACT_TYPE_" + "UNDEFINED\020\000\022\026\n\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020" + "DataProxyService\022\240\001\n\024CreateUploadLocatio" + "n\022-.flyteidl.service.CreateUploadLocatio" + "nRequest\032..flyteidl.service.CreateUpload" + "LocationResponse\")\202\323\344\223\002#\"\036/api/v1/datapr" + "oxy/artifact_urn:\001*\022\246\001\n\026CreateDownloadLo" + "cation\022/.flyteidl.service.CreateDownload" + "LocationRequest\0320.flyteidl.service.Creat" + "eDownloadLocationResponse\")\210\002\001\202\323\344\223\002 \022\036/a" + "pi/v1/dataproxy/artifact_urn\022\233\001\n\022CreateD" + "ownloadLink\022+.flyteidl.service.CreateDow" + "nloadLinkRequest\032,.flyteidl.service.Crea" + "teDownloadLinkResponse\"*\202\323\344\223\002$\"\037/api/v1/" + "dataproxy/artifact_link:\001*\022d\n\007GetData\022 ." + "flyteidl.service.GetDataRequest\032!.flytei" + "dl.service.GetDataResponse\"\024\202\323\344\223\002\016\022\014/api" + "/v1/dataB9Z7github.com/flyteorg/flyteidl" + "/gen/pb-go/flyteidl/serviceb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto = { false, InitDefaults_flyteidl_2fservice_2fdataproxy_2eproto, descriptor_table_protodef_flyteidl_2fservice_2fdataproxy_2eproto, - "flyteidl/service/dataproxy.proto", &assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto, 1616, + "flyteidl/service/dataproxy.proto", &assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto, 2075, }; void AddDescriptors_flyteidl_2fservice_2fdataproxy_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[4] = + static constexpr ::google::protobuf::internal::InitFunc deps[5] = { ::AddDescriptors_google_2fapi_2fannotations_2eproto, ::AddDescriptors_google_2fprotobuf_2fduration_2eproto, ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto, deps, 4); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fdataproxy_2eproto, deps, 5); } // Force running AddDescriptors() at dynamic initialization time. @@ -2529,16 +2634,23 @@ ::google::protobuf::Metadata CreateDownloadLinkRequest::GetMetadata() const { void CreateDownloadLinkResponse::InitAsDefaultInstance() { ::flyteidl::service::_CreateDownloadLinkResponse_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( ::google::protobuf::Timestamp::internal_default_instance()); + ::flyteidl::service::_CreateDownloadLinkResponse_default_instance_._instance.get_mutable()->pre_signed_urls_ = const_cast< ::flyteidl::service::PreSignedURLs*>( + ::flyteidl::service::PreSignedURLs::internal_default_instance()); } class CreateDownloadLinkResponse::HasBitSetters { public: static const ::google::protobuf::Timestamp& expires_at(const CreateDownloadLinkResponse* msg); + static const ::flyteidl::service::PreSignedURLs& pre_signed_urls(const CreateDownloadLinkResponse* msg); }; const ::google::protobuf::Timestamp& CreateDownloadLinkResponse::HasBitSetters::expires_at(const CreateDownloadLinkResponse* msg) { return *msg->expires_at_; } +const ::flyteidl::service::PreSignedURLs& +CreateDownloadLinkResponse::HasBitSetters::pre_signed_urls(const CreateDownloadLinkResponse* msg) { + return *msg->pre_signed_urls_; +} void CreateDownloadLinkResponse::clear_expires_at() { if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { delete expires_at_; @@ -2548,6 +2660,7 @@ void CreateDownloadLinkResponse::clear_expires_at() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CreateDownloadLinkResponse::kSignedUrlFieldNumber; const int CreateDownloadLinkResponse::kExpiresAtFieldNumber; +const int CreateDownloadLinkResponse::kPreSignedUrlsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 CreateDownloadLinkResponse::CreateDownloadLinkResponse() @@ -2565,13 +2678,20 @@ CreateDownloadLinkResponse::CreateDownloadLinkResponse(const CreateDownloadLinkR } else { expires_at_ = nullptr; } + if (from.has_pre_signed_urls()) { + pre_signed_urls_ = new ::flyteidl::service::PreSignedURLs(*from.pre_signed_urls_); + } else { + pre_signed_urls_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.service.CreateDownloadLinkResponse) } void CreateDownloadLinkResponse::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_CreateDownloadLinkResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); - expires_at_ = nullptr; + ::memset(&expires_at_, 0, static_cast( + reinterpret_cast(&pre_signed_urls_) - + reinterpret_cast(&expires_at_)) + sizeof(pre_signed_urls_)); } CreateDownloadLinkResponse::~CreateDownloadLinkResponse() { @@ -2581,6 +2701,7 @@ CreateDownloadLinkResponse::~CreateDownloadLinkResponse() { void CreateDownloadLinkResponse::SharedDtor() { if (this != internal_default_instance()) delete expires_at_; + if (this != internal_default_instance()) delete pre_signed_urls_; } void CreateDownloadLinkResponse::SetCachedSize(int size) const { @@ -2603,6 +2724,10 @@ void CreateDownloadLinkResponse::Clear() { delete expires_at_; } expires_at_ = nullptr; + if (GetArenaNoVirtual() == nullptr && pre_signed_urls_ != nullptr) { + delete pre_signed_urls_; + } + pre_signed_urls_ = nullptr; _internal_metadata_.Clear(); } @@ -2619,7 +2744,7 @@ const char* CreateDownloadLinkResponse::_InternalParse(const char* begin, const ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { - // repeated string signed_url = 1; + // repeated string signed_url = 1 [deprecated = true]; case 1: { if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; do { @@ -2638,7 +2763,7 @@ const char* CreateDownloadLinkResponse::_InternalParse(const char* begin, const } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); break; } - // .google.protobuf.Timestamp expires_at = 2; + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; case 2: { if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); @@ -2651,6 +2776,19 @@ const char* CreateDownloadLinkResponse::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::service::PreSignedURLs::_InternalParse; + object = msg->mutable_pre_signed_urls(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -2685,7 +2823,7 @@ bool CreateDownloadLinkResponse::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // repeated string signed_url = 1; + // repeated string signed_url = 1 [deprecated = true]; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( @@ -2701,7 +2839,7 @@ bool CreateDownloadLinkResponse::MergePartialFromCodedStream( break; } - // .google.protobuf.Timestamp expires_at = 2; + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -2712,6 +2850,17 @@ bool CreateDownloadLinkResponse::MergePartialFromCodedStream( break; } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_pre_signed_urls())); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -2739,7 +2888,7 @@ void CreateDownloadLinkResponse::SerializeWithCachedSizes( ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // repeated string signed_url = 1; + // repeated string signed_url = 1 [deprecated = true]; for (int i = 0, n = this->signed_url_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->signed_url(i).data(), static_cast(this->signed_url(i).length()), @@ -2749,12 +2898,18 @@ void CreateDownloadLinkResponse::SerializeWithCachedSizes( 1, this->signed_url(i), output); } - // .google.protobuf.Timestamp expires_at = 2; + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; if (this->has_expires_at()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, HasBitSetters::expires_at(this), output); } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + if (this->has_pre_signed_urls()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::pre_signed_urls(this), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -2768,7 +2923,7 @@ ::google::protobuf::uint8* CreateDownloadLinkResponse::InternalSerializeWithCach ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // repeated string signed_url = 1; + // repeated string signed_url = 1 [deprecated = true]; for (int i = 0, n = this->signed_url_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->signed_url(i).data(), static_cast(this->signed_url(i).length()), @@ -2778,13 +2933,20 @@ ::google::protobuf::uint8* CreateDownloadLinkResponse::InternalSerializeWithCach WriteStringToArray(1, this->signed_url(i), target); } - // .google.protobuf.Timestamp expires_at = 2; + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; if (this->has_expires_at()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, HasBitSetters::expires_at(this), target); } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + if (this->has_pre_signed_urls()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::pre_signed_urls(this), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -2806,7 +2968,7 @@ size_t CreateDownloadLinkResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated string signed_url = 1; + // repeated string signed_url = 1 [deprecated = true]; total_size += 1 * ::google::protobuf::internal::FromIntSize(this->signed_url_size()); for (int i = 0, n = this->signed_url_size(); i < n; i++) { @@ -2814,13 +2976,20 @@ size_t CreateDownloadLinkResponse::ByteSizeLong() const { this->signed_url(i)); } - // .google.protobuf.Timestamp expires_at = 2; + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; if (this->has_expires_at()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *expires_at_); } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + if (this->has_pre_signed_urls()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *pre_signed_urls_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -2852,6 +3021,9 @@ void CreateDownloadLinkResponse::MergeFrom(const CreateDownloadLinkResponse& fro if (from.has_expires_at()) { mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); } + if (from.has_pre_signed_urls()) { + mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); + } } void CreateDownloadLinkResponse::CopyFrom(const ::google::protobuf::Message& from) { @@ -2881,6 +3053,7 @@ void CreateDownloadLinkResponse::InternalSwap(CreateDownloadLinkResponse* other) _internal_metadata_.Swap(&other->_internal_metadata_); signed_url_.InternalSwap(CastToBase(&other->signed_url_)); swap(expires_at_, other->expires_at_); + swap(pre_signed_urls_, other->pre_signed_urls_); } ::google::protobuf::Metadata CreateDownloadLinkResponse::GetMetadata() const { @@ -2889,28 +3062,1115 @@ ::google::protobuf::Metadata CreateDownloadLinkResponse::GetMetadata() const { } -// @@protoc_insertion_point(namespace_scope) -} // namespace service -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationResponse >(arena); +// =================================================================== + +void PreSignedURLs::InitAsDefaultInstance() { + ::flyteidl::service::_PreSignedURLs_default_instance_._instance.get_mutable()->expires_at_ = const_cast< ::google::protobuf::Timestamp*>( + ::google::protobuf::Timestamp::internal_default_instance()); } -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationRequest >(arena); +class PreSignedURLs::HasBitSetters { + public: + static const ::google::protobuf::Timestamp& expires_at(const PreSignedURLs* msg); +}; + +const ::google::protobuf::Timestamp& +PreSignedURLs::HasBitSetters::expires_at(const PreSignedURLs* msg) { + return *msg->expires_at_; } -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationRequest >(arena); +void PreSignedURLs::clear_expires_at() { + if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { + delete expires_at_; + } + expires_at_ = nullptr; } -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationResponse >(arena); +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int PreSignedURLs::kSignedUrlFieldNumber; +const int PreSignedURLs::kExpiresAtFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +PreSignedURLs::PreSignedURLs() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.PreSignedURLs) } -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkRequest >(arena); +PreSignedURLs::PreSignedURLs(const PreSignedURLs& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + signed_url_(from.signed_url_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_expires_at()) { + expires_at_ = new ::google::protobuf::Timestamp(*from.expires_at_); + } else { + expires_at_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.PreSignedURLs) } -template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkResponse >(arena); + +void PreSignedURLs::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); + expires_at_ = nullptr; +} + +PreSignedURLs::~PreSignedURLs() { + // @@protoc_insertion_point(destructor:flyteidl.service.PreSignedURLs) + SharedDtor(); +} + +void PreSignedURLs::SharedDtor() { + if (this != internal_default_instance()) delete expires_at_; +} + +void PreSignedURLs::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const PreSignedURLs& PreSignedURLs::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_PreSignedURLs_flyteidl_2fservice_2fdataproxy_2eproto.base); + return *internal_default_instance(); +} + + +void PreSignedURLs::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.PreSignedURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + signed_url_.Clear(); + if (GetArenaNoVirtual() == nullptr && expires_at_ != nullptr) { + delete expires_at_; + } + expires_at_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* PreSignedURLs::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // repeated string signed_url = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.PreSignedURLs.signed_url"); + object = msg->add_signed_url(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (ptr += 1)); + break; + } + // .google.protobuf.Timestamp expires_at = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::Timestamp::_InternalParse; + object = msg->mutable_expires_at(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool PreSignedURLs::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.PreSignedURLs) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated string signed_url = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_signed_url())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->signed_url(this->signed_url_size() - 1).data(), + static_cast(this->signed_url(this->signed_url_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.PreSignedURLs.signed_url")); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Timestamp expires_at = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_expires_at())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.PreSignedURLs) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.PreSignedURLs) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void PreSignedURLs::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.PreSignedURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string signed_url = 1; + for (int i = 0, n = this->signed_url_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->signed_url(i).data(), static_cast(this->signed_url(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.PreSignedURLs.signed_url"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->signed_url(i), output); + } + + // .google.protobuf.Timestamp expires_at = 2; + if (this->has_expires_at()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::expires_at(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.PreSignedURLs) +} + +::google::protobuf::uint8* PreSignedURLs::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.PreSignedURLs) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string signed_url = 1; + for (int i = 0, n = this->signed_url_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->signed_url(i).data(), static_cast(this->signed_url(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.PreSignedURLs.signed_url"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->signed_url(i), target); + } + + // .google.protobuf.Timestamp expires_at = 2; + if (this->has_expires_at()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::expires_at(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.PreSignedURLs) + return target; +} + +size_t PreSignedURLs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.PreSignedURLs) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string signed_url = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->signed_url_size()); + for (int i = 0, n = this->signed_url_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->signed_url(i)); + } + + // .google.protobuf.Timestamp expires_at = 2; + if (this->has_expires_at()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *expires_at_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void PreSignedURLs::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.PreSignedURLs) + GOOGLE_DCHECK_NE(&from, this); + const PreSignedURLs* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.PreSignedURLs) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.PreSignedURLs) + MergeFrom(*source); + } +} + +void PreSignedURLs::MergeFrom(const PreSignedURLs& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.PreSignedURLs) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + signed_url_.MergeFrom(from.signed_url_); + if (from.has_expires_at()) { + mutable_expires_at()->::google::protobuf::Timestamp::MergeFrom(from.expires_at()); + } +} + +void PreSignedURLs::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.PreSignedURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void PreSignedURLs::CopyFrom(const PreSignedURLs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.PreSignedURLs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PreSignedURLs::IsInitialized() const { + return true; +} + +void PreSignedURLs::Swap(PreSignedURLs* other) { + if (other == this) return; + InternalSwap(other); +} +void PreSignedURLs::InternalSwap(PreSignedURLs* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + signed_url_.InternalSwap(CastToBase(&other->signed_url_)); + swap(expires_at_, other->expires_at_); +} + +::google::protobuf::Metadata PreSignedURLs::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetDataRequest::InitAsDefaultInstance() { +} +class GetDataRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetDataRequest::kFlyteUrlFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetDataRequest::GetDataRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.GetDataRequest) +} +GetDataRequest::GetDataRequest(const GetDataRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.flyte_url().size() > 0) { + flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.GetDataRequest) +} + +void GetDataRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); + flyte_url_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +GetDataRequest::~GetDataRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.GetDataRequest) + SharedDtor(); +} + +void GetDataRequest::SharedDtor() { + flyte_url_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void GetDataRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetDataRequest& GetDataRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetDataRequest_flyteidl_2fservice_2fdataproxy_2eproto.base); + return *internal_default_instance(); +} + + +void GetDataRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.GetDataRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetDataRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string flyte_url = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.GetDataRequest.flyte_url"); + object = msg->mutable_flyte_url(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetDataRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.GetDataRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string flyte_url = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_flyte_url())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->flyte_url().data(), static_cast(this->flyte_url().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.GetDataRequest.flyte_url")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.GetDataRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.GetDataRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetDataRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.GetDataRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string flyte_url = 1; + if (this->flyte_url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->flyte_url().data(), static_cast(this->flyte_url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.GetDataRequest.flyte_url"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->flyte_url(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.GetDataRequest) +} + +::google::protobuf::uint8* GetDataRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.GetDataRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string flyte_url = 1; + if (this->flyte_url().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->flyte_url().data(), static_cast(this->flyte_url().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.GetDataRequest.flyte_url"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->flyte_url(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.GetDataRequest) + return target; +} + +size_t GetDataRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.GetDataRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string flyte_url = 1; + if (this->flyte_url().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->flyte_url()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetDataRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.GetDataRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetDataRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.GetDataRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.GetDataRequest) + MergeFrom(*source); + } +} + +void GetDataRequest::MergeFrom(const GetDataRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.GetDataRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.flyte_url().size() > 0) { + + flyte_url_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.flyte_url_); + } +} + +void GetDataRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.GetDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetDataRequest::CopyFrom(const GetDataRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.GetDataRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetDataRequest::IsInitialized() const { + return true; +} + +void GetDataRequest::Swap(GetDataRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void GetDataRequest::InternalSwap(GetDataRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + flyte_url_.Swap(&other->flyte_url_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata GetDataRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetDataResponse::InitAsDefaultInstance() { + ::flyteidl::service::_GetDataResponse_default_instance_.literal_map_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::service::_GetDataResponse_default_instance_.pre_signed_urls_ = const_cast< ::flyteidl::service::PreSignedURLs*>( + ::flyteidl::service::PreSignedURLs::internal_default_instance()); +} +class GetDataResponse::HasBitSetters { + public: + static const ::flyteidl::core::LiteralMap& literal_map(const GetDataResponse* msg); + static const ::flyteidl::service::PreSignedURLs& pre_signed_urls(const GetDataResponse* msg); +}; + +const ::flyteidl::core::LiteralMap& +GetDataResponse::HasBitSetters::literal_map(const GetDataResponse* msg) { + return *msg->data_.literal_map_; +} +const ::flyteidl::service::PreSignedURLs& +GetDataResponse::HasBitSetters::pre_signed_urls(const GetDataResponse* msg) { + return *msg->data_.pre_signed_urls_; +} +void GetDataResponse::set_allocated_literal_map(::flyteidl::core::LiteralMap* literal_map) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_data(); + if (literal_map) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + literal_map = ::google::protobuf::internal::GetOwnedMessage( + message_arena, literal_map, submessage_arena); + } + set_has_literal_map(); + data_.literal_map_ = literal_map; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.literal_map) +} +void GetDataResponse::clear_literal_map() { + if (has_literal_map()) { + delete data_.literal_map_; + clear_has_data(); + } +} +void GetDataResponse::set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_data(); + if (pre_signed_urls) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + pre_signed_urls = ::google::protobuf::internal::GetOwnedMessage( + message_arena, pre_signed_urls, submessage_arena); + } + set_has_pre_signed_urls(); + data_.pre_signed_urls_ = pre_signed_urls; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataResponse.pre_signed_urls) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetDataResponse::kLiteralMapFieldNumber; +const int GetDataResponse::kPreSignedUrlsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetDataResponse::GetDataResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.GetDataResponse) +} +GetDataResponse::GetDataResponse(const GetDataResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_data(); + switch (from.data_case()) { + case kLiteralMap: { + mutable_literal_map()->::flyteidl::core::LiteralMap::MergeFrom(from.literal_map()); + break; + } + case kPreSignedUrls: { + mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); + break; + } + case DATA_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.GetDataResponse) +} + +void GetDataResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); + clear_has_data(); +} + +GetDataResponse::~GetDataResponse() { + // @@protoc_insertion_point(destructor:flyteidl.service.GetDataResponse) + SharedDtor(); +} + +void GetDataResponse::SharedDtor() { + if (has_data()) { + clear_data(); + } +} + +void GetDataResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetDataResponse& GetDataResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetDataResponse_flyteidl_2fservice_2fdataproxy_2eproto.base); + return *internal_default_instance(); +} + + +void GetDataResponse::clear_data() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.service.GetDataResponse) + switch (data_case()) { + case kLiteralMap: { + delete data_.literal_map_; + break; + } + case kPreSignedUrls: { + delete data_.pre_signed_urls_; + break; + } + case DATA_NOT_SET: { + break; + } + } + _oneof_case_[0] = DATA_NOT_SET; +} + + +void GetDataResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.GetDataResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_data(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetDataResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.LiteralMap literal_map = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_literal_map(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::service::PreSignedURLs::_InternalParse; + object = msg->mutable_pre_signed_urls(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetDataResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.GetDataResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.LiteralMap literal_map = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_literal_map())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_pre_signed_urls())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.GetDataResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.GetDataResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetDataResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.GetDataResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.LiteralMap literal_map = 1; + if (has_literal_map()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::literal_map(this), output); + } + + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + if (has_pre_signed_urls()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::pre_signed_urls(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.GetDataResponse) +} + +::google::protobuf::uint8* GetDataResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.GetDataResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.LiteralMap literal_map = 1; + if (has_literal_map()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::literal_map(this), target); + } + + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + if (has_pre_signed_urls()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::pre_signed_urls(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.GetDataResponse) + return target; +} + +size_t GetDataResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.GetDataResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (data_case()) { + // .flyteidl.core.LiteralMap literal_map = 1; + case kLiteralMap: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *data_.literal_map_); + break; + } + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + case kPreSignedUrls: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *data_.pre_signed_urls_); + break; + } + case DATA_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetDataResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.GetDataResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetDataResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.GetDataResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.GetDataResponse) + MergeFrom(*source); + } +} + +void GetDataResponse::MergeFrom(const GetDataResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.GetDataResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.data_case()) { + case kLiteralMap: { + mutable_literal_map()->::flyteidl::core::LiteralMap::MergeFrom(from.literal_map()); + break; + } + case kPreSignedUrls: { + mutable_pre_signed_urls()->::flyteidl::service::PreSignedURLs::MergeFrom(from.pre_signed_urls()); + break; + } + case DATA_NOT_SET: { + break; + } + } +} + +void GetDataResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.GetDataResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetDataResponse::CopyFrom(const GetDataResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.GetDataResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetDataResponse::IsInitialized() const { + return true; +} + +void GetDataResponse::Swap(GetDataResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void GetDataResponse::InternalSwap(GetDataResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(data_, other->data_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata GetDataResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fdataproxy_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fdataproxy_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace service +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateUploadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateUploadLocationRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateUploadLocationRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLocationResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLocationResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLocationResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkRequest* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::CreateDownloadLinkResponse* Arena::CreateMaybeMessage< ::flyteidl::service::CreateDownloadLinkResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::CreateDownloadLinkResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::PreSignedURLs* Arena::CreateMaybeMessage< ::flyteidl::service::PreSignedURLs >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::PreSignedURLs >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::GetDataRequest* Arena::CreateMaybeMessage< ::flyteidl::service::GetDataRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::GetDataRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::GetDataResponse* Arena::CreateMaybeMessage< ::flyteidl::service::GetDataResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::GetDataResponse >(arena); } } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/service/dataproxy.pb.h b/gen/pb-cpp/flyteidl/service/dataproxy.pb.h index 9a45afda1..c62937f87 100644 --- a/gen/pb-cpp/flyteidl/service/dataproxy.pb.h +++ b/gen/pb-cpp/flyteidl/service/dataproxy.pb.h @@ -36,6 +36,7 @@ #include #include #include "flyteidl/core/identifier.pb.h" +#include "flyteidl/core/literals.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fdataproxy_2eproto @@ -46,7 +47,7 @@ struct TableStruct_flyteidl_2fservice_2fdataproxy_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[6] + static const ::google::protobuf::internal::ParseTable schema[9] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -73,6 +74,15 @@ extern CreateUploadLocationRequestDefaultTypeInternal _CreateUploadLocationReque class CreateUploadLocationResponse; class CreateUploadLocationResponseDefaultTypeInternal; extern CreateUploadLocationResponseDefaultTypeInternal _CreateUploadLocationResponse_default_instance_; +class GetDataRequest; +class GetDataRequestDefaultTypeInternal; +extern GetDataRequestDefaultTypeInternal _GetDataRequest_default_instance_; +class GetDataResponse; +class GetDataResponseDefaultTypeInternal; +extern GetDataResponseDefaultTypeInternal _GetDataResponse_default_instance_; +class PreSignedURLs; +class PreSignedURLsDefaultTypeInternal; +extern PreSignedURLsDefaultTypeInternal _PreSignedURLs_default_instance_; } // namespace service } // namespace flyteidl namespace google { @@ -83,6 +93,9 @@ template<> ::flyteidl::service::CreateDownloadLocationRequest* Arena::CreateMayb template<> ::flyteidl::service::CreateDownloadLocationResponse* Arena::CreateMaybeMessage<::flyteidl::service::CreateDownloadLocationResponse>(Arena*); template<> ::flyteidl::service::CreateUploadLocationRequest* Arena::CreateMaybeMessage<::flyteidl::service::CreateUploadLocationRequest>(Arena*); template<> ::flyteidl::service::CreateUploadLocationResponse* Arena::CreateMaybeMessage<::flyteidl::service::CreateUploadLocationResponse>(Arena*); +template<> ::flyteidl::service::GetDataRequest* Arena::CreateMaybeMessage<::flyteidl::service::GetDataRequest>(Arena*); +template<> ::flyteidl::service::GetDataResponse* Arena::CreateMaybeMessage<::flyteidl::service::GetDataResponse>(Arena*); +template<> ::flyteidl::service::PreSignedURLs* Arena::CreateMaybeMessage<::flyteidl::service::PreSignedURLs>(Arena*); } // namespace protobuf } // namespace google namespace flyteidl { @@ -934,6 +947,154 @@ class CreateDownloadLinkResponse final : // accessors ------------------------------------------------------- + // repeated string signed_url = 1 [deprecated = true]; + PROTOBUF_DEPRECATED int signed_url_size() const; + PROTOBUF_DEPRECATED void clear_signed_url(); + PROTOBUF_DEPRECATED static const int kSignedUrlFieldNumber = 1; + PROTOBUF_DEPRECATED const ::std::string& signed_url(int index) const; + PROTOBUF_DEPRECATED ::std::string* mutable_signed_url(int index); + PROTOBUF_DEPRECATED void set_signed_url(int index, const ::std::string& value); + #if LANG_CXX11 + PROTOBUF_DEPRECATED void set_signed_url(int index, ::std::string&& value); + #endif + PROTOBUF_DEPRECATED void set_signed_url(int index, const char* value); + PROTOBUF_DEPRECATED void set_signed_url(int index, const char* value, size_t size); + PROTOBUF_DEPRECATED ::std::string* add_signed_url(); + PROTOBUF_DEPRECATED void add_signed_url(const ::std::string& value); + #if LANG_CXX11 + PROTOBUF_DEPRECATED void add_signed_url(::std::string&& value); + #endif + PROTOBUF_DEPRECATED void add_signed_url(const char* value); + PROTOBUF_DEPRECATED void add_signed_url(const char* value, size_t size); + PROTOBUF_DEPRECATED const ::google::protobuf::RepeatedPtrField<::std::string>& signed_url() const; + PROTOBUF_DEPRECATED ::google::protobuf::RepeatedPtrField<::std::string>* mutable_signed_url(); + + // .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; + PROTOBUF_DEPRECATED bool has_expires_at() const; + PROTOBUF_DEPRECATED void clear_expires_at(); + PROTOBUF_DEPRECATED static const int kExpiresAtFieldNumber = 2; + PROTOBUF_DEPRECATED const ::google::protobuf::Timestamp& expires_at() const; + PROTOBUF_DEPRECATED ::google::protobuf::Timestamp* release_expires_at(); + PROTOBUF_DEPRECATED ::google::protobuf::Timestamp* mutable_expires_at(); + PROTOBUF_DEPRECATED void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); + + // .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + bool has_pre_signed_urls() const; + void clear_pre_signed_urls(); + static const int kPreSignedUrlsFieldNumber = 3; + const ::flyteidl::service::PreSignedURLs& pre_signed_urls() const; + ::flyteidl::service::PreSignedURLs* release_pre_signed_urls(); + ::flyteidl::service::PreSignedURLs* mutable_pre_signed_urls(); + void set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls); + + // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField<::std::string> signed_url_; + ::google::protobuf::Timestamp* expires_at_; + ::flyteidl::service::PreSignedURLs* pre_signed_urls_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; +}; +// ------------------------------------------------------------------- + +class PreSignedURLs final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.PreSignedURLs) */ { + public: + PreSignedURLs(); + virtual ~PreSignedURLs(); + + PreSignedURLs(const PreSignedURLs& from); + + inline PreSignedURLs& operator=(const PreSignedURLs& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + PreSignedURLs(PreSignedURLs&& from) noexcept + : PreSignedURLs() { + *this = ::std::move(from); + } + + inline PreSignedURLs& operator=(PreSignedURLs&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const PreSignedURLs& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const PreSignedURLs* internal_default_instance() { + return reinterpret_cast( + &_PreSignedURLs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + void Swap(PreSignedURLs* other); + friend void swap(PreSignedURLs& a, PreSignedURLs& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline PreSignedURLs* New() const final { + return CreateMaybeMessage(nullptr); + } + + PreSignedURLs* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const PreSignedURLs& from); + void MergeFrom(const PreSignedURLs& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PreSignedURLs* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // repeated string signed_url = 1; int signed_url_size() const; void clear_signed_url(); @@ -965,7 +1126,7 @@ class CreateDownloadLinkResponse final : ::google::protobuf::Timestamp* mutable_expires_at(); void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); - // @@protoc_insertion_point(class_scope:flyteidl.service.CreateDownloadLinkResponse) + // @@protoc_insertion_point(class_scope:flyteidl.service.PreSignedURLs) private: class HasBitSetters; @@ -975,6 +1136,269 @@ class CreateDownloadLinkResponse final : mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; }; +// ------------------------------------------------------------------- + +class GetDataRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.GetDataRequest) */ { + public: + GetDataRequest(); + virtual ~GetDataRequest(); + + GetDataRequest(const GetDataRequest& from); + + inline GetDataRequest& operator=(const GetDataRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + GetDataRequest(GetDataRequest&& from) noexcept + : GetDataRequest() { + *this = ::std::move(from); + } + + inline GetDataRequest& operator=(GetDataRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const GetDataRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetDataRequest* internal_default_instance() { + return reinterpret_cast( + &_GetDataRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + void Swap(GetDataRequest* other); + friend void swap(GetDataRequest& a, GetDataRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline GetDataRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetDataRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const GetDataRequest& from); + void MergeFrom(const GetDataRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetDataRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string flyte_url = 1; + void clear_flyte_url(); + static const int kFlyteUrlFieldNumber = 1; + const ::std::string& flyte_url() const; + void set_flyte_url(const ::std::string& value); + #if LANG_CXX11 + void set_flyte_url(::std::string&& value); + #endif + void set_flyte_url(const char* value); + void set_flyte_url(const char* value, size_t size); + ::std::string* mutable_flyte_url(); + ::std::string* release_flyte_url(); + void set_allocated_flyte_url(::std::string* flyte_url); + + // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr flyte_url_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; +}; +// ------------------------------------------------------------------- + +class GetDataResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.GetDataResponse) */ { + public: + GetDataResponse(); + virtual ~GetDataResponse(); + + GetDataResponse(const GetDataResponse& from); + + inline GetDataResponse& operator=(const GetDataResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + GetDataResponse(GetDataResponse&& from) noexcept + : GetDataResponse() { + *this = ::std::move(from); + } + + inline GetDataResponse& operator=(GetDataResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const GetDataResponse& default_instance(); + + enum DataCase { + kLiteralMap = 1, + kPreSignedUrls = 2, + DATA_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetDataResponse* internal_default_instance() { + return reinterpret_cast( + &_GetDataResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(GetDataResponse* other); + friend void swap(GetDataResponse& a, GetDataResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline GetDataResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetDataResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const GetDataResponse& from); + void MergeFrom(const GetDataResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetDataResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.LiteralMap literal_map = 1; + bool has_literal_map() const; + void clear_literal_map(); + static const int kLiteralMapFieldNumber = 1; + const ::flyteidl::core::LiteralMap& literal_map() const; + ::flyteidl::core::LiteralMap* release_literal_map(); + ::flyteidl::core::LiteralMap* mutable_literal_map(); + void set_allocated_literal_map(::flyteidl::core::LiteralMap* literal_map); + + // .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + bool has_pre_signed_urls() const; + void clear_pre_signed_urls(); + static const int kPreSignedUrlsFieldNumber = 2; + const ::flyteidl::service::PreSignedURLs& pre_signed_urls() const; + ::flyteidl::service::PreSignedURLs* release_pre_signed_urls(); + ::flyteidl::service::PreSignedURLs* mutable_pre_signed_urls(); + void set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls); + + void clear_data(); + DataCase data_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) + private: + class HasBitSetters; + void set_has_literal_map(); + void set_has_pre_signed_urls(); + + inline bool has_data() const; + inline void clear_has_data(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union DataUnion { + DataUnion() {} + ::flyteidl::core::LiteralMap* literal_map_; + ::flyteidl::service::PreSignedURLs* pre_signed_urls_; + } data_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fservice_2fdataproxy_2eproto; +}; // =================================================================== @@ -1718,7 +2142,7 @@ inline CreateDownloadLinkRequest::SourceCase CreateDownloadLinkRequest::source_c // CreateDownloadLinkResponse -// repeated string signed_url = 1; +// repeated string signed_url = 1 [deprecated = true]; inline int CreateDownloadLinkResponse::signed_url_size() const { return signed_url_.size(); } @@ -1787,7 +2211,7 @@ CreateDownloadLinkResponse::mutable_signed_url() { return &signed_url_; } -// .google.protobuf.Timestamp expires_at = 2; +// .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; inline bool CreateDownloadLinkResponse::has_expires_at() const { return this != internal_default_instance() && expires_at_ != nullptr; } @@ -1833,6 +2257,322 @@ inline void CreateDownloadLinkResponse::set_allocated_expires_at(::google::proto // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkResponse.expires_at) } +// .flyteidl.service.PreSignedURLs pre_signed_urls = 3; +inline bool CreateDownloadLinkResponse::has_pre_signed_urls() const { + return this != internal_default_instance() && pre_signed_urls_ != nullptr; +} +inline void CreateDownloadLinkResponse::clear_pre_signed_urls() { + if (GetArenaNoVirtual() == nullptr && pre_signed_urls_ != nullptr) { + delete pre_signed_urls_; + } + pre_signed_urls_ = nullptr; +} +inline const ::flyteidl::service::PreSignedURLs& CreateDownloadLinkResponse::pre_signed_urls() const { + const ::flyteidl::service::PreSignedURLs* p = pre_signed_urls_; + // @@protoc_insertion_point(field_get:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::service::_PreSignedURLs_default_instance_); +} +inline ::flyteidl::service::PreSignedURLs* CreateDownloadLinkResponse::release_pre_signed_urls() { + // @@protoc_insertion_point(field_release:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) + + ::flyteidl::service::PreSignedURLs* temp = pre_signed_urls_; + pre_signed_urls_ = nullptr; + return temp; +} +inline ::flyteidl::service::PreSignedURLs* CreateDownloadLinkResponse::mutable_pre_signed_urls() { + + if (pre_signed_urls_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::service::PreSignedURLs>(GetArenaNoVirtual()); + pre_signed_urls_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) + return pre_signed_urls_; +} +inline void CreateDownloadLinkResponse::set_allocated_pre_signed_urls(::flyteidl::service::PreSignedURLs* pre_signed_urls) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete pre_signed_urls_; + } + if (pre_signed_urls) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + pre_signed_urls = ::google::protobuf::internal::GetOwnedMessage( + message_arena, pre_signed_urls, submessage_arena); + } + + } else { + + } + pre_signed_urls_ = pre_signed_urls; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls) +} + +// ------------------------------------------------------------------- + +// PreSignedURLs + +// repeated string signed_url = 1; +inline int PreSignedURLs::signed_url_size() const { + return signed_url_.size(); +} +inline void PreSignedURLs::clear_signed_url() { + signed_url_.Clear(); +} +inline const ::std::string& PreSignedURLs::signed_url(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.service.PreSignedURLs.signed_url) + return signed_url_.Get(index); +} +inline ::std::string* PreSignedURLs::mutable_signed_url(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.service.PreSignedURLs.signed_url) + return signed_url_.Mutable(index); +} +inline void PreSignedURLs::set_signed_url(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.service.PreSignedURLs.signed_url) + signed_url_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void PreSignedURLs::set_signed_url(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.service.PreSignedURLs.signed_url) + signed_url_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void PreSignedURLs::set_signed_url(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + signed_url_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.service.PreSignedURLs.signed_url) +} +inline void PreSignedURLs::set_signed_url(int index, const char* value, size_t size) { + signed_url_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.PreSignedURLs.signed_url) +} +inline ::std::string* PreSignedURLs::add_signed_url() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.service.PreSignedURLs.signed_url) + return signed_url_.Add(); +} +inline void PreSignedURLs::add_signed_url(const ::std::string& value) { + signed_url_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.service.PreSignedURLs.signed_url) +} +#if LANG_CXX11 +inline void PreSignedURLs::add_signed_url(::std::string&& value) { + signed_url_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.service.PreSignedURLs.signed_url) +} +#endif +inline void PreSignedURLs::add_signed_url(const char* value) { + GOOGLE_DCHECK(value != nullptr); + signed_url_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.service.PreSignedURLs.signed_url) +} +inline void PreSignedURLs::add_signed_url(const char* value, size_t size) { + signed_url_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.service.PreSignedURLs.signed_url) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +PreSignedURLs::signed_url() const { + // @@protoc_insertion_point(field_list:flyteidl.service.PreSignedURLs.signed_url) + return signed_url_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +PreSignedURLs::mutable_signed_url() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.service.PreSignedURLs.signed_url) + return &signed_url_; +} + +// .google.protobuf.Timestamp expires_at = 2; +inline bool PreSignedURLs::has_expires_at() const { + return this != internal_default_instance() && expires_at_ != nullptr; +} +inline const ::google::protobuf::Timestamp& PreSignedURLs::expires_at() const { + const ::google::protobuf::Timestamp* p = expires_at_; + // @@protoc_insertion_point(field_get:flyteidl.service.PreSignedURLs.expires_at) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* PreSignedURLs::release_expires_at() { + // @@protoc_insertion_point(field_release:flyteidl.service.PreSignedURLs.expires_at) + + ::google::protobuf::Timestamp* temp = expires_at_; + expires_at_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* PreSignedURLs::mutable_expires_at() { + + if (expires_at_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual()); + expires_at_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.PreSignedURLs.expires_at) + return expires_at_; +} +inline void PreSignedURLs::set_allocated_expires_at(::google::protobuf::Timestamp* expires_at) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(expires_at_); + } + if (expires_at) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast<::google::protobuf::MessageLite*>(expires_at)->GetArena(); + if (message_arena != submessage_arena) { + expires_at = ::google::protobuf::internal::GetOwnedMessage( + message_arena, expires_at, submessage_arena); + } + + } else { + + } + expires_at_ = expires_at; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.PreSignedURLs.expires_at) +} + +// ------------------------------------------------------------------- + +// GetDataRequest + +// string flyte_url = 1; +inline void GetDataRequest::clear_flyte_url() { + flyte_url_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& GetDataRequest::flyte_url() const { + // @@protoc_insertion_point(field_get:flyteidl.service.GetDataRequest.flyte_url) + return flyte_url_.GetNoArena(); +} +inline void GetDataRequest::set_flyte_url(const ::std::string& value) { + + flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.GetDataRequest.flyte_url) +} +#if LANG_CXX11 +inline void GetDataRequest::set_flyte_url(::std::string&& value) { + + flyte_url_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.GetDataRequest.flyte_url) +} +#endif +inline void GetDataRequest::set_flyte_url(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.GetDataRequest.flyte_url) +} +inline void GetDataRequest::set_flyte_url(const char* value, size_t size) { + + flyte_url_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.GetDataRequest.flyte_url) +} +inline ::std::string* GetDataRequest::mutable_flyte_url() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataRequest.flyte_url) + return flyte_url_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* GetDataRequest::release_flyte_url() { + // @@protoc_insertion_point(field_release:flyteidl.service.GetDataRequest.flyte_url) + + return flyte_url_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void GetDataRequest::set_allocated_flyte_url(::std::string* flyte_url) { + if (flyte_url != nullptr) { + + } else { + + } + flyte_url_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flyte_url); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.GetDataRequest.flyte_url) +} + +// ------------------------------------------------------------------- + +// GetDataResponse + +// .flyteidl.core.LiteralMap literal_map = 1; +inline bool GetDataResponse::has_literal_map() const { + return data_case() == kLiteralMap; +} +inline void GetDataResponse::set_has_literal_map() { + _oneof_case_[0] = kLiteralMap; +} +inline ::flyteidl::core::LiteralMap* GetDataResponse::release_literal_map() { + // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.literal_map) + if (has_literal_map()) { + clear_has_data(); + ::flyteidl::core::LiteralMap* temp = data_.literal_map_; + data_.literal_map_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::LiteralMap& GetDataResponse::literal_map() const { + // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.literal_map) + return has_literal_map() + ? *data_.literal_map_ + : *reinterpret_cast< ::flyteidl::core::LiteralMap*>(&::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* GetDataResponse::mutable_literal_map() { + if (!has_literal_map()) { + clear_data(); + set_has_literal_map(); + data_.literal_map_ = CreateMaybeMessage< ::flyteidl::core::LiteralMap >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.literal_map) + return data_.literal_map_; +} + +// .flyteidl.service.PreSignedURLs pre_signed_urls = 2; +inline bool GetDataResponse::has_pre_signed_urls() const { + return data_case() == kPreSignedUrls; +} +inline void GetDataResponse::set_has_pre_signed_urls() { + _oneof_case_[0] = kPreSignedUrls; +} +inline void GetDataResponse::clear_pre_signed_urls() { + if (has_pre_signed_urls()) { + delete data_.pre_signed_urls_; + clear_has_data(); + } +} +inline ::flyteidl::service::PreSignedURLs* GetDataResponse::release_pre_signed_urls() { + // @@protoc_insertion_point(field_release:flyteidl.service.GetDataResponse.pre_signed_urls) + if (has_pre_signed_urls()) { + clear_has_data(); + ::flyteidl::service::PreSignedURLs* temp = data_.pre_signed_urls_; + data_.pre_signed_urls_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::service::PreSignedURLs& GetDataResponse::pre_signed_urls() const { + // @@protoc_insertion_point(field_get:flyteidl.service.GetDataResponse.pre_signed_urls) + return has_pre_signed_urls() + ? *data_.pre_signed_urls_ + : *reinterpret_cast< ::flyteidl::service::PreSignedURLs*>(&::flyteidl::service::_PreSignedURLs_default_instance_); +} +inline ::flyteidl::service::PreSignedURLs* GetDataResponse::mutable_pre_signed_urls() { + if (!has_pre_signed_urls()) { + clear_data(); + set_has_pre_signed_urls(); + data_.pre_signed_urls_ = CreateMaybeMessage< ::flyteidl::service::PreSignedURLs >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.GetDataResponse.pre_signed_urls) + return data_.pre_signed_urls_; +} + +inline bool GetDataResponse::has_data() const { + return data_case() != DATA_NOT_SET; +} +inline void GetDataResponse::clear_has_data() { + _oneof_case_[0] = DATA_NOT_SET; +} +inline GetDataResponse::DataCase GetDataResponse::data_case() const { + return GetDataResponse::DataCase(_oneof_case_[0]); +} #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -1846,6 +2586,12 @@ inline void CreateDownloadLinkResponse::set_allocated_expires_at(::google::proto // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc b/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc new file mode 100644 index 000000000..be7a2ec52 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.cc @@ -0,0 +1,169 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/service/external_plugin_service.proto + +#include "flyteidl/service/external_plugin_service.pb.h" +#include "flyteidl/service/external_plugin_service.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace service { + +static const char* ExternalPluginService_method_names[] = { + "/flyteidl.service.ExternalPluginService/CreateTask", + "/flyteidl.service.ExternalPluginService/GetTask", + "/flyteidl.service.ExternalPluginService/DeleteTask", +}; + +std::unique_ptr< ExternalPluginService::Stub> ExternalPluginService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< ExternalPluginService::Stub> stub(new ExternalPluginService::Stub(channel)); + return stub; +} + +ExternalPluginService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) + : channel_(channel), rpcmethod_CreateTask_(ExternalPluginService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetTask_(ExternalPluginService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteTask_(ExternalPluginService_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status ExternalPluginService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTask_, context, request, response); +} + +void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); +} + +void ExternalPluginService::Stub::experimental_async::CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTask_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* ExternalPluginService::Stub::AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* ExternalPluginService::Stub::PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskCreateResponse>::Create(channel_.get(), cq, rpcmethod_CreateTask_, context, request, false); +} + +::grpc::Status ExternalPluginService::Stub::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetTask_, context, request, response); +} + +void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); +} + +void ExternalPluginService::Stub::experimental_async::GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetTask_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* ExternalPluginService::Stub::AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskGetResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* ExternalPluginService::Stub::PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskGetResponse>::Create(channel_.get(), cq, rpcmethod_GetTask_, context, request, false); +} + +::grpc::Status ExternalPluginService::Stub::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTask_, context, request, response); +} + +void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, std::move(f)); +} + +void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); +} + +void ExternalPluginService::Stub::experimental_async::DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTask_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* ExternalPluginService::Stub::AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* ExternalPluginService::Stub::PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::TaskDeleteResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTask_, context, request, false); +} + +ExternalPluginService::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + ExternalPluginService_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>( + std::mem_fn(&ExternalPluginService::Service::CreateTask), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ExternalPluginService_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>( + std::mem_fn(&ExternalPluginService::Service::GetTask), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ExternalPluginService_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ExternalPluginService::Service, ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>( + std::mem_fn(&ExternalPluginService::Service::DeleteTask), this))); +} + +ExternalPluginService::Service::~Service() { +} + +::grpc::Status ExternalPluginService::Service::CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ExternalPluginService::Service::GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ExternalPluginService::Service::DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace flyteidl +} // namespace service + diff --git a/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h b/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h new file mode 100644 index 000000000..bd26ab180 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/external_plugin_service.grpc.pb.h @@ -0,0 +1,587 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/service/external_plugin_service.proto +#ifndef GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED +#define GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED + +#include "flyteidl/service/external_plugin_service.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace service { + +// ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. +class ExternalPluginService final { + public: + static constexpr char const* service_full_name() { + return "flyteidl.service.ExternalPluginService"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + // Send a task create request to the backend plugin server. + virtual ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); + } + // Get job status. + virtual ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>>(AsyncGetTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); + } + // Delete the task resource. + virtual ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>>(AsyncDeleteTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); + } + class experimental_async_interface { + public: + virtual ~experimental_async_interface() {} + // Send a task create request to the backend plugin server. + virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function) = 0; + virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function) = 0; + virtual void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Get job status. + virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function) = 0; + virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function) = 0; + virtual void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Delete the task resource. + virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) = 0; + virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) = 0; + virtual void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + }; + virtual class experimental_async_interface* experimental_async() { return nullptr; } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskGetResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::TaskDeleteResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); + ::grpc::Status CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::flyteidl::service::TaskCreateResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>> AsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>>(AsyncCreateTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>> PrepareAsyncCreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>>(PrepareAsyncCreateTaskRaw(context, request, cq)); + } + ::grpc::Status GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::flyteidl::service::TaskGetResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>> AsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>>(AsyncGetTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>> PrepareAsyncGetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>>(PrepareAsyncGetTaskRaw(context, request, cq)); + } + ::grpc::Status DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::flyteidl::service::TaskDeleteResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>> AsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>>(AsyncDeleteTaskRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>> PrepareAsyncDeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>>(PrepareAsyncDeleteTaskRaw(context, request, cq)); + } + class experimental_async final : + public StubInterface::experimental_async_interface { + public: + void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, std::function) override; + void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, std::function) override; + void CreateTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, std::function) override; + void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, std::function) override; + void GetTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) override; + void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, std::function) override; + void DeleteTask(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTask(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit experimental_async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class experimental_async_interface* experimental_async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class experimental_async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* AsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskCreateResponse>* PrepareAsyncCreateTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskCreateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* AsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskGetResponse>* PrepareAsyncGetTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskGetRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* AsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::TaskDeleteResponse>* PrepareAsyncDeleteTaskRaw(::grpc::ClientContext* context, const ::flyteidl::service::TaskDeleteRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_CreateTask_; + const ::grpc::internal::RpcMethod rpcmethod_GetTask_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteTask_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + // Send a task create request to the backend plugin server. + virtual ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response); + // Get job status. + virtual ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response); + // Delete the task resource. + virtual ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response); + }; + template + class WithAsyncMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_CreateTask() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTask(::grpc::ServerContext* context, ::flyteidl::service::TaskCreateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskCreateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetTask() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTask(::grpc::ServerContext* context, ::flyteidl::service::TaskGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskGetResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DeleteTask() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTask(::grpc::ServerContext* context, ::flyteidl::service::TaskDeleteRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::TaskDeleteResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateTask > > AsyncService; + template + class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_CreateTask() { + ::grpc::Service::experimental().MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::TaskCreateRequest* request, + ::flyteidl::service::TaskCreateResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->CreateTask(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_CreateTask( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>*>( + ::grpc::Service::experimental().GetHandler(0)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_GetTask() { + ::grpc::Service::experimental().MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::TaskGetRequest* request, + ::flyteidl::service::TaskGetResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetTask(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetTask( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>*>( + ::grpc::Service::experimental().GetHandler(1)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_DeleteTask() { + ::grpc::Service::experimental().MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::TaskDeleteRequest* request, + ::flyteidl::service::TaskDeleteResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->DeleteTask(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_DeleteTask( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>*>( + ::grpc::Service::experimental().GetHandler(2)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateTask > > ExperimentalCallbackService; + template + class WithGenericMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_CreateTask() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetTask() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DeleteTask() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_CreateTask() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTask(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetTask() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetTask(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DeleteTask() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTask(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(2, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class ExperimentalWithRawCallbackMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_CreateTask() { + ::grpc::Service::experimental().MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->CreateTask(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_GetTask() { + ::grpc::Service::experimental().MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->GetTask(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_DeleteTask() { + ::grpc::Service::experimental().MarkMethodRawCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->DeleteTask(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTask(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class WithStreamedUnaryMethod_CreateTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_CreateTask() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskCreateRequest, ::flyteidl::service::TaskCreateResponse>(std::bind(&WithStreamedUnaryMethod_CreateTask::StreamedCreateTask, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_CreateTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskCreateRequest* request, ::flyteidl::service::TaskCreateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskCreateRequest,::flyteidl::service::TaskCreateResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetTask() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskGetRequest, ::flyteidl::service::TaskGetResponse>(std::bind(&WithStreamedUnaryMethod_GetTask::StreamedGetTask, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskGetRequest* request, ::flyteidl::service::TaskGetResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskGetRequest,::flyteidl::service::TaskGetResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteTask : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DeleteTask() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::TaskDeleteRequest, ::flyteidl::service::TaskDeleteResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTask::StreamedDeleteTask, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DeleteTask() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteTask(::grpc::ServerContext* context, const ::flyteidl::service::TaskDeleteRequest* request, ::flyteidl::service::TaskDeleteResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteTask(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::TaskDeleteRequest,::flyteidl::service::TaskDeleteResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateTask > > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_CreateTask > > StreamedService; +}; + +} // namespace service +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc b/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc new file mode 100644 index 000000000..e4b6a79c4 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc @@ -0,0 +1,2340 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/external_plugin_service.proto + +#include "flyteidl/service/external_plugin_service.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; +namespace flyteidl { +namespace service { +class TaskCreateRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskCreateRequest_default_instance_; +class TaskCreateResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskCreateResponse_default_instance_; +class TaskGetRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskGetRequest_default_instance_; +class TaskGetResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskGetResponse_default_instance_; +class TaskDeleteRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskDeleteRequest_default_instance_; +class TaskDeleteResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskDeleteResponse_default_instance_; +} // namespace service +} // namespace flyteidl +static void InitDefaultsTaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskCreateRequest_default_instance_; + new (ptr) ::flyteidl::service::TaskCreateRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskCreateRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, { + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto.base,}}; + +static void InitDefaultsTaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskCreateResponse_default_instance_; + new (ptr) ::flyteidl::service::TaskCreateResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskCreateResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; + +static void InitDefaultsTaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskGetRequest_default_instance_; + new (ptr) ::flyteidl::service::TaskGetRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskGetRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; + +static void InitDefaultsTaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskGetResponse_default_instance_; + new (ptr) ::flyteidl::service::TaskGetResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskGetResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, { + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base,}}; + +static void InitDefaultsTaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskDeleteRequest_default_instance_; + new (ptr) ::flyteidl::service::TaskDeleteRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskDeleteRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; + +static void InitDefaultsTaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_TaskDeleteResponse_default_instance_; + new (ptr) ::flyteidl::service::TaskDeleteResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::TaskDeleteResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto}, {}}; + +void InitDefaults_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[6]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[1]; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, inputs_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, template__), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateRequest, output_prefix_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskCreateResponse, job_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, task_type_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetRequest, job_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, state_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskGetResponse, outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, task_type_), + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteRequest, job_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::TaskDeleteResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::service::TaskCreateRequest)}, + { 8, -1, sizeof(::flyteidl::service::TaskCreateResponse)}, + { 14, -1, sizeof(::flyteidl::service::TaskGetRequest)}, + { 21, -1, sizeof(::flyteidl::service::TaskGetResponse)}, + { 28, -1, sizeof(::flyteidl::service::TaskDeleteRequest)}, + { 35, -1, sizeof(::flyteidl::service::TaskDeleteResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::service::_TaskCreateRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_TaskCreateResponse_default_instance_), + reinterpret_cast(&::flyteidl::service::_TaskGetRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_TaskGetResponse_default_instance_), + reinterpret_cast(&::flyteidl::service::_TaskDeleteRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_TaskDeleteResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = { + {}, AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, "flyteidl/service/external_plugin_service.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto::offsets, + file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, 6, file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[] = + "\n.flyteidl/service/external_plugin_servi" + "ce.proto\022\020flyteidl.service\032\034flyteidl/cor" + "e/literals.proto\032\031flyteidl/core/tasks.pr" + "oto\032\035flyteidl/core/interface.proto\"\204\001\n\021T" + "askCreateRequest\022)\n\006inputs\030\001 \001(\0132\031.flyte" + "idl.core.LiteralMap\022-\n\010template\030\002 \001(\0132\033." + "flyteidl.core.TaskTemplate\022\025\n\routput_pre" + "fix\030\003 \001(\t\"$\n\022TaskCreateResponse\022\016\n\006job_i" + "d\030\001 \001(\t\"3\n\016TaskGetRequest\022\021\n\ttask_type\030\001" + " \001(\t\022\016\n\006job_id\030\002 \001(\t\"e\n\017TaskGetResponse\022" + "&\n\005state\030\001 \001(\0162\027.flyteidl.service.State\022" + "*\n\007outputs\030\002 \001(\0132\031.flyteidl.core.Literal" + "Map\"6\n\021TaskDeleteRequest\022\021\n\ttask_type\030\001 " + "\001(\t\022\016\n\006job_id\030\002 \001(\t\"\024\n\022TaskDeleteRespons" + "e*^\n\005State\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021PER" + "MANENT_FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING" + "\020\003\022\r\n\tSUCCEEDED\020\0042\237\002\n\025ExternalPluginServ" + "ice\022Y\n\nCreateTask\022#.flyteidl.service.Tas" + "kCreateRequest\032$.flyteidl.service.TaskCr" + "eateResponse\"\000\022P\n\007GetTask\022 .flyteidl.ser" + "vice.TaskGetRequest\032!.flyteidl.service.T" + "askGetResponse\"\000\022Y\n\nDeleteTask\022#.flyteid" + "l.service.TaskDeleteRequest\032$.flyteidl.s" + "ervice.TaskDeleteResponse\"\000B9Z7github.co" + "m/flyteorg/flyteidl/gen/pb-go/flyteidl/s" + "erviceb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = { + false, InitDefaults_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, + descriptor_table_protodef_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, + "flyteidl/service/external_plugin_service.proto", &assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, 1014, +}; + +void AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[3] = + { + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_flyteidl_2fcore_2ftasks_2eproto, + ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto, deps, 3); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto(); return true; }(); +namespace flyteidl { +namespace service { +const ::google::protobuf::EnumDescriptor* State_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return file_level_enum_descriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[0]; +} +bool State_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + + +// =================================================================== + +void TaskCreateRequest::InitAsDefaultInstance() { + ::flyteidl::service::_TaskCreateRequest_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); + ::flyteidl::service::_TaskCreateRequest_default_instance_._instance.get_mutable()->template__ = const_cast< ::flyteidl::core::TaskTemplate*>( + ::flyteidl::core::TaskTemplate::internal_default_instance()); +} +class TaskCreateRequest::HasBitSetters { + public: + static const ::flyteidl::core::LiteralMap& inputs(const TaskCreateRequest* msg); + static const ::flyteidl::core::TaskTemplate& template_(const TaskCreateRequest* msg); +}; + +const ::flyteidl::core::LiteralMap& +TaskCreateRequest::HasBitSetters::inputs(const TaskCreateRequest* msg) { + return *msg->inputs_; +} +const ::flyteidl::core::TaskTemplate& +TaskCreateRequest::HasBitSetters::template_(const TaskCreateRequest* msg) { + return *msg->template__; +} +void TaskCreateRequest::clear_inputs() { + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; +} +void TaskCreateRequest::clear_template_() { + if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { + delete template__; + } + template__ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskCreateRequest::kInputsFieldNumber; +const int TaskCreateRequest::kTemplateFieldNumber; +const int TaskCreateRequest::kOutputPrefixFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskCreateRequest::TaskCreateRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskCreateRequest) +} +TaskCreateRequest::TaskCreateRequest(const TaskCreateRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.output_prefix().size() > 0) { + output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); + } + if (from.has_inputs()) { + inputs_ = new ::flyteidl::core::LiteralMap(*from.inputs_); + } else { + inputs_ = nullptr; + } + if (from.has_template_()) { + template__ = new ::flyteidl::core::TaskTemplate(*from.template__); + } else { + template__ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskCreateRequest) +} + +void TaskCreateRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + output_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&inputs_, 0, static_cast( + reinterpret_cast(&template__) - + reinterpret_cast(&inputs_)) + sizeof(template__)); +} + +TaskCreateRequest::~TaskCreateRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskCreateRequest) + SharedDtor(); +} + +void TaskCreateRequest::SharedDtor() { + output_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete inputs_; + if (this != internal_default_instance()) delete template__; +} + +void TaskCreateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskCreateRequest& TaskCreateRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskCreateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskCreateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; + if (GetArenaNoVirtual() == nullptr && template__ != nullptr) { + delete template__; + } + template__ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskCreateRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.core.LiteralMap inputs = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_inputs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.core.TaskTemplate template = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::TaskTemplate::_InternalParse; + object = msg->mutable_template_(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // string output_prefix = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskCreateRequest.output_prefix"); + object = msg->mutable_output_prefix(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskCreateRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskCreateRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.core.LiteralMap inputs = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_inputs())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TaskTemplate template = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_template_())); + } else { + goto handle_unusual; + } + break; + } + + // string output_prefix = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_output_prefix())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->output_prefix().data(), static_cast(this->output_prefix().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskCreateRequest.output_prefix")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskCreateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskCreateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskCreateRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskCreateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.LiteralMap inputs = 1; + if (this->has_inputs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::inputs(this), output); + } + + // .flyteidl.core.TaskTemplate template = 2; + if (this->has_template_()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::template_(this), output); + } + + // string output_prefix = 3; + if (this->output_prefix().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->output_prefix().data(), static_cast(this->output_prefix().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskCreateRequest.output_prefix"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->output_prefix(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskCreateRequest) +} + +::google::protobuf::uint8* TaskCreateRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskCreateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.LiteralMap inputs = 1; + if (this->has_inputs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::inputs(this), target); + } + + // .flyteidl.core.TaskTemplate template = 2; + if (this->has_template_()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::template_(this), target); + } + + // string output_prefix = 3; + if (this->output_prefix().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->output_prefix().data(), static_cast(this->output_prefix().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskCreateRequest.output_prefix"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->output_prefix(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskCreateRequest) + return target; +} + +size_t TaskCreateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskCreateRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string output_prefix = 3; + if (this->output_prefix().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->output_prefix()); + } + + // .flyteidl.core.LiteralMap inputs = 1; + if (this->has_inputs()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *inputs_); + } + + // .flyteidl.core.TaskTemplate template = 2; + if (this->has_template_()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *template__); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskCreateRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskCreateRequest) + GOOGLE_DCHECK_NE(&from, this); + const TaskCreateRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskCreateRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskCreateRequest) + MergeFrom(*source); + } +} + +void TaskCreateRequest::MergeFrom(const TaskCreateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskCreateRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.output_prefix().size() > 0) { + + output_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_prefix_); + } + if (from.has_inputs()) { + mutable_inputs()->::flyteidl::core::LiteralMap::MergeFrom(from.inputs()); + } + if (from.has_template_()) { + mutable_template_()->::flyteidl::core::TaskTemplate::MergeFrom(from.template_()); + } +} + +void TaskCreateRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskCreateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskCreateRequest::CopyFrom(const TaskCreateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskCreateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskCreateRequest::IsInitialized() const { + return true; +} + +void TaskCreateRequest::Swap(TaskCreateRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskCreateRequest::InternalSwap(TaskCreateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + output_prefix_.Swap(&other->output_prefix_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(inputs_, other->inputs_); + swap(template__, other->template__); +} + +::google::protobuf::Metadata TaskCreateRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskCreateResponse::InitAsDefaultInstance() { +} +class TaskCreateResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskCreateResponse::kJobIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskCreateResponse::TaskCreateResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskCreateResponse) +} +TaskCreateResponse::TaskCreateResponse(const TaskCreateResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.job_id().size() > 0) { + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskCreateResponse) +} + +void TaskCreateResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +TaskCreateResponse::~TaskCreateResponse() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskCreateResponse) + SharedDtor(); +} + +void TaskCreateResponse::SharedDtor() { + job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void TaskCreateResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskCreateResponse& TaskCreateResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskCreateResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskCreateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskCreateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskCreateResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string job_id = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskCreateResponse.job_id"); + object = msg->mutable_job_id(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskCreateResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskCreateResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string job_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_job_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskCreateResponse.job_id")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskCreateResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskCreateResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskCreateResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskCreateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string job_id = 1; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskCreateResponse.job_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->job_id(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskCreateResponse) +} + +::google::protobuf::uint8* TaskCreateResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskCreateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string job_id = 1; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskCreateResponse.job_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->job_id(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskCreateResponse) + return target; +} + +size_t TaskCreateResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskCreateResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string job_id = 1; + if (this->job_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->job_id()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskCreateResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskCreateResponse) + GOOGLE_DCHECK_NE(&from, this); + const TaskCreateResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskCreateResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskCreateResponse) + MergeFrom(*source); + } +} + +void TaskCreateResponse::MergeFrom(const TaskCreateResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskCreateResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.job_id().size() > 0) { + + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } +} + +void TaskCreateResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskCreateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskCreateResponse::CopyFrom(const TaskCreateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskCreateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskCreateResponse::IsInitialized() const { + return true; +} + +void TaskCreateResponse::Swap(TaskCreateResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskCreateResponse::InternalSwap(TaskCreateResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata TaskCreateResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskGetRequest::InitAsDefaultInstance() { +} +class TaskGetRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskGetRequest::kTaskTypeFieldNumber; +const int TaskGetRequest::kJobIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskGetRequest::TaskGetRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskGetRequest) +} +TaskGetRequest::TaskGetRequest(const TaskGetRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.task_type().size() > 0) { + task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); + } + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.job_id().size() > 0) { + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskGetRequest) +} + +void TaskGetRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +TaskGetRequest::~TaskGetRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskGetRequest) + SharedDtor(); +} + +void TaskGetRequest::SharedDtor() { + task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void TaskGetRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskGetRequest& TaskGetRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskGetRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskGetRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskGetRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string task_type = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskGetRequest.task_type"); + object = msg->mutable_task_type(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string job_id = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskGetRequest.job_id"); + object = msg->mutable_job_id(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskGetRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskGetRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string task_type = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_task_type())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskGetRequest.task_type")); + } else { + goto handle_unusual; + } + break; + } + + // string job_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_job_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskGetRequest.job_id")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskGetRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskGetRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskGetRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskGetRequest.task_type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->task_type(), output); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskGetRequest.job_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->job_id(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskGetRequest) +} + +::google::protobuf::uint8* TaskGetRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskGetRequest.task_type"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->task_type(), target); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskGetRequest.job_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->job_id(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskGetRequest) + return target; +} + +size_t TaskGetRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskGetRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->task_type()); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->job_id()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskGetRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskGetRequest) + GOOGLE_DCHECK_NE(&from, this); + const TaskGetRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskGetRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskGetRequest) + MergeFrom(*source); + } +} + +void TaskGetRequest::MergeFrom(const TaskGetRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskGetRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.task_type().size() > 0) { + + task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); + } + if (from.job_id().size() > 0) { + + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } +} + +void TaskGetRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskGetRequest::CopyFrom(const TaskGetRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskGetRequest::IsInitialized() const { + return true; +} + +void TaskGetRequest::Swap(TaskGetRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskGetRequest::InternalSwap(TaskGetRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata TaskGetRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskGetResponse::InitAsDefaultInstance() { + ::flyteidl::service::_TaskGetResponse_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::internal_default_instance()); +} +class TaskGetResponse::HasBitSetters { + public: + static const ::flyteidl::core::LiteralMap& outputs(const TaskGetResponse* msg); +}; + +const ::flyteidl::core::LiteralMap& +TaskGetResponse::HasBitSetters::outputs(const TaskGetResponse* msg) { + return *msg->outputs_; +} +void TaskGetResponse::clear_outputs() { + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskGetResponse::kStateFieldNumber; +const int TaskGetResponse::kOutputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskGetResponse::TaskGetResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskGetResponse) +} +TaskGetResponse::TaskGetResponse(const TaskGetResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_outputs()) { + outputs_ = new ::flyteidl::core::LiteralMap(*from.outputs_); + } else { + outputs_ = nullptr; + } + state_ = from.state_; + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskGetResponse) +} + +void TaskGetResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + ::memset(&outputs_, 0, static_cast( + reinterpret_cast(&state_) - + reinterpret_cast(&outputs_)) + sizeof(state_)); +} + +TaskGetResponse::~TaskGetResponse() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskGetResponse) + SharedDtor(); +} + +void TaskGetResponse::SharedDtor() { + if (this != internal_default_instance()) delete outputs_; +} + +void TaskGetResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskGetResponse& TaskGetResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskGetResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskGetResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; + state_ = 0; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskGetResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.service.State state = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_state(static_cast<::flyteidl::service::State>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // .flyteidl.core.LiteralMap outputs = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::LiteralMap::_InternalParse; + object = msg->mutable_outputs(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskGetResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskGetResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.service.State state = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_state(static_cast< ::flyteidl::service::State >(value)); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap outputs = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_outputs())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskGetResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskGetResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskGetResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.service.State state = 1; + if (this->state() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->state(), output); + } + + // .flyteidl.core.LiteralMap outputs = 2; + if (this->has_outputs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::outputs(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskGetResponse) +} + +::google::protobuf::uint8* TaskGetResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.service.State state = 1; + if (this->state() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->state(), target); + } + + // .flyteidl.core.LiteralMap outputs = 2; + if (this->has_outputs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::outputs(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskGetResponse) + return target; +} + +size_t TaskGetResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskGetResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.core.LiteralMap outputs = 2; + if (this->has_outputs()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *outputs_); + } + + // .flyteidl.service.State state = 1; + if (this->state() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->state()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskGetResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskGetResponse) + GOOGLE_DCHECK_NE(&from, this); + const TaskGetResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskGetResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskGetResponse) + MergeFrom(*source); + } +} + +void TaskGetResponse::MergeFrom(const TaskGetResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskGetResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_outputs()) { + mutable_outputs()->::flyteidl::core::LiteralMap::MergeFrom(from.outputs()); + } + if (from.state() != 0) { + set_state(from.state()); + } +} + +void TaskGetResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskGetResponse::CopyFrom(const TaskGetResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskGetResponse::IsInitialized() const { + return true; +} + +void TaskGetResponse::Swap(TaskGetResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskGetResponse::InternalSwap(TaskGetResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(outputs_, other->outputs_); + swap(state_, other->state_); +} + +::google::protobuf::Metadata TaskGetResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskDeleteRequest::InitAsDefaultInstance() { +} +class TaskDeleteRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskDeleteRequest::kTaskTypeFieldNumber; +const int TaskDeleteRequest::kJobIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskDeleteRequest::TaskDeleteRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskDeleteRequest) +} +TaskDeleteRequest::TaskDeleteRequest(const TaskDeleteRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.task_type().size() > 0) { + task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); + } + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.job_id().size() > 0) { + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskDeleteRequest) +} + +void TaskDeleteRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + task_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +TaskDeleteRequest::~TaskDeleteRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskDeleteRequest) + SharedDtor(); +} + +void TaskDeleteRequest::SharedDtor() { + task_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void TaskDeleteRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskDeleteRequest& TaskDeleteRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskDeleteRequest_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskDeleteRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string task_type = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskDeleteRequest.task_type"); + object = msg->mutable_task_type(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string job_id = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.service.TaskDeleteRequest.job_id"); + object = msg->mutable_job_id(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskDeleteRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskDeleteRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string task_type = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_task_type())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskDeleteRequest.task_type")); + } else { + goto handle_unusual; + } + break; + } + + // string job_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_job_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.service.TaskDeleteRequest.job_id")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskDeleteRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskDeleteRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskDeleteRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskDeleteRequest.task_type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->task_type(), output); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskDeleteRequest.job_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->job_id(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskDeleteRequest) +} + +::google::protobuf::uint8* TaskDeleteRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->task_type().data(), static_cast(this->task_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskDeleteRequest.task_type"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->task_type(), target); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->job_id().data(), static_cast(this->job_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.service.TaskDeleteRequest.job_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->job_id(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskDeleteRequest) + return target; +} + +size_t TaskDeleteRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskDeleteRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string task_type = 1; + if (this->task_type().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->task_type()); + } + + // string job_id = 2; + if (this->job_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->job_id()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskDeleteRequest) + GOOGLE_DCHECK_NE(&from, this); + const TaskDeleteRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskDeleteRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskDeleteRequest) + MergeFrom(*source); + } +} + +void TaskDeleteRequest::MergeFrom(const TaskDeleteRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskDeleteRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.task_type().size() > 0) { + + task_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.task_type_); + } + if (from.job_id().size() > 0) { + + job_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.job_id_); + } +} + +void TaskDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskDeleteRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskDeleteRequest::CopyFrom(const TaskDeleteRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskDeleteRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskDeleteRequest::IsInitialized() const { + return true; +} + +void TaskDeleteRequest::Swap(TaskDeleteRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskDeleteRequest::InternalSwap(TaskDeleteRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + task_type_.Swap(&other->task_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + job_id_.Swap(&other->job_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata TaskDeleteRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskDeleteResponse::InitAsDefaultInstance() { +} +class TaskDeleteResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskDeleteResponse::TaskDeleteResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.TaskDeleteResponse) +} +TaskDeleteResponse::TaskDeleteResponse(const TaskDeleteResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.service.TaskDeleteResponse) +} + +void TaskDeleteResponse::SharedCtor() { +} + +TaskDeleteResponse::~TaskDeleteResponse() { + // @@protoc_insertion_point(destructor:flyteidl.service.TaskDeleteResponse) + SharedDtor(); +} + +void TaskDeleteResponse::SharedDtor() { +} + +void TaskDeleteResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskDeleteResponse& TaskDeleteResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskDeleteResponse_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto.base); + return *internal_default_instance(); +} + + +void TaskDeleteResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.TaskDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskDeleteResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool TaskDeleteResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.service.TaskDeleteResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.service.TaskDeleteResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.TaskDeleteResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskDeleteResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.TaskDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.TaskDeleteResponse) +} + +::google::protobuf::uint8* TaskDeleteResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.TaskDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.service.TaskDeleteResponse) + return target; +} + +size_t TaskDeleteResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.TaskDeleteResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.TaskDeleteResponse) + GOOGLE_DCHECK_NE(&from, this); + const TaskDeleteResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.TaskDeleteResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.TaskDeleteResponse) + MergeFrom(*source); + } +} + +void TaskDeleteResponse::MergeFrom(const TaskDeleteResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.TaskDeleteResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void TaskDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.TaskDeleteResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskDeleteResponse::CopyFrom(const TaskDeleteResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.TaskDeleteResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskDeleteResponse::IsInitialized() const { + return true; +} + +void TaskDeleteResponse::Swap(TaskDeleteResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskDeleteResponse::InternalSwap(TaskDeleteResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata TaskDeleteResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace service +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskCreateRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskCreateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskCreateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskCreateResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskCreateResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskCreateResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskGetRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskGetRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskGetRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskGetResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskGetResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskGetResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::service::TaskDeleteRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskDeleteRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::TaskDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::service::TaskDeleteResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::TaskDeleteResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h b/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h new file mode 100644 index 000000000..82d5616c5 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.h @@ -0,0 +1,1403 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/external_plugin_service.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include "flyteidl/core/literals.pb.h" +#include "flyteidl/core/tasks.pb.h" +#include "flyteidl/core/interface.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[6] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto(); +namespace flyteidl { +namespace service { +class TaskCreateRequest; +class TaskCreateRequestDefaultTypeInternal; +extern TaskCreateRequestDefaultTypeInternal _TaskCreateRequest_default_instance_; +class TaskCreateResponse; +class TaskCreateResponseDefaultTypeInternal; +extern TaskCreateResponseDefaultTypeInternal _TaskCreateResponse_default_instance_; +class TaskDeleteRequest; +class TaskDeleteRequestDefaultTypeInternal; +extern TaskDeleteRequestDefaultTypeInternal _TaskDeleteRequest_default_instance_; +class TaskDeleteResponse; +class TaskDeleteResponseDefaultTypeInternal; +extern TaskDeleteResponseDefaultTypeInternal _TaskDeleteResponse_default_instance_; +class TaskGetRequest; +class TaskGetRequestDefaultTypeInternal; +extern TaskGetRequestDefaultTypeInternal _TaskGetRequest_default_instance_; +class TaskGetResponse; +class TaskGetResponseDefaultTypeInternal; +extern TaskGetResponseDefaultTypeInternal _TaskGetResponse_default_instance_; +} // namespace service +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::service::TaskCreateRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskCreateRequest>(Arena*); +template<> ::flyteidl::service::TaskCreateResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskCreateResponse>(Arena*); +template<> ::flyteidl::service::TaskDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskDeleteRequest>(Arena*); +template<> ::flyteidl::service::TaskDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskDeleteResponse>(Arena*); +template<> ::flyteidl::service::TaskGetRequest* Arena::CreateMaybeMessage<::flyteidl::service::TaskGetRequest>(Arena*); +template<> ::flyteidl::service::TaskGetResponse* Arena::CreateMaybeMessage<::flyteidl::service::TaskGetResponse>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace service { + +enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4, + State_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + State_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool State_IsValid(int value); +const State State_MIN = RETRYABLE_FAILURE; +const State State_MAX = SUCCEEDED; +const int State_ARRAYSIZE = State_MAX + 1; + +const ::google::protobuf::EnumDescriptor* State_descriptor(); +inline const ::std::string& State_Name(State value) { + return ::google::protobuf::internal::NameOfEnum( + State_descriptor(), value); +} +inline bool State_Parse( + const ::std::string& name, State* value) { + return ::google::protobuf::internal::ParseNamedEnum( + State_descriptor(), name, value); +} +// =================================================================== + +class TaskCreateRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskCreateRequest) */ { + public: + TaskCreateRequest(); + virtual ~TaskCreateRequest(); + + TaskCreateRequest(const TaskCreateRequest& from); + + inline TaskCreateRequest& operator=(const TaskCreateRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskCreateRequest(TaskCreateRequest&& from) noexcept + : TaskCreateRequest() { + *this = ::std::move(from); + } + + inline TaskCreateRequest& operator=(TaskCreateRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskCreateRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskCreateRequest* internal_default_instance() { + return reinterpret_cast( + &_TaskCreateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(TaskCreateRequest* other); + friend void swap(TaskCreateRequest& a, TaskCreateRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskCreateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskCreateRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskCreateRequest& from); + void MergeFrom(const TaskCreateRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskCreateRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string output_prefix = 3; + void clear_output_prefix(); + static const int kOutputPrefixFieldNumber = 3; + const ::std::string& output_prefix() const; + void set_output_prefix(const ::std::string& value); + #if LANG_CXX11 + void set_output_prefix(::std::string&& value); + #endif + void set_output_prefix(const char* value); + void set_output_prefix(const char* value, size_t size); + ::std::string* mutable_output_prefix(); + ::std::string* release_output_prefix(); + void set_allocated_output_prefix(::std::string* output_prefix); + + // .flyteidl.core.LiteralMap inputs = 1; + bool has_inputs() const; + void clear_inputs(); + static const int kInputsFieldNumber = 1; + const ::flyteidl::core::LiteralMap& inputs() const; + ::flyteidl::core::LiteralMap* release_inputs(); + ::flyteidl::core::LiteralMap* mutable_inputs(); + void set_allocated_inputs(::flyteidl::core::LiteralMap* inputs); + + // .flyteidl.core.TaskTemplate template = 2; + bool has_template_() const; + void clear_template_(); + static const int kTemplateFieldNumber = 2; + const ::flyteidl::core::TaskTemplate& template_() const; + ::flyteidl::core::TaskTemplate* release_template_(); + ::flyteidl::core::TaskTemplate* mutable_template_(); + void set_allocated_template_(::flyteidl::core::TaskTemplate* template_); + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr output_prefix_; + ::flyteidl::core::LiteralMap* inputs_; + ::flyteidl::core::TaskTemplate* template__; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskCreateResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskCreateResponse) */ { + public: + TaskCreateResponse(); + virtual ~TaskCreateResponse(); + + TaskCreateResponse(const TaskCreateResponse& from); + + inline TaskCreateResponse& operator=(const TaskCreateResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskCreateResponse(TaskCreateResponse&& from) noexcept + : TaskCreateResponse() { + *this = ::std::move(from); + } + + inline TaskCreateResponse& operator=(TaskCreateResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskCreateResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskCreateResponse* internal_default_instance() { + return reinterpret_cast( + &_TaskCreateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(TaskCreateResponse* other); + friend void swap(TaskCreateResponse& a, TaskCreateResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskCreateResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskCreateResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskCreateResponse& from); + void MergeFrom(const TaskCreateResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskCreateResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string job_id = 1; + void clear_job_id(); + static const int kJobIdFieldNumber = 1; + const ::std::string& job_id() const; + void set_job_id(const ::std::string& value); + #if LANG_CXX11 + void set_job_id(::std::string&& value); + #endif + void set_job_id(const char* value); + void set_job_id(const char* value, size_t size); + ::std::string* mutable_job_id(); + ::std::string* release_job_id(); + void set_allocated_job_id(::std::string* job_id); + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr job_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskGetRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskGetRequest) */ { + public: + TaskGetRequest(); + virtual ~TaskGetRequest(); + + TaskGetRequest(const TaskGetRequest& from); + + inline TaskGetRequest& operator=(const TaskGetRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskGetRequest(TaskGetRequest&& from) noexcept + : TaskGetRequest() { + *this = ::std::move(from); + } + + inline TaskGetRequest& operator=(TaskGetRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskGetRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskGetRequest* internal_default_instance() { + return reinterpret_cast( + &_TaskGetRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(TaskGetRequest* other); + friend void swap(TaskGetRequest& a, TaskGetRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskGetRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskGetRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskGetRequest& from); + void MergeFrom(const TaskGetRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskGetRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string task_type = 1; + void clear_task_type(); + static const int kTaskTypeFieldNumber = 1; + const ::std::string& task_type() const; + void set_task_type(const ::std::string& value); + #if LANG_CXX11 + void set_task_type(::std::string&& value); + #endif + void set_task_type(const char* value); + void set_task_type(const char* value, size_t size); + ::std::string* mutable_task_type(); + ::std::string* release_task_type(); + void set_allocated_task_type(::std::string* task_type); + + // string job_id = 2; + void clear_job_id(); + static const int kJobIdFieldNumber = 2; + const ::std::string& job_id() const; + void set_job_id(const ::std::string& value); + #if LANG_CXX11 + void set_job_id(::std::string&& value); + #endif + void set_job_id(const char* value); + void set_job_id(const char* value, size_t size); + ::std::string* mutable_job_id(); + ::std::string* release_job_id(); + void set_allocated_job_id(::std::string* job_id); + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr task_type_; + ::google::protobuf::internal::ArenaStringPtr job_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskGetResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskGetResponse) */ { + public: + TaskGetResponse(); + virtual ~TaskGetResponse(); + + TaskGetResponse(const TaskGetResponse& from); + + inline TaskGetResponse& operator=(const TaskGetResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskGetResponse(TaskGetResponse&& from) noexcept + : TaskGetResponse() { + *this = ::std::move(from); + } + + inline TaskGetResponse& operator=(TaskGetResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskGetResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskGetResponse* internal_default_instance() { + return reinterpret_cast( + &_TaskGetResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(TaskGetResponse* other); + friend void swap(TaskGetResponse& a, TaskGetResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskGetResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskGetResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskGetResponse& from); + void MergeFrom(const TaskGetResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskGetResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.core.LiteralMap outputs = 2; + bool has_outputs() const; + void clear_outputs(); + static const int kOutputsFieldNumber = 2; + const ::flyteidl::core::LiteralMap& outputs() const; + ::flyteidl::core::LiteralMap* release_outputs(); + ::flyteidl::core::LiteralMap* mutable_outputs(); + void set_allocated_outputs(::flyteidl::core::LiteralMap* outputs); + + // .flyteidl.service.State state = 1; + void clear_state(); + static const int kStateFieldNumber = 1; + ::flyteidl::service::State state() const; + void set_state(::flyteidl::service::State value); + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::LiteralMap* outputs_; + int state_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskDeleteRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskDeleteRequest) */ { + public: + TaskDeleteRequest(); + virtual ~TaskDeleteRequest(); + + TaskDeleteRequest(const TaskDeleteRequest& from); + + inline TaskDeleteRequest& operator=(const TaskDeleteRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskDeleteRequest(TaskDeleteRequest&& from) noexcept + : TaskDeleteRequest() { + *this = ::std::move(from); + } + + inline TaskDeleteRequest& operator=(TaskDeleteRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskDeleteRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskDeleteRequest* internal_default_instance() { + return reinterpret_cast( + &_TaskDeleteRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(TaskDeleteRequest* other); + friend void swap(TaskDeleteRequest& a, TaskDeleteRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskDeleteRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskDeleteRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskDeleteRequest& from); + void MergeFrom(const TaskDeleteRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskDeleteRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string task_type = 1; + void clear_task_type(); + static const int kTaskTypeFieldNumber = 1; + const ::std::string& task_type() const; + void set_task_type(const ::std::string& value); + #if LANG_CXX11 + void set_task_type(::std::string&& value); + #endif + void set_task_type(const char* value); + void set_task_type(const char* value, size_t size); + ::std::string* mutable_task_type(); + ::std::string* release_task_type(); + void set_allocated_task_type(::std::string* task_type); + + // string job_id = 2; + void clear_job_id(); + static const int kJobIdFieldNumber = 2; + const ::std::string& job_id() const; + void set_job_id(const ::std::string& value); + #if LANG_CXX11 + void set_job_id(::std::string&& value); + #endif + void set_job_id(const char* value); + void set_job_id(const char* value, size_t size); + ::std::string* mutable_job_id(); + ::std::string* release_job_id(); + void set_allocated_job_id(::std::string* job_id); + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr task_type_; + ::google::protobuf::internal::ArenaStringPtr job_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskDeleteResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.TaskDeleteResponse) */ { + public: + TaskDeleteResponse(); + virtual ~TaskDeleteResponse(); + + TaskDeleteResponse(const TaskDeleteResponse& from); + + inline TaskDeleteResponse& operator=(const TaskDeleteResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskDeleteResponse(TaskDeleteResponse&& from) noexcept + : TaskDeleteResponse() { + *this = ::std::move(from); + } + + inline TaskDeleteResponse& operator=(TaskDeleteResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const TaskDeleteResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskDeleteResponse* internal_default_instance() { + return reinterpret_cast( + &_TaskDeleteResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(TaskDeleteResponse* other); + friend void swap(TaskDeleteResponse& a, TaskDeleteResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskDeleteResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskDeleteResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const TaskDeleteResponse& from); + void MergeFrom(const TaskDeleteResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(TaskDeleteResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// TaskCreateRequest + +// .flyteidl.core.LiteralMap inputs = 1; +inline bool TaskCreateRequest::has_inputs() const { + return this != internal_default_instance() && inputs_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& TaskCreateRequest::inputs() const { + const ::flyteidl::core::LiteralMap* p = inputs_; + // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.inputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* TaskCreateRequest::release_inputs() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.inputs) + + ::flyteidl::core::LiteralMap* temp = inputs_; + inputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* TaskCreateRequest::mutable_inputs() { + + if (inputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + inputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.inputs) + return inputs_; +} +inline void TaskCreateRequest::set_allocated_inputs(::flyteidl::core::LiteralMap* inputs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(inputs_); + } + if (inputs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + inputs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, inputs, submessage_arena); + } + + } else { + + } + inputs_ = inputs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.inputs) +} + +// .flyteidl.core.TaskTemplate template = 2; +inline bool TaskCreateRequest::has_template_() const { + return this != internal_default_instance() && template__ != nullptr; +} +inline const ::flyteidl::core::TaskTemplate& TaskCreateRequest::template_() const { + const ::flyteidl::core::TaskTemplate* p = template__; + // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.template) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_TaskTemplate_default_instance_); +} +inline ::flyteidl::core::TaskTemplate* TaskCreateRequest::release_template_() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.template) + + ::flyteidl::core::TaskTemplate* temp = template__; + template__ = nullptr; + return temp; +} +inline ::flyteidl::core::TaskTemplate* TaskCreateRequest::mutable_template_() { + + if (template__ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::TaskTemplate>(GetArenaNoVirtual()); + template__ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.template) + return template__; +} +inline void TaskCreateRequest::set_allocated_template_(::flyteidl::core::TaskTemplate* template_) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(template__); + } + if (template_) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + template_ = ::google::protobuf::internal::GetOwnedMessage( + message_arena, template_, submessage_arena); + } + + } else { + + } + template__ = template_; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.template) +} + +// string output_prefix = 3; +inline void TaskCreateRequest::clear_output_prefix() { + output_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskCreateRequest::output_prefix() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateRequest.output_prefix) + return output_prefix_.GetNoArena(); +} +inline void TaskCreateRequest::set_output_prefix(const ::std::string& value) { + + output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskCreateRequest.output_prefix) +} +#if LANG_CXX11 +inline void TaskCreateRequest::set_output_prefix(::std::string&& value) { + + output_prefix_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskCreateRequest.output_prefix) +} +#endif +inline void TaskCreateRequest::set_output_prefix(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskCreateRequest.output_prefix) +} +inline void TaskCreateRequest::set_output_prefix(const char* value, size_t size) { + + output_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskCreateRequest.output_prefix) +} +inline ::std::string* TaskCreateRequest::mutable_output_prefix() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateRequest.output_prefix) + return output_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskCreateRequest::release_output_prefix() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateRequest.output_prefix) + + return output_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskCreateRequest::set_allocated_output_prefix(::std::string* output_prefix) { + if (output_prefix != nullptr) { + + } else { + + } + output_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_prefix); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateRequest.output_prefix) +} + +// ------------------------------------------------------------------- + +// TaskCreateResponse + +// string job_id = 1; +inline void TaskCreateResponse::clear_job_id() { + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskCreateResponse::job_id() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskCreateResponse.job_id) + return job_id_.GetNoArena(); +} +inline void TaskCreateResponse::set_job_id(const ::std::string& value) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskCreateResponse.job_id) +} +#if LANG_CXX11 +inline void TaskCreateResponse::set_job_id(::std::string&& value) { + + job_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskCreateResponse.job_id) +} +#endif +inline void TaskCreateResponse::set_job_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskCreateResponse.job_id) +} +inline void TaskCreateResponse::set_job_id(const char* value, size_t size) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskCreateResponse.job_id) +} +inline ::std::string* TaskCreateResponse::mutable_job_id() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskCreateResponse.job_id) + return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskCreateResponse::release_job_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskCreateResponse.job_id) + + return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskCreateResponse::set_allocated_job_id(::std::string* job_id) { + if (job_id != nullptr) { + + } else { + + } + job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskCreateResponse.job_id) +} + +// ------------------------------------------------------------------- + +// TaskGetRequest + +// string task_type = 1; +inline void TaskGetRequest::clear_task_type() { + task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskGetRequest::task_type() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetRequest.task_type) + return task_type_.GetNoArena(); +} +inline void TaskGetRequest::set_task_type(const ::std::string& value) { + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetRequest.task_type) +} +#if LANG_CXX11 +inline void TaskGetRequest::set_task_type(::std::string&& value) { + + task_type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskGetRequest.task_type) +} +#endif +inline void TaskGetRequest::set_task_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskGetRequest.task_type) +} +inline void TaskGetRequest::set_task_type(const char* value, size_t size) { + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskGetRequest.task_type) +} +inline ::std::string* TaskGetRequest::mutable_task_type() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetRequest.task_type) + return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskGetRequest::release_task_type() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetRequest.task_type) + + return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskGetRequest::set_allocated_task_type(::std::string* task_type) { + if (task_type != nullptr) { + + } else { + + } + task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetRequest.task_type) +} + +// string job_id = 2; +inline void TaskGetRequest::clear_job_id() { + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskGetRequest::job_id() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetRequest.job_id) + return job_id_.GetNoArena(); +} +inline void TaskGetRequest::set_job_id(const ::std::string& value) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetRequest.job_id) +} +#if LANG_CXX11 +inline void TaskGetRequest::set_job_id(::std::string&& value) { + + job_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskGetRequest.job_id) +} +#endif +inline void TaskGetRequest::set_job_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskGetRequest.job_id) +} +inline void TaskGetRequest::set_job_id(const char* value, size_t size) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskGetRequest.job_id) +} +inline ::std::string* TaskGetRequest::mutable_job_id() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetRequest.job_id) + return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskGetRequest::release_job_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetRequest.job_id) + + return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskGetRequest::set_allocated_job_id(::std::string* job_id) { + if (job_id != nullptr) { + + } else { + + } + job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetRequest.job_id) +} + +// ------------------------------------------------------------------- + +// TaskGetResponse + +// .flyteidl.service.State state = 1; +inline void TaskGetResponse::clear_state() { + state_ = 0; +} +inline ::flyteidl::service::State TaskGetResponse::state() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetResponse.state) + return static_cast< ::flyteidl::service::State >(state_); +} +inline void TaskGetResponse::set_state(::flyteidl::service::State value) { + + state_ = value; + // @@protoc_insertion_point(field_set:flyteidl.service.TaskGetResponse.state) +} + +// .flyteidl.core.LiteralMap outputs = 2; +inline bool TaskGetResponse::has_outputs() const { + return this != internal_default_instance() && outputs_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& TaskGetResponse::outputs() const { + const ::flyteidl::core::LiteralMap* p = outputs_; + // @@protoc_insertion_point(field_get:flyteidl.service.TaskGetResponse.outputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* TaskGetResponse::release_outputs() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskGetResponse.outputs) + + ::flyteidl::core::LiteralMap* temp = outputs_; + outputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* TaskGetResponse::mutable_outputs() { + + if (outputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + outputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskGetResponse.outputs) + return outputs_; +} +inline void TaskGetResponse::set_allocated_outputs(::flyteidl::core::LiteralMap* outputs) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(outputs_); + } + if (outputs) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + outputs = ::google::protobuf::internal::GetOwnedMessage( + message_arena, outputs, submessage_arena); + } + + } else { + + } + outputs_ = outputs; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskGetResponse.outputs) +} + +// ------------------------------------------------------------------- + +// TaskDeleteRequest + +// string task_type = 1; +inline void TaskDeleteRequest::clear_task_type() { + task_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskDeleteRequest::task_type() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskDeleteRequest.task_type) + return task_type_.GetNoArena(); +} +inline void TaskDeleteRequest::set_task_type(const ::std::string& value) { + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskDeleteRequest.task_type) +} +#if LANG_CXX11 +inline void TaskDeleteRequest::set_task_type(::std::string&& value) { + + task_type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskDeleteRequest.task_type) +} +#endif +inline void TaskDeleteRequest::set_task_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskDeleteRequest.task_type) +} +inline void TaskDeleteRequest::set_task_type(const char* value, size_t size) { + + task_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskDeleteRequest.task_type) +} +inline ::std::string* TaskDeleteRequest::mutable_task_type() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskDeleteRequest.task_type) + return task_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskDeleteRequest::release_task_type() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskDeleteRequest.task_type) + + return task_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskDeleteRequest::set_allocated_task_type(::std::string* task_type) { + if (task_type != nullptr) { + + } else { + + } + task_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), task_type); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskDeleteRequest.task_type) +} + +// string job_id = 2; +inline void TaskDeleteRequest::clear_job_id() { + job_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskDeleteRequest::job_id() const { + // @@protoc_insertion_point(field_get:flyteidl.service.TaskDeleteRequest.job_id) + return job_id_.GetNoArena(); +} +inline void TaskDeleteRequest::set_job_id(const ::std::string& value) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.service.TaskDeleteRequest.job_id) +} +#if LANG_CXX11 +inline void TaskDeleteRequest::set_job_id(::std::string&& value) { + + job_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.service.TaskDeleteRequest.job_id) +} +#endif +inline void TaskDeleteRequest::set_job_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.service.TaskDeleteRequest.job_id) +} +inline void TaskDeleteRequest::set_job_id(const char* value, size_t size) { + + job_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.service.TaskDeleteRequest.job_id) +} +inline ::std::string* TaskDeleteRequest::mutable_job_id() { + + // @@protoc_insertion_point(field_mutable:flyteidl.service.TaskDeleteRequest.job_id) + return job_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskDeleteRequest::release_job_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.TaskDeleteRequest.job_id) + + return job_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskDeleteRequest::set_allocated_job_id(::std::string* job_id) { + if (job_id != nullptr) { + + } else { + + } + job_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), job_id); + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.TaskDeleteRequest.job_id) +} + +// ------------------------------------------------------------------- + +// TaskDeleteResponse + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace service +} // namespace flyteidl + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::flyteidl::service::State> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::service::State>() { + return ::flyteidl::service::State_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fservice_2fexternal_5fplugin_5fservice_2eproto diff --git a/gen/pb-go/flyteidl/admin/common.pb.go b/gen/pb-go/flyteidl/admin/common.pb.go index 40c5d2d93..93519b513 100644 --- a/gen/pb-go/flyteidl/admin/common.pb.go +++ b/gen/pb-go/flyteidl/admin/common.pb.go @@ -7,6 +7,7 @@ import ( fmt "fmt" core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" + _ "github.com/golang/protobuf/ptypes/timestamp" math "math" ) @@ -1253,6 +1254,49 @@ func (m *Annotations) GetValues() map[string]string { return nil } +// Environment variable values to be applied to an execution resource. +// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +// to specify how to merge environment variables defined at registration and execution time. +type Envs struct { + // Map of custom environment variables to be applied to the execution resource. + Values []*core.KeyValuePair `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Envs) Reset() { *m = Envs{} } +func (m *Envs) String() string { return proto.CompactTextString(m) } +func (*Envs) ProtoMessage() {} +func (*Envs) Descriptor() ([]byte, []int) { + return fileDescriptor_7c2cf612a185829c, []int{20} +} + +func (m *Envs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Envs.Unmarshal(m, b) +} +func (m *Envs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Envs.Marshal(b, m, deterministic) +} +func (m *Envs) XXX_Merge(src proto.Message) { + xxx_messageInfo_Envs.Merge(m, src) +} +func (m *Envs) XXX_Size() int { + return xxx_messageInfo_Envs.Size(m) +} +func (m *Envs) XXX_DiscardUnknown() { + xxx_messageInfo_Envs.DiscardUnknown(m) +} + +var xxx_messageInfo_Envs proto.InternalMessageInfo + +func (m *Envs) GetValues() []*core.KeyValuePair { + if m != nil { + return m.Values + } + return nil +} + // Defines permissions associated with executions created by this launch plan spec. // Use either of these roles when they have permissions required by your workflow execution. // Deprecated. @@ -1272,7 +1316,7 @@ func (m *AuthRole) Reset() { *m = AuthRole{} } func (m *AuthRole) String() string { return proto.CompactTextString(m) } func (*AuthRole) ProtoMessage() {} func (*AuthRole) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{20} + return fileDescriptor_7c2cf612a185829c, []int{21} } func (m *AuthRole) XXX_Unmarshal(b []byte) error { @@ -1322,7 +1366,7 @@ func (m *RawOutputDataConfig) Reset() { *m = RawOutputDataConfig{} } func (m *RawOutputDataConfig) String() string { return proto.CompactTextString(m) } func (*RawOutputDataConfig) ProtoMessage() {} func (*RawOutputDataConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7c2cf612a185829c, []int{21} + return fileDescriptor_7c2cf612a185829c, []int{22} } func (m *RawOutputDataConfig) XXX_Unmarshal(b []byte) error { @@ -1350,6 +1394,62 @@ func (m *RawOutputDataConfig) GetOutputLocationPrefix() string { return "" } +// These URLs are returned as part of node and task execution data requests. +type FlyteURLs struct { + Inputs string `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + Outputs string `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` + Deck string `protobuf:"bytes,3,opt,name=deck,proto3" json:"deck,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FlyteURLs) Reset() { *m = FlyteURLs{} } +func (m *FlyteURLs) String() string { return proto.CompactTextString(m) } +func (*FlyteURLs) ProtoMessage() {} +func (*FlyteURLs) Descriptor() ([]byte, []int) { + return fileDescriptor_7c2cf612a185829c, []int{23} +} + +func (m *FlyteURLs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlyteURLs.Unmarshal(m, b) +} +func (m *FlyteURLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlyteURLs.Marshal(b, m, deterministic) +} +func (m *FlyteURLs) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlyteURLs.Merge(m, src) +} +func (m *FlyteURLs) XXX_Size() int { + return xxx_messageInfo_FlyteURLs.Size(m) +} +func (m *FlyteURLs) XXX_DiscardUnknown() { + xxx_messageInfo_FlyteURLs.DiscardUnknown(m) +} + +var xxx_messageInfo_FlyteURLs proto.InternalMessageInfo + +func (m *FlyteURLs) GetInputs() string { + if m != nil { + return m.Inputs + } + return "" +} + +func (m *FlyteURLs) GetOutputs() string { + if m != nil { + return m.Outputs + } + return "" +} + +func (m *FlyteURLs) GetDeck() string { + if m != nil { + return m.Deck + } + return "" +} + func init() { proto.RegisterEnum("flyteidl.admin.NamedEntityState", NamedEntityState_name, NamedEntityState_value) proto.RegisterEnum("flyteidl.admin.Sort_Direction", Sort_Direction_name, Sort_Direction_value) @@ -1375,81 +1475,89 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.Labels.ValuesEntry") proto.RegisterType((*Annotations)(nil), "flyteidl.admin.Annotations") proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.Annotations.ValuesEntry") + proto.RegisterType((*Envs)(nil), "flyteidl.admin.Envs") proto.RegisterType((*AuthRole)(nil), "flyteidl.admin.AuthRole") proto.RegisterType((*RawOutputDataConfig)(nil), "flyteidl.admin.RawOutputDataConfig") + proto.RegisterType((*FlyteURLs)(nil), "flyteidl.admin.FlyteURLs") } func init() { proto.RegisterFile("flyteidl/admin/common.proto", fileDescriptor_7c2cf612a185829c) } var fileDescriptor_7c2cf612a185829c = []byte{ - // 1099 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdb, 0x73, 0xdb, 0xc4, - 0x17, 0x8e, 0x7c, 0x4b, 0x7d, 0xdc, 0xa6, 0xee, 0xe6, 0xf2, 0x73, 0x92, 0xf9, 0x75, 0x82, 0x18, - 0x2e, 0xed, 0x50, 0x7b, 0x26, 0x10, 0x4a, 0x33, 0x25, 0xc5, 0x89, 0x45, 0xe2, 0x21, 0x71, 0x33, - 0xb2, 0x1b, 0xa6, 0x0c, 0x8c, 0x58, 0x4b, 0x6b, 0x67, 0x89, 0xa4, 0x15, 0xab, 0x55, 0x5b, 0xf3, - 0xc2, 0xc0, 0x1b, 0x6f, 0x3c, 0xf0, 0x0f, 0xf1, 0xc4, 0xf0, 0xce, 0x1f, 0xc4, 0x68, 0x75, 0xb1, - 0xec, 0x38, 0x81, 0xa4, 0x9d, 0xe1, 0xcd, 0x67, 0xbf, 0xef, 0xec, 0x7e, 0xe7, 0xdb, 0xb3, 0xab, - 0x35, 0xac, 0x0f, 0xec, 0x91, 0x20, 0xd4, 0xb2, 0x1b, 0xd8, 0x72, 0xa8, 0xdb, 0x30, 0x99, 0xe3, - 0x30, 0xb7, 0xee, 0x71, 0x26, 0x18, 0x5a, 0x48, 0xc0, 0xba, 0x04, 0xd7, 0xfe, 0x9f, 0x92, 0x4d, - 0xc6, 0x49, 0x83, 0xbc, 0x22, 0x66, 0x20, 0x68, 0x42, 0x5f, 0xbb, 0x3b, 0x09, 0x53, 0x8b, 0xb8, - 0x82, 0x0e, 0x28, 0xe1, 0x11, 0xae, 0x7e, 0x03, 0xcb, 0x1d, 0xec, 0x10, 0x4b, 0x73, 0x05, 0x15, - 0xa3, 0x76, 0x0a, 0xa3, 0x1a, 0xcc, 0x7b, 0x9c, 0x7d, 0x47, 0x4c, 0x51, 0x53, 0x36, 0x94, 0xf7, - 0xcb, 0x7a, 0x12, 0xa2, 0x15, 0x28, 0x59, 0xcc, 0xc1, 0xd4, 0xad, 0xe5, 0x24, 0x10, 0x47, 0x08, - 0x41, 0xc1, 0xc5, 0x0e, 0xa9, 0xe5, 0xe5, 0xa8, 0xfc, 0xad, 0x32, 0x58, 0xcc, 0x4c, 0x7f, 0x44, - 0x04, 0xb6, 0xb0, 0xc0, 0x68, 0x03, 0x2a, 0x16, 0xf1, 0x4d, 0x4e, 0xbd, 0x50, 0x6a, 0xbc, 0x40, - 0x76, 0x08, 0x7d, 0x0c, 0x45, 0x5f, 0x60, 0x41, 0xe4, 0x1a, 0x0b, 0x9b, 0x1b, 0xf5, 0xc9, 0xb2, - 0xeb, 0x99, 0x59, 0xbb, 0x21, 0x4f, 0x8f, 0xe8, 0xea, 0x1f, 0x0a, 0x54, 0x32, 0x18, 0xfa, 0x0c, - 0x6e, 0x71, 0xe2, 0xb3, 0x80, 0x9b, 0xc4, 0x10, 0x23, 0x8f, 0xc8, 0xb5, 0x16, 0x36, 0xd7, 0xc7, - 0xf3, 0x85, 0xbe, 0xd4, 0xf5, 0x98, 0xd3, 0x1b, 0x79, 0x44, 0xbf, 0xc9, 0x33, 0x11, 0xda, 0x82, - 0x1c, 0xb5, 0xa4, 0x8c, 0xca, 0xe6, 0x3b, 0x97, 0xc8, 0x18, 0x7b, 0xa7, 0xe7, 0xa8, 0x85, 0x9e, - 0xc0, 0x0d, 0x27, 0x2e, 0x57, 0x3a, 0x52, 0xd9, 0x7c, 0xfb, 0x92, 0xe4, 0xc4, 0x19, 0x3d, 0x4d, - 0x52, 0x7f, 0x56, 0xa0, 0xd0, 0x65, 0x5c, 0xa0, 0x2a, 0xe4, 0xcf, 0xc8, 0x28, 0x36, 0x29, 0xfc, - 0x89, 0x1e, 0x43, 0xd9, 0xa2, 0x9c, 0x98, 0xd2, 0xbc, 0xc8, 0xa0, 0xbb, 0xd3, 0x93, 0x87, 0xa9, - 0xf5, 0x56, 0xc2, 0xd2, 0xc7, 0x09, 0xea, 0x7d, 0x28, 0xa7, 0xe3, 0x68, 0x01, 0xa0, 0xa5, 0x75, - 0xf7, 0xb4, 0x4e, 0xab, 0xdd, 0xd9, 0xaf, 0xce, 0xa1, 0x5b, 0x50, 0x6e, 0xa6, 0xa1, 0xa2, 0xfe, - 0xa9, 0xc0, 0xc6, 0xcc, 0x1a, 0x0f, 0xa9, 0x2f, 0x74, 0xf2, 0x7d, 0x40, 0x7c, 0x71, 0x8d, 0x56, - 0x59, 0x82, 0xa2, 0x4d, 0x1d, 0x2a, 0xa4, 0x33, 0xb7, 0xf4, 0x28, 0x08, 0x47, 0x05, 0x3b, 0x23, - 0x6e, 0xad, 0x20, 0xc9, 0x51, 0x80, 0x1e, 0xc0, 0xbc, 0xcf, 0xb8, 0x30, 0xfa, 0xa3, 0x5a, 0x51, - 0xfa, 0xb8, 0x34, 0xab, 0x54, 0xbd, 0x14, 0x92, 0x76, 0x47, 0xa1, 0x98, 0x01, 0xb5, 0x05, 0xe1, - 0x7e, 0xad, 0x14, 0x89, 0x89, 0x43, 0xf5, 0xa7, 0x1c, 0xac, 0x64, 0x6a, 0xc9, 0x56, 0xf0, 0xfa, - 0x5d, 0x92, 0xf1, 0x20, 0x77, 0x91, 0x07, 0xf9, 0xd9, 0x1e, 0x14, 0x66, 0x7a, 0x50, 0xbc, 0xc0, - 0x83, 0xd2, 0xd5, 0x3c, 0x98, 0x9f, 0xf4, 0x40, 0xc0, 0xea, 0x85, 0xdb, 0x89, 0x9a, 0x70, 0x23, - 0x8c, 0x05, 0x25, 0x7e, 0x4d, 0xd9, 0xc8, 0xff, 0xfb, 0x7e, 0x4f, 0xd3, 0xc6, 0xf2, 0x73, 0x19, - 0xf9, 0xea, 0xb7, 0x70, 0x7b, 0xca, 0x78, 0xf4, 0xf0, 0xdc, 0x5a, 0xeb, 0x97, 0xac, 0xf5, 0x8f, - 0x2b, 0xfc, 0xaa, 0x4c, 0xdc, 0x63, 0xfb, 0xe4, 0x0d, 0x6e, 0xed, 0xf5, 0x2e, 0x00, 0xf5, 0x2f, - 0x05, 0x6a, 0x19, 0xf4, 0x99, 0x67, 0x85, 0xd7, 0xd4, 0x7f, 0xac, 0xea, 0xf5, 0xaf, 0xa5, 0xf5, - 0x89, 0x0e, 0x4a, 0xaa, 0xf2, 0x3d, 0xe6, 0xfa, 0x44, 0xfd, 0x14, 0xaa, 0x4f, 0xfb, 0x61, 0xd7, - 0x67, 0x36, 0xe0, 0x9e, 0x14, 0xaa, 0xc8, 0xb5, 0x56, 0xa7, 0xea, 0x9b, 0xb2, 0xec, 0x77, 0x05, - 0x16, 0x93, 0x92, 0xb3, 0xc7, 0x73, 0x2b, 0x33, 0xc5, 0x15, 0x6a, 0x4d, 0x4f, 0x58, 0x6e, 0xe6, - 0x09, 0xcb, 0x67, 0x4f, 0x58, 0xe6, 0xc8, 0x14, 0x26, 0x8e, 0xcc, 0x15, 0xef, 0x1f, 0x75, 0x07, - 0xee, 0x68, 0x0e, 0xa6, 0x76, 0x87, 0x85, 0x4a, 0x4c, 0x2c, 0x6f, 0xd9, 0x7b, 0x50, 0xe5, 0xc4, - 0xa4, 0x1e, 0x25, 0xae, 0xf0, 0x0d, 0x12, 0xe2, 0xb2, 0xeb, 0xcb, 0xfa, 0xed, 0xf1, 0xb8, 0x4c, - 0x53, 0x77, 0x61, 0xf9, 0x18, 0x0f, 0x09, 0x6f, 0x05, 0x62, 0x74, 0xdd, 0x39, 0x76, 0xe0, 0x4e, - 0xd7, 0xc6, 0xe6, 0xd9, 0x75, 0xf3, 0x7f, 0xcb, 0xc1, 0xcd, 0x89, 0xdc, 0x1d, 0x28, 0x79, 0xa7, - 0xd8, 0x8f, 0xcf, 0xea, 0xc2, 0xe6, 0xbb, 0x53, 0xfb, 0xf8, 0x25, 0xe3, 0x67, 0x03, 0x9b, 0xbd, - 0xd4, 0xd2, 0xd7, 0xc7, 0x71, 0x48, 0xd7, 0xe3, 0x2c, 0xf4, 0x08, 0x8a, 0xd1, 0x82, 0x51, 0xbf, - 0xbe, 0x35, 0xed, 0xe0, 0x39, 0xc7, 0x0e, 0xe6, 0xf4, 0x28, 0x03, 0x7d, 0x0e, 0xe0, 0x85, 0x7e, - 0x18, 0x56, 0x20, 0x46, 0x71, 0xcb, 0x9e, 0xeb, 0x81, 0x99, 0x8e, 0x1d, 0xcc, 0xe9, 0x65, 0x2f, - 0x01, 0x42, 0x09, 0x7e, 0xe8, 0x89, 0xdc, 0xde, 0x19, 0x12, 0xce, 0x19, 0x16, 0x4a, 0x90, 0x19, - 0xbb, 0x25, 0x28, 0x84, 0x67, 0x54, 0xdd, 0x82, 0xf9, 0x67, 0xdc, 0xde, 0xb5, 0x59, 0x3f, 0xfc, - 0x26, 0x07, 0xdc, 0x4e, 0xbe, 0xc9, 0x01, 0xb7, 0xc3, 0xb6, 0xea, 0x8f, 0x04, 0xf1, 0x65, 0x89, - 0x79, 0x3d, 0x0a, 0xb6, 0x73, 0x35, 0x45, 0xfd, 0x11, 0x4a, 0x87, 0xb8, 0x4f, 0x6c, 0x1f, 0x6d, - 0x43, 0xe9, 0x05, 0xb6, 0x83, 0xf4, 0xca, 0x53, 0xa7, 0x45, 0x44, 0xbc, 0xfa, 0x89, 0x24, 0x69, - 0xae, 0xe0, 0x23, 0x3d, 0xce, 0x58, 0x7b, 0x04, 0x95, 0xcc, 0xf0, 0x8c, 0x47, 0xc1, 0x12, 0x14, - 0x25, 0x35, 0xb9, 0x18, 0x65, 0xb0, 0x9d, 0xfb, 0x44, 0x51, 0x7f, 0x51, 0xa0, 0xd2, 0x74, 0x5d, - 0x26, 0x64, 0x5d, 0x3e, 0x7a, 0x32, 0x25, 0xe3, 0xbd, 0x69, 0x19, 0x19, 0xf2, 0x9b, 0xd6, 0xf2, - 0x03, 0xdc, 0x68, 0x06, 0xe2, 0x54, 0x67, 0x36, 0x41, 0x1f, 0x00, 0xc2, 0xbe, 0x1f, 0x38, 0xb8, - 0x6f, 0x13, 0x83, 0x62, 0xc7, 0xe0, 0xcc, 0x26, 0xf1, 0x34, 0xd5, 0x14, 0x69, 0x63, 0x47, 0xb2, - 0x1f, 0xc3, 0xda, 0x59, 0xd0, 0x27, 0xdc, 0x25, 0x82, 0xf8, 0x86, 0x4f, 0xf8, 0x0b, 0x6a, 0x12, - 0x03, 0x9b, 0x26, 0x0b, 0xdc, 0xe4, 0xa3, 0x5b, 0x1b, 0x33, 0xba, 0x11, 0xa1, 0x19, 0xe1, 0x72, - 0x23, 0xbe, 0x80, 0x45, 0x1d, 0xbf, 0x7c, 0x1a, 0x08, 0x2f, 0x10, 0x2d, 0x2c, 0xf0, 0x1e, 0x73, - 0x07, 0x74, 0x88, 0x3e, 0x82, 0x15, 0x26, 0xc7, 0x0c, 0x9b, 0x45, 0x5b, 0x6f, 0x78, 0x9c, 0x0c, - 0xe8, 0xab, 0x58, 0xca, 0x52, 0x84, 0x1e, 0xc6, 0xe0, 0xb1, 0xc4, 0xee, 0x7f, 0x0d, 0xd5, 0xe9, - 0x37, 0x28, 0xfa, 0x1f, 0x2c, 0x76, 0x9a, 0x47, 0x5a, 0xcb, 0xd0, 0x3a, 0xbd, 0x76, 0xef, 0xb9, - 0xd1, 0xdc, 0xeb, 0xb5, 0x4f, 0xb4, 0xea, 0x1c, 0x5a, 0x85, 0xe5, 0x49, 0x40, 0xdf, 0x3b, 0x68, - 0x9f, 0x68, 0xad, 0xaa, 0x82, 0x96, 0xa0, 0xda, 0x7d, 0xde, 0xed, 0x69, 0x47, 0xc6, 0xbe, 0xd6, - 0xd1, 0xf4, 0x66, 0x4f, 0x6b, 0x55, 0x73, 0xbb, 0x0f, 0xbf, 0xda, 0x1a, 0x52, 0x71, 0x1a, 0xf4, - 0xeb, 0x26, 0x73, 0x1a, 0x72, 0x7b, 0x18, 0x1f, 0x36, 0xd2, 0xc7, 0xfc, 0x90, 0xb8, 0x0d, 0xaf, - 0xff, 0x60, 0xc8, 0x1a, 0x93, 0xff, 0x15, 0xfa, 0x25, 0xf9, 0xac, 0xff, 0xf0, 0xef, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x93, 0xd6, 0x95, 0x4d, 0x44, 0x0c, 0x00, 0x00, + // 1190 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdf, 0x73, 0xdb, 0x44, + 0x10, 0x8e, 0x1c, 0xc7, 0xa9, 0x37, 0x6d, 0xea, 0x5e, 0xd2, 0xe2, 0x26, 0x50, 0x82, 0x18, 0x7e, + 0xb4, 0x43, 0xed, 0x99, 0x94, 0x50, 0x5a, 0x4a, 0x8b, 0x13, 0xab, 0x6d, 0xa6, 0xa9, 0x1b, 0xe4, + 0xb4, 0x4c, 0x19, 0x18, 0x71, 0x96, 0xce, 0xee, 0x11, 0x49, 0x27, 0xee, 0x4e, 0x6d, 0xc5, 0x0b, + 0x03, 0x6f, 0xbc, 0xf1, 0xc0, 0x3f, 0xc4, 0x13, 0xc3, 0x3b, 0x7f, 0x10, 0x73, 0x27, 0xc9, 0x91, + 0x15, 0xb7, 0x90, 0xb4, 0x33, 0xbc, 0x79, 0x6f, 0xbf, 0xbd, 0xfd, 0xf6, 0xbb, 0xbd, 0xf5, 0x09, + 0x56, 0x87, 0x7e, 0x22, 0x09, 0xf5, 0xfc, 0x36, 0xf6, 0x02, 0x1a, 0xb6, 0x5d, 0x16, 0x04, 0x2c, + 0x6c, 0x45, 0x9c, 0x49, 0x86, 0x16, 0x73, 0x67, 0x4b, 0x3b, 0x57, 0xde, 0x1a, 0x83, 0x5d, 0xc6, + 0x49, 0x9b, 0x3c, 0x27, 0x6e, 0x2c, 0x69, 0x0e, 0x5f, 0xb9, 0x30, 0xe9, 0xa6, 0x1e, 0x09, 0x25, + 0x1d, 0x52, 0xc2, 0x33, 0xff, 0x9b, 0x93, 0x7e, 0x9f, 0x4a, 0xc2, 0xb1, 0x2f, 0x32, 0xef, 0xdb, + 0x23, 0xc6, 0x46, 0x3e, 0x69, 0x6b, 0x6b, 0x10, 0x0f, 0xdb, 0x92, 0x06, 0x44, 0x48, 0x1c, 0x44, + 0x29, 0xc0, 0xfc, 0x16, 0xce, 0xf6, 0x70, 0x40, 0x3c, 0x2b, 0x94, 0x54, 0x26, 0xdb, 0xe3, 0xdd, + 0x51, 0x13, 0xe6, 0x23, 0xce, 0xbe, 0x27, 0xae, 0x6c, 0x1a, 0x6b, 0xc6, 0x87, 0x75, 0x3b, 0x37, + 0xd1, 0x39, 0xa8, 0x79, 0x2c, 0xc0, 0x34, 0x6c, 0x56, 0xb4, 0x23, 0xb3, 0x10, 0x82, 0x6a, 0x88, + 0x03, 0xd2, 0x9c, 0xd5, 0xab, 0xfa, 0xb7, 0xc9, 0x60, 0xa9, 0xb0, 0xfd, 0x7d, 0x22, 0xb1, 0x87, + 0x25, 0x46, 0x6b, 0xb0, 0xe0, 0x11, 0xe1, 0x72, 0x1a, 0xa9, 0x4a, 0xb3, 0x04, 0xc5, 0x25, 0xf4, + 0x09, 0xcc, 0x09, 0x89, 0x25, 0xd1, 0x39, 0x16, 0xd7, 0xd7, 0x5a, 0x93, 0xaa, 0xb5, 0x0a, 0xbb, + 0xf6, 0x15, 0xce, 0x4e, 0xe1, 0xe6, 0x9f, 0x06, 0x2c, 0x14, 0x7c, 0xe8, 0x0b, 0x38, 0xc5, 0x89, + 0x60, 0x31, 0x77, 0x89, 0x23, 0x93, 0x88, 0xe8, 0x5c, 0x8b, 0xeb, 0xab, 0x07, 0xfb, 0x29, 0xd9, + 0x5a, 0x76, 0x86, 0xd9, 0x4b, 0x22, 0x62, 0x9f, 0xe4, 0x05, 0x0b, 0x6d, 0x40, 0x85, 0x7a, 0x9a, + 0xc6, 0xc2, 0xfa, 0x7b, 0x2f, 0xa1, 0x71, 0xa0, 0x9d, 0x5d, 0xa1, 0x1e, 0xba, 0x05, 0x27, 0x82, + 0xac, 0x5c, 0xad, 0xc8, 0xc2, 0xfa, 0xbb, 0x2f, 0x09, 0xce, 0x95, 0xb1, 0xc7, 0x41, 0xe6, 0x2f, + 0x06, 0x54, 0xfb, 0x8c, 0x4b, 0xd4, 0x80, 0xd9, 0x7d, 0x92, 0x64, 0x22, 0xa9, 0x9f, 0xe8, 0x06, + 0xd4, 0x3d, 0xca, 0x89, 0xab, 0xc5, 0x4b, 0x05, 0xba, 0x50, 0xde, 0x5c, 0x85, 0xb6, 0xba, 0x39, + 0xca, 0x3e, 0x08, 0x30, 0x2f, 0x41, 0x7d, 0xbc, 0x8e, 0x16, 0x01, 0xba, 0x56, 0x7f, 0xcb, 0xea, + 0x75, 0xb7, 0x7b, 0x77, 0x1a, 0x33, 0xe8, 0x14, 0xd4, 0x3b, 0x63, 0xd3, 0x30, 0xff, 0x32, 0x60, + 0x6d, 0x6a, 0x8d, 0x3b, 0x54, 0x48, 0x9b, 0xfc, 0x10, 0x13, 0x21, 0x8f, 0xd1, 0x2a, 0xcb, 0x30, + 0xe7, 0xd3, 0x80, 0x4a, 0xad, 0xcc, 0x29, 0x3b, 0x35, 0xd4, 0xaa, 0x64, 0xfb, 0x24, 0x6c, 0x56, + 0x35, 0x38, 0x35, 0xd0, 0x65, 0x98, 0x17, 0x8c, 0x4b, 0x67, 0x90, 0x34, 0xe7, 0xb4, 0x8e, 0xcb, + 0xd3, 0x4a, 0xb5, 0x6b, 0x0a, 0xb4, 0x99, 0x28, 0x32, 0x43, 0xea, 0x4b, 0xc2, 0x45, 0xb3, 0x96, + 0x92, 0xc9, 0x4c, 0xf3, 0xe7, 0x0a, 0x9c, 0x2b, 0xd4, 0x52, 0xac, 0xe0, 0xd5, 0xbb, 0xa4, 0xa0, + 0x41, 0xe5, 0x45, 0x1a, 0xcc, 0x4e, 0xd7, 0xa0, 0x3a, 0x55, 0x83, 0xb9, 0x17, 0x68, 0x50, 0x3b, + 0x9a, 0x06, 0xf3, 0x93, 0x1a, 0x48, 0x38, 0xff, 0xc2, 0xe3, 0x44, 0x1d, 0x38, 0xa1, 0x6c, 0x49, + 0x89, 0x68, 0x1a, 0x6b, 0xb3, 0xff, 0xbd, 0xdf, 0xc7, 0x61, 0x07, 0xf4, 0x2b, 0x05, 0xfa, 0xe6, + 0x77, 0x70, 0xba, 0x24, 0x3c, 0xba, 0x7a, 0x28, 0xd7, 0xea, 0x4b, 0x72, 0xfd, 0x6b, 0x86, 0xdf, + 0x8c, 0x89, 0x39, 0x76, 0x87, 0xbc, 0xc6, 0xa3, 0x3d, 0xde, 0x00, 0x30, 0xff, 0x36, 0xa0, 0x59, + 0xf0, 0x3e, 0x8c, 0x3c, 0x35, 0xa6, 0xfe, 0x67, 0x56, 0xaf, 0x3e, 0x96, 0x56, 0x27, 0x3a, 0x28, + 0xaf, 0x4a, 0x44, 0x2c, 0x14, 0xc4, 0xfc, 0x1c, 0x1a, 0x0f, 0x06, 0xaa, 0xeb, 0x0b, 0x07, 0x70, + 0x51, 0x13, 0x35, 0x74, 0xae, 0xf3, 0xa5, 0xfa, 0x4a, 0x92, 0xfd, 0x61, 0xc0, 0x52, 0x5e, 0x72, + 0xf1, 0x7a, 0x6e, 0x14, 0xb6, 0x38, 0x42, 0xad, 0xe3, 0x1b, 0x56, 0x99, 0x7a, 0xc3, 0x66, 0x8b, + 0x37, 0xac, 0x70, 0x65, 0xaa, 0x13, 0x57, 0xe6, 0x88, 0xf3, 0xc7, 0xbc, 0x09, 0x67, 0xac, 0x00, + 0x53, 0xbf, 0xc7, 0x14, 0x13, 0x17, 0xeb, 0x29, 0x7b, 0x11, 0x1a, 0x9c, 0xb8, 0x34, 0xa2, 0x24, + 0x94, 0xc2, 0x21, 0xca, 0xaf, 0xbb, 0xbe, 0x6e, 0x9f, 0x3e, 0x58, 0xd7, 0x61, 0xe6, 0x26, 0x9c, + 0xdd, 0xc5, 0x23, 0xc2, 0xbb, 0xb1, 0x4c, 0x8e, 0xbb, 0xc7, 0x4d, 0x38, 0xd3, 0xf7, 0xb1, 0xbb, + 0x7f, 0xdc, 0xf8, 0xdf, 0x2b, 0x70, 0x72, 0x22, 0xf6, 0x26, 0xd4, 0xa2, 0x27, 0x58, 0x64, 0x77, + 0x75, 0x71, 0xfd, 0xfd, 0xd2, 0x39, 0x7e, 0xc5, 0xf8, 0xfe, 0xd0, 0x67, 0xcf, 0xac, 0xf1, 0xe3, + 0x65, 0x57, 0xc1, 0xed, 0x2c, 0x0a, 0x5d, 0x83, 0xb9, 0x34, 0x61, 0xda, 0xaf, 0xef, 0x94, 0x15, + 0x3c, 0xa4, 0xd8, 0xdd, 0x19, 0x3b, 0x8d, 0x40, 0xb7, 0x01, 0x22, 0xa5, 0x87, 0xe3, 0xc5, 0x32, + 0xc9, 0x5a, 0xf6, 0x50, 0x0f, 0x4c, 0x55, 0xec, 0xee, 0x8c, 0x5d, 0x8f, 0x72, 0x87, 0xa2, 0x20, + 0x94, 0x26, 0xfa, 0x78, 0xa7, 0x50, 0x38, 0x24, 0x98, 0xa2, 0xa0, 0x23, 0x36, 0x6b, 0x50, 0x55, + 0x77, 0xd4, 0xdc, 0x80, 0xf9, 0x87, 0xdc, 0xdf, 0xf4, 0xd9, 0x40, 0xfd, 0x27, 0xc7, 0xdc, 0xcf, + 0xff, 0x93, 0x63, 0xee, 0xab, 0xb6, 0x1a, 0x24, 0x92, 0x08, 0x5d, 0xe2, 0xac, 0x9d, 0x1a, 0xd7, + 0x2b, 0x4d, 0xc3, 0xfc, 0x09, 0x6a, 0x3b, 0x78, 0x40, 0x7c, 0x81, 0xae, 0x43, 0xed, 0x29, 0xf6, + 0xe3, 0xf1, 0xc8, 0x33, 0xcb, 0x24, 0x52, 0x5c, 0xeb, 0x91, 0x06, 0x59, 0xa1, 0xe4, 0x89, 0x9d, + 0x45, 0xac, 0x5c, 0x83, 0x85, 0xc2, 0xf2, 0x94, 0x47, 0xc1, 0x32, 0xcc, 0x69, 0x68, 0x3e, 0x18, + 0xb5, 0x71, 0xbd, 0xf2, 0xa9, 0x61, 0xfe, 0x6a, 0xc0, 0x42, 0x27, 0x0c, 0x99, 0xd4, 0x75, 0x09, + 0x74, 0xab, 0x44, 0xe3, 0x83, 0x32, 0x8d, 0x02, 0xf8, 0x75, 0x73, 0xf9, 0x0c, 0xaa, 0x56, 0xf8, + 0x54, 0xa0, 0x2b, 0x25, 0x0e, 0xe5, 0xc9, 0x77, 0x8f, 0x24, 0x3a, 0xc5, 0x2e, 0xa6, 0x3c, 0xcf, + 0x6b, 0xfe, 0x08, 0x27, 0x3a, 0xb1, 0x7c, 0x62, 0x33, 0x9f, 0xa0, 0x8f, 0x00, 0x61, 0x21, 0xe2, + 0x00, 0x0f, 0x7c, 0xe2, 0x50, 0x1c, 0x38, 0x9c, 0xf9, 0x24, 0xe3, 0xd0, 0x18, 0x7b, 0xb6, 0x71, + 0xa0, 0xd1, 0x37, 0x60, 0x65, 0x3f, 0x1e, 0x10, 0x1e, 0x12, 0x49, 0x84, 0x23, 0x08, 0x7f, 0x4a, + 0x5d, 0xe2, 0x60, 0xd7, 0x65, 0x71, 0x98, 0xff, 0x63, 0x37, 0x0f, 0x10, 0xfd, 0x14, 0xd0, 0x49, + 0xfd, 0xfa, 0x14, 0xef, 0xc1, 0x92, 0x8d, 0x9f, 0x3d, 0x88, 0x65, 0x14, 0xcb, 0x2e, 0x96, 0x78, + 0x8b, 0x85, 0x43, 0x3a, 0x42, 0x1f, 0xc3, 0x39, 0xa6, 0xd7, 0x1c, 0x9f, 0xa5, 0x7d, 0xe3, 0x44, + 0x9c, 0x0c, 0xe9, 0xf3, 0x8c, 0xca, 0x72, 0xea, 0xdd, 0xc9, 0x9c, 0xbb, 0xda, 0x67, 0x7e, 0x09, + 0xf5, 0xdb, 0xaa, 0xdc, 0x87, 0xf6, 0x8e, 0x50, 0x0f, 0x04, 0x1a, 0x46, 0xb1, 0x14, 0x59, 0x48, + 0x66, 0xa9, 0x91, 0x94, 0x06, 0x8b, 0xfc, 0x49, 0x91, 0x99, 0xea, 0xa5, 0xed, 0x11, 0x77, 0x3f, + 0x7f, 0x69, 0xab, 0xdf, 0x97, 0xbe, 0x81, 0x46, 0xf9, 0x4d, 0x8c, 0xde, 0x80, 0xa5, 0x5e, 0xe7, + 0xbe, 0xd5, 0x75, 0xac, 0xde, 0xde, 0xf6, 0xde, 0x63, 0xa7, 0xb3, 0xb5, 0xb7, 0xfd, 0xc8, 0x6a, + 0xcc, 0xa0, 0xf3, 0x70, 0x76, 0xd2, 0x61, 0x6f, 0xdd, 0xdd, 0x7e, 0x64, 0x75, 0x1b, 0x06, 0x5a, + 0x86, 0x46, 0xff, 0x71, 0x7f, 0xcf, 0xba, 0xef, 0xdc, 0xb1, 0x7a, 0x96, 0xdd, 0xd9, 0xb3, 0xba, + 0x8d, 0xca, 0xe6, 0xd5, 0xaf, 0x37, 0x46, 0x54, 0x3e, 0x89, 0x07, 0x2d, 0x97, 0x05, 0x6d, 0x7d, + 0x54, 0x8c, 0x8f, 0xda, 0xe3, 0x6f, 0x8f, 0x11, 0x09, 0xdb, 0xd1, 0xe0, 0xf2, 0x88, 0xb5, 0x27, + 0x3f, 0x7d, 0x06, 0x35, 0xfd, 0x99, 0x71, 0xe5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xc4, + 0xfe, 0xc2, 0x13, 0x0d, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/common.pb.validate.go b/gen/pb-go/flyteidl/admin/common.pb.validate.go index 2e1d38dfc..5cfa0fb97 100644 --- a/gen/pb-go/flyteidl/admin/common.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/common.pb.validate.go @@ -1598,6 +1598,85 @@ var _ interface { ErrorName() string } = AnnotationsValidationError{} +// Validate checks the field values on Envs with the rules defined in the proto +// definition for this message. If any rules are violated, an error is returned. +func (m *Envs) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetValues() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return EnvsValidationError{ + field: fmt.Sprintf("Values[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// EnvsValidationError is the validation error returned by Envs.Validate if the +// designated constraints aren't met. +type EnvsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e EnvsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e EnvsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e EnvsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e EnvsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e EnvsValidationError) ErrorName() string { return "EnvsValidationError" } + +// Error satisfies the builtin error interface +func (e EnvsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sEnvs.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = EnvsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = EnvsValidationError{} + // Validate checks the field values on AuthRole with the rules defined in the // proto definition for this message. If any rules are violated, an error is returned. func (m *AuthRole) Validate() error { @@ -1734,3 +1813,73 @@ var _ interface { Cause() error ErrorName() string } = RawOutputDataConfigValidationError{} + +// Validate checks the field values on FlyteURLs with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *FlyteURLs) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Inputs + + // no validation rules for Outputs + + // no validation rules for Deck + + return nil +} + +// FlyteURLsValidationError is the validation error returned by +// FlyteURLs.Validate if the designated constraints aren't met. +type FlyteURLsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FlyteURLsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FlyteURLsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FlyteURLsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FlyteURLsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FlyteURLsValidationError) ErrorName() string { return "FlyteURLsValidationError" } + +// Error satisfies the builtin error interface +func (e FlyteURLsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFlyteURLs.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FlyteURLsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FlyteURLsValidationError{} diff --git a/gen/pb-go/flyteidl/admin/execution.pb.go b/gen/pb-go/flyteidl/admin/execution.pb.go index 97f79a51e..5bfb4ab6c 100644 --- a/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/gen/pb-go/flyteidl/admin/execution.pb.go @@ -1073,7 +1073,9 @@ type ExecutionSpec struct { // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. - OverwriteCache bool `protobuf:"varint,22,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + OverwriteCache bool `protobuf:"varint,22,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *Envs `protobuf:"bytes,23,opt,name=envs,proto3" json:"envs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1234,6 +1236,13 @@ func (m *ExecutionSpec) GetOverwriteCache() bool { return false } +func (m *ExecutionSpec) GetEnvs() *Envs { + if m != nil { + return m.Envs + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*ExecutionSpec) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1579,6 +1588,98 @@ func (m *ExecutionUpdateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ExecutionUpdateResponse proto.InternalMessageInfo +// WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. +type WorkflowExecutionGetMetricsRequest struct { + // id defines the workflow execution to query for. + Id *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // depth defines the number of Flyte entity levels to traverse when breaking down execution details. + Depth int32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionGetMetricsRequest) Reset() { *m = WorkflowExecutionGetMetricsRequest{} } +func (m *WorkflowExecutionGetMetricsRequest) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionGetMetricsRequest) ProtoMessage() {} +func (*WorkflowExecutionGetMetricsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4e2785d91b3809ec, []int{21} +} + +func (m *WorkflowExecutionGetMetricsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Unmarshal(m, b) +} +func (m *WorkflowExecutionGetMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Marshal(b, m, deterministic) +} +func (m *WorkflowExecutionGetMetricsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Merge(m, src) +} +func (m *WorkflowExecutionGetMetricsRequest) XXX_Size() int { + return xxx_messageInfo_WorkflowExecutionGetMetricsRequest.Size(m) +} +func (m *WorkflowExecutionGetMetricsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionGetMetricsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionGetMetricsRequest proto.InternalMessageInfo + +func (m *WorkflowExecutionGetMetricsRequest) GetId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.Id + } + return nil +} + +func (m *WorkflowExecutionGetMetricsRequest) GetDepth() int32 { + if m != nil { + return m.Depth + } + return 0 +} + +// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. +type WorkflowExecutionGetMetricsResponse struct { + // Span defines the top-level breakdown of the workflows execution. More precise information is nested in a + // hierarchical structure using Flyte entity references. + Span *core.Span `protobuf:"bytes,1,opt,name=span,proto3" json:"span,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionGetMetricsResponse) Reset() { *m = WorkflowExecutionGetMetricsResponse{} } +func (m *WorkflowExecutionGetMetricsResponse) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionGetMetricsResponse) ProtoMessage() {} +func (*WorkflowExecutionGetMetricsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_4e2785d91b3809ec, []int{22} +} + +func (m *WorkflowExecutionGetMetricsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Unmarshal(m, b) +} +func (m *WorkflowExecutionGetMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Marshal(b, m, deterministic) +} +func (m *WorkflowExecutionGetMetricsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Merge(m, src) +} +func (m *WorkflowExecutionGetMetricsResponse) XXX_Size() int { + return xxx_messageInfo_WorkflowExecutionGetMetricsResponse.Size(m) +} +func (m *WorkflowExecutionGetMetricsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionGetMetricsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionGetMetricsResponse proto.InternalMessageInfo + +func (m *WorkflowExecutionGetMetricsResponse) GetSpan() *core.Span { + if m != nil { + return m.Span + } + return nil +} + func init() { proto.RegisterEnum("flyteidl.admin.ExecutionState", ExecutionState_name, ExecutionState_value) proto.RegisterEnum("flyteidl.admin.ExecutionMetadata_ExecutionMode", ExecutionMetadata_ExecutionMode_name, ExecutionMetadata_ExecutionMode_value) @@ -1603,119 +1704,125 @@ func init() { proto.RegisterType((*ExecutionUpdateRequest)(nil), "flyteidl.admin.ExecutionUpdateRequest") proto.RegisterType((*ExecutionStateChangeDetails)(nil), "flyteidl.admin.ExecutionStateChangeDetails") proto.RegisterType((*ExecutionUpdateResponse)(nil), "flyteidl.admin.ExecutionUpdateResponse") + proto.RegisterType((*WorkflowExecutionGetMetricsRequest)(nil), "flyteidl.admin.WorkflowExecutionGetMetricsRequest") + proto.RegisterType((*WorkflowExecutionGetMetricsResponse)(nil), "flyteidl.admin.WorkflowExecutionGetMetricsResponse") } func init() { proto.RegisterFile("flyteidl/admin/execution.proto", fileDescriptor_4e2785d91b3809ec) } var fileDescriptor_4e2785d91b3809ec = []byte{ - // 1730 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0xdb, 0xc6, - 0x15, 0x16, 0x29, 0x52, 0xa2, 0x0e, 0x4d, 0x9a, 0x5e, 0x3b, 0x0a, 0x2c, 0x3b, 0xb6, 0x82, 0x4e, - 0x1b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x35, 0x99, 0xb8, 0x75, 0x26, 0x14, 0x45, 0x87, 0x4a, 0xf5, - 0xe3, 0xae, 0x7e, 0x9c, 0xa4, 0x93, 0x41, 0x97, 0xc0, 0x92, 0x42, 0xb3, 0xc0, 0xc2, 0x8b, 0x85, - 0x65, 0xbf, 0x41, 0xa7, 0x4f, 0xd0, 0xbe, 0x41, 0xaf, 0x7a, 0xd9, 0x8b, 0x5e, 0xf7, 0x09, 0xfa, - 0x44, 0x19, 0x2c, 0x16, 0x20, 0x00, 0x52, 0x96, 0x3c, 0xf6, 0x1d, 0xf7, 0x9c, 0xef, 0x1c, 0x9c, - 0x3d, 0xff, 0x4b, 0x78, 0x30, 0x61, 0xaf, 0x25, 0x75, 0x1d, 0xd6, 0x23, 0x8e, 0xe7, 0xfa, 0x3d, - 0xfa, 0x8a, 0xda, 0x91, 0x74, 0xb9, 0xdf, 0x0d, 0x04, 0x97, 0x1c, 0xb5, 0x53, 0x7e, 0x57, 0xf1, - 0x37, 0x3e, 0x29, 0xe1, 0x6d, 0x16, 0x85, 0x92, 0x0a, 0x8b, 0x84, 0xa1, 0x3b, 0xf5, 0x3d, 0xea, - 0xcb, 0x44, 0x70, 0xe3, 0x5e, 0x19, 0xc8, 0x3d, 0x2f, 0xd5, 0xba, 0x71, 0x3f, 0x63, 0xda, 0x5c, - 0xd0, 0x1e, 0x73, 0x25, 0x15, 0x84, 0x85, 0x9a, 0xfb, 0x51, 0x91, 0x5b, 0x32, 0x69, 0xe3, 0x41, - 0x91, 0xed, 0x3a, 0xd4, 0x97, 0xee, 0xc4, 0xa5, 0x62, 0xb1, 0xf2, 0x90, 0xda, 0x91, 0x70, 0xe5, - 0xeb, 0x54, 0x7a, 0xca, 0xf9, 0x94, 0xd1, 0x9e, 0x3a, 0x8d, 0xa3, 0x49, 0xcf, 0x89, 0x04, 0xc9, - 0x69, 0x7f, 0x58, 0xe6, 0x4b, 0xd7, 0xa3, 0xa1, 0x24, 0x5e, 0x70, 0x99, 0x82, 0x0b, 0x41, 0x82, - 0x80, 0x0a, 0x6d, 0xbd, 0xf9, 0xbf, 0x0a, 0xac, 0x0f, 0x53, 0x93, 0x07, 0x82, 0x12, 0x49, 0x31, - 0x7d, 0x11, 0xd1, 0x50, 0x22, 0x03, 0x56, 0x03, 0xc1, 0xff, 0x4a, 0x6d, 0x69, 0x54, 0x36, 0x2b, - 0x8f, 0xd6, 0x70, 0x7a, 0x44, 0xeb, 0xb0, 0xe2, 0x70, 0x8f, 0xb8, 0xbe, 0x51, 0x55, 0x0c, 0x7d, - 0x42, 0x08, 0x6a, 0x3e, 0xf1, 0xa8, 0xb1, 0xac, 0xa8, 0xea, 0x37, 0xfa, 0x1c, 0x6a, 0x61, 0x40, - 0x6d, 0xa3, 0xb6, 0x59, 0x79, 0xd4, 0xdc, 0xfa, 0xa8, 0x5b, 0x8c, 0x50, 0x37, 0xfb, 0xf6, 0x71, - 0x40, 0x6d, 0xac, 0xa0, 0xe8, 0x73, 0x58, 0x71, 0xfd, 0x20, 0x92, 0xa1, 0x51, 0x57, 0x42, 0x77, - 0x67, 0x42, 0xb1, 0x8f, 0xba, 0xfb, 0x49, 0x00, 0x0e, 0x48, 0x80, 0x35, 0xd0, 0xfc, 0x67, 0x05, - 0x8c, 0x4c, 0x15, 0xa6, 0x8c, 0x44, 0xbe, 0x7d, 0x9e, 0x5e, 0xe4, 0x31, 0x54, 0x5d, 0x47, 0xdd, - 0xa1, 0xb9, 0xf5, 0x69, 0x49, 0xd7, 0x73, 0x2e, 0x7e, 0x9e, 0x30, 0x7e, 0x91, 0x09, 0xef, 0x65, - 0x01, 0xc2, 0x55, 0xd7, 0x59, 0x78, 0xa5, 0x4f, 0xe0, 0x26, 0x7f, 0x49, 0xc5, 0x85, 0x70, 0x25, - 0xb5, 0x6c, 0x62, 0x9f, 0x53, 0x75, 0xbb, 0x06, 0x6e, 0x67, 0xe4, 0x41, 0x4c, 0xfd, 0xae, 0xd6, - 0xa8, 0x76, 0x96, 0xcd, 0x7f, 0x55, 0xe0, 0xc3, 0x9c, 0x6d, 0x76, 0x0c, 0x7a, 0x9f, 0xa6, 0x55, - 0x73, 0xa6, 0x3d, 0x81, 0x86, 0x47, 0x25, 0x71, 0x88, 0x24, 0xca, 0xe4, 0xe6, 0xd6, 0xc7, 0x97, - 0x7a, 0xfc, 0x40, 0x03, 0x71, 0x26, 0x62, 0x9e, 0xe6, 0x2c, 0x4d, 0x93, 0x21, 0x0c, 0xb8, 0x1f, - 0xd2, 0x77, 0xb1, 0xd4, 0xfc, 0x01, 0xee, 0xcd, 0x41, 0xbe, 0xa5, 0xf2, 0x3d, 0x38, 0xc1, 0xfc, - 0x4f, 0x05, 0xd6, 0x32, 0xde, 0x3b, 0xb9, 0x33, 0x4d, 0xd4, 0xea, 0xf5, 0x13, 0xf5, 0x31, 0xac, - 0xda, 0x8c, 0x87, 0x91, 0xa0, 0xda, 0xd9, 0x9b, 0x97, 0x4a, 0x0d, 0x12, 0x1c, 0x4e, 0x05, 0xcc, - 0xbf, 0x40, 0x2b, 0x63, 0xee, 0xbb, 0xa1, 0x44, 0x5f, 0x01, 0x64, 0xbd, 0x23, 0x34, 0x2a, 0x9b, - 0xcb, 0xc5, 0xcc, 0x2f, 0xe9, 0xc3, 0x39, 0x30, 0xba, 0x03, 0x75, 0xc9, 0x7f, 0xa6, 0x69, 0x39, - 0x26, 0x07, 0x93, 0x42, 0x7b, 0x56, 0x29, 0x3b, 0x8c, 0x8f, 0xd1, 0x97, 0xb0, 0xf2, 0x92, 0xb0, - 0x88, 0x86, 0xda, 0x45, 0x97, 0x17, 0xd6, 0x4e, 0xd5, 0xa8, 0x8c, 0x96, 0xb0, 0x86, 0x23, 0x04, - 0xcb, 0x91, 0x70, 0x13, 0xf5, 0xa3, 0x25, 0x1c, 0x1f, 0x76, 0x56, 0xa0, 0xa6, 0x72, 0x66, 0x00, - 0xad, 0xfe, 0x98, 0x0b, 0x99, 0xa6, 0x53, 0x6c, 0x8d, 0x4d, 0xa2, 0x90, 0xea, 0xae, 0x91, 0x1c, - 0xd0, 0x7d, 0x58, 0x0b, 0x84, 0xeb, 0xdb, 0x6e, 0x40, 0x98, 0xb6, 0x73, 0x46, 0x30, 0xff, 0xb1, - 0x0a, 0x9d, 0xb2, 0xaf, 0xd0, 0xd7, 0xb0, 0xca, 0x23, 0xa9, 0x1a, 0x41, 0x62, 0xef, 0x83, 0xb2, - 0x3b, 0x8a, 0xf7, 0xd3, 0x46, 0xa7, 0x42, 0x68, 0x1b, 0xea, 0x54, 0x08, 0x2e, 0xe6, 0x43, 0xaa, - 0x6e, 0x9b, 0x7d, 0x6f, 0x18, 0x83, 0x46, 0x4b, 0x38, 0x41, 0xa3, 0x5f, 0x43, 0x93, 0xc4, 0x17, - 0xb2, 0x92, 0x5b, 0x40, 0x6c, 0xab, 0x56, 0x0d, 0x8a, 0x31, 0x50, 0x17, 0x7a, 0x0a, 0xed, 0x04, - 0x96, 0x15, 0xdc, 0x8d, 0xc5, 0x99, 0x53, 0xf0, 0xce, 0x68, 0x09, 0xb7, 0x48, 0xc1, 0x5d, 0xdf, - 0x40, 0x33, 0x31, 0xd8, 0x52, 0x4a, 0x5a, 0xd7, 0x8b, 0x0c, 0x24, 0x32, 0xbb, 0xb1, 0x86, 0xa7, - 0x70, 0xd3, 0xe6, 0x5e, 0x10, 0x49, 0xea, 0x58, 0xba, 0x71, 0x2e, 0x5f, 0x43, 0x0b, 0x6e, 0xa7, - 0x52, 0x7b, 0x4a, 0x08, 0xfd, 0x01, 0xea, 0xc1, 0x39, 0x09, 0x93, 0x6e, 0xd6, 0xde, 0xfa, 0xcd, - 0x55, 0x05, 0xd4, 0x7d, 0x16, 0xa3, 0x71, 0x22, 0x14, 0xe7, 0x6f, 0x28, 0x89, 0x88, 0x8d, 0x20, - 0x52, 0x77, 0xee, 0x8d, 0x6e, 0x32, 0x7e, 0xba, 0xe9, 0xf8, 0xe9, 0x9e, 0xa4, 0xf3, 0x09, 0xaf, - 0x69, 0x74, 0x5f, 0xa2, 0x6d, 0x68, 0xa4, 0x73, 0xcd, 0x58, 0xd1, 0x96, 0x97, 0x05, 0x77, 0x35, - 0x00, 0x67, 0xd0, 0xf8, 0x8b, 0xb6, 0x6a, 0x52, 0xea, 0x8b, 0xab, 0x57, 0x7f, 0x51, 0xa3, 0xfb, - 0xaa, 0xd8, 0xa2, 0xc0, 0x49, 0x45, 0x1b, 0x57, 0x8b, 0x6a, 0x74, 0x5f, 0xa2, 0x1d, 0x68, 0xf9, - 0x3c, 0xee, 0x1b, 0x36, 0x49, 0x4a, 0x75, 0x4d, 0x95, 0xea, 0xfd, 0x72, 0xd8, 0x0f, 0x73, 0x20, - 0x5c, 0x14, 0x41, 0x8f, 0xa1, 0x79, 0xa1, 0xbd, 0x69, 0xb9, 0x8e, 0xd1, 0x5c, 0x18, 0xad, 0x5c, - 0x7f, 0x82, 0x14, 0xbd, 0xe7, 0xa0, 0x9f, 0xe0, 0x4e, 0x28, 0x49, 0x3c, 0x79, 0xce, 0x89, 0x3f, - 0xa5, 0x96, 0x43, 0x25, 0x71, 0x59, 0x68, 0xb4, 0x95, 0x92, 0xcf, 0x2e, 0xef, 0x5b, 0xb1, 0xd0, - 0x40, 0xc9, 0xec, 0x26, 0x22, 0x18, 0x85, 0x73, 0xb4, 0x9d, 0x9b, 0xd0, 0xd2, 0xe9, 0x28, 0x68, - 0x18, 0x31, 0x69, 0x3e, 0x81, 0xf6, 0xf1, 0xeb, 0x50, 0x52, 0x2f, 0xcb, 0xd8, 0xcf, 0xe0, 0x56, - 0xd6, 0x7c, 0x2c, 0xbd, 0x52, 0xe9, 0x62, 0xef, 0xd0, 0x59, 0x11, 0x2b, 0xba, 0xf9, 0xdf, 0x1a, - 0xdc, 0x9a, 0x1b, 0x39, 0x68, 0x00, 0x35, 0x8f, 0x3b, 0x49, 0x8b, 0x68, 0x6f, 0xf5, 0xae, 0x9c, - 0x51, 0x39, 0x0a, 0x77, 0x28, 0x56, 0xc2, 0x6f, 0x6e, 0x29, 0xf1, 0xfa, 0xe2, 0xd3, 0x50, 0xba, - 0xfe, 0x54, 0x55, 0x43, 0x0b, 0xa7, 0x47, 0xf4, 0x04, 0x6e, 0x84, 0xf6, 0x39, 0x75, 0x22, 0x96, - 0x84, 0xbf, 0x76, 0x65, 0xf8, 0x9b, 0x19, 0xbe, 0x2f, 0xd1, 0x8f, 0xf0, 0x41, 0x40, 0x04, 0xf5, - 0xa5, 0xe5, 0x73, 0x87, 0x5a, 0xd9, 0x8d, 0x75, 0xce, 0x97, 0xcb, 0xe6, 0x90, 0x3b, 0x74, 0xd1, - 0xcc, 0xb9, 0x9d, 0x28, 0x29, 0xb0, 0xd1, 0x9f, 0xe1, 0xb6, 0xa0, 0x13, 0x2a, 0xa8, 0x6f, 0xe7, - 0x35, 0x77, 0xde, 0x7a, 0xa2, 0xa1, 0x4c, 0xcd, 0x4c, 0xf9, 0xb7, 0x70, 0x33, 0x54, 0x91, 0x9c, - 0xb5, 0xac, 0x5b, 0x8b, 0xfb, 0x6a, 0x31, 0xe0, 0xb8, 0x1d, 0x16, 0xce, 0xe6, 0x34, 0x37, 0xbb, - 0xe2, 0x78, 0x20, 0x80, 0x95, 0x83, 0xfe, 0xe1, 0x69, 0x7f, 0xbf, 0xb3, 0x84, 0x5a, 0xb0, 0x76, - 0x3c, 0x18, 0x0d, 0x77, 0x4f, 0xf7, 0x87, 0xbb, 0x9d, 0x4a, 0xcc, 0x3a, 0xfe, 0xe1, 0xf8, 0x64, - 0x78, 0xd0, 0xa9, 0xa2, 0x1b, 0xd0, 0xc0, 0xc3, 0xfd, 0xfe, 0xe9, 0xe1, 0x60, 0xd4, 0x59, 0x46, - 0x08, 0xda, 0x83, 0xd1, 0xde, 0xfe, 0xae, 0xf5, 0xfc, 0x08, 0xff, 0xf1, 0xe9, 0xfe, 0xd1, 0xf3, - 0x4e, 0x2d, 0x16, 0xc6, 0xc3, 0xc1, 0xd1, 0xd9, 0x10, 0x0f, 0x77, 0x3b, 0x75, 0xf3, 0x0c, 0x3a, - 0xf9, 0x32, 0x52, 0x73, 0x72, 0xae, 0xfe, 0x2a, 0x6f, 0x5d, 0x7f, 0xe6, 0xff, 0x57, 0x73, 0x37, - 0x38, 0x4e, 0x46, 0x79, 0x33, 0x59, 0x1a, 0xad, 0x80, 0x11, 0xff, 0x92, 0xf9, 0x98, 0xaf, 0xc8, - 0x04, 0xfd, 0x8c, 0x11, 0x1f, 0x6d, 0x67, 0xfb, 0x6a, 0xf5, 0x3a, 0x6d, 0x57, 0x83, 0xdf, 0x71, - 0x57, 0x43, 0xa3, 0xb2, 0x1f, 0xea, 0x8b, 0x57, 0x90, 0xb2, 0x03, 0xe3, 0x09, 0x54, 0xec, 0x46, - 0x1f, 0x43, 0xd3, 0x71, 0x43, 0x32, 0x66, 0xd4, 0x22, 0x8c, 0xa9, 0x0e, 0xdc, 0x88, 0x47, 0x8c, - 0x26, 0xf6, 0x19, 0x43, 0x5d, 0x58, 0x61, 0x64, 0x4c, 0x59, 0xa8, 0xdb, 0xec, 0xfa, 0xdc, 0x24, - 0x56, 0x5c, 0xac, 0x51, 0xe8, 0x09, 0x34, 0x89, 0xef, 0x73, 0xa9, 0x4d, 0x4b, 0x1a, 0xec, 0xbd, - 0xb9, 0xc9, 0x38, 0x83, 0xe0, 0x3c, 0x1e, 0xed, 0x41, 0x27, 0x7d, 0x08, 0x59, 0x36, 0xf7, 0x25, - 0x7d, 0x25, 0xd5, 0x1c, 0x2e, 0xa4, 0xaa, 0xf2, 0xed, 0xb1, 0x86, 0x0d, 0x12, 0x14, 0xbe, 0x19, - 0x16, 0x09, 0xe8, 0x2b, 0x58, 0x23, 0x91, 0x3c, 0xb7, 0x04, 0x67, 0x54, 0xd7, 0x91, 0x31, 0x67, - 0x47, 0x24, 0xcf, 0x31, 0x67, 0x54, 0x85, 0xa7, 0x41, 0xf4, 0x09, 0x1d, 0x00, 0x7a, 0x11, 0x11, - 0x16, 0x1b, 0xc1, 0x27, 0x56, 0x48, 0xc5, 0x4b, 0xd7, 0xa6, 0xba, 0x64, 0x1e, 0x96, 0xec, 0xf8, - 0x53, 0x02, 0x3c, 0x9a, 0x1c, 0x27, 0x30, 0xdc, 0x79, 0x51, 0xa2, 0xc4, 0xcf, 0x06, 0x8f, 0xbc, - 0xb2, 0x02, 0x22, 0x08, 0x63, 0x94, 0xb9, 0xa1, 0x67, 0xa0, 0xcd, 0xca, 0xa3, 0x3a, 0x6e, 0x7b, - 0xe4, 0xd5, 0xb3, 0x19, 0x15, 0x7d, 0x0f, 0xeb, 0x82, 0x5c, 0x58, 0xb9, 0xad, 0x20, 0x76, 0xc2, - 0xc4, 0x9d, 0x1a, 0xb7, 0xd5, 0xb7, 0x7f, 0x55, 0xb6, 0x1f, 0x93, 0x8b, 0xa3, 0x6c, 0x1d, 0x18, - 0x28, 0x28, 0xbe, 0x2d, 0xe6, 0x89, 0xe8, 0x19, 0xa0, 0xf9, 0x27, 0xb0, 0x71, 0x67, 0x71, 0xf2, - 0xe9, 0x0e, 0xde, 0xcf, 0x80, 0xf8, 0x96, 0x5d, 0x26, 0xa1, 0x6f, 0xa0, 0xe5, 0xfa, 0x92, 0x0a, - 0x11, 0x05, 0xd2, 0x1d, 0x33, 0x6a, 0x7c, 0x70, 0x49, 0x33, 0xdd, 0xe1, 0x9c, 0x9d, 0xc5, 0xdb, - 0x24, 0x2e, 0x0a, 0x2c, 0x7a, 0x4d, 0xad, 0x2f, 0x7a, 0x4d, 0xed, 0x18, 0xb0, 0x9e, 0xcf, 0x5b, - 0x2b, 0x66, 0x0b, 0xd7, 0xa1, 0xe1, 0x77, 0xb5, 0x46, 0xad, 0x53, 0x37, 0x3d, 0xb8, 0x9b, 0xd5, - 0xcb, 0x09, 0x15, 0x9e, 0xeb, 0xe7, 0x1e, 0xb3, 0xef, 0xf2, 0x32, 0xc8, 0x16, 0xda, 0x6a, 0x6e, - 0xa1, 0x35, 0xef, 0xc3, 0xc6, 0xa2, 0xcf, 0x25, 0xcf, 0x25, 0xf3, 0x27, 0x78, 0xb8, 0xe8, 0xc9, - 0x13, 0xc7, 0xe2, 0x7d, 0x3c, 0x7b, 0xfe, 0x56, 0x85, 0xcd, 0xcb, 0xf5, 0xeb, 0x27, 0xdb, 0x76, - 0x79, 0x7f, 0xfe, 0xb0, 0x1c, 0xe2, 0x53, 0xc1, 0xd2, 0xc5, 0x79, 0xb6, 0x36, 0x7f, 0x51, 0x6a, - 0x67, 0x6f, 0x94, 0x4a, 0x9b, 0xd9, 0x63, 0x68, 0x4e, 0x22, 0xc6, 0xae, 0xbb, 0x7f, 0x62, 0x88, - 0xd1, 0xd9, 0xde, 0x79, 0x43, 0xc9, 0xa6, 0xc6, 0xd6, 0xae, 0x12, 0x56, 0x9f, 0x4a, 0x92, 0x3b, - 0x34, 0xff, 0x9e, 0xff, 0x07, 0xe3, 0x54, 0xad, 0x69, 0xef, 0x23, 0xe8, 0xbf, 0x83, 0xba, 0xda, - 0x8e, 0x94, 0x13, 0xda, 0xf3, 0x23, 0xb2, 0xb8, 0x57, 0xe1, 0x04, 0x6c, 0xfe, 0xbb, 0x02, 0xf7, - 0xde, 0xb0, 0x71, 0xcd, 0xb4, 0x56, 0xde, 0x42, 0x2b, 0xfa, 0x3d, 0x34, 0xb9, 0x6d, 0x47, 0x42, - 0x24, 0xfb, 0x4a, 0xf5, 0xca, 0x7d, 0x05, 0x52, 0x78, 0x5f, 0x16, 0xb7, 0xa4, 0xe5, 0xf2, 0xc3, - 0xeb, 0x6e, 0xee, 0xc5, 0x9f, 0x3a, 0x2f, 0x49, 0x9f, 0x4f, 0xbf, 0x86, 0x76, 0xd1, 0x1c, 0x74, - 0x07, 0x3a, 0xc3, 0xef, 0x87, 0x83, 0xd3, 0x93, 0xbd, 0xa3, 0x43, 0xab, 0x3f, 0x38, 0xd9, 0x3b, - 0x1b, 0x76, 0x96, 0xd0, 0x3a, 0xa0, 0x1c, 0x15, 0x0f, 0x46, 0x7b, 0x67, 0xf1, 0xe4, 0xdf, 0xf9, - 0xf2, 0xc7, 0xed, 0xa9, 0x2b, 0xcf, 0xa3, 0x71, 0xd7, 0xe6, 0x5e, 0x4f, 0x5d, 0x94, 0x8b, 0x69, - 0x2f, 0xfb, 0xbf, 0x6b, 0x4a, 0xfd, 0x5e, 0x30, 0xfe, 0xed, 0x94, 0xf7, 0x8a, 0x7f, 0xbe, 0x8d, - 0x57, 0xd4, 0x8d, 0xbe, 0xf8, 0x25, 0x00, 0x00, 0xff, 0xff, 0x26, 0xb3, 0xd4, 0x61, 0xee, 0x13, - 0x00, 0x00, + // 1800 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdb, 0x72, 0xdb, 0xc6, + 0x19, 0x16, 0x29, 0x52, 0x87, 0x9f, 0x16, 0x45, 0xaf, 0x14, 0x19, 0x96, 0x1d, 0x5b, 0x41, 0xa6, + 0xb5, 0x27, 0x99, 0x92, 0x13, 0xa5, 0x9a, 0x4c, 0xdc, 0x3a, 0x13, 0x8a, 0xa2, 0x23, 0xa5, 0x3a, + 0xb8, 0xab, 0x83, 0x93, 0x74, 0x32, 0xe8, 0x0a, 0x58, 0x92, 0x68, 0x00, 0x2c, 0xbc, 0xbb, 0x90, + 0xec, 0x37, 0xe8, 0xf4, 0x09, 0xda, 0x37, 0xe8, 0x55, 0x2f, 0x7b, 0xd1, 0xeb, 0x3e, 0x56, 0x2f, + 0x3a, 0x58, 0x2c, 0x40, 0x00, 0xa4, 0x2c, 0x79, 0xac, 0x3b, 0xec, 0xee, 0xf7, 0x1f, 0xf6, 0x3f, + 0x2f, 0xe0, 0xd1, 0xc0, 0x7b, 0x2b, 0xa9, 0xeb, 0x78, 0x1d, 0xe2, 0xf8, 0x6e, 0xd0, 0xa1, 0x6f, + 0xa8, 0x1d, 0x49, 0x97, 0x05, 0xed, 0x90, 0x33, 0xc9, 0x50, 0x33, 0x3d, 0x6f, 0xab, 0xf3, 0xf5, + 0x27, 0x25, 0xbc, 0xed, 0x45, 0x42, 0x52, 0x6e, 0x11, 0x21, 0xdc, 0x61, 0xe0, 0xd3, 0x40, 0x26, + 0x84, 0xeb, 0x0f, 0xca, 0x40, 0xe6, 0xfb, 0x29, 0xd7, 0xf5, 0x87, 0xd9, 0xa1, 0xcd, 0x38, 0xed, + 0x78, 0xae, 0xa4, 0x9c, 0x78, 0x42, 0x9f, 0x7e, 0x5c, 0x3c, 0x2d, 0xa9, 0xb4, 0xfe, 0xa8, 0x78, + 0xec, 0x3a, 0x34, 0x90, 0xee, 0xc0, 0xa5, 0x7c, 0x42, 0xb2, 0x3a, 0xf7, 0xa9, 0xe4, 0xae, 0x2d, + 0xa6, 0x4b, 0x16, 0xd4, 0x8e, 0xb8, 0x2b, 0xdf, 0xa6, 0xac, 0x87, 0x8c, 0x0d, 0x3d, 0xda, 0x51, + 0xab, 0xf3, 0x68, 0xd0, 0x71, 0x22, 0x4e, 0x72, 0xa2, 0x1f, 0x97, 0xcf, 0xa5, 0xeb, 0x53, 0x21, + 0x89, 0x1f, 0x5e, 0xc5, 0xe0, 0x92, 0x93, 0x30, 0xa4, 0x5c, 0x8b, 0x37, 0xff, 0x5b, 0x81, 0xb5, + 0x7e, 0x7a, 0x9f, 0x1e, 0xa7, 0x44, 0x52, 0x4c, 0x5f, 0x47, 0x54, 0x48, 0x64, 0xc0, 0x7c, 0xc8, + 0xd9, 0x5f, 0xa8, 0x2d, 0x8d, 0xca, 0x46, 0xe5, 0xe9, 0x22, 0x4e, 0x97, 0x68, 0x0d, 0xe6, 0x1c, + 0xe6, 0x13, 0x37, 0x30, 0xaa, 0xea, 0x40, 0xaf, 0x10, 0x82, 0x5a, 0x40, 0x7c, 0x6a, 0xcc, 0xaa, + 0x5d, 0xf5, 0x8d, 0xbe, 0x80, 0x9a, 0x08, 0xa9, 0x6d, 0xd4, 0x36, 0x2a, 0x4f, 0x1b, 0x9b, 0x1f, + 0xb7, 0x8b, 0xee, 0x6b, 0x67, 0xb2, 0x8f, 0x43, 0x6a, 0x63, 0x05, 0x45, 0x5f, 0xc0, 0x9c, 0x1b, + 0x84, 0x91, 0x14, 0x46, 0x5d, 0x11, 0xdd, 0x1f, 0x13, 0xc5, 0x36, 0x6a, 0xef, 0x27, 0xde, 0x39, + 0x20, 0x21, 0xd6, 0x40, 0xf3, 0x1f, 0x15, 0x30, 0x32, 0x56, 0x98, 0x7a, 0x24, 0x0a, 0xec, 0x51, + 0x7a, 0x91, 0x67, 0x50, 0x75, 0x1d, 0x75, 0x87, 0xc6, 0xe6, 0x67, 0x25, 0x5e, 0xaf, 0x18, 0xff, + 0x65, 0xe0, 0xb1, 0xcb, 0x8c, 0x78, 0x2f, 0xf3, 0x1e, 0xae, 0xba, 0xce, 0xd4, 0x2b, 0x3d, 0x81, + 0x65, 0x76, 0x41, 0xf9, 0x25, 0x77, 0x25, 0xb5, 0x6c, 0x62, 0x8f, 0xa8, 0xba, 0xdd, 0x02, 0x6e, + 0x66, 0xdb, 0xbd, 0x78, 0xf7, 0xfb, 0xda, 0x42, 0xb5, 0x35, 0x6b, 0xfe, 0xb3, 0x02, 0xf7, 0x72, + 0xba, 0xd9, 0x31, 0xe8, 0x36, 0x55, 0xab, 0xe6, 0x54, 0x7b, 0x0e, 0x0b, 0x3e, 0x95, 0xc4, 0x21, + 0x92, 0x28, 0x95, 0x1b, 0x9b, 0x9f, 0x5c, 0x69, 0xf1, 0x03, 0x0d, 0xc4, 0x19, 0x89, 0x79, 0x9a, + 0xd3, 0x34, 0x0d, 0x06, 0x11, 0xb2, 0x40, 0xd0, 0x0f, 0xd1, 0xd4, 0xfc, 0x11, 0x1e, 0x4c, 0x40, + 0xbe, 0xa3, 0xf2, 0x16, 0x8c, 0x60, 0xfe, 0xbb, 0x02, 0x8b, 0xd9, 0xd9, 0x07, 0x99, 0x33, 0x0d, + 0xd4, 0xea, 0xcd, 0x03, 0xf5, 0x19, 0xcc, 0xdb, 0x1e, 0x13, 0x11, 0xa7, 0xda, 0xd8, 0x1b, 0x57, + 0x52, 0xf5, 0x12, 0x1c, 0x4e, 0x09, 0xcc, 0x3f, 0xc3, 0x52, 0x76, 0xb8, 0xef, 0x0a, 0x89, 0xbe, + 0x06, 0xc8, 0x0a, 0x8b, 0x30, 0x2a, 0x1b, 0xb3, 0xc5, 0xc8, 0x2f, 0xf1, 0xc3, 0x39, 0x30, 0x5a, + 0x85, 0xba, 0x64, 0xbf, 0xd0, 0x34, 0x1d, 0x93, 0x85, 0x49, 0xa1, 0x39, 0xce, 0x94, 0x6d, 0x8f, + 0x9d, 0xa3, 0xaf, 0x60, 0xee, 0x82, 0x78, 0x11, 0x15, 0xda, 0x44, 0x57, 0x27, 0xd6, 0x76, 0xd5, + 0xa8, 0xec, 0xce, 0x60, 0x0d, 0x47, 0x08, 0x66, 0x23, 0xee, 0x26, 0xec, 0x77, 0x67, 0x70, 0xbc, + 0xd8, 0x9e, 0x83, 0x9a, 0x8a, 0x99, 0x1e, 0x2c, 0x75, 0xcf, 0x19, 0x97, 0x69, 0x38, 0xc5, 0xda, + 0xd8, 0x24, 0x12, 0x54, 0x57, 0x8d, 0x64, 0x81, 0x1e, 0xc2, 0x62, 0xc8, 0xdd, 0xc0, 0x76, 0x43, + 0xe2, 0x69, 0x3d, 0xc7, 0x1b, 0xe6, 0xdf, 0xe7, 0xa1, 0x55, 0xb6, 0x15, 0xfa, 0x06, 0xe6, 0x59, + 0x24, 0x55, 0x21, 0x48, 0xf4, 0x7d, 0x54, 0x36, 0x47, 0xf1, 0x7e, 0x5a, 0xe9, 0x94, 0x08, 0x6d, + 0x41, 0x9d, 0x72, 0xce, 0xf8, 0xa4, 0x4b, 0xd5, 0x6d, 0x33, 0x79, 0xfd, 0x18, 0xb4, 0x3b, 0x83, + 0x13, 0x34, 0xfa, 0x15, 0x34, 0x48, 0x7c, 0x21, 0x2b, 0xb9, 0x05, 0xc4, 0xba, 0x6a, 0xd6, 0xa0, + 0x0e, 0x7a, 0xea, 0x42, 0x2f, 0xa0, 0x99, 0xc0, 0xb2, 0x84, 0xbb, 0x33, 0x3d, 0x72, 0x0a, 0xd6, + 0xd9, 0x9d, 0xc1, 0x4b, 0xa4, 0x60, 0xae, 0x6f, 0xa1, 0x91, 0x28, 0x6c, 0x29, 0x26, 0x4b, 0x37, + 0xf3, 0x0c, 0x24, 0x34, 0x3b, 0x31, 0x87, 0x17, 0xb0, 0x6c, 0x33, 0x3f, 0x8c, 0x24, 0x75, 0x2c, + 0x5d, 0x38, 0x67, 0x6f, 0xc0, 0x05, 0x37, 0x53, 0xaa, 0x3d, 0x45, 0x84, 0x7e, 0x0f, 0xf5, 0x70, + 0x44, 0x44, 0x52, 0xcd, 0x9a, 0x9b, 0xbf, 0xbe, 0x2e, 0x81, 0xda, 0x2f, 0x63, 0x34, 0x4e, 0x88, + 0xe2, 0xf8, 0x15, 0x92, 0xf0, 0x58, 0x09, 0x22, 0x75, 0xe5, 0x5e, 0x6f, 0x27, 0xed, 0xa7, 0x9d, + 0xb6, 0x9f, 0xf6, 0x49, 0xda, 0x9f, 0xf0, 0xa2, 0x46, 0x77, 0x25, 0xda, 0x82, 0x85, 0xb4, 0xaf, + 0x19, 0x73, 0x5a, 0xf3, 0x32, 0xe1, 0x8e, 0x06, 0xe0, 0x0c, 0x1a, 0x4b, 0xb4, 0x55, 0x91, 0x52, + 0x12, 0xe7, 0xaf, 0x97, 0xa8, 0xd1, 0x5d, 0x95, 0x6c, 0x51, 0xe8, 0xa4, 0xa4, 0x0b, 0xd7, 0x93, + 0x6a, 0x74, 0x57, 0xa2, 0x6d, 0x58, 0x0a, 0x58, 0x5c, 0x37, 0x6c, 0x92, 0xa4, 0xea, 0xa2, 0x4a, + 0xd5, 0x87, 0x65, 0xb7, 0x1f, 0xe6, 0x40, 0xb8, 0x48, 0x82, 0x9e, 0x41, 0xe3, 0x52, 0x5b, 0xd3, + 0x72, 0x1d, 0xa3, 0x31, 0xd5, 0x5b, 0xb9, 0xfa, 0x04, 0x29, 0x7a, 0xcf, 0x41, 0x3f, 0xc3, 0xaa, + 0x90, 0x24, 0xee, 0x3c, 0x23, 0x12, 0x0c, 0xa9, 0xe5, 0x50, 0x49, 0x5c, 0x4f, 0x18, 0x4d, 0xc5, + 0xe4, 0xf3, 0xab, 0xeb, 0x56, 0x4c, 0xd4, 0x53, 0x34, 0x3b, 0x09, 0x09, 0x46, 0x62, 0x62, 0x6f, + 0x7b, 0x19, 0x96, 0x74, 0x38, 0x72, 0x2a, 0x22, 0x4f, 0x9a, 0xcf, 0xa1, 0x79, 0xfc, 0x56, 0x48, + 0xea, 0x67, 0x11, 0xfb, 0x39, 0xdc, 0xcd, 0x8a, 0x8f, 0xa5, 0xe7, 0x2d, 0x9d, 0xec, 0x2d, 0x3a, + 0x4e, 0x62, 0xb5, 0x6f, 0xfe, 0xa7, 0x06, 0x77, 0x27, 0x5a, 0x0e, 0xea, 0x41, 0xcd, 0x67, 0x4e, + 0x52, 0x22, 0x9a, 0x9b, 0x9d, 0x6b, 0x7b, 0x54, 0x6e, 0x87, 0x39, 0x14, 0x2b, 0xe2, 0x77, 0x97, + 0x94, 0x78, 0x7c, 0x09, 0xa8, 0x90, 0x6e, 0x30, 0x54, 0xd9, 0xb0, 0x84, 0xd3, 0x25, 0x7a, 0x0e, + 0x77, 0x84, 0x3d, 0xa2, 0x4e, 0xe4, 0x25, 0xee, 0xaf, 0x5d, 0xeb, 0xfe, 0x46, 0x86, 0xef, 0x4a, + 0xf4, 0x13, 0x7c, 0x14, 0x12, 0x4e, 0x03, 0x69, 0x05, 0xcc, 0xa1, 0x56, 0x76, 0x63, 0x1d, 0xf3, + 0xe5, 0xb4, 0x39, 0x64, 0x0e, 0x9d, 0xd6, 0x73, 0x56, 0x12, 0x26, 0x85, 0x63, 0xf4, 0x27, 0x58, + 0xe1, 0x74, 0x40, 0x39, 0x0d, 0xec, 0x3c, 0xe7, 0xd6, 0x7b, 0x77, 0x34, 0x94, 0xb1, 0x19, 0x33, + 0xff, 0x0e, 0x96, 0x85, 0xf2, 0xe4, 0xb8, 0x64, 0xdd, 0x9d, 0x5e, 0x57, 0x8b, 0x0e, 0xc7, 0x4d, + 0x51, 0x58, 0x9b, 0xc3, 0x5c, 0xef, 0x8a, 0xfd, 0x81, 0x00, 0xe6, 0x0e, 0xba, 0x87, 0xa7, 0xdd, + 0xfd, 0xd6, 0x0c, 0x5a, 0x82, 0xc5, 0xe3, 0xde, 0x6e, 0x7f, 0xe7, 0x74, 0xbf, 0xbf, 0xd3, 0xaa, + 0xc4, 0x47, 0xc7, 0x3f, 0x1e, 0x9f, 0xf4, 0x0f, 0x5a, 0x55, 0x74, 0x07, 0x16, 0x70, 0x7f, 0xbf, + 0x7b, 0x7a, 0xd8, 0xdb, 0x6d, 0xcd, 0x22, 0x04, 0xcd, 0xde, 0xee, 0xde, 0xfe, 0x8e, 0xf5, 0xea, + 0x08, 0xff, 0xe1, 0xc5, 0xfe, 0xd1, 0xab, 0x56, 0x2d, 0x26, 0xc6, 0xfd, 0xde, 0xd1, 0x59, 0x1f, + 0xf7, 0x77, 0x5a, 0x75, 0xf3, 0x0c, 0x5a, 0xf9, 0x34, 0x52, 0x7d, 0x72, 0x22, 0xff, 0x2a, 0xef, + 0x9d, 0x7f, 0xe6, 0xff, 0xe6, 0x73, 0x37, 0x38, 0x4e, 0x5a, 0x79, 0x23, 0x19, 0x1a, 0xad, 0xd0, + 0x23, 0xc1, 0x15, 0xfd, 0x31, 0x9f, 0x91, 0x09, 0xfa, 0xa5, 0x47, 0x02, 0xb4, 0x95, 0xcd, 0xab, + 0xd5, 0x9b, 0x94, 0x5d, 0x0d, 0xfe, 0xc0, 0x59, 0x0d, 0xed, 0x96, 0xed, 0x50, 0x9f, 0x3e, 0x82, + 0x94, 0x0d, 0x18, 0x77, 0xa0, 0x62, 0x35, 0xfa, 0x04, 0x1a, 0x8e, 0x2b, 0xc8, 0xb9, 0x47, 0x2d, + 0xe2, 0x79, 0xaa, 0x02, 0x2f, 0xc4, 0x2d, 0x46, 0x6f, 0x76, 0x3d, 0x0f, 0xb5, 0x61, 0xce, 0x23, + 0xe7, 0xd4, 0x13, 0xba, 0xcc, 0xae, 0x4d, 0x74, 0x62, 0x75, 0x8a, 0x35, 0x0a, 0x3d, 0x87, 0x06, + 0x09, 0x02, 0x26, 0xb5, 0x6a, 0x49, 0x81, 0x7d, 0x30, 0xd1, 0x19, 0xc7, 0x10, 0x9c, 0xc7, 0xa3, + 0x3d, 0x68, 0xa5, 0x0f, 0x21, 0xcb, 0x66, 0x81, 0xa4, 0x6f, 0xa4, 0xea, 0xc3, 0x85, 0x50, 0x55, + 0xb6, 0x3d, 0xd6, 0xb0, 0x5e, 0x82, 0xc2, 0xcb, 0xa2, 0xb8, 0x81, 0xbe, 0x86, 0x45, 0x12, 0xc9, + 0x91, 0xc5, 0x99, 0x47, 0x75, 0x1e, 0x19, 0x13, 0x7a, 0x44, 0x72, 0x84, 0x99, 0x47, 0x95, 0x7b, + 0x16, 0x88, 0x5e, 0xa1, 0x03, 0x40, 0xaf, 0x23, 0xe2, 0xc5, 0x4a, 0xb0, 0x81, 0x25, 0x28, 0xbf, + 0x70, 0x6d, 0xaa, 0x53, 0xe6, 0x71, 0x49, 0x8f, 0x3f, 0x26, 0xc0, 0xa3, 0xc1, 0x71, 0x02, 0xc3, + 0xad, 0xd7, 0xa5, 0x9d, 0xf8, 0xd9, 0xe0, 0x93, 0x37, 0x56, 0x48, 0x38, 0xf1, 0x3c, 0xea, 0xb9, + 0xc2, 0x37, 0xd0, 0x46, 0xe5, 0x69, 0x1d, 0x37, 0x7d, 0xf2, 0xe6, 0xe5, 0x78, 0x17, 0xfd, 0x00, + 0x6b, 0x9c, 0x5c, 0x5a, 0xb9, 0xa9, 0x20, 0x36, 0xc2, 0xc0, 0x1d, 0x1a, 0x2b, 0x4a, 0xf6, 0xa7, + 0x65, 0xfd, 0x31, 0xb9, 0x3c, 0xca, 0xc6, 0x81, 0x9e, 0x82, 0xe2, 0x15, 0x3e, 0xb9, 0x89, 0x5e, + 0x02, 0x9a, 0x7c, 0x1f, 0x1b, 0xab, 0xd3, 0x83, 0x4f, 0x57, 0xf0, 0x6e, 0x06, 0xc4, 0x77, 0xed, + 0xf2, 0x16, 0xfa, 0x16, 0x96, 0xdc, 0x40, 0x52, 0xce, 0xa3, 0x50, 0xba, 0xe7, 0x1e, 0x35, 0x3e, + 0xba, 0xa2, 0x98, 0x6e, 0x33, 0xe6, 0x9d, 0xc5, 0xd3, 0x24, 0x2e, 0x12, 0x4c, 0x7b, 0x4d, 0xad, + 0x4d, 0x7b, 0x4d, 0xa1, 0xa7, 0x50, 0xa3, 0xc1, 0x85, 0x30, 0xee, 0x29, 0x09, 0xab, 0x13, 0xb9, + 0x12, 0x5c, 0x08, 0xac, 0x10, 0xdb, 0x06, 0xac, 0xe5, 0x23, 0xdc, 0x8a, 0x19, 0x71, 0xd7, 0xa1, + 0xe2, 0xfb, 0xda, 0x42, 0xad, 0x55, 0x37, 0x7d, 0xb8, 0x9f, 0x65, 0xd6, 0x09, 0xe5, 0xbe, 0x1b, + 0xe4, 0x9e, 0xbd, 0x1f, 0xf2, 0x86, 0xc8, 0x46, 0xdf, 0x6a, 0x6e, 0xf4, 0x35, 0x1f, 0xc2, 0xfa, + 0x34, 0x71, 0xc9, 0xc3, 0xca, 0xfc, 0x19, 0x1e, 0x4f, 0x7b, 0x1c, 0xc5, 0x5e, 0xbb, 0x8d, 0x07, + 0xd2, 0x5f, 0xab, 0xb0, 0x71, 0x35, 0x7f, 0xfd, 0xb8, 0xdb, 0x2a, 0x4f, 0xda, 0xf7, 0xca, 0xd6, + 0x3d, 0xe5, 0x5e, 0x3a, 0x62, 0x8f, 0x07, 0xec, 0x2f, 0x4b, 0x85, 0xef, 0x9d, 0x54, 0x69, 0xd9, + 0x7b, 0x06, 0x8d, 0x41, 0xe4, 0x79, 0x37, 0x9d, 0x54, 0x31, 0xc4, 0xe8, 0x6c, 0x42, 0xbd, 0xa3, + 0x68, 0x53, 0x65, 0x6b, 0xd7, 0x11, 0x2b, 0x51, 0x49, 0x1a, 0x08, 0xf3, 0x6f, 0xf9, 0x7f, 0x1d, + 0xa7, 0x6a, 0xa0, 0xbb, 0x0d, 0xa7, 0xff, 0x16, 0xea, 0x6a, 0x8e, 0x52, 0x46, 0x68, 0x4e, 0x36, + 0xd3, 0xe2, 0x04, 0x86, 0x13, 0xb0, 0xf9, 0xaf, 0x0a, 0x3c, 0x78, 0xc7, 0x6c, 0x36, 0xe6, 0x5a, + 0x79, 0x0f, 0xae, 0xe8, 0x77, 0xd0, 0x60, 0xb6, 0x1d, 0x71, 0x9e, 0x4c, 0x36, 0xd5, 0x6b, 0x27, + 0x1b, 0x48, 0xe1, 0x5d, 0x59, 0x9c, 0xa7, 0x66, 0xcb, 0x4f, 0xb4, 0xfb, 0xb9, 0x7f, 0x03, 0xa9, + 0xf1, 0x74, 0x08, 0x5f, 0x80, 0x39, 0x2d, 0xc4, 0x0e, 0x92, 0x1f, 0x5d, 0xb7, 0x94, 0x58, 0x0e, + 0x0d, 0xe5, 0x48, 0xdd, 0xa8, 0x8e, 0x93, 0x85, 0x79, 0x08, 0x9f, 0xbe, 0x53, 0xae, 0x8e, 0xee, + 0x27, 0xf1, 0xcb, 0x3e, 0x6b, 0xea, 0x2b, 0xe5, 0x0e, 0x12, 0x92, 0x00, 0x2b, 0xc0, 0x67, 0xdf, + 0x40, 0xb3, 0x68, 0x56, 0xb4, 0x0a, 0xad, 0xfe, 0x0f, 0xfd, 0xde, 0xe9, 0xc9, 0xde, 0xd1, 0xa1, + 0xd5, 0xed, 0x9d, 0xec, 0x9d, 0xf5, 0x5b, 0x33, 0x68, 0x0d, 0x50, 0x6e, 0x17, 0xf7, 0x76, 0xf7, + 0xce, 0xe2, 0x59, 0x67, 0xfb, 0xab, 0x9f, 0xb6, 0x86, 0xae, 0x1c, 0x45, 0xe7, 0x6d, 0x9b, 0xf9, + 0x1d, 0x25, 0x86, 0xf1, 0x61, 0x27, 0xfb, 0xc3, 0x37, 0xa4, 0x41, 0x27, 0x3c, 0xff, 0xcd, 0x90, + 0x75, 0x8a, 0xff, 0x22, 0xcf, 0xe7, 0x94, 0x67, 0xbe, 0xfc, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x37, 0x63, 0xd5, 0xd4, 0xfd, 0x14, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/execution.pb.validate.go b/gen/pb-go/flyteidl/admin/execution.pb.validate.go index 4b6bbe524..15f930b5b 100644 --- a/gen/pb-go/flyteidl/admin/execution.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/execution.pb.validate.go @@ -1376,6 +1376,16 @@ func (m *ExecutionSpec) Validate() error { // no validation rules for OverwriteCache + if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ExecutionSpecValidationError{ + field: "Envs", + reason: "embedded message failed validation", + cause: err, + } + } + } + switch m.NotificationOverrides.(type) { case *ExecutionSpec_Notifications: @@ -2011,3 +2021,161 @@ var _ interface { Cause() error ErrorName() string } = ExecutionUpdateResponseValidationError{} + +// Validate checks the field values on WorkflowExecutionGetMetricsRequest with +// the rules defined in the proto definition for this message. If any rules +// are violated, an error is returned. +func (m *WorkflowExecutionGetMetricsRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowExecutionGetMetricsRequestValidationError{ + field: "Id", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Depth + + return nil +} + +// WorkflowExecutionGetMetricsRequestValidationError is the validation error +// returned by WorkflowExecutionGetMetricsRequest.Validate if the designated +// constraints aren't met. +type WorkflowExecutionGetMetricsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowExecutionGetMetricsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowExecutionGetMetricsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowExecutionGetMetricsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowExecutionGetMetricsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowExecutionGetMetricsRequestValidationError) ErrorName() string { + return "WorkflowExecutionGetMetricsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e WorkflowExecutionGetMetricsRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sWorkflowExecutionGetMetricsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowExecutionGetMetricsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowExecutionGetMetricsRequestValidationError{} + +// Validate checks the field values on WorkflowExecutionGetMetricsResponse with +// the rules defined in the proto definition for this message. If any rules +// are violated, an error is returned. +func (m *WorkflowExecutionGetMetricsResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetSpan()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowExecutionGetMetricsResponseValidationError{ + field: "Span", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// WorkflowExecutionGetMetricsResponseValidationError is the validation error +// returned by WorkflowExecutionGetMetricsResponse.Validate if the designated +// constraints aren't met. +type WorkflowExecutionGetMetricsResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowExecutionGetMetricsResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowExecutionGetMetricsResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowExecutionGetMetricsResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowExecutionGetMetricsResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowExecutionGetMetricsResponseValidationError) ErrorName() string { + return "WorkflowExecutionGetMetricsResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e WorkflowExecutionGetMetricsResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sWorkflowExecutionGetMetricsResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowExecutionGetMetricsResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowExecutionGetMetricsResponseValidationError{} diff --git a/gen/pb-go/flyteidl/admin/launch_plan.pb.go b/gen/pb-go/flyteidl/admin/launch_plan.pb.go index 23b8978c7..c8280a86f 100644 --- a/gen/pb-go/flyteidl/admin/launch_plan.pb.go +++ b/gen/pb-go/flyteidl/admin/launch_plan.pb.go @@ -342,7 +342,9 @@ type LaunchPlanSpec struct { // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. - OverwriteCache bool `protobuf:"varint,20,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + OverwriteCache bool `protobuf:"varint,20,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *Envs `protobuf:"bytes,21,opt,name=envs,proto3" json:"envs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -481,6 +483,13 @@ func (m *LaunchPlanSpec) GetOverwriteCache() bool { return false } +func (m *LaunchPlanSpec) GetEnvs() *Envs { + if m != nil { + return m.Envs + } + return nil +} + // Values computed by the flyte platform after launch plan registration. // These include expected_inputs required to be present in a CreateExecutionRequest // to launch the reference workflow as well timestamp values associated with the launch plan. @@ -841,76 +850,77 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/launch_plan.proto", fileDescriptor_368a863574f5e699) } var fileDescriptor_368a863574f5e699 = []byte{ - // 1132 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x6d, 0x8f, 0xdb, 0x44, - 0x10, 0x26, 0xe9, 0xbd, 0xce, 0xf5, 0x72, 0xd7, 0x6d, 0x75, 0x35, 0x69, 0x69, 0x8f, 0x20, 0xc4, - 0x01, 0x6d, 0x22, 0x15, 0x2a, 0xd4, 0xd2, 0x4a, 0xe4, 0xd2, 0x7e, 0x88, 0xe8, 0xcb, 0xb1, 0x57, - 0x2a, 0xc4, 0x17, 0x6b, 0x63, 0x4f, 0x92, 0xa5, 0x6b, 0xaf, 0xbb, 0xbb, 0xbe, 0xe4, 0xc4, 0x7f, - 0xe0, 0x0b, 0x7f, 0x02, 0xf1, 0x5f, 0xf8, 0x4f, 0xc8, 0xeb, 0xb5, 0x93, 0xd8, 0x3d, 0x15, 0x90, - 0xf8, 0x94, 0xcc, 0xce, 0xf3, 0xcc, 0xce, 0xcc, 0xce, 0x8b, 0xe1, 0x70, 0x2c, 0xce, 0x0d, 0xf2, - 0x50, 0xf4, 0x58, 0x18, 0xf1, 0xb8, 0x27, 0x58, 0x1a, 0x07, 0x53, 0x3f, 0x11, 0x2c, 0xee, 0x26, - 0x4a, 0x1a, 0x49, 0x5a, 0x05, 0xa2, 0x6b, 0x11, 0xed, 0x8f, 0x4a, 0x46, 0x20, 0x15, 0xf6, 0x70, - 0x8e, 0x41, 0x6a, 0xb8, 0x74, 0xf0, 0xf6, 0xcd, 0x55, 0xb5, 0xe0, 0x06, 0x15, 0x13, 0xda, 0x69, - 0x6f, 0xad, 0x6a, 0x79, 0x88, 0xb1, 0xe1, 0x63, 0x8e, 0xca, 0xe9, 0x2b, 0xc6, 0x79, 0x6c, 0x50, - 0x8d, 0x59, 0x80, 0xef, 0x36, 0xae, 0x31, 0x48, 0x15, 0x37, 0xe7, 0x35, 0x72, 0x1e, 0x8b, 0x0e, - 0xa6, 0x18, 0xa6, 0xa2, 0x20, 0xdf, 0xa8, 0xa8, 0x03, 0x19, 0x45, 0xa5, 0xdb, 0xb7, 0x27, 0x52, - 0x4e, 0x04, 0xf6, 0xac, 0x34, 0x4a, 0xc7, 0x3d, 0xc3, 0x23, 0xd4, 0x86, 0x45, 0x49, 0xe1, 0x79, - 0x15, 0x30, 0x53, 0x2c, 0x49, 0x50, 0xb9, 0xc8, 0x3a, 0x73, 0xb8, 0xfe, 0xcc, 0xe6, 0xee, 0x44, - 0xb0, 0x78, 0xa0, 0x90, 0x19, 0xa4, 0xf8, 0x36, 0x45, 0x6d, 0xc8, 0xe7, 0xd0, 0xe4, 0xa1, 0xd7, - 0x38, 0x6c, 0x1c, 0xed, 0xdc, 0xfb, 0xb0, 0x5b, 0xa6, 0x33, 0x0b, 0xa1, 0x3b, 0x2c, 0x33, 0x40, - 0x9b, 0x3c, 0x24, 0xf7, 0x60, 0x4d, 0x27, 0x18, 0x78, 0x4d, 0x0b, 0xbe, 0xd5, 0x5d, 0xcd, 0x7d, - 0x77, 0x71, 0xc3, 0x69, 0x82, 0x01, 0xb5, 0xd8, 0x4e, 0x1b, 0xbc, 0xfa, 0xcd, 0x3a, 0x91, 0xb1, - 0xc6, 0xce, 0x1f, 0x0d, 0x80, 0x85, 0xf2, 0x7f, 0xf6, 0x84, 0x7c, 0x0b, 0x9b, 0x81, 0x90, 0x3a, - 0x55, 0xe8, 0x5d, 0xb2, 0xb4, 0x8f, 0x2f, 0xa6, 0x0d, 0x72, 0x20, 0x2d, 0x18, 0x1d, 0x84, 0xd6, - 0x42, 0xfb, 0x8c, 0x6b, 0x43, 0x1e, 0xc3, 0xe5, 0xa5, 0x72, 0xd4, 0x5e, 0xe3, 0xf0, 0xd2, 0xd1, - 0xce, 0xbd, 0xf6, 0xc5, 0x36, 0xe9, 0x8e, 0x28, 0xff, 0x6b, 0x72, 0x0d, 0xd6, 0x8d, 0x7c, 0x83, - 0xb1, 0x0d, 0x61, 0x9b, 0xe6, 0x42, 0xe7, 0x0c, 0xd6, 0xfa, 0xa9, 0x99, 0x92, 0x3b, 0x40, 0x98, - 0xd6, 0x69, 0xc4, 0x46, 0x02, 0x7d, 0xce, 0x22, 0x5f, 0x49, 0x81, 0x36, 0x35, 0xdb, 0x74, 0xbf, - 0xd4, 0x0c, 0x59, 0x44, 0xa5, 0x40, 0xf2, 0x08, 0xda, 0x6f, 0xd2, 0x11, 0xaa, 0x18, 0x0d, 0x6a, - 0x5f, 0xa3, 0x3a, 0xe3, 0x01, 0xfa, 0x2c, 0x08, 0x64, 0x1a, 0x1b, 0x77, 0x81, 0xb7, 0x40, 0x9c, - 0xe6, 0x80, 0x7e, 0xae, 0x7f, 0xd8, 0xf4, 0x1a, 0x9d, 0xdf, 0x37, 0x97, 0xe3, 0xcb, 0x92, 0x46, - 0x1e, 0xc2, 0xce, 0x4c, 0xaa, 0x37, 0x63, 0x21, 0x67, 0xfe, 0x3f, 0x79, 0x16, 0x28, 0xd0, 0xc3, - 0x90, 0x7c, 0x0f, 0x7b, 0xd9, 0xb9, 0x39, 0xf7, 0x23, 0x34, 0x2c, 0x64, 0x86, 0xb9, 0x97, 0xea, - 0x5c, 0x9c, 0x9e, 0xe7, 0x0e, 0x49, 0x5b, 0x39, 0xb5, 0x90, 0xc9, 0x31, 0xb4, 0x42, 0x1c, 0xb3, - 0x54, 0x18, 0x9f, 0xc7, 0x49, 0x6a, 0xb4, 0x7b, 0xbe, 0x1b, 0x15, 0x5f, 0x4e, 0x98, 0x62, 0x11, - 0x1a, 0x54, 0xcf, 0x59, 0x42, 0x77, 0x1d, 0x65, 0x68, 0x19, 0xe4, 0x11, 0x5c, 0x1e, 0xf3, 0x39, - 0x86, 0x85, 0x85, 0xb5, 0x77, 0x46, 0xf3, 0x2c, 0x1f, 0x07, 0x19, 0x7f, 0xc7, 0xc2, 0x1d, 0xfb, - 0x00, 0xd6, 0x6c, 0xfe, 0xd7, 0xb3, 0x4c, 0x1e, 0x37, 0xbd, 0x06, 0xb5, 0x32, 0xe9, 0xc2, 0x86, - 0x60, 0x23, 0x14, 0xda, 0xdb, 0xb0, 0xf6, 0x0e, 0xea, 0xd1, 0x65, 0x5a, 0xea, 0x50, 0xe4, 0x31, - 0xec, 0xb0, 0x38, 0x96, 0x86, 0x65, 0x13, 0x49, 0x7b, 0x9b, 0xd5, 0x30, 0x72, 0x52, 0x7f, 0x01, - 0xa1, 0xcb, 0x78, 0x72, 0x07, 0xd6, 0x58, 0x6a, 0xa6, 0xde, 0x96, 0xe5, 0x5d, 0xab, 0xf1, 0x52, - 0x33, 0xcd, 0x9d, 0xcb, 0x50, 0xe4, 0x01, 0x6c, 0x67, 0xbf, 0x79, 0xe5, 0x6c, 0x5b, 0x8a, 0xf7, - 0x2e, 0x4a, 0x56, 0x41, 0x96, 0xb6, 0xc5, 0x9c, 0x44, 0x86, 0xb0, 0x5f, 0x0c, 0x2f, 0x3f, 0x90, - 0xb1, 0xc1, 0xb9, 0xf1, 0xa0, 0xda, 0x69, 0x36, 0x63, 0xa7, 0x0e, 0x36, 0xc8, 0x51, 0x74, 0x4f, - 0xaf, 0x1e, 0x90, 0xe7, 0x40, 0xde, 0xa6, 0x4c, 0x64, 0x96, 0xe4, 0xb8, 0x28, 0x4d, 0x6f, 0xdf, - 0x1a, 0xbb, 0x5d, 0x31, 0xf6, 0x43, 0x0e, 0x7c, 0x39, 0x76, 0x05, 0x4a, 0xf7, 0xdf, 0x56, 0x4e, - 0xc8, 0x4f, 0x70, 0xa0, 0xd8, 0xcc, 0x97, 0xa9, 0x49, 0x52, 0xe3, 0x67, 0xe5, 0x91, 0x39, 0x38, - 0xe6, 0x13, 0xef, 0x8a, 0x35, 0xf9, 0x49, 0x35, 0x42, 0xca, 0x66, 0x2f, 0x2d, 0xf8, 0x09, 0x33, - 0x6c, 0x60, 0xa1, 0xf4, 0xaa, 0xaa, 0x1f, 0x92, 0xcf, 0x60, 0x2f, 0x62, 0x73, 0x3f, 0x61, 0x8a, - 0x09, 0x81, 0x82, 0xeb, 0xc8, 0x23, 0x87, 0x8d, 0xa3, 0x75, 0xda, 0x8a, 0xd8, 0xfc, 0x64, 0x71, - 0x4a, 0xbe, 0x83, 0x5d, 0x3b, 0xf8, 0x55, 0x9a, 0x18, 0x3e, 0x12, 0xe8, 0x5d, 0xb5, 0x37, 0xb7, - 0xbb, 0xf9, 0x08, 0xee, 0x16, 0x23, 0xb8, 0x7b, 0x2c, 0xa5, 0x78, 0xcd, 0x44, 0x8a, 0x74, 0x95, - 0x90, 0x5d, 0x25, 0xcf, 0x50, 0xcd, 0x14, 0x37, 0xe8, 0x07, 0x2c, 0x98, 0xa2, 0x77, 0xed, 0xb0, - 0x71, 0xb4, 0x45, 0x5b, 0xe5, 0xf1, 0x20, 0x3b, 0xed, 0xfc, 0xd5, 0x84, 0x2b, 0xb5, 0x99, 0x44, - 0xee, 0xc3, 0xba, 0x36, 0xcc, 0xe4, 0xe3, 0xa0, 0xb5, 0x9c, 0xc5, 0xda, 0xf0, 0xcb, 0x60, 0x34, - 0x47, 0x93, 0x27, 0xb0, 0x87, 0xf3, 0x04, 0x03, 0xb3, 0xe8, 0x82, 0xe6, 0xfb, 0xfb, 0xa8, 0x55, - 0x70, 0x5c, 0x2b, 0x3c, 0x85, 0xfd, 0xd2, 0x4a, 0xfe, 0x0a, 0x45, 0x3b, 0xb6, 0x2b, 0x66, 0x5e, - 0x33, 0xc5, 0xb3, 0x21, 0x95, 0x59, 0x29, 0x6f, 0xce, 0xd3, 0xae, 0xc9, 0x03, 0x80, 0xc0, 0xee, - 0x82, 0xd0, 0x67, 0xc6, 0x75, 0x63, 0x3d, 0x83, 0xaf, 0x8a, 0x2d, 0x47, 0xb7, 0x1d, 0xba, 0x6f, - 0x32, 0x6a, 0x9a, 0x84, 0x05, 0x75, 0xfd, 0xfd, 0x54, 0x87, 0xee, 0x9b, 0xce, 0x6f, 0x0d, 0x20, - 0xf5, 0x81, 0x43, 0xbe, 0x86, 0xad, 0x62, 0x19, 0xbb, 0x31, 0x57, 0x6b, 0x94, 0x53, 0xa7, 0xa7, - 0x25, 0x92, 0x1c, 0xc3, 0x6e, 0x2c, 0xb3, 0xd9, 0x17, 0xb8, 0x76, 0x6e, 0xda, 0x05, 0x70, 0xb3, - 0x4a, 0x7d, 0xb1, 0x04, 0xa2, 0xab, 0x94, 0xce, 0xaf, 0xcb, 0x6b, 0xf9, 0x47, 0xeb, 0xe7, 0x7f, - 0x58, 0xcb, 0x65, 0x41, 0x34, 0xff, 0x4d, 0x41, 0xac, 0x6e, 0xe6, 0xe2, 0x72, 0xb7, 0x99, 0x4f, - 0xe0, 0x7a, 0x3f, 0x30, 0xfc, 0x0c, 0x97, 0xd6, 0x97, 0x73, 0xec, 0xfe, 0x92, 0x63, 0x9f, 0xd6, - 0x82, 0x65, 0x11, 0x86, 0x4f, 0xed, 0xfc, 0x5e, 0x75, 0xb2, 0xf3, 0x67, 0x03, 0x6e, 0x54, 0x4d, - 0x66, 0x7b, 0xb4, 0x30, 0xeb, 0xc1, 0x66, 0xa2, 0xe4, 0x2f, 0x18, 0x18, 0xb7, 0xe6, 0x0a, 0x91, - 0x1c, 0xc0, 0x46, 0x28, 0x23, 0xc6, 0x8b, 0x55, 0xe9, 0xa4, 0x6c, 0x83, 0x0a, 0x1e, 0x71, 0x63, - 0xeb, 0x6f, 0x97, 0xe6, 0xc2, 0x62, 0xaf, 0xae, 0x2d, 0xed, 0x55, 0x72, 0x17, 0x36, 0xb5, 0x54, - 0xc6, 0x1f, 0x9d, 0xbb, 0x8a, 0xa9, 0x4d, 0xcf, 0x53, 0xa9, 0x0c, 0xdd, 0xc8, 0x40, 0xc7, 0xe7, - 0x5f, 0x7c, 0x09, 0x7b, 0x95, 0xa4, 0x91, 0xcb, 0xb0, 0x35, 0x7c, 0xd1, 0x1f, 0xbc, 0x1a, 0xbe, - 0x7e, 0xba, 0xff, 0x01, 0x01, 0xd8, 0x70, 0xff, 0x1b, 0xc7, 0xdf, 0xfc, 0x7c, 0x7f, 0xc2, 0xcd, - 0x34, 0x1d, 0x75, 0x03, 0x19, 0xf5, 0xac, 0x59, 0xa9, 0x26, 0xbd, 0xf2, 0x7b, 0x6e, 0x82, 0x71, - 0x2f, 0x19, 0xdd, 0x9d, 0xc8, 0xde, 0xea, 0x27, 0xde, 0x68, 0xc3, 0x56, 0xeb, 0x57, 0x7f, 0x07, - 0x00, 0x00, 0xff, 0xff, 0xdc, 0x78, 0xb9, 0x05, 0xe6, 0x0a, 0x00, 0x00, + // 1151 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x6d, 0x6f, 0x1b, 0xc5, + 0x13, 0xff, 0xdb, 0x75, 0x9e, 0x26, 0x8d, 0x93, 0x6e, 0xfb, 0x4f, 0x0f, 0xb7, 0xb4, 0xc1, 0x08, + 0x11, 0xa0, 0xb5, 0xa5, 0x42, 0x85, 0x5a, 0x5a, 0x09, 0x27, 0xcd, 0x0b, 0x8b, 0x3e, 0x84, 0x4d, + 0xa9, 0x10, 0x6f, 0x4e, 0xeb, 0xbb, 0xb1, 0xbd, 0x74, 0xef, 0xf6, 0xba, 0xbb, 0x97, 0x38, 0xe2, + 0x3b, 0xf0, 0x39, 0x10, 0xdf, 0x81, 0x8f, 0xc0, 0x77, 0x42, 0xb7, 0xb7, 0x77, 0xb6, 0xef, 0x12, + 0x15, 0x90, 0x78, 0x65, 0xcf, 0xce, 0xef, 0x37, 0x3b, 0x33, 0x3b, 0x0f, 0x07, 0x7b, 0x63, 0x71, + 0x6e, 0x90, 0x87, 0xa2, 0xcf, 0xc2, 0x88, 0xc7, 0x7d, 0xc1, 0xd2, 0x38, 0x98, 0xfa, 0x89, 0x60, + 0x71, 0x2f, 0x51, 0xd2, 0x48, 0xd2, 0x2e, 0x10, 0x3d, 0x8b, 0xe8, 0x7c, 0x58, 0x32, 0x02, 0xa9, + 0xb0, 0x8f, 0x33, 0x0c, 0x52, 0xc3, 0xa5, 0x83, 0x77, 0x6e, 0x2f, 0xab, 0x05, 0x37, 0xa8, 0x98, + 0xd0, 0x4e, 0x7b, 0x67, 0x59, 0xcb, 0x43, 0x8c, 0x0d, 0x1f, 0x73, 0x54, 0x4e, 0x5f, 0x31, 0xce, + 0x63, 0x83, 0x6a, 0xcc, 0x02, 0xbc, 0xd8, 0xb8, 0xc6, 0x20, 0x55, 0xdc, 0x9c, 0xd7, 0xc8, 0x79, + 0x2c, 0x3a, 0x98, 0x62, 0x98, 0x8a, 0x82, 0x7c, 0xab, 0xa2, 0x0e, 0x64, 0x14, 0x95, 0x6e, 0xdf, + 0x9d, 0x48, 0x39, 0x11, 0xd8, 0xb7, 0xd2, 0x28, 0x1d, 0xf7, 0x0d, 0x8f, 0x50, 0x1b, 0x16, 0x25, + 0x85, 0xe7, 0x55, 0xc0, 0x99, 0x62, 0x49, 0x82, 0xca, 0x45, 0xd6, 0x9d, 0xc1, 0xcd, 0xe7, 0x36, + 0x77, 0xc7, 0x82, 0xc5, 0x87, 0x0a, 0x99, 0x41, 0x8a, 0xef, 0x52, 0xd4, 0x86, 0x7c, 0x06, 0x4d, + 0x1e, 0x7a, 0x8d, 0xbd, 0xc6, 0xfe, 0xe6, 0x83, 0x0f, 0x7a, 0x65, 0x3a, 0xb3, 0x10, 0x7a, 0xc3, + 0x32, 0x03, 0xb4, 0xc9, 0x43, 0xf2, 0x00, 0x5a, 0x3a, 0xc1, 0xc0, 0x6b, 0x5a, 0xf0, 0x9d, 0xde, + 0x72, 0xee, 0x7b, 0xf3, 0x1b, 0x4e, 0x12, 0x0c, 0xa8, 0xc5, 0x76, 0x3b, 0xe0, 0xd5, 0x6f, 0xd6, + 0x89, 0x8c, 0x35, 0x76, 0x7f, 0x6b, 0x00, 0xcc, 0x95, 0xff, 0xb1, 0x27, 0xe4, 0x1b, 0x58, 0x0b, + 0x84, 0xd4, 0xa9, 0x42, 0xef, 0x8a, 0xa5, 0x7d, 0x74, 0x39, 0xed, 0x30, 0x07, 0xd2, 0x82, 0xd1, + 0x45, 0x68, 0xcf, 0xb5, 0xcf, 0xb9, 0x36, 0xe4, 0x29, 0x5c, 0x5d, 0x28, 0x47, 0xed, 0x35, 0xf6, + 0xae, 0xec, 0x6f, 0x3e, 0xe8, 0x5c, 0x6e, 0x93, 0x6e, 0x8a, 0xf2, 0xbf, 0x26, 0x37, 0x60, 0xc5, + 0xc8, 0xb7, 0x18, 0xdb, 0x10, 0x36, 0x68, 0x2e, 0x74, 0x4f, 0xa1, 0x35, 0x48, 0xcd, 0x94, 0xdc, + 0x03, 0xc2, 0xb4, 0x4e, 0x23, 0x36, 0x12, 0xe8, 0x73, 0x16, 0xf9, 0x4a, 0x0a, 0xb4, 0xa9, 0xd9, + 0xa0, 0x3b, 0xa5, 0x66, 0xc8, 0x22, 0x2a, 0x05, 0x92, 0x27, 0xd0, 0x79, 0x9b, 0x8e, 0x50, 0xc5, + 0x68, 0x50, 0xfb, 0x1a, 0xd5, 0x29, 0x0f, 0xd0, 0x67, 0x41, 0x20, 0xd3, 0xd8, 0xb8, 0x0b, 0xbc, + 0x39, 0xe2, 0x24, 0x07, 0x0c, 0x72, 0xfd, 0xe3, 0xa6, 0xd7, 0xe8, 0xfe, 0xb1, 0xb6, 0x18, 0x5f, + 0x96, 0x34, 0xf2, 0x18, 0x36, 0xcf, 0xa4, 0x7a, 0x3b, 0x16, 0xf2, 0xcc, 0xff, 0x3b, 0xcf, 0x02, + 0x05, 0x7a, 0x18, 0x92, 0xef, 0x60, 0x3b, 0x3b, 0x37, 0xe7, 0x7e, 0x84, 0x86, 0x85, 0xcc, 0x30, + 0xf7, 0x52, 0xdd, 0xcb, 0xd3, 0xf3, 0xc2, 0x21, 0x69, 0x3b, 0xa7, 0x16, 0x32, 0x39, 0x80, 0x76, + 0x88, 0x63, 0x96, 0x0a, 0xe3, 0xf3, 0x38, 0x49, 0x8d, 0x76, 0xcf, 0x77, 0xab, 0xe2, 0xcb, 0x31, + 0x53, 0x2c, 0x42, 0x83, 0xea, 0x05, 0x4b, 0xe8, 0x96, 0xa3, 0x0c, 0x2d, 0x83, 0x3c, 0x81, 0xab, + 0x63, 0x3e, 0xc3, 0xb0, 0xb0, 0xd0, 0xba, 0x30, 0x9a, 0xe7, 0xf9, 0x38, 0xc8, 0xf8, 0x9b, 0x16, + 0xee, 0xd8, 0xbb, 0xd0, 0xb2, 0xf9, 0x5f, 0xc9, 0x32, 0x79, 0xd0, 0xf4, 0x1a, 0xd4, 0xca, 0xa4, + 0x07, 0xab, 0x82, 0x8d, 0x50, 0x68, 0x6f, 0xd5, 0xda, 0xdb, 0xad, 0x47, 0x97, 0x69, 0xa9, 0x43, + 0x91, 0xa7, 0xb0, 0xc9, 0xe2, 0x58, 0x1a, 0x96, 0x4d, 0x24, 0xed, 0xad, 0x55, 0xc3, 0xc8, 0x49, + 0x83, 0x39, 0x84, 0x2e, 0xe2, 0xc9, 0x3d, 0x68, 0xb1, 0xd4, 0x4c, 0xbd, 0x75, 0xcb, 0xbb, 0x51, + 0xe3, 0xa5, 0x66, 0x9a, 0x3b, 0x97, 0xa1, 0xc8, 0x23, 0xd8, 0xc8, 0x7e, 0xf3, 0xca, 0xd9, 0xb0, + 0x14, 0xef, 0x22, 0x4a, 0x56, 0x41, 0x96, 0xb6, 0xce, 0x9c, 0x44, 0x86, 0xb0, 0x53, 0x0c, 0x2f, + 0x3f, 0x90, 0xb1, 0xc1, 0x99, 0xf1, 0xa0, 0xda, 0x69, 0x36, 0x63, 0x27, 0x0e, 0x76, 0x98, 0xa3, + 0xe8, 0xb6, 0x5e, 0x3e, 0x20, 0x2f, 0x80, 0xbc, 0x4b, 0x99, 0xc8, 0x2c, 0xc9, 0x71, 0x51, 0x9a, + 0xde, 0x8e, 0x35, 0x76, 0xb7, 0x62, 0xec, 0xfb, 0x1c, 0xf8, 0x6a, 0xec, 0x0a, 0x94, 0xee, 0xbc, + 0xab, 0x9c, 0x90, 0x1f, 0x61, 0x57, 0xb1, 0x33, 0x5f, 0xa6, 0x26, 0x49, 0x8d, 0x9f, 0x95, 0x47, + 0xe6, 0xe0, 0x98, 0x4f, 0xbc, 0x6b, 0xd6, 0xe4, 0xc7, 0xd5, 0x08, 0x29, 0x3b, 0x7b, 0x65, 0xc1, + 0xcf, 0x98, 0x61, 0x87, 0x16, 0x4a, 0xaf, 0xab, 0xfa, 0x21, 0xf9, 0x14, 0xb6, 0x23, 0x36, 0xf3, + 0x13, 0xa6, 0x98, 0x10, 0x28, 0xb8, 0x8e, 0x3c, 0xb2, 0xd7, 0xd8, 0x5f, 0xa1, 0xed, 0x88, 0xcd, + 0x8e, 0xe7, 0xa7, 0xe4, 0x5b, 0xd8, 0xb2, 0x83, 0x5f, 0xa5, 0x89, 0xe1, 0x23, 0x81, 0xde, 0x75, + 0x7b, 0x73, 0xa7, 0x97, 0x8f, 0xe0, 0x5e, 0x31, 0x82, 0x7b, 0x07, 0x52, 0x8a, 0x37, 0x4c, 0xa4, + 0x48, 0x97, 0x09, 0xd9, 0x55, 0xf2, 0x14, 0xd5, 0x99, 0xe2, 0x06, 0xfd, 0x80, 0x05, 0x53, 0xf4, + 0x6e, 0xec, 0x35, 0xf6, 0xd7, 0x69, 0xbb, 0x3c, 0x3e, 0xcc, 0x4e, 0xc9, 0x3e, 0xb4, 0x30, 0x3e, + 0xd5, 0xde, 0xff, 0x2f, 0x7e, 0xf0, 0xa3, 0xf8, 0x54, 0x53, 0x8b, 0xe8, 0xfe, 0xd9, 0x84, 0x6b, + 0xb5, 0xe9, 0x45, 0x1e, 0xc2, 0x8a, 0x36, 0xcc, 0xe4, 0x83, 0xa3, 0xbd, 0x98, 0xef, 0xda, 0x98, + 0xcc, 0x60, 0x34, 0x47, 0x93, 0x67, 0xb0, 0x8d, 0xb3, 0x04, 0x03, 0x33, 0xef, 0x97, 0xe6, 0xfb, + 0x3b, 0xae, 0x5d, 0x70, 0x5c, 0xd3, 0x1c, 0xc1, 0x4e, 0x69, 0x25, 0x7f, 0xaf, 0xa2, 0x71, 0x3b, + 0x15, 0x33, 0x6f, 0x98, 0xe2, 0xd9, 0x38, 0xcb, 0xac, 0x94, 0x37, 0xe7, 0x0f, 0xa4, 0xc9, 0x23, + 0x80, 0xc0, 0x6e, 0x8d, 0xd0, 0x67, 0xc6, 0xf5, 0x6d, 0x3d, 0xd7, 0xaf, 0x8b, 0x7d, 0x48, 0x37, + 0x1c, 0x7a, 0x60, 0x32, 0x6a, 0x9a, 0x84, 0x05, 0x75, 0xe5, 0xfd, 0x54, 0x87, 0x1e, 0x98, 0xee, + 0xaf, 0x0d, 0x20, 0xf5, 0xd1, 0x44, 0xbe, 0x82, 0xf5, 0x62, 0x6d, 0xbb, 0x81, 0x58, 0x6b, 0xa9, + 0x13, 0xa7, 0xa7, 0x25, 0x92, 0x1c, 0xc0, 0x56, 0x2c, 0xb3, 0x29, 0x19, 0xb8, 0xc6, 0x6f, 0xda, + 0x55, 0x71, 0xbb, 0x4a, 0x7d, 0xb9, 0x00, 0xa2, 0xcb, 0x94, 0xee, 0x2f, 0x8b, 0x0b, 0xfc, 0x07, + 0xeb, 0xe7, 0xbf, 0x58, 0xe0, 0x65, 0x41, 0x34, 0xff, 0x49, 0x41, 0x2c, 0xef, 0xf0, 0xe2, 0x72, + 0xb7, 0xc3, 0x8f, 0xe1, 0xe6, 0x20, 0x30, 0xfc, 0x14, 0x17, 0x16, 0x9d, 0x73, 0xec, 0xe1, 0x82, + 0x63, 0x9f, 0xd4, 0x82, 0x65, 0x11, 0x86, 0x47, 0x76, 0xd2, 0x2f, 0x3b, 0xd9, 0xfd, 0xbd, 0x01, + 0xb7, 0xaa, 0x26, 0xb3, 0x8d, 0x5b, 0x98, 0xf5, 0x60, 0x2d, 0x51, 0xf2, 0x67, 0x0c, 0x8c, 0x5b, + 0x88, 0x85, 0x48, 0x76, 0x61, 0x35, 0x94, 0x11, 0xe3, 0xc5, 0x52, 0x75, 0x52, 0xb6, 0x6b, 0x05, + 0x8f, 0xb8, 0xb1, 0xf5, 0xb7, 0x45, 0x73, 0x61, 0xbe, 0x81, 0x5b, 0x0b, 0x1b, 0x98, 0xdc, 0x87, + 0x35, 0x2d, 0x95, 0xf1, 0x47, 0xe7, 0xae, 0x62, 0x6a, 0x6d, 0x77, 0x22, 0x95, 0xa1, 0xab, 0x19, + 0xe8, 0xe0, 0xfc, 0xf3, 0x2f, 0x60, 0xbb, 0x92, 0x34, 0x72, 0x15, 0xd6, 0x87, 0x2f, 0x07, 0x87, + 0xaf, 0x87, 0x6f, 0x8e, 0x76, 0xfe, 0x47, 0x00, 0x56, 0xdd, 0xff, 0xc6, 0xc1, 0xd7, 0x3f, 0x3d, + 0x9c, 0x70, 0x33, 0x4d, 0x47, 0xbd, 0x40, 0x46, 0x7d, 0x6b, 0x56, 0xaa, 0x49, 0xbf, 0xfc, 0xf2, + 0x9b, 0x60, 0xdc, 0x4f, 0x46, 0xf7, 0x27, 0xb2, 0xbf, 0xfc, 0x31, 0x38, 0x5a, 0xb5, 0xd5, 0xfa, + 0xe5, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xde, 0x54, 0x4c, 0x65, 0x10, 0x0b, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go b/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go index 06c617802..21c16360f 100644 --- a/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go @@ -568,6 +568,16 @@ func (m *LaunchPlanSpec) Validate() error { // no validation rules for OverwriteCache + if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LaunchPlanSpecValidationError{ + field: "Envs", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/admin/matchable_resource.pb.go b/gen/pb-go/flyteidl/admin/matchable_resource.pb.go index 71e18bba1..1e5363d06 100644 --- a/gen/pb-go/flyteidl/admin/matchable_resource.pb.go +++ b/gen/pb-go/flyteidl/admin/matchable_resource.pb.go @@ -464,7 +464,9 @@ type WorkflowExecutionConfig struct { // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. - OverwriteCache bool `protobuf:"varint,7,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + OverwriteCache bool `protobuf:"varint,7,opt,name=overwrite_cache,json=overwriteCache,proto3" json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *Envs `protobuf:"bytes,8,opt,name=envs,proto3" json:"envs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -544,6 +546,13 @@ func (m *WorkflowExecutionConfig) GetOverwriteCache() bool { return false } +func (m *WorkflowExecutionConfig) GetEnvs() *Envs { + if m != nil { + return m.Envs + } + return nil +} + // Generic container for encapsulating all types of the above attributes messages. type MatchingAttributes struct { // Types that are valid to be assigned to Target: @@ -896,88 +905,89 @@ func init() { } var fileDescriptor_1d15bcabb02640f4 = []byte{ - // 1323 bytes of a gzipped FileDescriptorProto + // 1339 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xdb, 0x72, 0x1a, 0x47, 0x13, 0x66, 0x75, 0x40, 0xa8, 0xf9, 0x0d, 0xab, 0xb1, 0x25, 0x21, 0xe9, 0xb7, 0xad, 0x6c, 0x0e, 0x56, 0x92, 0x32, 0xa4, 0x48, 0x52, 0x71, 0x52, 0x71, 0x55, 0x10, 0x5e, 0x0c, 0x65, 0x24, 0xa4, 0x01, 0x7c, 0xc8, 0xcd, 0xd6, 0xb0, 0x0c, 0xcb, 0x46, 0x7b, 0xd2, 0xec, 0xac, 0x10, 0x95, 0x97, - 0xc8, 0x45, 0xf2, 0x28, 0x79, 0x80, 0x3c, 0x44, 0xee, 0xf3, 0x00, 0x79, 0x88, 0xd4, 0x1e, 0x81, - 0x15, 0xb8, 0x7c, 0xb7, 0xd3, 0xf3, 0xf5, 0x61, 0x7b, 0xba, 0xbf, 0x6e, 0x78, 0x32, 0x32, 0xa6, - 0x9c, 0xea, 0x43, 0xa3, 0x42, 0x86, 0xa6, 0x6e, 0x55, 0x4c, 0xc2, 0xd5, 0x31, 0x19, 0x18, 0x54, - 0x61, 0xd4, 0xb5, 0x3d, 0xa6, 0xd2, 0xb2, 0xc3, 0x6c, 0x6e, 0xa3, 0x42, 0x0c, 0x2c, 0x07, 0xc0, - 0xc3, 0xa3, 0x94, 0xa2, 0x6a, 0x9b, 0xa6, 0x6d, 0x85, 0xe0, 0xc3, 0xb4, 0x55, 0xd5, 0xf0, 0x5c, - 0x4e, 0x99, 0x42, 0x5c, 0x57, 0xd7, 0x2c, 0x93, 0x5a, 0x3c, 0x02, 0x3e, 0x4c, 0x80, 0xaa, 0xcd, - 0x68, 0x85, 0xde, 0x52, 0xd5, 0xe3, 0x7a, 0x62, 0xe7, 0xff, 0x8b, 0xd7, 0x2e, 0x55, 0x3d, 0xa6, - 0xf3, 0x69, 0x74, 0xfb, 0x48, 0xb3, 0x6d, 0xcd, 0xa0, 0x95, 0xe0, 0x34, 0xf0, 0x46, 0x95, 0x09, - 0x23, 0x8e, 0x43, 0x99, 0x1b, 0xde, 0x4b, 0x7f, 0x08, 0x20, 0xf6, 0x88, 0x7b, 0x85, 0xa3, 0x3f, - 0xe9, 0x3a, 0x54, 0x45, 0x22, 0xac, 0xab, 0x8e, 0x57, 0x12, 0x8e, 0x85, 0x93, 0x6d, 0xec, 0x7f, - 0xfa, 0x12, 0xcd, 0xf1, 0x4a, 0x6b, 0xa1, 0x44, 0x73, 0x3c, 0xb4, 0x07, 0x59, 0x93, 0x9a, 0x36, - 0x9b, 0x96, 0xd6, 0x03, 0x61, 0x74, 0x42, 0x25, 0xd8, 0x72, 0xb9, 0xcd, 0x88, 0x46, 0x4b, 0x1b, - 0xc1, 0x45, 0x7c, 0x44, 0x5f, 0xc2, 0x0e, 0x75, 0xc6, 0xd4, 0xa4, 0x8c, 0x18, 0x4a, 0x8c, 0xd9, - 0x0c, 0x30, 0x62, 0x72, 0xd1, 0x0d, 0xe5, 0xd2, 0x6f, 0x02, 0xec, 0xcd, 0xc7, 0x55, 0xe3, 0x9c, - 0xe9, 0x03, 0x8f, 0x53, 0x17, 0xfd, 0x08, 0xb9, 0x21, 0x1d, 0x11, 0xcf, 0xe0, 0x6e, 0x10, 0x62, - 0xbe, 0x7a, 0x5c, 0x5e, 0x4c, 0x7c, 0x39, 0xfd, 0x47, 0x38, 0xd1, 0x40, 0xcf, 0x20, 0x6b, 0xe8, - 0xa6, 0xce, 0xdd, 0xe0, 0x67, 0x3e, 0x44, 0x37, 0xc2, 0x4b, 0x7f, 0x0a, 0x70, 0x50, 0x0f, 0x1f, - 0x69, 0x49, 0x54, 0xef, 0x00, 0x48, 0x72, 0x2a, 0x09, 0xc7, 0xeb, 0x27, 0xf9, 0xea, 0xf7, 0x69, - 0xdb, 0x2b, 0xd5, 0xcb, 0xb3, 0x4f, 0xd9, 0xe2, 0x6c, 0x8a, 0xe7, 0x8c, 0x1d, 0x3e, 0x87, 0x62, - 0xea, 0xda, 0x7f, 0x8f, 0x2b, 0x3a, 0x8d, 0x5f, 0xe8, 0x8a, 0x4e, 0xd1, 0x03, 0xd8, 0xbc, 0x21, - 0x86, 0x47, 0xa3, 0x37, 0x0a, 0x0f, 0x3f, 0xac, 0x3d, 0x13, 0xa4, 0x32, 0x94, 0xe4, 0xb8, 0x66, - 0x2e, 0x3d, 0xea, 0xcd, 0x47, 0x8d, 0x60, 0x83, 0x13, 0x2d, 0x8c, 0x77, 0x1b, 0x07, 0xdf, 0xd2, - 0x53, 0xd8, 0x4d, 0xf0, 0x51, 0xc0, 0x6d, 0x32, 0xa0, 0xc6, 0xcc, 0x85, 0x30, 0xe7, 0x42, 0xfa, - 0x57, 0x80, 0xc2, 0x85, 0xe1, 0x69, 0xba, 0xd5, 0xb9, 0xa1, 0x8c, 0xe9, 0x43, 0x8a, 0x8e, 0x60, - 0x9b, 0x13, 0xf7, 0x4a, 0xe1, 0x53, 0x27, 0x06, 0xe7, 0x7c, 0x41, 0x6f, 0xea, 0x04, 0x97, 0x4e, - 0x00, 0x57, 0xf4, 0x61, 0x69, 0x2d, 0xf0, 0x9b, 0x0b, 0x05, 0xad, 0x21, 0x32, 0x60, 0xdf, 0xd4, - 0x5d, 0x57, 0xb7, 0x34, 0x25, 0x02, 0x0d, 0xe8, 0x98, 0xdc, 0xe8, 0x36, 0x0b, 0xaa, 0xa9, 0x50, - 0xfd, 0x26, 0x9d, 0xd2, 0x45, 0xd7, 0xe5, 0xb3, 0x50, 0x3b, 0x94, 0x9e, 0x46, 0xba, 0x78, 0xd7, - 0x5c, 0x26, 0x96, 0xaa, 0xb0, 0xbb, 0x14, 0x8f, 0x72, 0xb0, 0xd1, 0xa8, 0xb5, 0xda, 0x62, 0x06, - 0x15, 0x21, 0xdf, 0xef, 0xca, 0xca, 0x0b, 0xb9, 0x51, 0xeb, 0xb7, 0x7b, 0xa2, 0x20, 0x75, 0xa0, - 0xb8, 0xe8, 0xd2, 0x2f, 0xc8, 0x6d, 0x3b, 0x3e, 0x44, 0x2f, 0xff, 0xe8, 0xfd, 0x61, 0xe2, 0x99, - 0x82, 0xf4, 0xd7, 0x3a, 0xec, 0xbf, 0xb1, 0xd9, 0xd5, 0xc8, 0xb0, 0x27, 0xb3, 0xbc, 0xdb, 0xd6, - 0x48, 0xd7, 0xd0, 0x13, 0x28, 0x9a, 0xe4, 0x56, 0x71, 0x08, 0x23, 0x86, 0x41, 0x0d, 0xdd, 0x35, - 0x83, 0x74, 0x6e, 0xe2, 0x82, 0x49, 0x6e, 0x2f, 0x66, 0x52, 0xd4, 0x02, 0x31, 0x6e, 0x7c, 0x45, - 0xb5, 0x2d, 0x4e, 0x6f, 0x79, 0x54, 0xdf, 0x73, 0x91, 0xf8, 0xfc, 0x50, 0xee, 0x46, 0xb0, 0x7a, - 0x88, 0xc2, 0x45, 0x77, 0x51, 0x80, 0xde, 0xc2, 0x1e, 0x23, 0x13, 0xc5, 0xf6, 0xb8, 0xe3, 0x71, - 0x65, 0x48, 0x38, 0xf1, 0x2d, 0x8e, 0x74, 0x2d, 0x68, 0xf4, 0x7c, 0xf5, 0xe3, 0xf4, 0xaf, 0x61, - 0x32, 0xe9, 0x04, 0xe0, 0x17, 0x84, 0x93, 0x30, 0x70, 0x7c, 0x9f, 0xdd, 0x15, 0xa2, 0x32, 0x64, - 0x0d, 0xbf, 0x90, 0xdc, 0xe0, 0x2d, 0xf3, 0xd5, 0xbd, 0xb4, 0xa5, 0xa0, 0xcc, 0x5c, 0x1c, 0xa1, - 0xd0, 0x73, 0xc8, 0x13, 0xcb, 0xb2, 0x39, 0xf1, 0x33, 0xe2, 0x06, 0x54, 0x91, 0xaf, 0x1e, 0xa5, - 0x95, 0x6a, 0x33, 0x08, 0x9e, 0xc7, 0xa3, 0x9f, 0xe0, 0x9e, 0x6e, 0x71, 0xca, 0x98, 0xe7, 0x70, - 0x7d, 0x60, 0xd0, 0x52, 0x36, 0x30, 0x70, 0x58, 0x0e, 0x29, 0xb1, 0x1c, 0x53, 0x62, 0xf9, 0xd4, - 0xb6, 0x8d, 0xd7, 0x7e, 0x2d, 0xe3, 0x45, 0x05, 0x3f, 0xfd, 0xfe, 0x3b, 0x4d, 0x98, 0xce, 0xa9, - 0xa2, 0x12, 0x75, 0x4c, 0x4b, 0x5b, 0xc7, 0xc2, 0x49, 0x0e, 0x17, 0x12, 0x71, 0xdd, 0x97, 0x4a, - 0xbf, 0x67, 0x01, 0x9d, 0xf9, 0x53, 0x41, 0xb7, 0xb4, 0xb9, 0xee, 0x1a, 0x40, 0x29, 0xe8, 0x83, - 0x78, 0x4c, 0x28, 0x0b, 0x0c, 0xe1, 0x07, 0xf3, 0xd9, 0xfb, 0xd8, 0x67, 0x66, 0xa9, 0x99, 0xc1, - 0x7b, 0x7c, 0x39, 0x1b, 0x5e, 0xc1, 0x51, 0x3c, 0x39, 0x96, 0xb9, 0x09, 0x8b, 0xe0, 0xf3, 0x0f, - 0x26, 0xa2, 0x66, 0x06, 0x1f, 0xa8, 0x2b, 0x49, 0x6e, 0x0c, 0x87, 0xc9, 0xf8, 0x51, 0xae, 0x7d, - 0x2e, 0x99, 0xf7, 0x15, 0xd6, 0xc7, 0x49, 0xda, 0xd7, 0x2a, 0xf2, 0x69, 0x66, 0x70, 0x89, 0xae, - 0x22, 0x26, 0x05, 0xf6, 0x67, 0x9e, 0xe2, 0x1f, 0x0c, 0xea, 0x22, 0x2a, 0x9e, 0x4f, 0x57, 0xba, - 0x99, 0xe7, 0xac, 0x66, 0x06, 0xef, 0xd2, 0xa5, 0x64, 0xd6, 0x01, 0x74, 0xed, 0x11, 0xc3, 0x6f, - 0x18, 0x7b, 0xa4, 0xb8, 0x94, 0xdd, 0xe8, 0x2a, 0x8d, 0x6a, 0xec, 0x71, 0xaa, 0x67, 0x2e, 0x43, - 0x60, 0x67, 0xd4, 0x0d, 0x61, 0xcd, 0x0c, 0x16, 0xaf, 0x53, 0x32, 0xd4, 0x06, 0x31, 0xa2, 0xac, - 0x19, 0x19, 0x64, 0xd3, 0xe6, 0x96, 0x91, 0x81, 0x9f, 0x88, 0xa2, 0x93, 0xe2, 0x14, 0x0a, 0x07, - 0x93, 0x88, 0x14, 0x94, 0xb9, 0x44, 0x84, 0x8d, 0xb8, 0x15, 0x98, 0x7d, 0x92, 0x36, 0xbb, 0x82, - 0x45, 0x9a, 0x19, 0xbc, 0x3f, 0x59, 0x41, 0x30, 0x18, 0xd0, 0xdd, 0xbd, 0xa3, 0x94, 0x0b, 0xec, - 0x7f, 0xb4, 0xa2, 0x68, 0x6a, 0x09, 0xb0, 0x99, 0xc1, 0x3b, 0x6a, 0x5a, 0x78, 0x9a, 0x83, 0x2c, - 0x27, 0x4c, 0xa3, 0x5c, 0xfa, 0x5b, 0x80, 0xe3, 0xb3, 0x78, 0x59, 0x9a, 0x3d, 0x6e, 0xe8, 0xdb, - 0x63, 0x41, 0x9f, 0xa2, 0xd3, 0xd4, 0xe0, 0xf4, 0x5d, 0x4b, 0x69, 0xd7, 0x77, 0x9b, 0x6b, 0x7e, - 0x42, 0xfa, 0xcb, 0xc8, 0xd0, 0x36, 0x89, 0x6e, 0x45, 0xd3, 0x2f, 0x3a, 0xf9, 0xcb, 0x88, 0xc3, - 0xec, 0x5f, 0xa8, 0xca, 0xa3, 0x2d, 0x25, 0x3e, 0xa2, 0x43, 0xc8, 0xc5, 0x39, 0x89, 0xf6, 0x94, - 0xe4, 0x8c, 0x1e, 0x43, 0xde, 0x20, 0x9e, 0xa5, 0x8e, 0x15, 0xc7, 0x20, 0x56, 0xb4, 0xa2, 0x40, - 0x28, 0xba, 0x30, 0x88, 0x25, 0x8d, 0xe1, 0x51, 0x5b, 0x77, 0xf9, 0x92, 0x5f, 0xc3, 0xf4, 0xda, - 0xa3, 0x2e, 0x47, 0x0d, 0xb8, 0x97, 0x74, 0x63, 0x32, 0x05, 0x0b, 0x77, 0x53, 0x9a, 0x98, 0x88, - 0x9b, 0x0d, 0xff, 0x2f, 0xd6, 0xf3, 0x87, 0xa5, 0xf4, 0x2b, 0x3c, 0x5e, 0xe9, 0xc9, 0x75, 0x6c, - 0xcb, 0xa5, 0xe8, 0x2d, 0x14, 0xd4, 0xf9, 0x84, 0xc6, 0x23, 0xe8, 0xab, 0x95, 0xbe, 0x56, 0xbc, - 0x04, 0x4e, 0xd9, 0xf9, 0xe2, 0x1f, 0x01, 0x76, 0xee, 0x04, 0x88, 0x76, 0xe0, 0x5e, 0xaf, 0xd6, - 0x7d, 0xa5, 0x60, 0xb9, 0xdb, 0xe9, 0xe3, 0xba, 0x2c, 0x66, 0xd0, 0x03, 0x10, 0xeb, 0xed, 0x7e, - 0xb7, 0x27, 0xe3, 0x99, 0x54, 0x40, 0xf7, 0xa1, 0x28, 0xbf, 0x95, 0xeb, 0xfd, 0x5e, 0xab, 0x73, - 0xae, 0x5c, 0xf6, 0xe5, 0xbe, 0x2c, 0xae, 0xa1, 0x23, 0xd8, 0x9f, 0x09, 0x63, 0xa5, 0x76, 0xed, - 0x54, 0x6e, 0x8b, 0xeb, 0xe8, 0x13, 0x38, 0xbe, 0xec, 0xd7, 0xda, 0xad, 0xde, 0x3b, 0xa5, 0xd3, - 0x50, 0xba, 0x32, 0x7e, 0xdd, 0xaa, 0xcb, 0x4a, 0xf7, 0x42, 0xae, 0xb7, 0x1a, 0xad, 0x7a, 0xcd, - 0xd7, 0x11, 0x37, 0x7c, 0xbb, 0x17, 0xed, 0xfe, 0xcb, 0xd6, 0xb9, 0xd2, 0x79, 0x2d, 0x63, 0xdc, - 0x7a, 0x21, 0x8b, 0x9b, 0xe8, 0x21, 0x1c, 0xbc, 0xe9, 0xe0, 0x57, 0x8d, 0x76, 0xe7, 0x8d, 0x32, - 0xe7, 0xa0, 0x73, 0xde, 0x68, 0xbd, 0x14, 0xb3, 0x68, 0x0f, 0x50, 0xec, 0xac, 0xd6, 0xed, 0xb6, - 0x5e, 0x9e, 0x9f, 0xc9, 0xe7, 0x3d, 0x71, 0xeb, 0xf4, 0xbb, 0x9f, 0xbf, 0xd5, 0x74, 0x3e, 0xf6, - 0x06, 0x65, 0xd5, 0x36, 0x2b, 0x41, 0xc2, 0x6c, 0xa6, 0x55, 0x92, 0x95, 0x5a, 0xa3, 0x56, 0xc5, - 0x19, 0x3c, 0xd5, 0xec, 0xca, 0xe2, 0xb6, 0x3e, 0xc8, 0x06, 0xd3, 0xe3, 0xeb, 0xff, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x2e, 0x16, 0xaf, 0xac, 0x1c, 0x0c, 0x00, 0x00, + 0xc8, 0x45, 0xf2, 0x28, 0x79, 0x94, 0xdc, 0xe7, 0x3e, 0x79, 0x88, 0xd4, 0x1e, 0x81, 0x15, 0xb8, + 0x7c, 0xb7, 0xd3, 0xf3, 0xf5, 0x61, 0x7b, 0xba, 0xbf, 0x6e, 0x78, 0x32, 0x32, 0xa6, 0x9c, 0xea, + 0x43, 0xa3, 0x42, 0x86, 0xa6, 0x6e, 0x55, 0x4c, 0xc2, 0xd5, 0x31, 0x19, 0x18, 0x54, 0x61, 0xd4, + 0xb5, 0x3d, 0xa6, 0xd2, 0xb2, 0xc3, 0x6c, 0x6e, 0xa3, 0x42, 0x0c, 0x2c, 0x07, 0xc0, 0xc3, 0xa3, + 0x94, 0xa2, 0x6a, 0x9b, 0xa6, 0x6d, 0x85, 0xe0, 0xc3, 0xb4, 0x55, 0xd5, 0xf0, 0x5c, 0x4e, 0x99, + 0x42, 0x5c, 0x57, 0xd7, 0x2c, 0x93, 0x5a, 0x3c, 0x02, 0x3e, 0x4c, 0x80, 0xaa, 0xcd, 0x68, 0x85, + 0xde, 0x52, 0xd5, 0xe3, 0x7a, 0x62, 0xe7, 0xff, 0x8b, 0xd7, 0x2e, 0x55, 0x3d, 0xa6, 0xf3, 0x69, + 0x74, 0xfb, 0x48, 0xb3, 0x6d, 0xcd, 0xa0, 0x95, 0xe0, 0x34, 0xf0, 0x46, 0x95, 0x09, 0x23, 0x8e, + 0x43, 0x99, 0x1b, 0xde, 0x4b, 0x7f, 0x08, 0x20, 0xf6, 0x88, 0x7b, 0x85, 0xa3, 0x3f, 0xe9, 0x3a, + 0x54, 0x45, 0x22, 0xac, 0xab, 0x8e, 0x57, 0x12, 0x8e, 0x85, 0x93, 0x6d, 0xec, 0x7f, 0xfa, 0x12, + 0xcd, 0xf1, 0x4a, 0x6b, 0xa1, 0x44, 0x73, 0x3c, 0xb4, 0x07, 0x59, 0x93, 0x9a, 0x36, 0x9b, 0x96, + 0xd6, 0x03, 0x61, 0x74, 0x42, 0x25, 0xd8, 0x72, 0xb9, 0xcd, 0x88, 0x46, 0x4b, 0x1b, 0xc1, 0x45, + 0x7c, 0x44, 0x5f, 0xc2, 0x0e, 0x75, 0xc6, 0xd4, 0xa4, 0x8c, 0x18, 0x4a, 0x8c, 0xd9, 0x0c, 0x30, + 0x62, 0x72, 0xd1, 0x0d, 0xe5, 0xd2, 0x6f, 0x02, 0xec, 0xcd, 0xc7, 0x55, 0xe3, 0x9c, 0xe9, 0x03, + 0x8f, 0x53, 0x17, 0xfd, 0x08, 0xb9, 0x21, 0x1d, 0x11, 0xcf, 0xe0, 0x6e, 0x10, 0x62, 0xbe, 0x7a, + 0x5c, 0x5e, 0x4c, 0x7c, 0x39, 0xfd, 0x47, 0x38, 0xd1, 0x40, 0xcf, 0x20, 0x6b, 0xe8, 0xa6, 0xce, + 0xdd, 0xe0, 0x67, 0x3e, 0x44, 0x37, 0xc2, 0x4b, 0x7f, 0x0a, 0x70, 0x50, 0x0f, 0x1f, 0x69, 0x49, + 0x54, 0xef, 0x00, 0x48, 0x72, 0x2a, 0x09, 0xc7, 0xeb, 0x27, 0xf9, 0xea, 0xf7, 0x69, 0xdb, 0x2b, + 0xd5, 0xcb, 0xb3, 0x4f, 0xd9, 0xe2, 0x6c, 0x8a, 0xe7, 0x8c, 0x1d, 0x3e, 0x87, 0x62, 0xea, 0xda, + 0x7f, 0x8f, 0x2b, 0x3a, 0x8d, 0x5f, 0xe8, 0x8a, 0x4e, 0xd1, 0x03, 0xd8, 0xbc, 0x21, 0x86, 0x47, + 0xa3, 0x37, 0x0a, 0x0f, 0x3f, 0xac, 0x3d, 0x13, 0xa4, 0x32, 0x94, 0xe4, 0xb8, 0x66, 0x2e, 0x3d, + 0xea, 0xcd, 0x47, 0x8d, 0x60, 0x83, 0x13, 0x2d, 0x8c, 0x77, 0x1b, 0x07, 0xdf, 0xd2, 0x53, 0xd8, + 0x4d, 0xf0, 0x51, 0xc0, 0x6d, 0x32, 0xa0, 0xc6, 0xcc, 0x85, 0x30, 0xe7, 0x42, 0xfa, 0x57, 0x80, + 0xc2, 0x85, 0xe1, 0x69, 0xba, 0xd5, 0xb9, 0xa1, 0x8c, 0xe9, 0x43, 0x8a, 0x8e, 0x60, 0x9b, 0x13, + 0xf7, 0x4a, 0xe1, 0x53, 0x27, 0x06, 0xe7, 0x7c, 0x41, 0x6f, 0xea, 0x04, 0x97, 0x4e, 0x00, 0x57, + 0xf4, 0x61, 0x69, 0x2d, 0xf0, 0x9b, 0x0b, 0x05, 0xad, 0x21, 0x32, 0x60, 0xdf, 0xd4, 0x5d, 0x57, + 0xb7, 0x34, 0x25, 0x02, 0x0d, 0xe8, 0x98, 0xdc, 0xe8, 0x36, 0x0b, 0xaa, 0xa9, 0x50, 0xfd, 0x26, + 0x9d, 0xd2, 0x45, 0xd7, 0xe5, 0xb3, 0x50, 0x3b, 0x94, 0x9e, 0x46, 0xba, 0x78, 0xd7, 0x5c, 0x26, + 0x96, 0xaa, 0xb0, 0xbb, 0x14, 0x8f, 0x72, 0xb0, 0xd1, 0xa8, 0xb5, 0xda, 0x62, 0x06, 0x15, 0x21, + 0xdf, 0xef, 0xca, 0xca, 0x0b, 0xb9, 0x51, 0xeb, 0xb7, 0x7b, 0xa2, 0x20, 0x75, 0xa0, 0xb8, 0xe8, + 0xd2, 0x2f, 0xc8, 0x6d, 0x3b, 0x3e, 0x44, 0x2f, 0xff, 0xe8, 0xfd, 0x61, 0xe2, 0x99, 0x82, 0xf4, + 0xcf, 0x3a, 0xec, 0xbf, 0xb1, 0xd9, 0xd5, 0xc8, 0xb0, 0x27, 0xb3, 0xbc, 0xdb, 0xd6, 0x48, 0xd7, + 0xd0, 0x13, 0x28, 0x9a, 0xe4, 0x56, 0x71, 0x08, 0x23, 0x86, 0x41, 0x0d, 0xdd, 0x35, 0x83, 0x74, + 0x6e, 0xe2, 0x82, 0x49, 0x6e, 0x2f, 0x66, 0x52, 0xd4, 0x02, 0x31, 0x6e, 0x7c, 0x45, 0xb5, 0x2d, + 0x4e, 0x6f, 0x79, 0x54, 0xdf, 0x73, 0x91, 0xf8, 0xfc, 0x50, 0xee, 0x46, 0xb0, 0x7a, 0x88, 0xc2, + 0x45, 0x77, 0x51, 0x80, 0xde, 0xc2, 0x1e, 0x23, 0x13, 0xc5, 0xf6, 0xb8, 0xe3, 0x71, 0x65, 0x48, + 0x38, 0xf1, 0x2d, 0x8e, 0x74, 0x2d, 0x68, 0xf4, 0x7c, 0xf5, 0xe3, 0xf4, 0xaf, 0x61, 0x32, 0xe9, + 0x04, 0xe0, 0x17, 0x84, 0x93, 0x30, 0x70, 0x7c, 0x9f, 0xdd, 0x15, 0xa2, 0x32, 0x64, 0x0d, 0xbf, + 0x90, 0xdc, 0xe0, 0x2d, 0xf3, 0xd5, 0xbd, 0xb4, 0xa5, 0xa0, 0xcc, 0x5c, 0x1c, 0xa1, 0xd0, 0x73, + 0xc8, 0x13, 0xcb, 0xb2, 0x39, 0xf1, 0x33, 0xe2, 0x06, 0x54, 0x91, 0xaf, 0x1e, 0xa5, 0x95, 0x6a, + 0x33, 0x08, 0x9e, 0xc7, 0xa3, 0x9f, 0xe0, 0x9e, 0x6e, 0x71, 0xca, 0x98, 0xe7, 0x70, 0x7d, 0x60, + 0xd0, 0x52, 0x36, 0x30, 0x70, 0x58, 0x0e, 0x29, 0xb1, 0x1c, 0x53, 0x62, 0xf9, 0xd4, 0xb6, 0x8d, + 0xd7, 0x7e, 0x2d, 0xe3, 0x45, 0x05, 0x3f, 0xfd, 0xfe, 0x3b, 0x4d, 0x98, 0xce, 0xa9, 0xa2, 0x12, + 0x75, 0x4c, 0x4b, 0x5b, 0xc7, 0xc2, 0x49, 0x0e, 0x17, 0x12, 0x71, 0xdd, 0x97, 0xa2, 0x13, 0xd8, + 0xa0, 0xd6, 0x8d, 0x5b, 0xca, 0x05, 0x1e, 0x1e, 0xa4, 0x43, 0x94, 0xad, 0x1b, 0x17, 0x07, 0x08, + 0xe9, 0xf7, 0x2c, 0xa0, 0x33, 0x7f, 0x7e, 0xe8, 0x96, 0x36, 0xd7, 0x87, 0x03, 0x28, 0x05, 0x1d, + 0x13, 0x0f, 0x14, 0x65, 0x81, 0x4b, 0x7c, 0xa3, 0x9f, 0xbd, 0x8f, 0xa7, 0x66, 0x96, 0x9a, 0x19, + 0xbc, 0xc7, 0x97, 0xf3, 0xe6, 0x15, 0x1c, 0xc5, 0x33, 0x66, 0x99, 0x9b, 0xb0, 0x5c, 0x3e, 0xff, + 0x60, 0xca, 0x6a, 0x66, 0xf0, 0x81, 0xba, 0x92, 0x0e, 0xc7, 0x70, 0x98, 0x0c, 0x2a, 0xe5, 0xda, + 0x67, 0x9d, 0x79, 0x5f, 0x61, 0x25, 0x9d, 0xdc, 0xc9, 0xd3, 0x0a, 0x9a, 0x6a, 0x66, 0x70, 0x89, + 0xae, 0xa2, 0x30, 0x05, 0xf6, 0x67, 0x9e, 0xe2, 0x1f, 0x0c, 0x2a, 0x28, 0x2a, 0xb3, 0x4f, 0x57, + 0xba, 0x99, 0x67, 0xb7, 0x66, 0x06, 0xef, 0xd2, 0xa5, 0xb4, 0xd7, 0x01, 0x74, 0xed, 0x11, 0xc3, + 0x6f, 0x2d, 0x7b, 0xa4, 0xb8, 0x94, 0xdd, 0xe8, 0x2a, 0x8d, 0xaa, 0xf1, 0x71, 0xaa, 0xbb, 0x2e, + 0x43, 0x60, 0x67, 0xd4, 0x0d, 0x61, 0xcd, 0x0c, 0x16, 0xaf, 0x53, 0x32, 0xd4, 0x06, 0x31, 0x22, + 0xb7, 0x19, 0x6d, 0x64, 0xd3, 0xe6, 0x96, 0xd1, 0x86, 0x9f, 0x88, 0xa2, 0x93, 0x62, 0x1f, 0x0a, + 0x07, 0x93, 0x88, 0x3e, 0x94, 0xb9, 0x44, 0x84, 0x2d, 0xbb, 0x15, 0x98, 0x7d, 0x92, 0x36, 0xbb, + 0x82, 0x6f, 0x9a, 0x19, 0xbc, 0x3f, 0x59, 0x41, 0x45, 0x18, 0xd0, 0xdd, 0x0d, 0x25, 0x2a, 0xf8, + 0x8f, 0x56, 0x14, 0x4d, 0x2d, 0x01, 0x36, 0x33, 0x78, 0x47, 0x4d, 0x0b, 0x4f, 0x73, 0x90, 0xe5, + 0x84, 0x69, 0x94, 0x4b, 0x7f, 0x09, 0x70, 0x7c, 0x16, 0xaf, 0x55, 0xb3, 0xc7, 0x0d, 0x7d, 0x7b, + 0x2c, 0xe8, 0x68, 0x74, 0x9a, 0x1a, 0xb1, 0xbe, 0x6b, 0x29, 0xed, 0xfa, 0x6e, 0x73, 0xcd, 0xcf, + 0x52, 0x7f, 0x6d, 0x19, 0xda, 0x26, 0xd1, 0xad, 0x68, 0x4e, 0x46, 0x27, 0x7f, 0x6d, 0x71, 0x98, + 0xfd, 0x0b, 0x55, 0x79, 0xb4, 0xcf, 0xc4, 0x47, 0x74, 0x08, 0xb9, 0x38, 0x27, 0xd1, 0x46, 0x93, + 0x9c, 0xd1, 0x63, 0xc8, 0x1b, 0xc4, 0xb3, 0xd4, 0xb1, 0xe2, 0x18, 0xc4, 0x8a, 0x96, 0x19, 0x08, + 0x45, 0x17, 0x06, 0xb1, 0xa4, 0x31, 0x3c, 0x6a, 0xeb, 0x2e, 0x5f, 0xf2, 0x6b, 0x98, 0x5e, 0x7b, + 0xd4, 0xe5, 0xa8, 0x01, 0xf7, 0x92, 0x6e, 0x4c, 0xe6, 0x65, 0xe1, 0x6e, 0x4a, 0x13, 0x13, 0x71, + 0xb3, 0xe1, 0xff, 0xc5, 0x7a, 0xfe, 0x58, 0x95, 0x7e, 0x85, 0xc7, 0x2b, 0x3d, 0xb9, 0x8e, 0x6d, + 0xb9, 0x14, 0xbd, 0x85, 0x82, 0x3a, 0x9f, 0xd0, 0x78, 0x58, 0x7d, 0xb5, 0xd2, 0xd7, 0x8a, 0x97, + 0xc0, 0x29, 0x3b, 0x5f, 0xfc, 0x2d, 0xc0, 0xce, 0x9d, 0x00, 0xd1, 0x0e, 0xdc, 0xeb, 0xd5, 0xba, + 0xaf, 0x14, 0x2c, 0x77, 0x3b, 0x7d, 0x5c, 0x97, 0xc5, 0x0c, 0x7a, 0x00, 0x62, 0xbd, 0xdd, 0xef, + 0xf6, 0x64, 0x3c, 0x93, 0x0a, 0xe8, 0x3e, 0x14, 0xe5, 0xb7, 0x72, 0xbd, 0xdf, 0x6b, 0x75, 0xce, + 0x95, 0xcb, 0xbe, 0xdc, 0x97, 0xc5, 0x35, 0x74, 0x04, 0xfb, 0x33, 0x61, 0xac, 0xd4, 0xae, 0x9d, + 0xca, 0x6d, 0x71, 0x1d, 0x7d, 0x02, 0xc7, 0x97, 0xfd, 0x5a, 0xbb, 0xd5, 0x7b, 0xa7, 0x74, 0x1a, + 0x4a, 0x57, 0xc6, 0xaf, 0x5b, 0x75, 0x59, 0xe9, 0x5e, 0xc8, 0xf5, 0x56, 0xa3, 0x55, 0xaf, 0xf9, + 0x3a, 0xe2, 0x86, 0x6f, 0xf7, 0xa2, 0xdd, 0x7f, 0xd9, 0x3a, 0x57, 0x3a, 0xaf, 0x65, 0x8c, 0x5b, + 0x2f, 0x64, 0x71, 0x13, 0x3d, 0x84, 0x83, 0x37, 0x1d, 0xfc, 0xaa, 0xd1, 0xee, 0xbc, 0x51, 0xe6, + 0x1c, 0x74, 0xce, 0x1b, 0xad, 0x97, 0x62, 0x16, 0xed, 0x01, 0x8a, 0x9d, 0xd5, 0xba, 0xdd, 0xd6, + 0xcb, 0xf3, 0x33, 0xf9, 0xbc, 0x27, 0x6e, 0x9d, 0x7e, 0xf7, 0xf3, 0xb7, 0x9a, 0xce, 0xc7, 0xde, + 0xa0, 0xac, 0xda, 0x66, 0x25, 0x48, 0x98, 0xcd, 0xb4, 0x4a, 0xb2, 0x7c, 0x6b, 0xd4, 0xaa, 0x38, + 0x83, 0xa7, 0x9a, 0x5d, 0x59, 0xdc, 0xeb, 0x07, 0xd9, 0x60, 0xce, 0x7c, 0xfd, 0x5f, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xb4, 0x80, 0xda, 0x35, 0x46, 0x0c, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go b/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go index b69407074..96cc2c01a 100644 --- a/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go @@ -614,6 +614,16 @@ func (m *WorkflowExecutionConfig) Validate() error { // no validation rules for OverwriteCache + if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowExecutionConfigValidationError{ + field: "Envs", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/admin/node_execution.pb.go b/gen/pb-go/flyteidl/admin/node_execution.pb.go index 71a0c63d2..4e69dbc4d 100644 --- a/gen/pb-go/flyteidl/admin/node_execution.pb.go +++ b/gen/pb-go/flyteidl/admin/node_execution.pb.go @@ -466,7 +466,10 @@ type NodeExecutionClosure struct { TargetMetadata isNodeExecutionClosure_TargetMetadata `protobuf_oneof:"target_metadata"` // String location uniquely identifying where the deck HTML file is. // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) - DeckUri string `protobuf:"bytes,11,opt,name=deck_uri,json=deckUri,proto3" json:"deck_uri,omitempty"` + DeckUri string `protobuf:"bytes,11,opt,name=deck_uri,json=deckUri,proto3" json:"deck_uri,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required + // to correctly recover partially completed executions where the subworkflow has already been compiled. + DynamicJobSpecUri string `protobuf:"bytes,12,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -628,6 +631,13 @@ func (m *NodeExecutionClosure) GetDeckUri() string { return "" } +func (m *NodeExecutionClosure) GetDynamicJobSpecUri() string { + if m != nil { + return m.DynamicJobSpecUri + } + return "" +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*NodeExecutionClosure) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -744,10 +754,13 @@ type DynamicWorkflowNodeMetadata struct { // id represents the unique identifier of the workflow. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + // required to correctly recover partially completed executions where the subworkflow has already been compiled. + DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *DynamicWorkflowNodeMetadata) Reset() { *m = DynamicWorkflowNodeMetadata{} } @@ -789,6 +802,13 @@ func (m *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkfl return nil } +func (m *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { + if m != nil { + return m.DynamicJobSpecUri + } + return "" +} + // Request structure to fetch inputs and output for a node execution. // By default, these are not returned in :ref:`ref_flyteidl.admin.NodeExecutionGetRequest` type NodeExecutionGetDataRequest struct { @@ -845,6 +865,7 @@ type NodeExecutionGetDataResponse struct { FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. DynamicWorkflow *DynamicWorkflowNodeMetadata `protobuf:"bytes,16,opt,name=dynamic_workflow,json=dynamicWorkflow,proto3" json:"dynamic_workflow,omitempty"` + FlyteUrls *FlyteURLs `protobuf:"bytes,17,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -912,6 +933,13 @@ func (m *NodeExecutionGetDataResponse) GetDynamicWorkflow() *DynamicWorkflowNode return nil } +func (m *NodeExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { + if m != nil { + return m.FlyteUrls + } + return nil +} + func init() { proto.RegisterType((*NodeExecutionGetRequest)(nil), "flyteidl.admin.NodeExecutionGetRequest") proto.RegisterType((*NodeExecutionListRequest)(nil), "flyteidl.admin.NodeExecutionListRequest") @@ -932,76 +960,80 @@ func init() { } var fileDescriptor_f73b3eae493fd736 = []byte{ - // 1129 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xdf, 0x6e, 0xdb, 0xb6, - 0x17, 0xae, 0xdc, 0x26, 0xb1, 0x8f, 0x13, 0xc7, 0xe1, 0x2f, 0xfd, 0xd5, 0x4d, 0x9a, 0xc6, 0x53, - 0xdb, 0x21, 0xdb, 0x50, 0x1b, 0x70, 0x91, 0xfd, 0xc3, 0xb0, 0x2d, 0x4e, 0xda, 0x26, 0x58, 0xb2, - 0x65, 0x4c, 0xb3, 0x01, 0xc3, 0x30, 0x81, 0x96, 0x68, 0x87, 0xb0, 0x2c, 0x2a, 0x24, 0x85, 0xcc, - 0x8f, 0xb2, 0x8b, 0x61, 0xaf, 0xb2, 0x9b, 0xbd, 0xc5, 0xee, 0x07, 0xec, 0x29, 0x06, 0x51, 0x94, - 0x6c, 0x29, 0x42, 0x02, 0x74, 0x17, 0xbb, 0xe4, 0x39, 0xdf, 0xf9, 0x0e, 0xcf, 0xe1, 0xe1, 0x47, - 0xc2, 0x93, 0xa1, 0x3f, 0x55, 0x94, 0x79, 0x7e, 0x97, 0x78, 0x13, 0x16, 0x74, 0x03, 0xee, 0x51, - 0x87, 0xfe, 0x4c, 0xdd, 0x48, 0x31, 0x1e, 0x74, 0x42, 0xc1, 0x15, 0x47, 0x8d, 0x14, 0xd4, 0xd1, - 0xa0, 0x8d, 0xcd, 0x42, 0x90, 0xcb, 0x27, 0x93, 0x14, 0xbc, 0xb1, 0x95, 0x39, 0x5d, 0x2e, 0x68, - 0xb7, 0xc0, 0x35, 0x17, 0xab, 0xdd, 0x2e, 0x51, 0xc4, 0xe7, 0x23, 0xe3, 0x7c, 0x54, 0x70, 0xf2, - 0x49, 0xc8, 0x7c, 0x2a, 0x8c, 0xf7, 0x71, 0xde, 0xcb, 0x3c, 0x1a, 0x28, 0x36, 0x64, 0x99, 0xbf, - 0x10, 0xed, 0x33, 0x45, 0x05, 0xf1, 0xa5, 0xf1, 0x6e, 0x8f, 0x38, 0x1f, 0xf9, 0xb4, 0xab, 0x57, - 0x83, 0x68, 0xd8, 0x55, 0x6c, 0x42, 0xa5, 0x22, 0x93, 0x30, 0xa5, 0x2f, 0x02, 0xbc, 0x48, 0x90, - 0xd9, 0xce, 0xed, 0x6f, 0xe1, 0xc1, 0xd7, 0xdc, 0xa3, 0x2f, 0xd3, 0x82, 0x5e, 0x53, 0x85, 0xe9, - 0x65, 0x44, 0xa5, 0x42, 0x1f, 0x42, 0x85, 0x79, 0x2d, 0xab, 0x6d, 0xed, 0xd4, 0x7b, 0xef, 0x76, - 0xb2, 0x6e, 0xc5, 0xdb, 0xe8, 0xe4, 0x62, 0x8e, 0xb2, 0x3d, 0xe3, 0x0a, 0xf3, 0xec, 0x5f, 0x2a, - 0xd0, 0xca, 0xf9, 0x8f, 0x99, 0xcc, 0x48, 0x7f, 0x82, 0xfb, 0x57, 0x5c, 0x8c, 0x87, 0x3e, 0xbf, - 0x9a, 0x9d, 0x88, 0x93, 0xe5, 0x79, 0xbf, 0x90, 0xe7, 0x7b, 0x83, 0x2d, 0xcb, 0xf5, 0xbf, 0xab, - 0xeb, 0x4e, 0xb4, 0x0e, 0x0b, 0x3e, 0x9b, 0x30, 0xd5, 0xaa, 0xb4, 0xad, 0x9d, 0x15, 0x9c, 0x2c, - 0x62, 0xab, 0xe2, 0x63, 0x1a, 0xb4, 0xee, 0xb6, 0xad, 0x9d, 0x1a, 0x4e, 0x16, 0xa8, 0x05, 0x4b, - 0x43, 0xe6, 0x2b, 0x2a, 0x64, 0xeb, 0x9e, 0xb6, 0xa7, 0x4b, 0xf4, 0x1c, 0x96, 0x24, 0x17, 0xca, - 0x19, 0x4c, 0x5b, 0x0b, 0x7a, 0x5f, 0xeb, 0x9d, 0xfc, 0xb4, 0x74, 0xce, 0xb8, 0x50, 0x78, 0x31, - 0x06, 0xf5, 0xa7, 0x68, 0x07, 0x9a, 0x51, 0xc0, 0x2e, 0x23, 0xea, 0x84, 0x44, 0xd0, 0x40, 0xc5, - 0xf5, 0x2c, 0x6a, 0xc6, 0x46, 0x62, 0x3f, 0xd5, 0xe6, 0x23, 0xcf, 0xfe, 0xdb, 0x82, 0xed, 0x5c, - 0x6f, 0x5e, 0x71, 0xf1, 0x86, 0xc8, 0xf1, 0x7c, 0x8b, 0x30, 0xac, 0x29, 0x22, 0xc7, 0x65, 0xed, - 0x29, 0x1e, 0x43, 0x1c, 0x5a, 0xd6, 0x9a, 0x55, 0x95, 0x77, 0xfc, 0x27, 0x6d, 0xb1, 0xff, 0xb2, - 0x60, 0x25, 0x57, 0xec, 0xdb, 0x8e, 0x14, 0xda, 0x84, 0x1a, 0x0b, 0xc2, 0x48, 0x39, 0x91, 0x60, - 0xba, 0x84, 0x1a, 0xae, 0x6a, 0xc3, 0xb9, 0x60, 0xe8, 0x73, 0x58, 0x72, 0x7d, 0x2e, 0x23, 0x41, - 0x75, 0x1d, 0xf5, 0xde, 0xd3, 0xe2, 0xae, 0x72, 0xd4, 0xfb, 0x09, 0x16, 0xa7, 0x41, 0x68, 0x0f, - 0xaa, 0x13, 0xaa, 0x88, 0x47, 0x14, 0xd1, 0x05, 0xd7, 0x7b, 0xcf, 0x6e, 0x24, 0x38, 0xa1, 0x8a, - 0x1c, 0x10, 0x45, 0x70, 0x16, 0x66, 0xff, 0x66, 0xc1, 0xfd, 0x52, 0x0c, 0xda, 0x86, 0xba, 0xa0, - 0x4a, 0x4c, 0x9d, 0x91, 0xe0, 0x51, 0xa8, 0x4b, 0xaf, 0x61, 0xd0, 0xa6, 0xd7, 0xb1, 0x05, 0x3d, - 0x85, 0x06, 0x93, 0xe9, 0xdc, 0xc4, 0x42, 0xa5, 0xeb, 0xab, 0xe2, 0x65, 0x26, 0x93, 0xa9, 0x89, - 0x79, 0x51, 0x1b, 0x96, 0x65, 0x48, 0x5d, 0x0d, 0x88, 0xc7, 0x21, 0x39, 0x30, 0x88, 0x6d, 0xb1, - 0xff, 0xc8, 0x43, 0x5b, 0x00, 0x4c, 0x3a, 0xde, 0x34, 0x20, 0x13, 0xe6, 0xea, 0x3a, 0xaa, 0xb8, - 0xc6, 0xe4, 0x41, 0x62, 0xb0, 0x2f, 0x61, 0xed, 0xda, 0x9d, 0x44, 0xaf, 0x60, 0x35, 0x2f, 0x8d, - 0xb2, 0x65, 0xb5, 0xef, 0xee, 0xd4, 0x7b, 0x5b, 0x37, 0x36, 0x00, 0x37, 0x82, 0xf9, 0xa5, 0x9c, - 0xcd, 0x51, 0x65, 0x6e, 0x8e, 0xec, 0x3f, 0x16, 0x60, 0xbd, 0xac, 0xf3, 0xe8, 0x09, 0x00, 0x8f, - 0x54, 0x7a, 0x9c, 0xba, 0x25, 0xfd, 0x4a, 0xcb, 0x3a, 0xbc, 0x83, 0x6b, 0x89, 0x3d, 0x3e, 0xd5, - 0x5d, 0x58, 0xa0, 0x42, 0x70, 0xa1, 0x39, 0x73, 0x3b, 0xd2, 0xd3, 0x92, 0x91, 0xbe, 0x8c, 0x41, - 0x87, 0x77, 0x70, 0x82, 0x46, 0x5f, 0x42, 0xdd, 0x70, 0xeb, 0xf3, 0x04, 0x1d, 0xfc, 0xb0, 0x10, - 0x7c, 0x9c, 0x88, 0xe8, 0x09, 0x09, 0x4d, 0x5e, 0xb3, 0x1f, 0x7d, 0x62, 0x1f, 0xc3, 0x42, 0x78, - 0x41, 0x64, 0x32, 0x4c, 0x8d, 0x9e, 0x7d, 0xd3, 0x98, 0x76, 0x4e, 0x63, 0x24, 0x4e, 0x02, 0xd0, - 0x27, 0x00, 0x52, 0x11, 0xa1, 0xa8, 0xe7, 0x10, 0x65, 0x46, 0x69, 0xa3, 0x93, 0x08, 0x70, 0x27, - 0x15, 0xe0, 0xce, 0x9b, 0x54, 0xa1, 0x71, 0xcd, 0xa0, 0xf7, 0x14, 0xda, 0x85, 0x6a, 0x2a, 0xcc, - 0xe6, 0x6a, 0x3d, 0xbc, 0x16, 0x78, 0x60, 0x00, 0x38, 0x83, 0xc6, 0x19, 0x5d, 0x41, 0x89, 0xc9, - 0xb8, 0x78, 0x7b, 0x46, 0x83, 0xde, 0x53, 0x71, 0x68, 0x14, 0x7a, 0x69, 0xe8, 0xd2, 0xed, 0xa1, - 0x06, 0xbd, 0xa7, 0xd0, 0x8f, 0xf0, 0xff, 0x4c, 0xc3, 0xf5, 0xfc, 0x64, 0xd7, 0xa7, 0x5a, 0x7e, - 0xff, 0x52, 0x15, 0x8f, 0x7b, 0x77, 0x62, 0xb0, 0x87, 0x16, 0x5e, 0xbf, 0x2a, 0xb1, 0xa3, 0x53, - 0x40, 0x5a, 0xfe, 0xf2, 0xcc, 0x35, 0xcd, 0xdc, 0x2e, 0x32, 0xc7, 0x02, 0x58, 0x60, 0x6d, 0xaa, - 0x82, 0x0d, 0x3d, 0x84, 0xaa, 0x47, 0xdd, 0xb1, 0x9e, 0xb6, 0x7a, 0xa2, 0x68, 0xf1, 0xfa, 0x5c, - 0xb0, 0xfe, 0x2a, 0xac, 0x98, 0x71, 0x11, 0x54, 0x46, 0xbe, 0xea, 0xaf, 0xc1, 0xaa, 0x22, 0x62, - 0x44, 0x55, 0x96, 0xda, 0xf6, 0x60, 0xbd, 0xac, 0x00, 0x74, 0x0c, 0x75, 0x3a, 0xd3, 0xab, 0xb7, - 0x78, 0xc0, 0xe6, 0xc3, 0xed, 0xdf, 0x2d, 0x68, 0x16, 0xab, 0x41, 0x07, 0xb0, 0xec, 0x12, 0xf7, - 0x82, 0x3a, 0x52, 0x11, 0x15, 0x49, 0x9d, 0xa3, 0xd1, 0x7b, 0xa7, 0x90, 0x63, 0x3f, 0xf9, 0x6e, - 0xec, 0xc7, 0xc8, 0x33, 0x0d, 0xc4, 0x75, 0x77, 0xb6, 0x40, 0x5f, 0x40, 0xdd, 0xfc, 0x48, 0x9c, - 0x31, 0x9d, 0x9a, 0x0b, 0xf5, 0xb8, 0x9c, 0x24, 0x4d, 0x8d, 0xc1, 0x84, 0x7c, 0x45, 0xa7, 0xe8, - 0x19, 0x34, 0xdc, 0x0b, 0xea, 0x8e, 0x43, 0xce, 0x82, 0xe4, 0xd2, 0x26, 0x0f, 0xc3, 0xca, 0xcc, - 0x7a, 0x2e, 0x98, 0xfd, 0xab, 0x05, 0x9b, 0x46, 0x6f, 0x4a, 0x1b, 0xf6, 0xde, 0x9c, 0xfa, 0x17, - 0xaf, 0x64, 0x41, 0xf0, 0xcf, 0x60, 0xcd, 0xfc, 0x93, 0x3c, 0x27, 0x9d, 0x12, 0xb3, 0xf1, 0xe2, - 0xbb, 0xb1, 0x6f, 0x70, 0x69, 0xca, 0x54, 0xdf, 0x9b, 0x6e, 0xc1, 0x61, 0x9f, 0xc3, 0x66, 0xf1, - 0xaf, 0xa3, 0x75, 0xfc, 0x5f, 0xfe, 0x77, 0xfe, 0xac, 0xc0, 0xa3, 0x72, 0x5e, 0x19, 0xf2, 0x40, - 0x52, 0xf4, 0x02, 0x16, 0xf5, 0x63, 0x25, 0x0d, 0xf9, 0x83, 0xe2, 0x14, 0x9f, 0x0b, 0xbf, 0xef, - 0xf3, 0x41, 0x2c, 0x46, 0xd8, 0x40, 0xd1, 0x2e, 0x2c, 0x25, 0x93, 0x29, 0x4d, 0xdd, 0x37, 0x46, - 0xa5, 0x58, 0xf4, 0x29, 0xd4, 0x87, 0x91, 0xef, 0x3b, 0x26, 0xe1, 0xdd, 0x5b, 0xf4, 0x0f, 0x43, - 0x8c, 0x3e, 0x4a, 0x52, 0x7e, 0x06, 0xcb, 0x3a, 0x36, 0xcd, 0x7b, 0xef, 0xb6, 0x60, 0x9d, 0xea, - 0x1b, 0x93, 0xf9, 0x3b, 0x68, 0x9a, 0xd7, 0x67, 0x76, 0x62, 0x4d, 0xcd, 0xf0, 0x41, 0x71, 0xe7, - 0x37, 0x0c, 0x09, 0x5e, 0xf5, 0xf2, 0xce, 0xfe, 0x47, 0x3f, 0xec, 0x8e, 0x98, 0xba, 0x88, 0x06, - 0x1d, 0x97, 0x4f, 0xba, 0x9a, 0x89, 0x8b, 0x51, 0x37, 0xfb, 0x16, 0x8f, 0x68, 0xd0, 0x0d, 0x07, - 0xcf, 0x47, 0xbc, 0x9b, 0xff, 0xc0, 0x0f, 0x16, 0xb5, 0x8a, 0xbd, 0xf8, 0x27, 0x00, 0x00, 0xff, - 0xff, 0x88, 0x68, 0x21, 0x76, 0x0e, 0x0c, 0x00, 0x00, + // 1187 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xee, 0x26, 0x4d, 0x62, 0x1f, 0x27, 0x4e, 0x32, 0xb8, 0xd4, 0x6d, 0xfa, 0x63, 0xb6, 0x2d, + 0x0a, 0xa0, 0xda, 0x92, 0xab, 0x40, 0x41, 0x08, 0x88, 0x93, 0xfe, 0x04, 0x52, 0x28, 0x93, 0x1a, + 0x24, 0x84, 0x58, 0x8d, 0x77, 0xc7, 0xce, 0xe0, 0xf5, 0xce, 0x76, 0x66, 0x56, 0xc1, 0x2f, 0x82, + 0xc4, 0x15, 0xaf, 0xc2, 0x13, 0xf0, 0x1a, 0x48, 0x3c, 0x00, 0xd7, 0x68, 0x66, 0x67, 0xd7, 0xde, + 0xad, 0x9b, 0x48, 0xe5, 0x82, 0xcb, 0x39, 0xe7, 0x3b, 0xbf, 0xf3, 0x9d, 0x33, 0xbb, 0x70, 0x67, + 0x18, 0x4e, 0x15, 0x65, 0x41, 0xd8, 0x21, 0xc1, 0x84, 0x45, 0x9d, 0x88, 0x07, 0xd4, 0xa3, 0xbf, + 0x50, 0x3f, 0x51, 0x8c, 0x47, 0xed, 0x58, 0x70, 0xc5, 0x51, 0x3d, 0x03, 0xb5, 0x0d, 0xe8, 0xfa, + 0x4e, 0xc9, 0xc8, 0xe7, 0x93, 0x49, 0x06, 0xbe, 0x7e, 0x33, 0x57, 0xfa, 0x5c, 0xd0, 0x4e, 0xc9, + 0xd7, 0x9c, 0xad, 0x51, 0xfb, 0x44, 0x91, 0x90, 0x8f, 0xac, 0xf2, 0x46, 0x49, 0xc9, 0x27, 0x31, + 0x0b, 0xa9, 0xb0, 0xda, 0x5b, 0x45, 0x2d, 0x0b, 0x68, 0xa4, 0xd8, 0x90, 0xe5, 0xfa, 0x92, 0x75, + 0xc8, 0x14, 0x15, 0x24, 0x94, 0x56, 0x7b, 0x7b, 0xc4, 0xf9, 0x28, 0xa4, 0x1d, 0x73, 0x1a, 0x24, + 0xc3, 0x8e, 0x62, 0x13, 0x2a, 0x15, 0x99, 0xc4, 0x99, 0xfb, 0x32, 0x20, 0x48, 0x04, 0x99, 0x65, + 0xee, 0x7e, 0x0b, 0x57, 0xbf, 0xe6, 0x01, 0x7d, 0x94, 0x15, 0xf4, 0x84, 0x2a, 0x4c, 0x5f, 0x26, + 0x54, 0x2a, 0xf4, 0x21, 0x2c, 0xb1, 0xa0, 0xe9, 0xb4, 0x9c, 0xdd, 0x5a, 0xf7, 0xdd, 0x76, 0xde, + 0x2d, 0x9d, 0x46, 0xbb, 0x60, 0x73, 0x94, 0xe7, 0x8c, 0x97, 0x58, 0xe0, 0xfe, 0xb6, 0x04, 0xcd, + 0x82, 0xfe, 0x98, 0xc9, 0xdc, 0xe9, 0x4f, 0x70, 0xe5, 0x8c, 0x8b, 0xf1, 0x30, 0xe4, 0x67, 0xb3, + 0x1b, 0xf1, 0xf2, 0x38, 0xef, 0x97, 0xe2, 0x7c, 0x6f, 0xb1, 0x8b, 0x62, 0xbd, 0x75, 0xf6, 0xaa, + 0x12, 0x35, 0x60, 0x25, 0x64, 0x13, 0xa6, 0x9a, 0x4b, 0x2d, 0x67, 0x77, 0x03, 0xa7, 0x07, 0x2d, + 0x55, 0x7c, 0x4c, 0xa3, 0xe6, 0x72, 0xcb, 0xd9, 0xad, 0xe2, 0xf4, 0x80, 0x9a, 0xb0, 0x36, 0x64, + 0xa1, 0xa2, 0x42, 0x36, 0x2f, 0x1b, 0x79, 0x76, 0x44, 0xf7, 0x61, 0x4d, 0x72, 0xa1, 0xbc, 0xc1, + 0xb4, 0xb9, 0x62, 0xf2, 0x6a, 0xb4, 0x8b, 0x6c, 0x69, 0x9f, 0x70, 0xa1, 0xf0, 0xaa, 0x06, 0xf5, + 0xa6, 0x68, 0x17, 0xb6, 0x92, 0x88, 0xbd, 0x4c, 0xa8, 0x17, 0x13, 0x41, 0x23, 0xa5, 0xeb, 0x59, + 0x35, 0x1e, 0xeb, 0xa9, 0xfc, 0xb9, 0x11, 0x1f, 0x05, 0xee, 0xdf, 0x0e, 0xdc, 0x2e, 0xf4, 0xe6, + 0x31, 0x17, 0x2f, 0x88, 0x1c, 0xcf, 0xb7, 0x08, 0xc3, 0xb6, 0x22, 0x72, 0xbc, 0xa8, 0x3d, 0xe5, + 0x6b, 0xd0, 0xa6, 0x8b, 0x5a, 0xb3, 0xa9, 0x8a, 0x8a, 0xff, 0xa5, 0x2d, 0xee, 0x5f, 0x0e, 0x6c, + 0x14, 0x8a, 0x7d, 0x53, 0x4a, 0xa1, 0x1d, 0xa8, 0xb2, 0x28, 0x4e, 0x94, 0x97, 0x08, 0x66, 0x4a, + 0xa8, 0xe2, 0x8a, 0x11, 0xf4, 0x05, 0x43, 0x9f, 0xc1, 0x9a, 0x1f, 0x72, 0x99, 0x08, 0x6a, 0xea, + 0xa8, 0x75, 0xef, 0x96, 0xb3, 0x2a, 0xb8, 0x3e, 0x48, 0xb1, 0x38, 0x33, 0x42, 0xfb, 0x50, 0x99, + 0x50, 0x45, 0x02, 0xa2, 0x88, 0x29, 0xb8, 0xd6, 0xbd, 0x77, 0xae, 0x83, 0x67, 0x54, 0x91, 0x43, + 0xa2, 0x08, 0xce, 0xcd, 0xdc, 0xdf, 0x1d, 0xb8, 0xb2, 0x10, 0x83, 0x6e, 0x43, 0x4d, 0x50, 0x25, + 0xa6, 0xde, 0x48, 0xf0, 0x24, 0x36, 0xa5, 0x57, 0x31, 0x18, 0xd1, 0x13, 0x2d, 0x41, 0x77, 0xa1, + 0xce, 0x64, 0xc6, 0x1b, 0xbd, 0xa8, 0x4c, 0x7d, 0x15, 0xbc, 0xce, 0x64, 0xca, 0x1a, 0xed, 0x17, + 0xb5, 0x60, 0x5d, 0xc6, 0xd4, 0x37, 0x00, 0x4d, 0x87, 0xf4, 0xc2, 0x40, 0xcb, 0xb4, 0xfe, 0x28, + 0x40, 0x37, 0x01, 0x98, 0xf4, 0x82, 0x69, 0x44, 0x26, 0xcc, 0x37, 0x75, 0x54, 0x70, 0x95, 0xc9, + 0xc3, 0x54, 0xe0, 0xbe, 0x84, 0xed, 0x57, 0x66, 0x12, 0x3d, 0x86, 0xcd, 0xe2, 0x6a, 0x94, 0x4d, + 0xa7, 0xb5, 0xbc, 0x5b, 0xeb, 0xde, 0x3c, 0xb7, 0x01, 0xb8, 0x1e, 0xcd, 0x1f, 0xe5, 0x8c, 0x47, + 0x4b, 0x73, 0x3c, 0x72, 0xff, 0x59, 0x81, 0xc6, 0xa2, 0xce, 0xa3, 0x3b, 0x00, 0x3c, 0x51, 0xd9, + 0x75, 0x9a, 0x96, 0xf4, 0x96, 0x9a, 0xce, 0xd3, 0x4b, 0xb8, 0x9a, 0xca, 0xf5, 0xad, 0xee, 0xc1, + 0x0a, 0x15, 0x82, 0x0b, 0xe3, 0xb3, 0x90, 0x91, 0x61, 0x4b, 0xee, 0xf4, 0x91, 0x06, 0x3d, 0xbd, + 0x84, 0x53, 0x34, 0xfa, 0x02, 0x6a, 0xd6, 0xb7, 0xb9, 0x4f, 0x30, 0xc6, 0xd7, 0x4a, 0xc6, 0xc7, + 0xe9, 0x12, 0x7d, 0x46, 0x62, 0x1b, 0xd7, 0xe6, 0x63, 0x6e, 0xec, 0x21, 0xac, 0xc4, 0xa7, 0x44, + 0xa6, 0x64, 0xaa, 0x77, 0xdd, 0xf3, 0x68, 0xda, 0x7e, 0xae, 0x91, 0x38, 0x35, 0x40, 0x1f, 0x03, + 0x48, 0x45, 0x84, 0xa2, 0x81, 0x47, 0x94, 0xa5, 0xd2, 0xf5, 0x76, 0xba, 0x80, 0xdb, 0xd9, 0x02, + 0x6e, 0xbf, 0xc8, 0x36, 0x34, 0xae, 0x5a, 0xf4, 0xbe, 0x42, 0x7b, 0x50, 0xc9, 0x16, 0xb3, 0x1d, + 0xad, 0x6b, 0xaf, 0x18, 0x1e, 0x5a, 0x00, 0xce, 0xa1, 0x3a, 0xa2, 0x2f, 0x28, 0xb1, 0x11, 0x57, + 0x2f, 0x8e, 0x68, 0xd1, 0xfb, 0x4a, 0x9b, 0x26, 0x71, 0x90, 0x99, 0xae, 0x5d, 0x6c, 0x6a, 0xd1, + 0xfb, 0x0a, 0xfd, 0x08, 0x6f, 0xe7, 0x3b, 0xdc, 0xf0, 0x27, 0x1f, 0x9f, 0xca, 0xe2, 0xf9, 0xcb, + 0xb6, 0xb8, 0xee, 0xdd, 0x33, 0x8b, 0x7d, 0xea, 0xe0, 0xc6, 0xd9, 0x02, 0x39, 0x7a, 0x0e, 0xc8, + 0xac, 0xbf, 0xa2, 0xe7, 0xaa, 0xf1, 0xdc, 0x2a, 0x7b, 0xd6, 0x0b, 0xb0, 0xe4, 0x75, 0x4b, 0x95, + 0x64, 0xe8, 0x1a, 0x54, 0x02, 0xea, 0x8f, 0x0d, 0xdb, 0x6a, 0xe9, 0x46, 0xd3, 0x67, 0xcd, 0xb2, + 0x0e, 0x34, 0xec, 0xc8, 0x78, 0x3f, 0xf3, 0x81, 0x67, 0x66, 0x4c, 0xc3, 0xd6, 0x0d, 0x6c, 0xdb, + 0xea, 0xbe, 0xe4, 0x83, 0x93, 0x98, 0xfa, 0x7d, 0xc1, 0x7a, 0x9b, 0xb0, 0x61, 0xf9, 0x25, 0xa8, + 0x4c, 0x42, 0xd5, 0xdb, 0x86, 0x4d, 0x45, 0xc4, 0x88, 0xaa, 0x3c, 0x57, 0x37, 0x80, 0xc6, 0xa2, + 0x8a, 0xd1, 0x31, 0xd4, 0xe8, 0x6c, 0xc1, 0xbd, 0xc1, 0x8b, 0x37, 0x6f, 0xee, 0xfe, 0xe1, 0xc0, + 0x56, 0xb9, 0x7c, 0x74, 0x08, 0xeb, 0x3e, 0xf1, 0x4f, 0xa9, 0x27, 0x15, 0x51, 0x89, 0x34, 0x31, + 0xea, 0xdd, 0x77, 0x4a, 0x31, 0x0e, 0xd2, 0xef, 0x93, 0x03, 0x8d, 0x3c, 0x31, 0x40, 0x5c, 0xf3, + 0x67, 0x07, 0xf4, 0x39, 0xd4, 0xec, 0x27, 0x8c, 0x37, 0xa6, 0x53, 0x3b, 0x81, 0xb7, 0x16, 0x3b, + 0xc9, 0x42, 0x63, 0xb0, 0x26, 0x5f, 0xd1, 0x29, 0xba, 0x07, 0x75, 0xff, 0x94, 0xfa, 0xe3, 0x98, + 0xb3, 0x28, 0x9d, 0xf2, 0xf4, 0x25, 0xd9, 0x98, 0x49, 0xfb, 0x82, 0xb9, 0x7f, 0x3a, 0xb0, 0x63, + 0x17, 0xd4, 0xc2, 0x86, 0xbd, 0x37, 0xf7, 0x5c, 0x94, 0x67, 0xb8, 0xf4, 0x42, 0x9c, 0xc0, 0xb6, + 0xfd, 0xb0, 0x0a, 0xbc, 0x8c, 0x56, 0x36, 0xf1, 0xf2, 0x43, 0x73, 0x60, 0x71, 0x59, 0xc8, 0xec, + 0x41, 0xd8, 0xf2, 0x4b, 0x8a, 0xd7, 0xb2, 0x63, 0xf9, 0x35, 0xec, 0x70, 0xfb, 0xb0, 0x53, 0xfe, + 0x9a, 0x32, 0x2f, 0xc5, 0x7f, 0xfc, 0xa2, 0xfa, 0x75, 0x19, 0x6e, 0x2c, 0xf6, 0x2b, 0x63, 0x1e, + 0x49, 0x8a, 0x1e, 0xc0, 0xaa, 0x79, 0x0e, 0xa5, 0x75, 0x7e, 0xb5, 0x3c, 0x27, 0x7d, 0x11, 0xf6, + 0x42, 0x3e, 0xd0, 0xeb, 0x0e, 0x5b, 0x28, 0xda, 0x83, 0xb5, 0x94, 0xca, 0xd2, 0x36, 0xea, 0x5c, + 0xab, 0x0c, 0x8b, 0x3e, 0x81, 0xda, 0x30, 0x09, 0x43, 0xcf, 0x06, 0x5c, 0xbe, 0x60, 0xc3, 0x62, + 0xd0, 0xe8, 0xa3, 0x34, 0xe4, 0xa7, 0xb0, 0x6e, 0x6c, 0xb3, 0xb8, 0x97, 0x2f, 0x32, 0x36, 0xa1, + 0xbe, 0xb1, 0x91, 0xbf, 0x83, 0xad, 0xec, 0x3a, 0xf2, 0x2b, 0xde, 0x32, 0x1e, 0x3e, 0x28, 0x67, + 0x7e, 0x0e, 0xab, 0xf0, 0x66, 0x50, 0x54, 0xa2, 0x87, 0x00, 0xc6, 0xdc, 0x4b, 0x44, 0x28, 0x9b, + 0xdb, 0xe5, 0x9c, 0x52, 0x8f, 0x8f, 0xf5, 0xb1, 0x8f, 0x8f, 0x25, 0xae, 0x1a, 0x4d, 0x5f, 0x84, + 0xb2, 0xf7, 0xd1, 0x0f, 0x7b, 0x23, 0xa6, 0x4e, 0x93, 0x41, 0xdb, 0xe7, 0x93, 0x8e, 0x91, 0x73, + 0x31, 0xea, 0xe4, 0x9f, 0xec, 0x23, 0x1a, 0x75, 0xe2, 0xc1, 0xfd, 0x11, 0xef, 0x14, 0x7f, 0x2e, + 0x06, 0xab, 0x66, 0xc3, 0x3e, 0xf8, 0x37, 0x00, 0x00, 0xff, 0xff, 0x26, 0xae, 0x74, 0xa3, 0xaa, + 0x0c, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go b/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go index 0358489d9..72b85d59f 100644 --- a/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go @@ -616,6 +616,8 @@ func (m *NodeExecutionClosure) Validate() error { // no validation rules for DeckUri + // no validation rules for DynamicJobSpecUri + switch m.OutputResult.(type) { case *NodeExecutionClosure_OutputUri: @@ -918,6 +920,8 @@ func (m *DynamicWorkflowNodeMetadata) Validate() error { } } + // no validation rules for DynamicJobSpecUri + return nil } @@ -1114,6 +1118,16 @@ func (m *NodeExecutionGetDataResponse) Validate() error { } } + if v, ok := interface{}(m.GetFlyteUrls()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return NodeExecutionGetDataResponseValidationError{ + field: "FlyteUrls", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/admin/task_execution.pb.go b/gen/pb-go/flyteidl/admin/task_execution.pb.go index 1057668a0..a68b8936c 100644 --- a/gen/pb-go/flyteidl/admin/task_execution.pb.go +++ b/gen/pb-go/flyteidl/admin/task_execution.pb.go @@ -305,10 +305,13 @@ type TaskExecutionClosure struct { // proto message. For example, event_verison > 0 means that maps tasks logs use the // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog // in this message. - EventVersion int32 `protobuf:"varint,17,opt,name=event_version,json=eventVersion,proto3" json:"event_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EventVersion int32 `protobuf:"varint,17,opt,name=event_version,json=eventVersion,proto3" json:"event_version,omitempty"` + // A time-series of the phase transition or update explanations. This, when compared to storing a singular reason + // as previously done, is much more valuable in visualizing and understanding historical evaluations. + Reasons []*Reason `protobuf:"bytes,18,rep,name=reasons,proto3" json:"reasons,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TaskExecutionClosure) Reset() { *m = TaskExecutionClosure{} } @@ -465,6 +468,13 @@ func (m *TaskExecutionClosure) GetEventVersion() int32 { return 0 } +func (m *TaskExecutionClosure) GetReasons() []*Reason { + if m != nil { + return m.Reasons + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*TaskExecutionClosure) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -474,6 +484,56 @@ func (*TaskExecutionClosure) XXX_OneofWrappers() []interface{} { } } +// Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. +type Reason struct { + // occurred_at is the timestamp indicating the instant that this reason happened. + OccurredAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` + // message is the explanation for the most recent phase transition or status update. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Reason) Reset() { *m = Reason{} } +func (m *Reason) String() string { return proto.CompactTextString(m) } +func (*Reason) ProtoMessage() {} +func (*Reason) Descriptor() ([]byte, []int) { + return fileDescriptor_8cde4c3aa101642e, []int{5} +} + +func (m *Reason) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Reason.Unmarshal(m, b) +} +func (m *Reason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Reason.Marshal(b, m, deterministic) +} +func (m *Reason) XXX_Merge(src proto.Message) { + xxx_messageInfo_Reason.Merge(m, src) +} +func (m *Reason) XXX_Size() int { + return xxx_messageInfo_Reason.Size(m) +} +func (m *Reason) XXX_DiscardUnknown() { + xxx_messageInfo_Reason.DiscardUnknown(m) +} + +var xxx_messageInfo_Reason proto.InternalMessageInfo + +func (m *Reason) GetOccurredAt() *timestamp.Timestamp { + if m != nil { + return m.OccurredAt + } + return nil +} + +func (m *Reason) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + // Request structure to fetch inputs and output for a task execution. // By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest` type TaskExecutionGetDataRequest struct { @@ -489,7 +549,7 @@ func (m *TaskExecutionGetDataRequest) Reset() { *m = TaskExecutionGetDat func (m *TaskExecutionGetDataRequest) String() string { return proto.CompactTextString(m) } func (*TaskExecutionGetDataRequest) ProtoMessage() {} func (*TaskExecutionGetDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{5} + return fileDescriptor_8cde4c3aa101642e, []int{6} } func (m *TaskExecutionGetDataRequest) XXX_Unmarshal(b []byte) error { @@ -528,17 +588,20 @@ type TaskExecutionGetDataResponse struct { // Full_inputs will only be populated if they are under a configured size threshold. FullInputs *core.LiteralMap `protobuf:"bytes,3,opt,name=full_inputs,json=fullInputs,proto3" json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. - FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FullOutputs *core.LiteralMap `protobuf:"bytes,4,opt,name=full_outputs,json=fullOutputs,proto3" json:"full_outputs,omitempty"` + // flyte tiny url to fetch a core.LiteralMap of task execution's IO + // Deck will be empty for task + FlyteUrls *FlyteURLs `protobuf:"bytes,5,opt,name=flyte_urls,json=flyteUrls,proto3" json:"flyte_urls,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TaskExecutionGetDataResponse) Reset() { *m = TaskExecutionGetDataResponse{} } func (m *TaskExecutionGetDataResponse) String() string { return proto.CompactTextString(m) } func (*TaskExecutionGetDataResponse) ProtoMessage() {} func (*TaskExecutionGetDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8cde4c3aa101642e, []int{6} + return fileDescriptor_8cde4c3aa101642e, []int{7} } func (m *TaskExecutionGetDataResponse) XXX_Unmarshal(b []byte) error { @@ -589,12 +652,20 @@ func (m *TaskExecutionGetDataResponse) GetFullOutputs() *core.LiteralMap { return nil } +func (m *TaskExecutionGetDataResponse) GetFlyteUrls() *FlyteURLs { + if m != nil { + return m.FlyteUrls + } + return nil +} + func init() { proto.RegisterType((*TaskExecutionGetRequest)(nil), "flyteidl.admin.TaskExecutionGetRequest") proto.RegisterType((*TaskExecutionListRequest)(nil), "flyteidl.admin.TaskExecutionListRequest") proto.RegisterType((*TaskExecution)(nil), "flyteidl.admin.TaskExecution") proto.RegisterType((*TaskExecutionList)(nil), "flyteidl.admin.TaskExecutionList") proto.RegisterType((*TaskExecutionClosure)(nil), "flyteidl.admin.TaskExecutionClosure") + proto.RegisterType((*Reason)(nil), "flyteidl.admin.Reason") proto.RegisterType((*TaskExecutionGetDataRequest)(nil), "flyteidl.admin.TaskExecutionGetDataRequest") proto.RegisterType((*TaskExecutionGetDataResponse)(nil), "flyteidl.admin.TaskExecutionGetDataResponse") } @@ -604,59 +675,63 @@ func init() { } var fileDescriptor_8cde4c3aa101642e = []byte{ - // 851 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xdd, 0x6e, 0xdc, 0x44, - 0x14, 0xae, 0x37, 0xd9, 0xbf, 0xb3, 0xf9, 0x21, 0xa3, 0xa8, 0x31, 0x9b, 0x14, 0x56, 0x1b, 0x40, - 0x2b, 0xa4, 0xda, 0x52, 0xaa, 0x40, 0x41, 0x08, 0x91, 0xa5, 0x85, 0x46, 0x4a, 0xa1, 0x4c, 0x13, - 0x2e, 0xb8, 0xb1, 0x66, 0xd7, 0xb3, 0xdb, 0x51, 0x6c, 0x8f, 0x3b, 0x73, 0x5c, 0xb1, 0xf7, 0xbc, - 0x18, 0xcf, 0xc2, 0x1d, 0x4f, 0x81, 0x3c, 0x1e, 0x3b, 0xb1, 0x1b, 0xb2, 0x12, 0xdc, 0x58, 0x3a, - 0xe7, 0x7c, 0xdf, 0xf9, 0x3f, 0x63, 0x38, 0x5e, 0x44, 0x2b, 0xe4, 0x22, 0x8c, 0x7c, 0x16, 0xc6, - 0x22, 0xf1, 0x91, 0xe9, 0xeb, 0x80, 0xff, 0xce, 0xe7, 0x19, 0x0a, 0x99, 0x78, 0xa9, 0x92, 0x28, - 0xc9, 0x4e, 0x09, 0xf2, 0x0c, 0x68, 0x78, 0xd8, 0x20, 0xcd, 0x65, 0x1c, 0x97, 0xe0, 0xe1, 0xa3, - 0xca, 0x38, 0x97, 0x8a, 0xfb, 0x0d, 0x5f, 0xc3, 0x8f, 0xea, 0x66, 0x11, 0xf2, 0x04, 0xc5, 0x42, - 0x70, 0x65, 0xed, 0x47, 0x75, 0x7b, 0x24, 0x90, 0x2b, 0x16, 0x69, 0x6b, 0x1d, 0x56, 0x56, 0xfe, - 0x8e, 0x27, 0x58, 0x7c, 0xad, 0xed, 0xe3, 0xa5, 0x94, 0xcb, 0x88, 0xfb, 0x46, 0x9a, 0x65, 0x0b, - 0x1f, 0x45, 0xcc, 0x35, 0xb2, 0x38, 0x2d, 0x43, 0x37, 0x01, 0x61, 0xa6, 0xd8, 0xad, 0xd4, 0x8e, - 0x9a, 0x76, 0x8d, 0x2a, 0x9b, 0x5b, 0xf7, 0xe3, 0x5f, 0xe0, 0xe0, 0x92, 0xe9, 0xeb, 0xe7, 0x65, - 0x3d, 0x3f, 0x72, 0xa4, 0xfc, 0x6d, 0xc6, 0x35, 0x92, 0x2f, 0xa0, 0x25, 0x42, 0xd7, 0x19, 0x39, - 0x93, 0xc1, 0xc9, 0x67, 0x5e, 0xd5, 0xac, 0xbc, 0x00, 0xaf, 0xc6, 0x39, 0xaf, 0xaa, 0xa5, 0x2d, - 0x11, 0x8e, 0xff, 0x72, 0xc0, 0xad, 0xd9, 0x2f, 0x84, 0xae, 0x9c, 0x52, 0xd8, 0x4b, 0x64, 0xc8, - 0x6f, 0x86, 0x11, 0xfc, 0x6b, 0x8c, 0x9f, 0x64, 0xc8, 0xef, 0x8a, 0xb1, 0x9b, 0xd4, 0x0d, 0x64, - 0x1f, 0xda, 0x91, 0x88, 0x05, 0xba, 0xad, 0x91, 0x33, 0xd9, 0xa6, 0x85, 0x90, 0x6b, 0x51, 0x5e, - 0xf3, 0xc4, 0xdd, 0x18, 0x39, 0x93, 0x3e, 0x2d, 0x04, 0xe2, 0x42, 0x77, 0x21, 0x22, 0xe4, 0x4a, - 0xbb, 0x9b, 0x46, 0x5f, 0x8a, 0xe4, 0x31, 0x74, 0xb5, 0x54, 0x18, 0xcc, 0x56, 0x6e, 0xdb, 0xe4, - 0xb3, 0xef, 0xd5, 0x17, 0xc4, 0x7b, 0x2d, 0x15, 0xd2, 0x4e, 0x0e, 0x9a, 0xae, 0xc6, 0x7f, 0x3a, - 0xb0, 0x5d, 0xab, 0xf2, 0xbf, 0xf6, 0x8b, 0x1c, 0x42, 0x5f, 0x24, 0x69, 0x86, 0x41, 0xa6, 0x84, - 0x29, 0xa1, 0x4f, 0x7b, 0x46, 0x71, 0xa5, 0x04, 0xf9, 0x16, 0xba, 0xf3, 0x48, 0xea, 0x4c, 0x71, - 0x53, 0xc7, 0xe0, 0xe4, 0x93, 0x66, 0x56, 0x35, 0xd7, 0xdf, 0x17, 0x58, 0x5a, 0x92, 0x8c, 0x73, - 0x1d, 0xa4, 0x4c, 0xf1, 0x04, 0x4d, 0xc5, 0x3d, 0xda, 0x13, 0xfa, 0x95, 0x91, 0xc7, 0x6f, 0x61, - 0xef, 0xbd, 0x41, 0x91, 0x1f, 0x60, 0xb7, 0x7e, 0x2e, 0xda, 0x75, 0x46, 0x1b, 0x93, 0xc1, 0xc9, - 0xa3, 0x7b, 0x23, 0xd3, 0x1d, 0xbc, 0x2d, 0xea, 0x9b, 0xfe, 0xb7, 0x6e, 0xf5, 0x7f, 0xfc, 0x77, - 0x1b, 0xf6, 0xef, 0xca, 0x98, 0x1c, 0x03, 0xc8, 0x0c, 0xcb, 0x36, 0xe4, 0x5d, 0xec, 0x4f, 0x5b, - 0xae, 0xf3, 0xe2, 0x01, 0xed, 0x17, 0xfa, 0xbc, 0x1b, 0xa7, 0xd0, 0xe6, 0x4a, 0x49, 0x65, 0x7c, - 0xd6, 0x32, 0x32, 0x5d, 0xae, 0x9c, 0x3e, 0xcf, 0x41, 0x2f, 0x1e, 0xd0, 0x02, 0x4d, 0xbe, 0x83, - 0x81, 0xf5, 0x1d, 0x32, 0x64, 0xee, 0x96, 0x21, 0x7f, 0xd8, 0x20, 0x5f, 0x14, 0x37, 0xf9, 0x92, - 0xa5, 0x36, 0xae, 0xcd, 0xe7, 0x19, 0x43, 0x46, 0x9e, 0x42, 0x3b, 0x7d, 0xc3, 0x74, 0x31, 0x84, - 0x9d, 0x93, 0xf1, 0x7d, 0xe3, 0xf5, 0x5e, 0xe5, 0x48, 0x5a, 0x10, 0xc8, 0xe7, 0xb0, 0x19, 0xc9, - 0x65, 0xbe, 0x6d, 0x79, 0x0f, 0x1f, 0xde, 0x41, 0xbc, 0x90, 0x4b, 0x6a, 0x30, 0xe4, 0x2b, 0x00, - 0x8d, 0x4c, 0x21, 0x0f, 0x03, 0x86, 0x76, 0x0b, 0x87, 0x5e, 0x71, 0xbf, 0x5e, 0x79, 0xbf, 0xde, - 0x65, 0xf9, 0x00, 0xd0, 0xbe, 0x45, 0x9f, 0x21, 0x39, 0x85, 0x5e, 0x79, 0xf7, 0x6e, 0xc7, 0xd6, - 0xd7, 0x24, 0x3e, 0xb3, 0x00, 0x5a, 0x41, 0xf3, 0x88, 0x73, 0xc5, 0x99, 0x8d, 0xd8, 0x5d, 0x1f, - 0xd1, 0xa2, 0xcf, 0x30, 0xa7, 0x66, 0x69, 0x58, 0x52, 0x7b, 0xeb, 0xa9, 0x16, 0x7d, 0x86, 0xe4, - 0x29, 0x0c, 0xe6, 0x99, 0x46, 0x19, 0x07, 0x22, 0x59, 0x48, 0xb7, 0x6f, 0xb8, 0x07, 0xef, 0x71, - 0x5f, 0x9b, 0x87, 0x8a, 0x42, 0x81, 0x3d, 0x4f, 0x16, 0x92, 0x3c, 0x84, 0x8e, 0xe2, 0x4c, 0xcb, - 0xc4, 0x05, 0xb3, 0x55, 0x56, 0xca, 0xd7, 0xdc, 0x2c, 0x2d, 0xae, 0x52, 0xee, 0x0e, 0x8a, 0x1b, - 0xca, 0x15, 0x97, 0xab, 0x94, 0x93, 0x33, 0xe8, 0xc5, 0x1c, 0x99, 0x99, 0xfd, 0x07, 0x26, 0xd6, - 0xa7, 0x37, 0x63, 0x28, 0xde, 0xda, 0xda, 0x00, 0x5f, 0x5a, 0x30, 0xad, 0x68, 0xe4, 0x18, 0xb6, - 0x0d, 0x30, 0x78, 0xc7, 0x95, 0xce, 0x7b, 0xbc, 0x37, 0x72, 0x26, 0x6d, 0xba, 0x65, 0x94, 0xbf, - 0x16, 0xba, 0xe9, 0x2e, 0x6c, 0xdb, 0x35, 0x53, 0x5c, 0x67, 0x11, 0x8e, 0xaf, 0xe0, 0xb0, 0xf9, - 0xb8, 0xe6, 0xdb, 0xf4, 0x7f, 0x1f, 0xd8, 0x3f, 0x5a, 0x70, 0x74, 0xb7, 0x5f, 0x9d, 0xca, 0x44, - 0x73, 0xf2, 0x04, 0x3a, 0xe6, 0x01, 0xd1, 0xd6, 0xf9, 0x41, 0xf3, 0x72, 0xaf, 0x54, 0x34, 0x8d, - 0xe4, 0x2c, 0x5f, 0x74, 0x6a, 0xa1, 0xe4, 0x14, 0xba, 0x45, 0xf6, 0xda, 0x5e, 0xd7, 0xbd, 0xac, - 0x12, 0x4b, 0xbe, 0x86, 0xc1, 0x22, 0x8b, 0xa2, 0xc0, 0x06, 0xdc, 0x58, 0x73, 0x5b, 0x14, 0x72, - 0xf4, 0x79, 0x11, 0xf2, 0x1b, 0xd8, 0x32, 0xdc, 0x32, 0xee, 0xe6, 0x3a, 0xb2, 0x09, 0xf5, 0x73, - 0x81, 0x9e, 0x7e, 0xf9, 0xdb, 0xe9, 0x52, 0xe0, 0x9b, 0x6c, 0xe6, 0xcd, 0x65, 0xec, 0x1b, 0x8e, - 0x54, 0x4b, 0xbf, 0xfa, 0x97, 0x2e, 0x79, 0xe2, 0xa7, 0xb3, 0xc7, 0x4b, 0xe9, 0xd7, 0x7f, 0xec, - 0xb3, 0x8e, 0xd9, 0xb0, 0x27, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x34, 0x93, 0x80, 0x05, 0x26, - 0x08, 0x00, 0x00, + // 925 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xeb, 0x6e, 0x1b, 0x45, + 0x14, 0xee, 0xba, 0x89, 0x2f, 0xc7, 0xb9, 0x90, 0x51, 0xd4, 0x6c, 0x9d, 0x14, 0x2c, 0x07, 0x90, + 0x85, 0xd4, 0x35, 0x4a, 0x15, 0x08, 0x17, 0x21, 0x6c, 0xda, 0xd2, 0x48, 0x29, 0x94, 0x69, 0xcc, + 0x0f, 0xfe, 0xac, 0xc6, 0xbb, 0x63, 0x77, 0x94, 0xdd, 0x9d, 0xed, 0xcc, 0x6c, 0x85, 0xdf, 0x85, + 0x67, 0x41, 0xe2, 0x59, 0x78, 0x11, 0x34, 0x97, 0x75, 0xb2, 0xdb, 0x10, 0x4b, 0xf0, 0x67, 0xa5, + 0x73, 0xce, 0xf7, 0x9d, 0xfb, 0x19, 0x2d, 0x1c, 0xcf, 0x93, 0xa5, 0xa2, 0x2c, 0x4e, 0x46, 0x24, + 0x4e, 0x59, 0x36, 0x52, 0x44, 0x5e, 0x85, 0xf4, 0x77, 0x1a, 0x15, 0x8a, 0xf1, 0x2c, 0xc8, 0x05, + 0x57, 0x1c, 0xed, 0x94, 0xa0, 0xc0, 0x80, 0x7a, 0x87, 0x35, 0x52, 0xc4, 0xd3, 0xb4, 0x04, 0xf7, + 0x1e, 0xad, 0x8c, 0x11, 0x17, 0x74, 0x54, 0xf3, 0xd5, 0xfb, 0xb0, 0x6a, 0x66, 0x31, 0xcd, 0x14, + 0x9b, 0x33, 0x2a, 0x9c, 0xfd, 0xa8, 0x6a, 0x4f, 0x98, 0xa2, 0x82, 0x24, 0xd2, 0x59, 0x7b, 0x2b, + 0x2b, 0x7d, 0x47, 0x33, 0x65, 0xbf, 0xce, 0xf6, 0xd1, 0x82, 0xf3, 0x45, 0x42, 0x47, 0x46, 0x9a, + 0x15, 0xf3, 0x91, 0x62, 0x29, 0x95, 0x8a, 0xa4, 0x79, 0x19, 0xba, 0x0e, 0x88, 0x0b, 0x41, 0x6e, + 0xa4, 0x76, 0x54, 0xb7, 0x4b, 0x25, 0x8a, 0xc8, 0xb9, 0x1f, 0xfc, 0x02, 0x07, 0x97, 0x44, 0x5e, + 0x3d, 0x2b, 0xeb, 0xf9, 0x91, 0x2a, 0x4c, 0xdf, 0x16, 0x54, 0x2a, 0xf4, 0x05, 0x34, 0x58, 0xec, + 0x7b, 0x7d, 0x6f, 0xd8, 0x3d, 0xf9, 0x34, 0x58, 0x35, 0x4b, 0x17, 0x10, 0x54, 0x38, 0xe7, 0xab, + 0x6a, 0x71, 0x83, 0xc5, 0x83, 0xbf, 0x3d, 0xf0, 0x2b, 0xf6, 0x0b, 0x26, 0x57, 0x4e, 0x31, 0xec, + 0x65, 0x3c, 0xa6, 0xd7, 0xc3, 0x08, 0xff, 0x35, 0xc6, 0x4f, 0x3c, 0xa6, 0xb7, 0xc5, 0xd8, 0xcd, + 0xaa, 0x06, 0xb4, 0x0f, 0x9b, 0x09, 0x4b, 0x99, 0xf2, 0x1b, 0x7d, 0x6f, 0xb8, 0x8d, 0xad, 0xa0, + 0xb5, 0x8a, 0x5f, 0xd1, 0xcc, 0xbf, 0xdf, 0xf7, 0x86, 0x1d, 0x6c, 0x05, 0xe4, 0x43, 0x6b, 0xce, + 0x12, 0x45, 0x85, 0xf4, 0x37, 0x8c, 0xbe, 0x14, 0xd1, 0x63, 0x68, 0x49, 0x2e, 0x54, 0x38, 0x5b, + 0xfa, 0x9b, 0x26, 0x9f, 0xfd, 0xa0, 0xba, 0x20, 0xc1, 0x6b, 0x2e, 0x14, 0x6e, 0x6a, 0xd0, 0x64, + 0x39, 0xf8, 0xcb, 0x83, 0xed, 0x4a, 0x95, 0xff, 0xb5, 0x5f, 0xe8, 0x10, 0x3a, 0x2c, 0xcb, 0x0b, + 0x15, 0x16, 0x82, 0x99, 0x12, 0x3a, 0xb8, 0x6d, 0x14, 0x53, 0xc1, 0xd0, 0x77, 0xd0, 0x8a, 0x12, + 0x2e, 0x0b, 0x41, 0x4d, 0x1d, 0xdd, 0x93, 0x8f, 0xeb, 0x59, 0x55, 0x5c, 0xff, 0x60, 0xb1, 0xb8, + 0x24, 0x19, 0xe7, 0x32, 0xcc, 0x89, 0xa0, 0x99, 0x32, 0x15, 0xb7, 0x71, 0x9b, 0xc9, 0x57, 0x46, + 0x1e, 0xbc, 0x85, 0xbd, 0xf7, 0x06, 0x85, 0x9e, 0xc3, 0x6e, 0xf5, 0x5c, 0xa4, 0xef, 0xf5, 0xef, + 0x0f, 0xbb, 0x27, 0x8f, 0xee, 0x8c, 0x8c, 0x77, 0xd4, 0x4d, 0x51, 0x5e, 0xf7, 0xbf, 0x71, 0xa3, + 0xff, 0x83, 0x3f, 0x9a, 0xb0, 0x7f, 0x5b, 0xc6, 0xe8, 0x18, 0x80, 0x17, 0xaa, 0x6c, 0x83, 0xee, + 0x62, 0x67, 0xd2, 0xf0, 0xbd, 0x17, 0xf7, 0x70, 0xc7, 0xea, 0x75, 0x37, 0x4e, 0x61, 0x93, 0x0a, + 0xc1, 0x85, 0xf1, 0x59, 0xc9, 0xc8, 0x74, 0x79, 0xe5, 0xf4, 0x99, 0x06, 0xbd, 0xb8, 0x87, 0x2d, + 0x1a, 0x7d, 0x0f, 0x5d, 0xe7, 0x3b, 0x26, 0x8a, 0xf8, 0x5b, 0x86, 0xfc, 0xb0, 0x46, 0xbe, 0xb0, + 0x37, 0xf9, 0x92, 0xe4, 0x2e, 0xae, 0xcb, 0xe7, 0x29, 0x51, 0x04, 0x9d, 0xc1, 0x66, 0xfe, 0x86, + 0x48, 0x3b, 0x84, 0x9d, 0x93, 0xc1, 0x5d, 0xe3, 0x0d, 0x5e, 0x69, 0x24, 0xb6, 0x04, 0xf4, 0x19, + 0x6c, 0x24, 0x7c, 0xa1, 0xb7, 0x4d, 0xf7, 0xf0, 0xc1, 0x2d, 0xc4, 0x0b, 0xbe, 0xc0, 0x06, 0x83, + 0xbe, 0x02, 0x90, 0x8a, 0x08, 0x45, 0xe3, 0x90, 0x28, 0xb7, 0x85, 0xbd, 0xc0, 0xde, 0x6f, 0x50, + 0xde, 0x6f, 0x70, 0x59, 0x3e, 0x00, 0xb8, 0xe3, 0xd0, 0x63, 0x85, 0x4e, 0xa1, 0x5d, 0xde, 0xbd, + 0xdf, 0x74, 0xf5, 0xd5, 0x89, 0x4f, 0x1d, 0x00, 0xaf, 0xa0, 0x3a, 0x62, 0x24, 0x28, 0x71, 0x11, + 0x5b, 0xeb, 0x23, 0x3a, 0xf4, 0x58, 0x69, 0x6a, 0x91, 0xc7, 0x25, 0xb5, 0xbd, 0x9e, 0xea, 0xd0, + 0x63, 0x85, 0xce, 0xa0, 0x1b, 0x15, 0x52, 0xf1, 0x34, 0x64, 0xd9, 0x9c, 0xfb, 0x1d, 0xc3, 0x3d, + 0x78, 0x8f, 0xfb, 0xda, 0x3c, 0x54, 0x18, 0x2c, 0xf6, 0x3c, 0x9b, 0x73, 0xf4, 0x00, 0x9a, 0x82, + 0x12, 0xc9, 0x33, 0x1f, 0xcc, 0x56, 0x39, 0x49, 0xaf, 0xb9, 0x59, 0x5a, 0xb5, 0xcc, 0xa9, 0xdf, + 0xb5, 0x37, 0xa4, 0x15, 0x97, 0xcb, 0x9c, 0xa2, 0x31, 0xb4, 0x53, 0xaa, 0x88, 0x99, 0xfd, 0x07, + 0x26, 0xd6, 0x27, 0xd7, 0x63, 0xb0, 0x6f, 0x6d, 0x65, 0x80, 0x2f, 0x1d, 0x18, 0xaf, 0x68, 0xe8, + 0x18, 0xb6, 0x0d, 0x30, 0x7c, 0x47, 0x85, 0xd4, 0x3d, 0xde, 0xeb, 0x7b, 0xc3, 0x4d, 0xbc, 0x65, + 0x94, 0xbf, 0x5a, 0x1d, 0xfa, 0x1c, 0x5a, 0x36, 0x1d, 0xe9, 0xa3, 0xfa, 0xb4, 0xed, 0xc5, 0x60, + 0x63, 0xc6, 0x25, 0x6c, 0xb2, 0x0b, 0xdb, 0x6e, 0x31, 0x05, 0x95, 0x45, 0xa2, 0x06, 0x21, 0x34, + 0x2d, 0x06, 0x7d, 0x03, 0x5d, 0x1e, 0x45, 0x85, 0x10, 0xb6, 0xbf, 0xde, 0xda, 0xfe, 0x42, 0x09, + 0x1f, 0x2b, 0xfd, 0xca, 0xa5, 0x54, 0x4a, 0xb2, 0xa0, 0xee, 0xfa, 0x4a, 0x71, 0x30, 0x85, 0xc3, + 0xfa, 0x7b, 0xaf, 0x17, 0xfc, 0xff, 0xbe, 0xf9, 0x7f, 0x36, 0xe0, 0xe8, 0x76, 0xbf, 0x32, 0xe7, + 0x99, 0xa4, 0xe8, 0x09, 0x34, 0xcd, 0x9b, 0x26, 0x9d, 0xf3, 0x83, 0x7a, 0x6b, 0xa6, 0x22, 0x99, + 0x24, 0x7c, 0xa6, 0x6f, 0x0f, 0x3b, 0x28, 0x3a, 0x85, 0x96, 0x6d, 0x8f, 0x74, 0x07, 0x7f, 0x27, + 0xab, 0xc4, 0xa2, 0xaf, 0xa1, 0x3b, 0x2f, 0x92, 0x24, 0x74, 0x01, 0xef, 0xaf, 0x39, 0x77, 0x0c, + 0x1a, 0x7d, 0x6e, 0x43, 0x7e, 0x0b, 0x5b, 0x86, 0x5b, 0xc6, 0xdd, 0x58, 0x47, 0x36, 0xa1, 0x7e, + 0x76, 0x91, 0xcf, 0x00, 0x0c, 0x30, 0x2c, 0x44, 0x22, 0xdd, 0x01, 0x3f, 0xac, 0xe7, 0xfc, 0x5c, + 0x8b, 0x53, 0x7c, 0x21, 0x71, 0xc7, 0x58, 0xa6, 0x22, 0x91, 0x93, 0x2f, 0x7f, 0x3b, 0x5d, 0x30, + 0xf5, 0xa6, 0x98, 0x05, 0x11, 0x4f, 0x47, 0x46, 0xcf, 0xc5, 0x62, 0xb4, 0xfa, 0x31, 0x58, 0xd0, + 0x6c, 0x94, 0xcf, 0x1e, 0x2f, 0xf8, 0xa8, 0xfa, 0x97, 0x32, 0x6b, 0x9a, 0x55, 0x78, 0xf2, 0x4f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xae, 0x02, 0x8d, 0xf3, 0x08, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go b/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go index 15652bacc..625e73bac 100644 --- a/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go +++ b/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go @@ -474,6 +474,21 @@ func (m *TaskExecutionClosure) Validate() error { // no validation rules for EventVersion + for idx, item := range m.GetReasons() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TaskExecutionClosureValidationError{ + field: fmt.Sprintf("Reasons[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + switch m.OutputResult.(type) { case *TaskExecutionClosure_OutputUri: @@ -564,6 +579,82 @@ var _ interface { ErrorName() string } = TaskExecutionClosureValidationError{} +// Validate checks the field values on Reason with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Reason) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ReasonValidationError{ + field: "OccurredAt", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Message + + return nil +} + +// ReasonValidationError is the validation error returned by Reason.Validate if +// the designated constraints aren't met. +type ReasonValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ReasonValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ReasonValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ReasonValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ReasonValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ReasonValidationError) ErrorName() string { return "ReasonValidationError" } + +// Error satisfies the builtin error interface +func (e ReasonValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sReason.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ReasonValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ReasonValidationError{} + // Validate checks the field values on TaskExecutionGetDataRequest with the // rules defined in the proto definition for this message. If any rules are // violated, an error is returned. @@ -690,6 +781,16 @@ func (m *TaskExecutionGetDataResponse) Validate() error { } } + if v, ok := interface{}(m.GetFlyteUrls()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TaskExecutionGetDataResponseValidationError{ + field: "FlyteUrls", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/core/metrics.pb.go b/gen/pb-go/flyteidl/core/metrics.pb.go new file mode 100644 index 000000000..981e8ef84 --- /dev/null +++ b/gen/pb-go/flyteidl/core/metrics.pb.go @@ -0,0 +1,194 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/core/metrics.proto + +package core + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation +// which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more +// precise definitions. +type Span struct { + // start_time defines the instance this span began. + StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + // end_time defines the instance this span completed. + EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + // Types that are valid to be assigned to Id: + // *Span_WorkflowId + // *Span_NodeId + // *Span_TaskId + // *Span_OperationId + Id isSpan_Id `protobuf_oneof:"id"` + // spans defines a collection of Spans that breakdown this execution. + Spans []*Span `protobuf:"bytes,7,rep,name=spans,proto3" json:"spans,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Span) Reset() { *m = Span{} } +func (m *Span) String() string { return proto.CompactTextString(m) } +func (*Span) ProtoMessage() {} +func (*Span) Descriptor() ([]byte, []int) { + return fileDescriptor_756935f796ae3119, []int{0} +} + +func (m *Span) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Span.Unmarshal(m, b) +} +func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Span.Marshal(b, m, deterministic) +} +func (m *Span) XXX_Merge(src proto.Message) { + xxx_messageInfo_Span.Merge(m, src) +} +func (m *Span) XXX_Size() int { + return xxx_messageInfo_Span.Size(m) +} +func (m *Span) XXX_DiscardUnknown() { + xxx_messageInfo_Span.DiscardUnknown(m) +} + +var xxx_messageInfo_Span proto.InternalMessageInfo + +func (m *Span) GetStartTime() *timestamp.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *Span) GetEndTime() *timestamp.Timestamp { + if m != nil { + return m.EndTime + } + return nil +} + +type isSpan_Id interface { + isSpan_Id() +} + +type Span_WorkflowId struct { + WorkflowId *WorkflowExecutionIdentifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3,oneof"` +} + +type Span_NodeId struct { + NodeId *NodeExecutionIdentifier `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3,oneof"` +} + +type Span_TaskId struct { + TaskId *TaskExecutionIdentifier `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3,oneof"` +} + +type Span_OperationId struct { + OperationId string `protobuf:"bytes,6,opt,name=operation_id,json=operationId,proto3,oneof"` +} + +func (*Span_WorkflowId) isSpan_Id() {} + +func (*Span_NodeId) isSpan_Id() {} + +func (*Span_TaskId) isSpan_Id() {} + +func (*Span_OperationId) isSpan_Id() {} + +func (m *Span) GetId() isSpan_Id { + if m != nil { + return m.Id + } + return nil +} + +func (m *Span) GetWorkflowId() *WorkflowExecutionIdentifier { + if x, ok := m.GetId().(*Span_WorkflowId); ok { + return x.WorkflowId + } + return nil +} + +func (m *Span) GetNodeId() *NodeExecutionIdentifier { + if x, ok := m.GetId().(*Span_NodeId); ok { + return x.NodeId + } + return nil +} + +func (m *Span) GetTaskId() *TaskExecutionIdentifier { + if x, ok := m.GetId().(*Span_TaskId); ok { + return x.TaskId + } + return nil +} + +func (m *Span) GetOperationId() string { + if x, ok := m.GetId().(*Span_OperationId); ok { + return x.OperationId + } + return "" +} + +func (m *Span) GetSpans() []*Span { + if m != nil { + return m.Spans + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Span) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*Span_WorkflowId)(nil), + (*Span_NodeId)(nil), + (*Span_TaskId)(nil), + (*Span_OperationId)(nil), + } +} + +func init() { + proto.RegisterType((*Span)(nil), "flyteidl.core.Span") +} + +func init() { proto.RegisterFile("flyteidl/core/metrics.proto", fileDescriptor_756935f796ae3119) } + +var fileDescriptor_756935f796ae3119 = []byte{ + // 338 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4d, 0x4b, 0xeb, 0x40, + 0x14, 0x40, 0xfb, 0xdd, 0xd7, 0xc9, 0x7b, 0x9b, 0xbc, 0x4d, 0xe9, 0x83, 0x67, 0x51, 0x90, 0x2a, + 0x38, 0x03, 0xf5, 0x03, 0x5c, 0x5a, 0x10, 0x9a, 0x85, 0x2e, 0x62, 0x41, 0x70, 0x53, 0x92, 0xcc, + 0x4d, 0x1c, 0x9a, 0xcc, 0x0d, 0x33, 0x53, 0xaa, 0xbf, 0xc7, 0x3f, 0x2a, 0x33, 0x31, 0x85, 0x96, + 0x8a, 0xcb, 0xc9, 0x9c, 0x73, 0xc2, 0xcd, 0x0d, 0xf9, 0x97, 0xe6, 0xef, 0x06, 0x04, 0xcf, 0x59, + 0x82, 0x0a, 0x58, 0x01, 0x46, 0x89, 0x44, 0xd3, 0x52, 0xa1, 0x41, 0xff, 0x4f, 0x7d, 0x49, 0xed, + 0xe5, 0xe8, 0xff, 0x2e, 0x2b, 0x38, 0x48, 0x23, 0x52, 0x01, 0xaa, 0xc2, 0x47, 0x47, 0x19, 0x62, + 0x96, 0x03, 0x73, 0xa7, 0x78, 0x9d, 0x32, 0x23, 0x0a, 0xd0, 0x26, 0x2a, 0xca, 0x0a, 0x38, 0xfe, + 0x68, 0x93, 0xce, 0x53, 0x19, 0x49, 0xff, 0x96, 0x10, 0x6d, 0x22, 0x65, 0x96, 0x96, 0x18, 0x36, + 0xc7, 0xcd, 0x89, 0x37, 0x1d, 0xd1, 0x4a, 0xa7, 0xb5, 0x4e, 0x17, 0xb5, 0x1e, 0x0e, 0x1c, 0x6d, + 0xcf, 0xfe, 0x35, 0xf9, 0x05, 0x92, 0x57, 0x62, 0xeb, 0x47, 0xb1, 0x0f, 0x92, 0x3b, 0xed, 0x81, + 0x78, 0x1b, 0x54, 0xab, 0x34, 0xc7, 0xcd, 0x52, 0xf0, 0x61, 0xdb, 0x99, 0xe7, 0x74, 0x67, 0x40, + 0xfa, 0xfc, 0x45, 0xdc, 0xbf, 0x41, 0xb2, 0x36, 0x02, 0x65, 0xb0, 0x1d, 0x71, 0xde, 0x08, 0x49, + 0x1d, 0x08, 0xb8, 0x7f, 0x47, 0xfa, 0x12, 0x39, 0xd8, 0x54, 0xc7, 0xa5, 0x4e, 0xf7, 0x52, 0x8f, + 0xc8, 0xe1, 0x70, 0xa6, 0x67, 0xc5, 0x2a, 0x61, 0x22, 0xbd, 0xb2, 0x89, 0xee, 0xc1, 0xc4, 0x22, + 0xd2, 0xab, 0x6f, 0x12, 0x56, 0x0c, 0xb8, 0x7f, 0x42, 0x7e, 0x63, 0x09, 0x2a, 0xb2, 0x80, 0xed, + 0xf4, 0xc6, 0xcd, 0xc9, 0x60, 0xde, 0x08, 0xbd, 0xed, 0xd3, 0x80, 0xfb, 0x67, 0xa4, 0xab, 0xcb, + 0x48, 0xea, 0x61, 0x7f, 0xdc, 0x9e, 0x78, 0xd3, 0xbf, 0x7b, 0x6f, 0xb1, 0xfb, 0x08, 0x2b, 0x62, + 0xd6, 0x21, 0x2d, 0xc1, 0x67, 0x37, 0x2f, 0x57, 0x99, 0x30, 0xaf, 0xeb, 0x98, 0x26, 0x58, 0x30, + 0x47, 0xa3, 0xca, 0xd8, 0x76, 0xf9, 0x19, 0x48, 0x56, 0xc6, 0x17, 0x19, 0xb2, 0x9d, 0xff, 0x21, + 0xee, 0xb9, 0xef, 0x7f, 0xf9, 0x19, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x94, 0xbf, 0x5a, 0x53, 0x02, + 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/core/metrics.pb.validate.go b/gen/pb-go/flyteidl/core/metrics.pb.validate.go new file mode 100644 index 000000000..3c14669ee --- /dev/null +++ b/gen/pb-go/flyteidl/core/metrics.pb.validate.go @@ -0,0 +1,179 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/core/metrics.proto + +package core + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _metrics_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on Span with the rules defined in the proto +// definition for this message. If any rules are violated, an error is returned. +func (m *Span) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetStartTime()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: "StartTime", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetEndTime()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: "EndTime", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetSpans() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: fmt.Sprintf("Spans[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + switch m.Id.(type) { + + case *Span_WorkflowId: + + if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: "WorkflowId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *Span_NodeId: + + if v, ok := interface{}(m.GetNodeId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: "NodeId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *Span_TaskId: + + if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SpanValidationError{ + field: "TaskId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *Span_OperationId: + // no validation rules for OperationId + + } + + return nil +} + +// SpanValidationError is the validation error returned by Span.Validate if the +// designated constraints aren't met. +type SpanValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SpanValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SpanValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SpanValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SpanValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SpanValidationError) ErrorName() string { return "SpanValidationError" } + +// Error satisfies the builtin error interface +func (e SpanValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSpan.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SpanValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SpanValidationError{} diff --git a/gen/pb-go/flyteidl/core/metrics.swagger.json b/gen/pb-go/flyteidl/core/metrics.swagger.json new file mode 100644 index 000000000..f6b3727f9 --- /dev/null +++ b/gen/pb-go/flyteidl/core/metrics.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/core/metrics.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/gen/pb-go/flyteidl/core/security.pb.go b/gen/pb-go/flyteidl/core/security.pb.go index 664edaa12..73156fca1 100644 --- a/gen/pb-go/flyteidl/core/security.pb.go +++ b/gen/pb-go/flyteidl/core/security.pb.go @@ -220,10 +220,12 @@ type Identity struct { K8SServiceAccount string `protobuf:"bytes,2,opt,name=k8s_service_account,json=k8sServiceAccount,proto3" json:"k8s_service_account,omitempty"` // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when // making external calls. - Oauth2Client *OAuth2Client `protobuf:"bytes,3,opt,name=oauth2_client,json=oauth2Client,proto3" json:"oauth2_client,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oauth2Client *OAuth2Client `protobuf:"bytes,3,opt,name=oauth2_client,json=oauth2Client,proto3" json:"oauth2_client,omitempty"` + // execution_identity references the subject who makes the execution + ExecutionIdentity string `protobuf:"bytes,4,opt,name=execution_identity,json=executionIdentity,proto3" json:"execution_identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Identity) Reset() { *m = Identity{} } @@ -272,6 +274,13 @@ func (m *Identity) GetOauth2Client() *OAuth2Client { return nil } +func (m *Identity) GetExecutionIdentity() string { + if m != nil { + return m.ExecutionIdentity + } + return "" +} + // OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. // FLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if // tokens are passed through environment variables. @@ -440,41 +449,43 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/security.proto", fileDescriptor_0996009b6d39c02f) } var fileDescriptor_0996009b6d39c02f = []byte{ - // 574 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdb, 0x6e, 0xd3, 0x40, - 0x10, 0xad, 0x93, 0x34, 0x97, 0x49, 0x52, 0xd2, 0xa1, 0x94, 0xa0, 0x22, 0x28, 0x46, 0xa0, 0x4a, - 0x08, 0x5b, 0x4a, 0x2b, 0x54, 0xfa, 0x44, 0x48, 0x83, 0x14, 0x29, 0x04, 0xc9, 0x89, 0x2a, 0xc1, - 0x8b, 0x95, 0xda, 0x43, 0xba, 0x4a, 0xe2, 0x35, 0xbb, 0xeb, 0x08, 0xff, 0x08, 0x7c, 0x05, 0xff, - 0xc2, 0x27, 0x21, 0xef, 0x3a, 0xbd, 0xa9, 0x08, 0xde, 0x66, 0xe7, 0x9c, 0xf1, 0x9c, 0x33, 0x9e, - 0x81, 0xc7, 0x5f, 0x17, 0xa9, 0x22, 0x16, 0x2e, 0xdc, 0x80, 0x0b, 0x72, 0x25, 0x05, 0x89, 0x60, - 0x2a, 0x75, 0x62, 0xc1, 0x15, 0xc7, 0xe6, 0x1a, 0x75, 0x32, 0xd4, 0xfe, 0x6d, 0x41, 0x79, 0x4c, - 0x81, 0x20, 0x85, 0x3b, 0xb0, 0x39, 0x13, 0x3c, 0x89, 0xdb, 0xd6, 0xbe, 0x75, 0x50, 0xf3, 0xcc, - 0x03, 0x9f, 0x43, 0x53, 0x07, 0xfe, 0x8a, 0x84, 0x64, 0x3c, 0x6a, 0x17, 0x34, 0xda, 0xd0, 0xc9, - 0x33, 0x93, 0xc3, 0x16, 0x14, 0xe7, 0x94, 0xb6, 0x8b, 0x1a, 0xca, 0x42, 0x1c, 0xc2, 0xf6, 0x92, - 0x27, 0x91, 0xf2, 0x05, 0x7d, 0x4b, 0x98, 0xa0, 0x25, 0x45, 0xaa, 0x5d, 0xda, 0xb7, 0x0e, 0xb6, - 0x3a, 0x4f, 0x9d, 0x1b, 0x12, 0x1c, 0xd3, 0xde, 0xf9, 0x98, 0xd1, 0x27, 0x69, 0x4c, 0x5e, 0x4b, - 0x57, 0x7a, 0x57, 0x85, 0xf6, 0x2b, 0xa8, 0x5d, 0xc2, 0x58, 0x81, 0x62, 0x77, 0xf4, 0xb9, 0xb5, - 0x81, 0x75, 0xa8, 0xf4, 0x47, 0x67, 0xfe, 0x59, 0xd7, 0x6b, 0x59, 0x58, 0x85, 0xd2, 0x87, 0xc1, - 0xb0, 0xdf, 0x2a, 0xd8, 0x33, 0x68, 0x7c, 0xea, 0x26, 0xea, 0xa2, 0xd3, 0x5b, 0x30, 0x8a, 0x14, - 0xee, 0x41, 0x2d, 0xd0, 0x91, 0xcf, 0xc2, 0xdc, 0x5b, 0xd5, 0x24, 0x06, 0x21, 0x9e, 0x40, 0x33, - 0x07, 0xa5, 0x96, 0xa1, 0xed, 0xd5, 0x3b, 0x0f, 0xee, 0xd4, 0xe8, 0x35, 0x0c, 0xd7, 0xbc, 0xec, - 0x9f, 0x16, 0x54, 0x07, 0x21, 0x45, 0x8a, 0xa9, 0x14, 0x1f, 0x41, 0x95, 0x4d, 0x97, 0xbe, 0xe0, - 0x0b, 0xca, 0x9b, 0x54, 0xd8, 0x74, 0xe9, 0xf1, 0x05, 0xa1, 0x03, 0xf7, 0xe7, 0xc7, 0xd2, 0x97, - 0x24, 0x56, 0x2c, 0x20, 0x7f, 0x1a, 0x04, 0x99, 0x97, 0x7c, 0x90, 0xdb, 0xf3, 0x63, 0x39, 0x36, - 0x48, 0xd7, 0x00, 0xf8, 0x0e, 0x9a, 0x7c, 0x9a, 0x19, 0xf0, 0x4d, 0x3b, 0x3d, 0xd7, 0x7a, 0x67, - 0xef, 0x96, 0xa6, 0xeb, 0x26, 0xbd, 0x86, 0xa9, 0x30, 0x2f, 0xfb, 0x47, 0x01, 0xd0, 0xc0, 0x13, - 0x3e, 0xa7, 0x28, 0x1b, 0x25, 0x49, 0x85, 0x08, 0xa5, 0x68, 0xba, 0x5c, 0xeb, 0xd3, 0x31, 0x9e, - 0x40, 0x49, 0xa5, 0x31, 0x69, 0x35, 0x5b, 0x9d, 0x97, 0x77, 0xf6, 0xb8, 0xfe, 0x11, 0x47, 0xff, - 0x22, 0x5d, 0x83, 0x87, 0x50, 0xfe, 0x7f, 0x85, 0x39, 0x15, 0x8f, 0x60, 0x97, 0x85, 0xb1, 0x1f, - 0x32, 0x19, 0xf0, 0x15, 0x89, 0xd4, 0xa7, 0x28, 0x8c, 0x39, 0xcb, 0xd7, 0xa3, 0xe6, 0xed, 0xb0, - 0x30, 0x3e, 0x5d, 0x83, 0xfd, 0x1c, 0xc3, 0x17, 0xb0, 0xa5, 0x32, 0x15, 0x57, 0xec, 0x4d, 0xcd, - 0x6e, 0xea, 0xec, 0x9a, 0x66, 0x3f, 0x81, 0x92, 0xde, 0x91, 0x5d, 0xc0, 0xde, 0x70, 0xd0, 0x1f, - 0x4d, 0xfc, 0x9e, 0xd7, 0x3f, 0xed, 0x8f, 0x26, 0x83, 0xee, 0x70, 0xdc, 0xda, 0xb0, 0x7f, 0x59, - 0x70, 0x6f, 0x9c, 0x1f, 0x44, 0x8f, 0x47, 0x8a, 0xbe, 0x2b, 0x74, 0xa0, 0x2c, 0x92, 0xc8, 0x9f, - 0x4a, 0x3d, 0x97, 0x7a, 0xe7, 0xe1, 0x2d, 0x17, 0xeb, 0x5f, 0xec, 0x6d, 0x8a, 0x24, 0xea, 0x4a, - 0x74, 0xa1, 0x62, 0x76, 0x45, 0xb6, 0x0b, 0xfb, 0xc5, 0xbf, 0x2f, 0xcb, 0x9a, 0x85, 0x6f, 0xa1, - 0xac, 0x55, 0xca, 0x76, 0x51, 0xf3, 0x9f, 0xfd, 0x73, 0xc8, 0x5e, 0x5e, 0xf0, 0xfe, 0xcd, 0x97, - 0xa3, 0x19, 0x53, 0x17, 0xc9, 0xb9, 0x13, 0xf0, 0xa5, 0xab, 0xcb, 0xb8, 0x98, 0xb9, 0x97, 0x17, - 0x3e, 0xa3, 0xc8, 0x8d, 0xcf, 0x5f, 0xcf, 0xb8, 0x7b, 0xe3, 0xe8, 0xcf, 0xcb, 0xfa, 0xd8, 0x0f, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2f, 0xe2, 0xb8, 0x68, 0x0c, 0x04, 0x00, 0x00, + // 597 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdb, 0x6e, 0xd3, 0x40, + 0x10, 0x6d, 0x2e, 0xcd, 0x65, 0x92, 0x94, 0x74, 0x28, 0x25, 0xa8, 0x08, 0x8a, 0x11, 0xa8, 0x12, + 0xaa, 0x2d, 0xa5, 0x15, 0x2a, 0x7d, 0x22, 0xa4, 0x41, 0x8a, 0x14, 0x82, 0xe4, 0x44, 0x95, 0xe0, + 0x65, 0x95, 0xda, 0x43, 0xba, 0x4a, 0xb2, 0x6b, 0xd6, 0xeb, 0xaa, 0xfe, 0x11, 0xfe, 0x82, 0xdf, + 0xe0, 0x99, 0x4f, 0x42, 0x5e, 0xdb, 0xbd, 0xa9, 0x08, 0xde, 0xc6, 0x73, 0xce, 0xec, 0x9e, 0x73, + 0x32, 0x59, 0x78, 0xfa, 0x6d, 0x19, 0x6b, 0xe2, 0xfe, 0xd2, 0xf1, 0xa4, 0x22, 0x27, 0x24, 0x2f, + 0x52, 0x5c, 0xc7, 0x76, 0xa0, 0xa4, 0x96, 0xd8, 0xca, 0x51, 0x3b, 0x41, 0xad, 0xdf, 0x05, 0xa8, + 0x4c, 0xc8, 0x53, 0xa4, 0x71, 0x0b, 0xd6, 0xe7, 0x4a, 0x46, 0x41, 0xa7, 0xb0, 0x5b, 0xd8, 0xab, + 0xbb, 0xe9, 0x07, 0xbe, 0x84, 0x96, 0x29, 0xd8, 0x05, 0xa9, 0x90, 0x4b, 0xd1, 0x29, 0x1a, 0xb4, + 0x69, 0x9a, 0xa7, 0x69, 0x0f, 0xdb, 0x50, 0x5a, 0x50, 0xdc, 0x29, 0x19, 0x28, 0x29, 0x71, 0x04, + 0x9b, 0x2b, 0x19, 0x09, 0xcd, 0x14, 0x7d, 0x8f, 0xb8, 0xa2, 0x15, 0x09, 0xdd, 0x29, 0xef, 0x16, + 0xf6, 0x36, 0xba, 0xcf, 0xed, 0x5b, 0x12, 0xec, 0xf4, 0x7a, 0xfb, 0x53, 0x42, 0x9f, 0xc6, 0x01, + 0xb9, 0x6d, 0x33, 0xe9, 0x5e, 0x0f, 0x5a, 0x6f, 0xa0, 0x7e, 0x05, 0x63, 0x15, 0x4a, 0xbd, 0xf1, + 0x97, 0xf6, 0x1a, 0x36, 0xa0, 0x3a, 0x18, 0x9f, 0xb2, 0xd3, 0x9e, 0xdb, 0x2e, 0x60, 0x0d, 0xca, + 0x1f, 0x87, 0xa3, 0x41, 0xbb, 0x68, 0xcd, 0xa1, 0xf9, 0xb9, 0x17, 0xe9, 0xf3, 0x6e, 0x7f, 0xc9, + 0x49, 0x68, 0xdc, 0x81, 0xba, 0x67, 0x2a, 0xc6, 0xfd, 0xcc, 0x5b, 0x2d, 0x6d, 0x0c, 0x7d, 0x3c, + 0x86, 0x56, 0x06, 0x86, 0x46, 0x86, 0xb1, 0xd7, 0xe8, 0x3e, 0xba, 0x57, 0xa3, 0xdb, 0x4c, 0xb9, + 0xe9, 0x97, 0xf5, 0xab, 0x00, 0xb5, 0xa1, 0x4f, 0x42, 0x73, 0x1d, 0xe3, 0x13, 0xa8, 0xf1, 0xd9, + 0x8a, 0x29, 0xb9, 0xa4, 0xec, 0x92, 0x2a, 0x9f, 0xad, 0x5c, 0xb9, 0x24, 0xb4, 0xe1, 0xe1, 0xe2, + 0x28, 0x64, 0x21, 0xa9, 0x0b, 0xee, 0x11, 0x9b, 0x79, 0x5e, 0xe2, 0x25, 0x0b, 0x72, 0x73, 0x71, + 0x14, 0x4e, 0x52, 0xa4, 0x97, 0x02, 0xf8, 0x1e, 0x5a, 0x72, 0x96, 0x18, 0x60, 0xe9, 0x75, 0x26, + 0xd7, 0x46, 0x77, 0xe7, 0x8e, 0xa6, 0x9b, 0x26, 0xdd, 0x66, 0x3a, 0x91, 0x59, 0xde, 0x07, 0xa4, + 0x4b, 0xf2, 0x22, 0xcd, 0xa5, 0x60, 0x3c, 0x93, 0x68, 0xe2, 0xaf, 0xbb, 0x9b, 0x57, 0x48, 0xae, + 0xdd, 0xfa, 0x51, 0x04, 0x4c, 0x4f, 0x9b, 0xca, 0x05, 0x89, 0x24, 0x79, 0x0a, 0x35, 0x22, 0x94, + 0xc5, 0x6c, 0x95, 0xdb, 0x31, 0x35, 0x1e, 0x43, 0x59, 0xc7, 0x01, 0x19, 0xf1, 0x1b, 0xdd, 0xd7, + 0xf7, 0x4a, 0xba, 0x79, 0x88, 0x6d, 0x7e, 0x51, 0x33, 0x83, 0x07, 0x50, 0xf9, 0x7f, 0x43, 0x19, + 0x15, 0x0f, 0x61, 0x9b, 0xfb, 0x01, 0xf3, 0x79, 0xe8, 0xc9, 0x0b, 0x52, 0x31, 0x23, 0xe1, 0x07, + 0x92, 0x67, 0xdb, 0x54, 0x77, 0xb7, 0xb8, 0x1f, 0x9c, 0xe4, 0xe0, 0x20, 0xc3, 0xf0, 0x15, 0x6c, + 0xe8, 0x44, 0xc5, 0x35, 0x7b, 0xdd, 0xb0, 0x5b, 0xa6, 0x9b, 0xd3, 0xac, 0x67, 0x50, 0x36, 0x2b, + 0xb5, 0x0d, 0xd8, 0x1f, 0x0d, 0x07, 0xe3, 0x29, 0xeb, 0xbb, 0x83, 0x93, 0xc1, 0x78, 0x3a, 0xec, + 0x8d, 0x26, 0xed, 0x35, 0xeb, 0x67, 0x01, 0x1e, 0x4c, 0xb2, 0xff, 0x4f, 0x5f, 0x0a, 0x4d, 0x97, + 0x1a, 0x6d, 0xa8, 0xa8, 0x48, 0xb0, 0x59, 0x68, 0x72, 0x69, 0x74, 0x1f, 0xdf, 0x71, 0x91, 0xa7, + 0xea, 0xae, 0xab, 0x48, 0xf4, 0x42, 0x74, 0xa0, 0x9a, 0xae, 0x56, 0xd8, 0x29, 0xee, 0x96, 0xfe, + 0xbe, 0x5b, 0x39, 0x0b, 0xdf, 0x41, 0xc5, 0xa8, 0x0c, 0x3b, 0x25, 0xc3, 0x7f, 0xf1, 0xcf, 0x90, + 0xdd, 0x6c, 0xe0, 0xc3, 0xdb, 0xaf, 0x87, 0x73, 0xae, 0xcf, 0xa3, 0x33, 0xdb, 0x93, 0x2b, 0xc7, + 0x8c, 0x49, 0x35, 0x77, 0xae, 0x1e, 0x84, 0x39, 0x09, 0x27, 0x38, 0xdb, 0x9f, 0x4b, 0xe7, 0xd6, + 0x1b, 0x71, 0x56, 0x31, 0x6f, 0xc3, 0xc1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x59, 0x75, 0x0b, + 0x98, 0x3b, 0x04, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/core/security.pb.validate.go b/gen/pb-go/flyteidl/core/security.pb.validate.go index dd28d8411..139c056aa 100644 --- a/gen/pb-go/flyteidl/core/security.pb.validate.go +++ b/gen/pb-go/flyteidl/core/security.pb.validate.go @@ -206,6 +206,8 @@ func (m *Identity) Validate() error { } } + // no validation rules for ExecutionIdentity + return nil } diff --git a/gen/pb-go/flyteidl/core/tasks.pb.go b/gen/pb-go/flyteidl/core/tasks.pb.go index dfee4c957..157b7f3bf 100644 --- a/gen/pb-go/flyteidl/core/tasks.pb.go +++ b/gen/pb-go/flyteidl/core/tasks.pb.go @@ -1064,10 +1064,18 @@ type K8SPod struct { // This should be a JSON-marshalled pod spec, which can be defined in // - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 // - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py - PodSpec *_struct.Struct `protobuf:"bytes,2,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PodSpec *_struct.Struct `protobuf:"bytes,2,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"` + // BETA: Optional configuration for DataLoading. If not specified, then default values are used. + // This makes it possible to to run a completely portable container, that uses inputs and outputs + // only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment. + // If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories + // are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation + // to understand the default paths. + // Only K8s + DataConfig *DataLoadingConfig `protobuf:"bytes,3,opt,name=data_config,json=dataConfig,proto3" json:"data_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *K8SPod) Reset() { *m = K8SPod{} } @@ -1109,6 +1117,13 @@ func (m *K8SPod) GetPodSpec() *_struct.Struct { return nil } +func (m *K8SPod) GetDataConfig() *DataLoadingConfig { + if m != nil { + return m.DataConfig + } + return nil +} + // Metadata for building a kubernetes object when a task is executed. type K8SObjectMetadata struct { // Optional labels to add to the pod definition. @@ -1245,109 +1260,109 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/tasks.proto", fileDescriptor_bd8423ba58d6ed80) } var fileDescriptor_bd8423ba58d6ed80 = []byte{ - // 1652 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xdd, 0x72, 0xdb, 0xb8, - 0x15, 0xb6, 0x24, 0x4b, 0xb2, 0x8e, 0xa4, 0x98, 0xc6, 0x36, 0x5b, 0xc6, 0x4d, 0xd2, 0x0c, 0xa7, - 0x9b, 0x4d, 0xb7, 0x8d, 0xd4, 0x78, 0x33, 0xb6, 0x77, 0xdb, 0x49, 0x47, 0x89, 0x98, 0x58, 0xb5, - 0xf5, 0x33, 0x90, 0x9c, 0x6d, 0x3a, 0xd3, 0x61, 0x61, 0x12, 0x96, 0x59, 0x53, 0x04, 0x03, 0x82, - 0x6e, 0xb5, 0xf7, 0x7d, 0x81, 0xbe, 0x44, 0xa7, 0x33, 0xbd, 0xed, 0x7b, 0xf4, 0x65, 0x7a, 0xd7, - 0x8b, 0x0e, 0x00, 0x92, 0xfa, 0xb1, 0xbd, 0x9e, 0x5c, 0x09, 0x38, 0xe7, 0xfb, 0x0e, 0x80, 0xc3, - 0xef, 0xe0, 0x40, 0xf0, 0xe0, 0x3c, 0x98, 0x0b, 0xea, 0x7b, 0x41, 0xdb, 0x65, 0x9c, 0xb6, 0x05, - 0x89, 0x2f, 0xe3, 0x56, 0xc4, 0x99, 0x60, 0xa8, 0x99, 0xb9, 0x5a, 0xd2, 0xb5, 0xfb, 0x78, 0x15, - 0xe9, 0x7b, 0x34, 0x14, 0xfe, 0xb9, 0x4f, 0xb9, 0x86, 0xef, 0x3e, 0x5a, 0xf3, 0x87, 0x82, 0xf2, - 0x73, 0xe2, 0xd2, 0xd4, 0xfd, 0x70, 0xd5, 0x1d, 0xf8, 0x82, 0x72, 0x12, 0xc4, 0x37, 0x7b, 0x63, - 0xea, 0x26, 0xdc, 0x17, 0xf3, 0xd4, 0xfb, 0x78, 0xca, 0xd8, 0x34, 0xa0, 0x6d, 0x35, 0x3b, 0x4b, - 0xce, 0xdb, 0x5e, 0xc2, 0x89, 0xf0, 0x59, 0x98, 0xb1, 0xd7, 0xfd, 0xb1, 0xe0, 0x89, 0x2b, 0xb4, - 0xd7, 0xfa, 0x4f, 0x11, 0x6a, 0x98, 0xc6, 0x2c, 0xe1, 0x2e, 0x8d, 0xd1, 0x6b, 0xd8, 0xe2, 0xf4, - 0x63, 0x42, 0x63, 0x11, 0x9b, 0x85, 0x27, 0xa5, 0x67, 0xf5, 0xbd, 0xa7, 0xad, 0x95, 0x83, 0xb6, - 0x72, 0x6c, 0x3e, 0xb2, 0x43, 0xc1, 0xe7, 0x38, 0xe7, 0xa1, 0x57, 0x50, 0x09, 0xfc, 0x99, 0x2f, - 0x62, 0xb3, 0xf8, 0x49, 0x11, 0x52, 0xd6, 0xee, 0x9f, 0xa0, 0xb9, 0xe2, 0x40, 0xdf, 0xc0, 0x66, - 0x48, 0x66, 0xd4, 0x2c, 0x3c, 0x29, 0x3c, 0xbb, 0xb7, 0xf7, 0xc5, 0x9d, 0xe1, 0x06, 0x64, 0x46, - 0xb1, 0xa2, 0xa0, 0x1f, 0x41, 0xf9, 0x8a, 0x04, 0x09, 0x35, 0x8b, 0x4f, 0x0a, 0xcf, 0x6a, 0x58, - 0x4f, 0xac, 0x3f, 0x42, 0x63, 0x19, 0x8b, 0xea, 0x50, 0x3d, 0x1d, 0x1c, 0x0f, 0x86, 0xdf, 0x0d, - 0x8c, 0x0d, 0x54, 0x85, 0xd2, 0x9b, 0xd1, 0xa9, 0x51, 0x90, 0x83, 0x77, 0xa3, 0x53, 0xa3, 0x88, - 0x00, 0x2a, 0x7d, 0xbb, 0x3f, 0xc4, 0x1f, 0x8c, 0x92, 0x84, 0x8e, 0x27, 0x43, 0xdc, 0x79, 0x67, - 0x1b, 0x9b, 0xe8, 0x3e, 0xec, 0xd8, 0xa3, 0x23, 0xbb, 0x6f, 0xe3, 0xce, 0x89, 0x93, 0x99, 0xcb, - 0xd6, 0xbf, 0x0a, 0xb0, 0x8d, 0x93, 0x50, 0xf8, 0x33, 0xda, 0xa7, 0x82, 0x78, 0x44, 0x10, 0xf4, - 0x0a, 0x36, 0xc5, 0x3c, 0xca, 0xce, 0xf0, 0xd5, 0xfa, 0x19, 0x56, 0xd1, 0xd9, 0x7c, 0x32, 0x8f, - 0x28, 0x56, 0x3c, 0x64, 0x42, 0xf5, 0x8a, 0xf2, 0xd8, 0x67, 0x61, 0x7a, 0x94, 0x6c, 0x8a, 0x3e, - 0x87, 0xca, 0x79, 0x40, 0xae, 0x18, 0x37, 0x4b, 0xca, 0x91, 0xce, 0xac, 0x2f, 0xa1, 0xbe, 0x14, - 0x06, 0xd5, 0xa0, 0x3c, 0x9c, 0x1c, 0xd9, 0xd8, 0xd8, 0x40, 0x4d, 0xa8, 0xbd, 0x3d, 0xf9, 0x30, - 0xb1, 0x9d, 0x71, 0xf7, 0xd8, 0x28, 0x58, 0xff, 0xdd, 0x84, 0xc6, 0x84, 0xc4, 0x97, 0xf9, 0x5e, - 0x2d, 0x68, 0x78, 0x7e, 0xec, 0xb2, 0x2b, 0xca, 0xc9, 0x59, 0xa0, 0xf7, 0xbc, 0x85, 0x57, 0x6c, - 0xe8, 0x10, 0xaa, 0x5c, 0x47, 0x57, 0xfb, 0xa9, 0xef, 0x3d, 0xfe, 0xe1, 0x23, 0xe1, 0x0c, 0x8e, - 0xbe, 0x86, 0xaa, 0xfc, 0x65, 0x89, 0x30, 0x37, 0x15, 0xf3, 0x41, 0x4b, 0x0b, 0xb4, 0x95, 0x09, - 0xb4, 0xd5, 0x4d, 0x05, 0x8c, 0x33, 0x24, 0xda, 0x87, 0x2a, 0xa7, 0x82, 0xfb, 0x34, 0x36, 0xcb, - 0x8a, 0xf4, 0xf0, 0x9a, 0x0a, 0x04, 0x9f, 0x8f, 0x05, 0x27, 0x82, 0x4e, 0xe7, 0x38, 0x03, 0xa3, - 0x5f, 0xc0, 0x4e, 0xb6, 0xed, 0xb9, 0x93, 0x25, 0xb0, 0xa2, 0xf2, 0x64, 0xe4, 0x8e, 0xf7, 0x69, - 0x26, 0x0f, 0xc1, 0xf4, 0x68, 0xc4, 0xa9, 0x4b, 0x04, 0xf5, 0x1c, 0xca, 0x39, 0xe3, 0xce, 0x8c, - 0xc6, 0x31, 0x99, 0x52, 0xb3, 0xaa, 0x38, 0x9f, 0x2f, 0xfc, 0xb6, 0x74, 0xf7, 0xb5, 0x17, 0x3d, - 0x85, 0xa6, 0xaa, 0x68, 0x9e, 0x44, 0xc2, 0x97, 0x29, 0xdb, 0x92, 0x29, 0x3b, 0xda, 0xc0, 0xab, - 0x66, 0xf4, 0x1c, 0x90, 0x4b, 0xdc, 0x0b, 0xea, 0xc4, 0x94, 0xfb, 0x24, 0xf0, 0xbf, 0x57, 0xf9, - 0xad, 0xa9, 0xfc, 0xee, 0x28, 0xcf, 0x78, 0xc9, 0x81, 0xbe, 0x80, 0x7b, 0x53, 0x1a, 0x52, 0x79, - 0xa8, 0xd8, 0xf1, 0xa8, 0x7b, 0x69, 0x82, 0x82, 0x36, 0x73, 0x6b, 0x97, 0xba, 0x97, 0xb2, 0x3e, - 0x04, 0x99, 0xc6, 0x66, 0x5d, 0x95, 0xdb, 0x7a, 0x7d, 0x2c, 0x7f, 0xda, 0xd6, 0x84, 0x4c, 0x63, - 0x5d, 0x6d, 0x8a, 0x82, 0xbe, 0x82, 0x9d, 0x88, 0x79, 0x8e, 0xa0, 0xb3, 0x28, 0x20, 0x82, 0x3a, - 0xaa, 0xce, 0x1a, 0xea, 0xac, 0xdb, 0x11, 0xf3, 0x26, 0xa9, 0x5d, 0x56, 0xc9, 0xee, 0x01, 0xd4, - 0x72, 0x3a, 0x32, 0xa0, 0x74, 0x49, 0xe7, 0x4a, 0x1a, 0x35, 0x2c, 0x87, 0x37, 0x97, 0xda, 0xb7, - 0xc5, 0xc3, 0xc2, 0xeb, 0xfb, 0xf0, 0xd9, 0x4a, 0x1a, 0x1c, 0x5d, 0x85, 0x7f, 0x2b, 0x6b, 0xdd, - 0x65, 0x8b, 0xa0, 0x9f, 0x43, 0xd1, 0xf7, 0x54, 0x48, 0x29, 0x8a, 0xd5, 0x53, 0xf4, 0xf2, 0x0b, - 0x15, 0x17, 0x7d, 0x0f, 0xa1, 0xb4, 0x9c, 0xf4, 0x5a, 0xba, 0x44, 0x0e, 0x60, 0x6b, 0x96, 0x9e, - 0x53, 0x95, 0x42, 0x7d, 0xef, 0x27, 0x3f, 0x90, 0x0a, 0x9c, 0x83, 0xd1, 0xaf, 0xa1, 0x96, 0xdf, - 0xc7, 0xa9, 0x26, 0x1f, 0xad, 0x33, 0xe7, 0x11, 0xf5, 0x7a, 0x19, 0x08, 0x2f, 0xf0, 0xa8, 0x0d, - 0x15, 0x37, 0x89, 0x05, 0x9b, 0xa5, 0xc2, 0xfc, 0xf1, 0x35, 0x35, 0x8f, 0xd5, 0x75, 0x8b, 0x53, - 0x18, 0x3a, 0x84, 0x9a, 0xcb, 0x42, 0x41, 0xfc, 0x90, 0x72, 0x25, 0xc5, 0xfa, 0x9e, 0xb9, 0xb6, - 0xda, 0x9b, 0xcc, 0x7f, 0xb4, 0x81, 0x17, 0x60, 0xf4, 0x2b, 0xa8, 0x5e, 0x1e, 0xc6, 0x4e, 0xc4, - 0x3c, 0x73, 0x47, 0xf1, 0xee, 0xaf, 0xf1, 0x8e, 0x0f, 0xe3, 0x11, 0xf3, 0x8e, 0x36, 0x70, 0xe5, - 0x52, 0x8d, 0xd0, 0x53, 0x28, 0xc5, 0x1f, 0x03, 0x13, 0x29, 0x34, 0x5a, 0x43, 0x8f, 0x3f, 0x06, - 0x47, 0x1b, 0x58, 0x02, 0xa4, 0x0c, 0x64, 0x6f, 0x73, 0x64, 0x1e, 0xf3, 0x32, 0x91, 0x92, 0x2f, - 0xe3, 0x6d, 0xe9, 0x90, 0xc7, 0xcf, 0xaa, 0xa4, 0x07, 0x46, 0xd6, 0x80, 0x1c, 0xb9, 0x37, 0xfa, - 0x57, 0xa1, 0xe4, 0x7e, 0xfd, 0x0a, 0x18, 0xa7, 0xb0, 0x37, 0x1a, 0x85, 0xb7, 0xe3, 0x55, 0x03, - 0xfa, 0x2d, 0x54, 0x5c, 0x16, 0x9e, 0xfb, 0x53, 0xd3, 0x50, 0xd2, 0xfd, 0xf2, 0x86, 0xef, 0x95, - 0xa9, 0x43, 0x26, 0xe5, 0xdc, 0x9f, 0xa6, 0xad, 0x42, 0xd3, 0x76, 0xbf, 0x81, 0xfa, 0x92, 0xf9, - 0x93, 0x44, 0xb9, 0x05, 0x15, 0x41, 0xf8, 0x94, 0x0a, 0x6b, 0x1f, 0x9a, 0x79, 0xc2, 0x47, 0x8c, - 0x0b, 0x59, 0x76, 0x79, 0xd2, 0x9d, 0x88, 0x71, 0xa1, 0x22, 0x36, 0x71, 0xd3, 0x5d, 0x86, 0x59, - 0xff, 0x2b, 0x41, 0x2d, 0x27, 0xca, 0x95, 0xfc, 0x99, 0xbc, 0x29, 0xf4, 0xea, 0x7a, 0x22, 0xaf, - 0x6d, 0x97, 0xcd, 0x66, 0x24, 0xf4, 0x54, 0x33, 0xac, 0xe1, 0x6c, 0x2a, 0x15, 0x4c, 0xf8, 0x34, - 0x36, 0x4b, 0xca, 0xac, 0xc6, 0x68, 0x1f, 0x6a, 0x3c, 0xeb, 0x66, 0xa9, 0x10, 0xcd, 0xdb, 0xba, - 0x1d, 0x5e, 0x40, 0xd1, 0x73, 0x28, 0xd1, 0xf0, 0xca, 0x2c, 0xab, 0x24, 0xae, 0x8b, 0xfe, 0x98, - 0xce, 0xdf, 0xcb, 0x53, 0x8f, 0x88, 0xcf, 0xb1, 0xc4, 0xa1, 0x83, 0x3c, 0xed, 0x95, 0x3b, 0x19, - 0xaf, 0x8b, 0x66, 0x21, 0x4b, 0x37, 0xda, 0x83, 0xb2, 0x4c, 0x47, 0x6c, 0x56, 0x15, 0xef, 0xe1, - 0x6d, 0xb2, 0x95, 0xe9, 0xc1, 0x1a, 0x8a, 0x3a, 0x50, 0x97, 0x45, 0xe6, 0xa4, 0x2b, 0xd6, 0xd4, - 0xa9, 0x9e, 0xac, 0x31, 0xbb, 0x44, 0x90, 0x13, 0x46, 0x3c, 0x3f, 0x9c, 0xea, 0xef, 0x89, 0x41, - 0x92, 0xf4, 0x18, 0xf5, 0xa0, 0x41, 0xb8, 0x7b, 0xe1, 0x0b, 0xea, 0x8a, 0x84, 0x53, 0x75, 0x09, - 0x5e, 0x7f, 0x07, 0xe4, 0xab, 0xb7, 0x3a, 0x4b, 0x60, 0xbc, 0x42, 0xb5, 0x7a, 0xd0, 0x58, 0xf6, - 0xae, 0x76, 0xfe, 0x1a, 0x94, 0x3b, 0xfd, 0xee, 0xfe, 0x4b, 0xa3, 0xa0, 0x86, 0xb8, 0xbf, 0xff, - 0x52, 0x77, 0xff, 0x0e, 0xee, 0x3b, 0xef, 0xf7, 0x8d, 0x52, 0x3e, 0x3e, 0x30, 0x36, 0xad, 0x7f, - 0x17, 0x01, 0x7a, 0xc3, 0xac, 0xe5, 0xa0, 0x63, 0x68, 0x7a, 0xec, 0x2f, 0x61, 0xc0, 0x88, 0xe7, - 0xcc, 0x98, 0x97, 0x75, 0xfa, 0xf5, 0xc7, 0xcf, 0x82, 0xd1, 0xea, 0xa6, 0xf0, 0x3e, 0xf3, 0x28, - 0x6e, 0x78, 0x4b, 0x33, 0x64, 0x43, 0x3d, 0x89, 0x16, 0xa1, 0x8a, 0x2a, 0xd4, 0xcf, 0x6e, 0x0f, - 0x75, 0x1a, 0xe5, 0x81, 0x20, 0xc9, 0xc7, 0xd6, 0x09, 0x34, 0x96, 0x17, 0x41, 0x08, 0xee, 0x75, - 0x87, 0xdf, 0x0d, 0x4e, 0x86, 0x9d, 0xae, 0x63, 0x77, 0xde, 0xa9, 0xc7, 0xc0, 0x67, 0xb0, 0x9d, - 0xdb, 0xc6, 0x13, 0x6c, 0x77, 0xfa, 0x46, 0x41, 0x1b, 0x9d, 0xc1, 0x70, 0xe2, 0x64, 0x3e, 0xa3, - 0x68, 0xd9, 0x00, 0x8b, 0x75, 0x64, 0xac, 0xd3, 0x91, 0x62, 0x0d, 0x07, 0x8e, 0xfd, 0xfb, 0xde, - 0xc4, 0xd8, 0x40, 0x06, 0x34, 0x52, 0x9b, 0x8e, 0x5e, 0x40, 0x3b, 0xd0, 0x4c, 0x03, 0x69, 0x87, - 0x51, 0xb4, 0xfe, 0x51, 0x84, 0x9d, 0x6b, 0xdf, 0x5b, 0x16, 0x0a, 0x0d, 0x65, 0xd3, 0xf3, 0xd2, - 0xe7, 0x46, 0x36, 0x45, 0x8f, 0x00, 0xfc, 0x30, 0x4a, 0x84, 0x13, 0x11, 0x71, 0x91, 0xd6, 0x71, - 0x4d, 0x59, 0x46, 0x44, 0x5c, 0xa0, 0x9f, 0x42, 0x9d, 0x25, 0x22, 0xf7, 0xeb, 0x37, 0x10, 0x68, - 0x93, 0x02, 0xf4, 0xa0, 0x72, 0xce, 0xf8, 0x8c, 0xe8, 0xe7, 0xc6, 0xbd, 0xbd, 0x17, 0x77, 0x69, - 0xaf, 0x75, 0xa2, 0x5f, 0xdf, 0x7d, 0x12, 0xbd, 0x55, 0x44, 0x9c, 0x06, 0x40, 0xdf, 0x42, 0xdd, - 0x67, 0x4e, 0x9c, 0x66, 0x3d, 0xbd, 0xf0, 0x1f, 0xdc, 0xfa, 0x59, 0x30, 0xf8, 0x2c, 0x1b, 0x5b, - 0x2f, 0xc0, 0x58, 0x8f, 0x8b, 0xb6, 0x60, 0xf3, 0x77, 0xe3, 0xa1, 0x94, 0xde, 0x16, 0x6c, 0x7e, - 0xe8, 0xf4, 0x4f, 0xb4, 0xf2, 0x46, 0x78, 0x38, 0x19, 0x1a, 0x45, 0xeb, 0x7b, 0xa8, 0xe8, 0x1b, - 0x1d, 0xfd, 0x66, 0xa9, 0xb5, 0x15, 0x6e, 0xac, 0xa0, 0xe3, 0xc3, 0x78, 0x78, 0xf6, 0x67, 0xea, - 0x8a, 0x1b, 0xfa, 0xdb, 0x1e, 0x6c, 0xc9, 0x26, 0x1f, 0x47, 0xd4, 0x4d, 0x1f, 0x6b, 0xb7, 0x36, - 0xa9, 0x6a, 0xc4, 0xbc, 0x71, 0x44, 0x5d, 0xeb, 0x9f, 0x45, 0xd8, 0xb9, 0x16, 0x13, 0x75, 0xa1, - 0x12, 0x90, 0x33, 0x1a, 0x64, 0x7f, 0x0e, 0x7e, 0x79, 0xd7, 0x2e, 0x5a, 0x27, 0x0a, 0x9e, 0x3d, - 0xf0, 0xd5, 0x04, 0x8d, 0xa1, 0x4e, 0xc2, 0x90, 0x09, 0xf5, 0xc6, 0xcb, 0xfe, 0x25, 0xbc, 0xb8, - 0x33, 0x54, 0x67, 0xc1, 0xd1, 0xf1, 0x96, 0xa3, 0xc8, 0x56, 0xb0, 0xb4, 0xd6, 0xa7, 0xb4, 0x82, - 0xdd, 0x57, 0x60, 0xac, 0xc7, 0xfe, 0x14, 0xbe, 0xf5, 0xf7, 0x02, 0x94, 0xc6, 0x1f, 0x03, 0xf4, - 0x10, 0x6a, 0xb1, 0x20, 0x82, 0xce, 0x68, 0x28, 0x52, 0xe6, 0xc2, 0x80, 0x5e, 0x42, 0xd5, 0xf3, - 0x49, 0x40, 0x5d, 0x91, 0xd6, 0xf3, 0xee, 0xf5, 0x7e, 0xdc, 0xea, 0x6a, 0x04, 0xce, 0xa0, 0xd6, - 0x01, 0x54, 0x53, 0x9b, 0x7c, 0xb6, 0x9f, 0x0e, 0xba, 0xf6, 0xdb, 0xde, 0xc0, 0xee, 0x6a, 0xc9, - 0x74, 0x06, 0xe3, 0x9e, 0x51, 0x90, 0xa3, 0xa3, 0xde, 0x7b, 0xdb, 0x28, 0x2e, 0x1e, 0xf9, 0xa5, - 0xd7, 0xfb, 0x7f, 0x78, 0x39, 0xf5, 0xc5, 0x45, 0x72, 0xd6, 0x72, 0xd9, 0xac, 0xad, 0x56, 0x62, - 0x7c, 0xda, 0xce, 0xff, 0x49, 0x4e, 0x69, 0xd8, 0x8e, 0xce, 0x9e, 0x4f, 0x59, 0x7b, 0xe5, 0xcf, - 0xe5, 0x59, 0x45, 0x49, 0xe2, 0xeb, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x6d, 0x2b, 0x08, - 0xfb, 0x0e, 0x00, 0x00, + // 1661 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xdd, 0x72, 0x1b, 0x49, + 0x15, 0xb6, 0x24, 0x4b, 0xb2, 0x8e, 0xa4, 0x78, 0xdc, 0x4b, 0x96, 0x89, 0x49, 0x42, 0x6a, 0x8a, + 0xcd, 0x86, 0x85, 0x48, 0xc4, 0x9b, 0xb2, 0xbd, 0x0b, 0x15, 0x4a, 0x89, 0x26, 0xb1, 0xb0, 0xf5, + 0x53, 0x2d, 0x39, 0x4b, 0xa8, 0xa2, 0x86, 0xf6, 0x4c, 0x6b, 0x3c, 0x78, 0x34, 0x3d, 0xee, 0xe9, + 0x31, 0x88, 0x7b, 0x5e, 0x80, 0x97, 0xa0, 0xa8, 0xe2, 0x96, 0x4b, 0xde, 0x81, 0x97, 0xe1, 0x8e, + 0x0b, 0xaa, 0x7b, 0x7e, 0xf4, 0x63, 0x7b, 0x5d, 0xbe, 0x52, 0xf7, 0x39, 0xdf, 0x77, 0x7a, 0xfa, + 0xe8, 0x3b, 0x7d, 0xba, 0xe1, 0xd1, 0xd4, 0x9f, 0x0b, 0xea, 0x39, 0x7e, 0xdb, 0x66, 0x9c, 0xb6, + 0x05, 0x89, 0x2e, 0xa2, 0x56, 0xc8, 0x99, 0x60, 0xa8, 0x99, 0xb9, 0x5a, 0xd2, 0xb5, 0xfb, 0x74, + 0x15, 0xe9, 0x39, 0x34, 0x10, 0xde, 0xd4, 0xa3, 0x3c, 0x81, 0xef, 0x3e, 0x59, 0xf3, 0x07, 0x82, + 0xf2, 0x29, 0xb1, 0x69, 0xea, 0x7e, 0xbc, 0xea, 0xf6, 0x3d, 0x41, 0x39, 0xf1, 0xa3, 0x9b, 0xbd, + 0x11, 0xb5, 0x63, 0xee, 0x89, 0x79, 0xea, 0x7d, 0xea, 0x32, 0xe6, 0xfa, 0xb4, 0xad, 0x66, 0x67, + 0xf1, 0xb4, 0xed, 0xc4, 0x9c, 0x08, 0x8f, 0x05, 0x19, 0x7b, 0xdd, 0x1f, 0x09, 0x1e, 0xdb, 0x22, + 0xf1, 0x1a, 0xff, 0x29, 0x42, 0x0d, 0xd3, 0x88, 0xc5, 0xdc, 0xa6, 0x11, 0x7a, 0x0b, 0x5b, 0x9c, + 0x5e, 0xc6, 0x34, 0x12, 0x91, 0x5e, 0x78, 0x56, 0x7a, 0x51, 0xdf, 0x7b, 0xde, 0x5a, 0xd9, 0x68, + 0x2b, 0xc7, 0xe6, 0x23, 0x33, 0x10, 0x7c, 0x8e, 0x73, 0x1e, 0x7a, 0x03, 0x15, 0xdf, 0x9b, 0x79, + 0x22, 0xd2, 0x8b, 0xf7, 0x8a, 0x90, 0xb2, 0x76, 0xff, 0x00, 0xcd, 0x15, 0x07, 0xfa, 0x06, 0x36, + 0x03, 0x32, 0xa3, 0x7a, 0xe1, 0x59, 0xe1, 0xc5, 0x83, 0xbd, 0x2f, 0xee, 0x0c, 0x37, 0x20, 0x33, + 0x8a, 0x15, 0x05, 0xfd, 0x00, 0xca, 0x57, 0xc4, 0x8f, 0xa9, 0x5e, 0x7c, 0x56, 0x78, 0x51, 0xc3, + 0xc9, 0xc4, 0xf8, 0x3d, 0x34, 0x96, 0xb1, 0xa8, 0x0e, 0xd5, 0xd3, 0xc1, 0xf1, 0x60, 0xf8, 0xdd, + 0x40, 0xdb, 0x40, 0x55, 0x28, 0xbd, 0x1b, 0x9d, 0x6a, 0x05, 0x39, 0xf8, 0x30, 0x3a, 0xd5, 0x8a, + 0x08, 0xa0, 0xd2, 0x37, 0xfb, 0x43, 0xfc, 0x49, 0x2b, 0x49, 0xe8, 0x78, 0x32, 0xc4, 0x9d, 0x0f, + 0xa6, 0xb6, 0x89, 0x1e, 0xc2, 0x8e, 0x39, 0x3a, 0x32, 0xfb, 0x26, 0xee, 0x9c, 0x58, 0x99, 0xb9, + 0x6c, 0xfc, 0xb3, 0x00, 0xdb, 0x38, 0x0e, 0x84, 0x37, 0xa3, 0x7d, 0x2a, 0x88, 0x43, 0x04, 0x41, + 0x6f, 0x60, 0x53, 0xcc, 0xc3, 0x6c, 0x0f, 0x5f, 0xad, 0xef, 0x61, 0x15, 0x9d, 0xcd, 0x27, 0xf3, + 0x90, 0x62, 0xc5, 0x43, 0x3a, 0x54, 0xaf, 0x28, 0x8f, 0x3c, 0x16, 0xa4, 0x5b, 0xc9, 0xa6, 0xe8, + 0x73, 0xa8, 0x4c, 0x7d, 0x72, 0xc5, 0xb8, 0x5e, 0x52, 0x8e, 0x74, 0x66, 0x7c, 0x09, 0xf5, 0xa5, + 0x30, 0xa8, 0x06, 0xe5, 0xe1, 0xe4, 0xc8, 0xc4, 0xda, 0x06, 0x6a, 0x42, 0xed, 0xfd, 0xc9, 0xa7, + 0x89, 0x69, 0x8d, 0xbb, 0xc7, 0x5a, 0xc1, 0xf8, 0xef, 0x26, 0x34, 0x26, 0x24, 0xba, 0xc8, 0xbf, + 0xd5, 0x80, 0x86, 0xe3, 0x45, 0x36, 0xbb, 0xa2, 0x9c, 0x9c, 0xf9, 0xc9, 0x37, 0x6f, 0xe1, 0x15, + 0x1b, 0x3a, 0x84, 0x2a, 0x4f, 0xa2, 0xab, 0xef, 0xa9, 0xef, 0x3d, 0xfd, 0xfe, 0x2d, 0xe1, 0x0c, + 0x8e, 0xbe, 0x86, 0xaa, 0xfc, 0x65, 0xb1, 0xd0, 0x37, 0x15, 0xf3, 0x51, 0x2b, 0x11, 0x68, 0x2b, + 0x13, 0x68, 0xab, 0x9b, 0x0a, 0x18, 0x67, 0x48, 0xb4, 0x0f, 0x55, 0x4e, 0x05, 0xf7, 0x68, 0xa4, + 0x97, 0x15, 0xe9, 0xf1, 0x35, 0x15, 0x08, 0x3e, 0x1f, 0x0b, 0x4e, 0x04, 0x75, 0xe7, 0x38, 0x03, + 0xa3, 0x9f, 0xc1, 0x4e, 0xf6, 0xd9, 0x73, 0x2b, 0x4b, 0x60, 0x45, 0xe5, 0x49, 0xcb, 0x1d, 0x1f, + 0xd3, 0x4c, 0x1e, 0x82, 0xee, 0xd0, 0x90, 0x53, 0x9b, 0x08, 0xea, 0x58, 0x94, 0x73, 0xc6, 0xad, + 0x19, 0x8d, 0x22, 0xe2, 0x52, 0xbd, 0xaa, 0x38, 0x9f, 0x2f, 0xfc, 0xa6, 0x74, 0xf7, 0x13, 0x2f, + 0x7a, 0x0e, 0x4d, 0x55, 0xd1, 0x3c, 0x0e, 0x85, 0x27, 0x53, 0xb6, 0x25, 0x53, 0x76, 0xb4, 0x81, + 0x57, 0xcd, 0xe8, 0x25, 0x20, 0x9b, 0xd8, 0xe7, 0xd4, 0x8a, 0x28, 0xf7, 0x88, 0xef, 0xfd, 0x45, + 0xe5, 0xb7, 0xa6, 0xf2, 0xbb, 0xa3, 0x3c, 0xe3, 0x25, 0x07, 0xfa, 0x02, 0x1e, 0xb8, 0x34, 0xa0, + 0x72, 0x53, 0x91, 0xe5, 0x50, 0xfb, 0x42, 0x07, 0x05, 0x6d, 0xe6, 0xd6, 0x2e, 0xb5, 0x2f, 0x64, + 0x7d, 0x08, 0xe2, 0x46, 0x7a, 0x5d, 0x95, 0xdb, 0x7a, 0x7d, 0x2c, 0xff, 0xb5, 0xad, 0x09, 0x71, + 0xa3, 0xa4, 0xda, 0x14, 0x05, 0x7d, 0x05, 0x3b, 0x21, 0x73, 0x2c, 0x41, 0x67, 0xa1, 0x4f, 0x04, + 0xb5, 0x54, 0x9d, 0x35, 0xd4, 0x5e, 0xb7, 0x43, 0xe6, 0x4c, 0x52, 0xbb, 0xac, 0x92, 0xdd, 0x03, + 0xa8, 0xe5, 0x74, 0xa4, 0x41, 0xe9, 0x82, 0xce, 0x95, 0x34, 0x6a, 0x58, 0x0e, 0x6f, 0x2e, 0xb5, + 0x6f, 0x8b, 0x87, 0x85, 0xb7, 0x0f, 0xe1, 0xb3, 0x95, 0x34, 0x58, 0x49, 0x15, 0xfe, 0xb5, 0x9c, + 0xe8, 0x2e, 0x5b, 0x04, 0xfd, 0x14, 0x8a, 0x9e, 0xa3, 0x42, 0x4a, 0x51, 0xac, 0xee, 0xa2, 0x97, + 0x1f, 0xa8, 0xb8, 0xe8, 0x39, 0x08, 0xa5, 0xe5, 0x94, 0xac, 0x95, 0x94, 0xc8, 0x01, 0x6c, 0xcd, + 0xd2, 0x7d, 0xaa, 0x52, 0xa8, 0xef, 0xfd, 0xe8, 0x7b, 0x52, 0x81, 0x73, 0x30, 0xfa, 0x25, 0xd4, + 0xf2, 0xf3, 0x38, 0xd5, 0xe4, 0x93, 0x75, 0xe6, 0x3c, 0xa4, 0x4e, 0x2f, 0x03, 0xe1, 0x05, 0x1e, + 0xb5, 0xa1, 0x62, 0xc7, 0x91, 0x60, 0xb3, 0x54, 0x98, 0x3f, 0xbc, 0xa6, 0xe6, 0xb1, 0x3a, 0x6e, + 0x71, 0x0a, 0x43, 0x87, 0x50, 0xb3, 0x59, 0x20, 0x88, 0x17, 0x50, 0xae, 0xa4, 0x58, 0xdf, 0xd3, + 0xd7, 0x56, 0x7b, 0x97, 0xf9, 0x8f, 0x36, 0xf0, 0x02, 0x8c, 0x7e, 0x01, 0xd5, 0x8b, 0xc3, 0xc8, + 0x0a, 0x99, 0xa3, 0xef, 0x28, 0xde, 0xc3, 0x35, 0xde, 0xf1, 0x61, 0x34, 0x62, 0xce, 0xd1, 0x06, + 0xae, 0x5c, 0xa8, 0x11, 0x7a, 0x0e, 0xa5, 0xe8, 0xd2, 0xd7, 0x91, 0x42, 0xa3, 0x35, 0xf4, 0xf8, + 0xd2, 0x3f, 0xda, 0xc0, 0x12, 0x20, 0x65, 0x20, 0x7b, 0x9b, 0x25, 0xf3, 0x98, 0x97, 0x89, 0x94, + 0x7c, 0x19, 0x6f, 0x4b, 0x87, 0xdc, 0x7e, 0x56, 0x25, 0x3d, 0xd0, 0xb2, 0x06, 0x64, 0xc9, 0x6f, + 0xa3, 0x7f, 0x16, 0x4a, 0xee, 0xd7, 0x8f, 0x80, 0x71, 0x0a, 0x7b, 0x97, 0xa0, 0xf0, 0x76, 0xb4, + 0x6a, 0x40, 0xbf, 0x86, 0x8a, 0xcd, 0x82, 0xa9, 0xe7, 0xea, 0x9a, 0x92, 0xee, 0x97, 0x37, 0xfc, + 0x5f, 0x99, 0x3a, 0x64, 0x52, 0xa6, 0x9e, 0x9b, 0xb6, 0x8a, 0x84, 0xb6, 0xfb, 0x0d, 0xd4, 0x97, + 0xcc, 0xf7, 0x12, 0xe5, 0x16, 0x54, 0x04, 0xe1, 0x2e, 0x15, 0xc6, 0x3e, 0x34, 0xf3, 0x84, 0x8f, + 0x18, 0x17, 0xb2, 0xec, 0xf2, 0xa4, 0x5b, 0x21, 0xe3, 0x42, 0x45, 0x6c, 0xe2, 0xa6, 0xbd, 0x0c, + 0x33, 0xfe, 0x57, 0x82, 0x5a, 0x4e, 0x94, 0x2b, 0x79, 0x33, 0x79, 0x52, 0x24, 0xab, 0x27, 0x13, + 0x79, 0x6c, 0xdb, 0x6c, 0x36, 0x23, 0x81, 0xa3, 0x9a, 0x61, 0x0d, 0x67, 0x53, 0xa9, 0x60, 0xc2, + 0xdd, 0x48, 0x2f, 0x29, 0xb3, 0x1a, 0xa3, 0x7d, 0xa8, 0xf1, 0xac, 0x9b, 0xa5, 0x42, 0xd4, 0x6f, + 0xeb, 0x76, 0x78, 0x01, 0x45, 0x2f, 0xa1, 0x44, 0x83, 0x2b, 0xbd, 0xac, 0x92, 0xb8, 0x2e, 0xfa, + 0x63, 0x3a, 0xff, 0x28, 0x77, 0x3d, 0x22, 0x1e, 0xc7, 0x12, 0x87, 0x0e, 0xf2, 0xb4, 0x57, 0xee, + 0x64, 0xbc, 0x2d, 0xea, 0x85, 0x2c, 0xdd, 0x68, 0x0f, 0xca, 0x32, 0x1d, 0x91, 0x5e, 0x55, 0xbc, + 0xc7, 0xb7, 0xc9, 0x56, 0xa6, 0x07, 0x27, 0x50, 0xd4, 0x81, 0xba, 0x2c, 0x32, 0x2b, 0x5d, 0xb1, + 0xa6, 0x76, 0xf5, 0x6c, 0x8d, 0xd9, 0x25, 0x82, 0x9c, 0x30, 0xe2, 0x78, 0x81, 0x9b, 0xfc, 0x9f, + 0x18, 0x24, 0x29, 0x19, 0xa3, 0x1e, 0x34, 0x08, 0xb7, 0xcf, 0x3d, 0x41, 0x6d, 0x11, 0x73, 0xaa, + 0x0e, 0xc1, 0xeb, 0xf7, 0x80, 0x7c, 0xf5, 0x56, 0x67, 0x09, 0x8c, 0x57, 0xa8, 0x46, 0x0f, 0x1a, + 0xcb, 0xde, 0xd5, 0xce, 0x5f, 0x83, 0x72, 0xa7, 0xdf, 0xdd, 0x7f, 0xad, 0x15, 0xd4, 0x10, 0xf7, + 0xf7, 0x5f, 0x27, 0xdd, 0xbf, 0x83, 0xfb, 0xd6, 0xc7, 0x7d, 0xad, 0x94, 0x8f, 0x0f, 0xb4, 0x4d, + 0xe3, 0x5f, 0x45, 0x80, 0xde, 0x30, 0x6b, 0x39, 0xe8, 0x18, 0x9a, 0x0e, 0xfb, 0x53, 0xe0, 0x33, + 0xe2, 0x58, 0x33, 0xe6, 0x64, 0x9d, 0x7e, 0xfd, 0xf2, 0xb3, 0x60, 0xb4, 0xba, 0x29, 0xbc, 0xcf, + 0x1c, 0x8a, 0x1b, 0xce, 0xd2, 0x0c, 0x99, 0x50, 0x8f, 0xc3, 0x45, 0xa8, 0xa2, 0x0a, 0xf5, 0x93, + 0xdb, 0x43, 0x9d, 0x86, 0x79, 0x20, 0x88, 0xf3, 0xb1, 0x71, 0x02, 0x8d, 0xe5, 0x45, 0x10, 0x82, + 0x07, 0xdd, 0xe1, 0x77, 0x83, 0x93, 0x61, 0xa7, 0x6b, 0x99, 0x9d, 0x0f, 0xea, 0x32, 0xf0, 0x19, + 0x6c, 0xe7, 0xb6, 0xf1, 0x04, 0x9b, 0x9d, 0xbe, 0x56, 0x48, 0x8c, 0xd6, 0x60, 0x38, 0xb1, 0x32, + 0x9f, 0x56, 0x34, 0x4c, 0x80, 0xc5, 0x3a, 0x32, 0xd6, 0xe9, 0x48, 0xb1, 0x86, 0x03, 0xcb, 0xfc, + 0x6d, 0x6f, 0xa2, 0x6d, 0x20, 0x0d, 0x1a, 0xa9, 0x2d, 0x89, 0x5e, 0x40, 0x3b, 0xd0, 0x4c, 0x03, + 0x25, 0x0e, 0xad, 0x68, 0xfc, 0xbd, 0x08, 0x3b, 0xd7, 0xfe, 0x6f, 0x59, 0x28, 0x34, 0x90, 0x4d, + 0xcf, 0x49, 0xaf, 0x1b, 0xd9, 0x14, 0x3d, 0x01, 0xf0, 0x82, 0x30, 0x16, 0x56, 0x48, 0xc4, 0x79, + 0x5a, 0xc7, 0x35, 0x65, 0x19, 0x11, 0x71, 0x8e, 0x7e, 0x0c, 0x75, 0x16, 0x8b, 0xdc, 0x9f, 0xdc, + 0x81, 0x20, 0x31, 0x29, 0x40, 0x0f, 0x2a, 0x53, 0xc6, 0x67, 0x24, 0xb9, 0x6e, 0x3c, 0xd8, 0x7b, + 0x75, 0x97, 0xf6, 0x5a, 0x27, 0xc9, 0xed, 0xbb, 0x4f, 0xc2, 0xf7, 0x8a, 0x88, 0xd3, 0x00, 0xe8, + 0x5b, 0xa8, 0x7b, 0xcc, 0x8a, 0xd2, 0xac, 0xa7, 0x07, 0xfe, 0xa3, 0x5b, 0xff, 0x16, 0x0c, 0x1e, + 0xcb, 0xc6, 0xc6, 0x2b, 0xd0, 0xd6, 0xe3, 0xa2, 0x2d, 0xd8, 0xfc, 0xcd, 0x78, 0x28, 0xa5, 0xb7, + 0x05, 0x9b, 0x9f, 0x3a, 0xfd, 0x93, 0x44, 0x79, 0x23, 0x3c, 0x9c, 0x0c, 0xb5, 0xa2, 0xf1, 0xef, + 0x02, 0x54, 0x92, 0x23, 0x1d, 0xfd, 0x6a, 0xa9, 0xb7, 0x15, 0x6e, 0x2c, 0xa1, 0xe3, 0xc3, 0x68, + 0x78, 0xf6, 0x47, 0x6a, 0x8b, 0x1b, 0x1a, 0xdc, 0x1e, 0x6c, 0xc9, 0x2e, 0x1f, 0x85, 0xd4, 0x4e, + 0x6f, 0x6b, 0xb7, 0x76, 0xa9, 0x6a, 0xc8, 0x9c, 0x71, 0x48, 0xed, 0xf5, 0xba, 0x2d, 0xdd, 0xbf, + 0x6e, 0x8d, 0x7f, 0x14, 0x61, 0xe7, 0xda, 0x67, 0xa1, 0x2e, 0x54, 0x7c, 0x72, 0x46, 0xfd, 0xec, + 0x81, 0xf1, 0xf3, 0xbb, 0x36, 0xd2, 0x3a, 0x51, 0xf0, 0xec, 0x91, 0xa0, 0x26, 0x68, 0x0c, 0x75, + 0x12, 0x04, 0x4c, 0xa8, 0x7b, 0x62, 0xf6, 0xd2, 0x78, 0x75, 0x67, 0xa8, 0xce, 0x82, 0x93, 0xc4, + 0x5b, 0x8e, 0x22, 0xdb, 0xc9, 0xd2, 0x5a, 0xf7, 0x69, 0x27, 0xbb, 0x6f, 0x40, 0x5b, 0x8f, 0x7d, + 0x1f, 0xbe, 0xf1, 0xb7, 0x02, 0x94, 0xc6, 0x97, 0x3e, 0x7a, 0x0c, 0xb5, 0x48, 0x10, 0x41, 0x67, + 0x34, 0x10, 0x29, 0x73, 0x61, 0x40, 0xaf, 0xa1, 0xea, 0x78, 0xc4, 0xa7, 0xb6, 0x48, 0xcf, 0x84, + 0xdd, 0xeb, 0x3d, 0xbd, 0xd5, 0x4d, 0x10, 0x38, 0x83, 0x1a, 0x07, 0x50, 0x4d, 0x6d, 0xf2, 0xea, + 0x7f, 0x3a, 0xe8, 0x9a, 0xef, 0x7b, 0x03, 0xb3, 0x9b, 0xc8, 0xae, 0x33, 0x18, 0xf7, 0xb4, 0x82, + 0x1c, 0x1d, 0xf5, 0x3e, 0x9a, 0x5a, 0x71, 0xf1, 0x50, 0x28, 0xbd, 0xdd, 0xff, 0xdd, 0x6b, 0xd7, + 0x13, 0xe7, 0xf1, 0x59, 0xcb, 0x66, 0xb3, 0xb6, 0x5a, 0x89, 0x71, 0xb7, 0x9d, 0xbf, 0x46, 0x5d, + 0x1a, 0xb4, 0xc3, 0xb3, 0x97, 0x2e, 0x6b, 0xaf, 0x3c, 0x50, 0xcf, 0x2a, 0x4a, 0x55, 0x5f, 0xff, + 0x3f, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x11, 0xc2, 0xc9, 0x3f, 0x0f, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/core/tasks.pb.validate.go b/gen/pb-go/flyteidl/core/tasks.pb.validate.go index bdf649080..57d157dfd 100644 --- a/gen/pb-go/flyteidl/core/tasks.pb.validate.go +++ b/gen/pb-go/flyteidl/core/tasks.pb.validate.go @@ -858,6 +858,16 @@ func (m *K8SPod) Validate() error { } } + if v, ok := interface{}(m.GetDataConfig()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return K8SPodValidationError{ + field: "DataConfig", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/event/event.pb.go b/gen/pb-go/flyteidl/event/event.pb.go index 24bb2a881..62b7a12e6 100644 --- a/gen/pb-go/flyteidl/event/event.pb.go +++ b/gen/pb-go/flyteidl/event/event.pb.go @@ -225,10 +225,15 @@ type NodeExecutionEvent struct { IsDynamic bool `protobuf:"varint,18,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` // String location uniquely identifying where the deck HTML file is // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) - DeckUri string `protobuf:"bytes,19,opt,name=deck_uri,json=deckUri,proto3" json:"deck_uri,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DeckUri string `protobuf:"bytes,19,opt,name=deck_uri,json=deckUri,proto3" json:"deck_uri,omitempty"` + // This timestamp represents the instant when the event was reported by the executing framework. For example, + // when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when + // literal inputs are initially copied. The event however will not be sent until after the copy completes. + // Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. + ReportedAt *timestamp.Timestamp `protobuf:"bytes,21,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeExecutionEvent) Reset() { *m = NodeExecutionEvent{} } @@ -471,6 +476,13 @@ func (m *NodeExecutionEvent) GetDeckUri() string { return "" } +func (m *NodeExecutionEvent) GetReportedAt() *timestamp.Timestamp { + if m != nil { + return m.ReportedAt + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*NodeExecutionEvent) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -605,10 +617,13 @@ type DynamicWorkflowNodeMetadata struct { // id represents the unique identifier of the workflow. Id *core.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. - CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CompiledWorkflow *core.CompiledWorkflowClosure `protobuf:"bytes,2,opt,name=compiled_workflow,json=compiledWorkflow,proto3" json:"compiled_workflow,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + // required to correctly recover partially completed executions where the workflow has already been compiled. + DynamicJobSpecUri string `protobuf:"bytes,3,opt,name=dynamic_job_spec_uri,json=dynamicJobSpecUri,proto3" json:"dynamic_job_spec_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *DynamicWorkflowNodeMetadata) Reset() { *m = DynamicWorkflowNodeMetadata{} } @@ -650,6 +665,13 @@ func (m *DynamicWorkflowNodeMetadata) GetCompiledWorkflow() *core.CompiledWorkfl return nil } +func (m *DynamicWorkflowNodeMetadata) GetDynamicJobSpecUri() string { + if m != nil { + return m.DynamicJobSpecUri + } + return "" +} + type ParentTaskExecutionMetadata struct { Id *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -776,10 +798,15 @@ type TaskExecutionEvent struct { // proto message. For example, event_verison > 0 means that maps tasks report logs using the // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog // in this message. - EventVersion int32 `protobuf:"varint,18,opt,name=event_version,json=eventVersion,proto3" json:"event_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EventVersion int32 `protobuf:"varint,18,opt,name=event_version,json=eventVersion,proto3" json:"event_version,omitempty"` + // This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s + // pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, + // but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps + // facilitates a more accurate portrayal of the evaluation time-series. + ReportedAt *timestamp.Timestamp `protobuf:"bytes,20,opt,name=reported_at,json=reportedAt,proto3" json:"reported_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TaskExecutionEvent) Reset() { *m = TaskExecutionEvent{} } @@ -985,6 +1012,13 @@ func (m *TaskExecutionEvent) GetEventVersion() int32 { return 0 } +func (m *TaskExecutionEvent) GetReportedAt() *timestamp.Timestamp { + if m != nil { + return m.ReportedAt + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*TaskExecutionEvent) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1233,96 +1267,99 @@ func init() { func init() { proto.RegisterFile("flyteidl/event/event.proto", fileDescriptor_4b035d24120b1b12) } var fileDescriptor_4b035d24120b1b12 = []byte{ - // 1441 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdb, 0x6e, 0xdb, 0x46, - 0x13, 0xb6, 0xe4, 0x83, 0xa4, 0xa1, 0x25, 0x4b, 0x1b, 0xc7, 0x61, 0xe2, 0x38, 0xd6, 0xaf, 0xbf, - 0x29, 0x94, 0x04, 0x95, 0x00, 0x05, 0x49, 0x83, 0x36, 0x40, 0xe1, 0x53, 0x6b, 0xa1, 0x8e, 0x61, - 0xd0, 0x72, 0x02, 0xa4, 0x2d, 0x88, 0x35, 0xb9, 0x96, 0x17, 0xa2, 0xb8, 0xc4, 0x72, 0xe9, 0x44, - 0x0f, 0x93, 0xf6, 0xbe, 0x8f, 0xd3, 0x37, 0xe9, 0x1b, 0x14, 0xdc, 0x25, 0x29, 0x93, 0x62, 0x6d, - 0xe7, 0xd0, 0x1b, 0x03, 0x9c, 0x99, 0xfd, 0x76, 0x76, 0x4e, 0xdf, 0x58, 0x70, 0xef, 0xcc, 0x99, - 0x08, 0x42, 0x6d, 0xa7, 0x4b, 0x2e, 0x88, 0x2b, 0xd4, 0xdf, 0x8e, 0xc7, 0x99, 0x60, 0xa8, 0x16, - 0xeb, 0x3a, 0x52, 0x7a, 0xef, 0x7e, 0x62, 0x6b, 0x31, 0x4e, 0xba, 0x0e, 0x15, 0x84, 0x63, 0xc7, - 0x57, 0xd6, 0x59, 0xad, 0xc5, 0xc6, 0x1e, 0x75, 0x08, 0x8f, 0xb4, 0x1b, 0x69, 0x2d, 0x79, 0x4f, - 0xac, 0x40, 0x50, 0xe6, 0x46, 0xea, 0x07, 0x69, 0x35, 0xb5, 0x89, 0x2b, 0xe8, 0x19, 0x4d, 0x8e, - 0xaf, 0x67, 0xc0, 0xb1, 0xc0, 0x0e, 0x1b, 0x46, 0xca, 0xcd, 0x21, 0x63, 0x43, 0x87, 0x74, 0xe5, - 0xd7, 0x69, 0x70, 0xd6, 0x15, 0x74, 0x4c, 0x7c, 0x81, 0xc7, 0x5e, 0xec, 0x5a, 0xd6, 0xc0, 0x17, - 0x3c, 0xb0, 0xa2, 0x67, 0xb6, 0xfe, 0x9c, 0x87, 0xb5, 0x37, 0x8c, 0x8f, 0xce, 0x1c, 0xf6, 0x6e, - 0x2f, 0xf6, 0x6b, 0x2f, 0x7c, 0x31, 0x7a, 0x05, 0xcb, 0x89, 0xa7, 0x26, 0xb5, 0xf5, 0x42, 0xb3, - 0xd0, 0xd6, 0x7a, 0x8f, 0x3b, 0x49, 0x60, 0x42, 0x6f, 0x3a, 0x33, 0x87, 0xfb, 0x89, 0xfb, 0x86, - 0x46, 0xa6, 0x42, 0xb4, 0x09, 0x9a, 0xc7, 0x99, 0x1d, 0x58, 0x84, 0x87, 0x68, 0xc5, 0x66, 0xa1, - 0x5d, 0x31, 0x20, 0x16, 0xf5, 0x6d, 0xf4, 0x12, 0x16, 0xbd, 0x73, 0xec, 0x13, 0x7d, 0xbe, 0x59, - 0x68, 0xd7, 0x7a, 0x5f, 0x5f, 0x77, 0x51, 0xe7, 0x28, 0xb4, 0x36, 0xd4, 0x21, 0xf4, 0x3d, 0x68, - 0xcc, 0xb2, 0x02, 0xce, 0x89, 0x6d, 0x62, 0xa1, 0x2f, 0x48, 0x67, 0xef, 0x75, 0xd4, 0xe3, 0x3b, - 0xf1, 0xe3, 0x3b, 0x83, 0x38, 0x3a, 0x06, 0xc4, 0xe6, 0x5b, 0x02, 0x6d, 0x02, 0xb0, 0x40, 0x78, - 0x81, 0x30, 0x03, 0x4e, 0xf5, 0xc5, 0xd0, 0xb5, 0xfd, 0x39, 0xa3, 0xa2, 0x64, 0x27, 0x9c, 0xa2, - 0x67, 0xb0, 0x48, 0x38, 0x67, 0x5c, 0x5f, 0x92, 0xb8, 0x1b, 0x19, 0xdf, 0xa6, 0x91, 0x0b, 0x8d, - 0xf6, 0xe7, 0x0c, 0x65, 0x8d, 0x5e, 0x82, 0x16, 0xe1, 0xda, 0x58, 0x60, 0xbd, 0x24, 0x0f, 0xdf, - 0xcd, 0x1c, 0x3e, 0x50, 0xa5, 0xf4, 0x0a, 0x7b, 0xfb, 0x73, 0x46, 0xe4, 0xc7, 0x2e, 0x16, 0x78, - 0x7b, 0x05, 0xaa, 0xd1, 0x69, 0x4e, 0xfc, 0xc0, 0x11, 0xad, 0xbf, 0xca, 0x80, 0x0e, 0x99, 0x4d, - 0x32, 0x89, 0x7a, 0x0e, 0xc5, 0x24, 0x3d, 0xd9, 0xa8, 0xa5, 0xcc, 0x2f, 0xa5, 0xa6, 0x48, 0x6f, - 0x90, 0x91, 0x17, 0xe9, 0x8c, 0xb4, 0xae, 0xc2, 0xfe, 0x82, 0xd9, 0xd8, 0x80, 0x0a, 0x75, 0xb3, - 0xc9, 0x28, 0x4b, 0x51, 0x98, 0x8b, 0xef, 0x00, 0x94, 0x5a, 0xc6, 0x74, 0xf5, 0xfa, 0x98, 0x2a, - 0xb4, 0x30, 0xa4, 0x99, 0x44, 0x2f, 0x49, 0xec, 0x42, 0x6e, 0xa2, 0x4b, 0x37, 0x49, 0x74, 0xe1, - 0x5f, 0x12, 0xbd, 0x72, 0x9d, 0x53, 0x85, 0xcb, 0x89, 0x46, 0xbf, 0xc2, 0xda, 0xbb, 0xa8, 0xba, - 0x4d, 0x97, 0xd9, 0xc4, 0x1c, 0x13, 0x81, 0x25, 0x50, 0x59, 0x02, 0x7d, 0xd5, 0x49, 0x0f, 0xa3, - 0xa4, 0x17, 0xc2, 0x0c, 0xbc, 0x8a, 0x6c, 0xf7, 0x8b, 0xc6, 0xea, 0xbb, 0x1c, 0x39, 0x3a, 0x02, - 0x24, 0xb0, 0x3f, 0xca, 0x20, 0xd7, 0x24, 0x72, 0x33, 0x8b, 0x3c, 0xc0, 0xfe, 0x28, 0x83, 0x5a, - 0x17, 0x19, 0x19, 0xfa, 0x0d, 0x56, 0x3d, 0xcc, 0x89, 0x2b, 0x4c, 0x09, 0x9c, 0x60, 0x56, 0x24, - 0xe6, 0x93, 0x2c, 0xe6, 0x91, 0xb4, 0x0d, 0x91, 0x93, 0xf0, 0xc5, 0x50, 0x06, 0xf2, 0x12, 0x65, - 0x0e, 0x7c, 0xda, 0x65, 0xb8, 0x0a, 0x3e, 0x55, 0x8c, 0x59, 0xf8, 0x94, 0xf7, 0x9b, 0xa0, 0x71, - 0x22, 0xf8, 0xc4, 0x1c, 0x72, 0x16, 0x78, 0xba, 0xa6, 0xca, 0x5e, 0x8a, 0x7e, 0x0a, 0x25, 0xa8, - 0x09, 0xcb, 0xbe, 0x47, 0x2c, 0x75, 0x3b, 0xb5, 0xf5, 0x65, 0x65, 0x11, 0xca, 0x42, 0xa0, 0xbe, - 0x8d, 0xd6, 0xa1, 0x22, 0x95, 0x2e, 0x1e, 0x13, 0xbd, 0x2a, 0xd5, 0xe5, 0x50, 0x70, 0x88, 0xc7, - 0x04, 0xfd, 0x1f, 0xaa, 0xd2, 0x31, 0xf3, 0x82, 0x70, 0x9f, 0x32, 0x57, 0xaf, 0x37, 0x0b, 0xed, - 0x45, 0x63, 0x59, 0x0a, 0x5f, 0x2b, 0x59, 0x88, 0x40, 0x7d, 0x53, 0x79, 0xa7, 0x37, 0x9a, 0x85, - 0x76, 0xd9, 0x28, 0x53, 0x5f, 0x3d, 0x05, 0x6d, 0x00, 0x50, 0xdf, 0xb4, 0x27, 0x2e, 0x1e, 0x53, - 0x4b, 0x47, 0x52, 0x5b, 0xa1, 0xfe, 0xae, 0x12, 0xa0, 0xbb, 0x50, 0xb6, 0x89, 0x35, 0x92, 0x25, - 0x7c, 0x4b, 0x5e, 0x5e, 0x0a, 0xbf, 0x4f, 0x38, 0xdd, 0xae, 0x82, 0xa6, 0x7a, 0xe3, 0x02, 0x3b, - 0x01, 0x99, 0x99, 0x20, 0xdb, 0x0d, 0x58, 0x11, 0x98, 0x0f, 0x89, 0x48, 0xa2, 0xda, 0x22, 0xb0, - 0x9a, 0x57, 0x4e, 0x5f, 0x78, 0xfc, 0xb7, 0xfe, 0x2e, 0x42, 0x3d, 0x5b, 0x5c, 0x68, 0x17, 0x96, - 0x2d, 0x6c, 0x9d, 0x13, 0xd3, 0x17, 0x58, 0x04, 0xbe, 0xbc, 0xa3, 0xd6, 0xfb, 0x5f, 0xe6, 0x8e, - 0x1d, 0x45, 0x78, 0x3b, 0xa1, 0xe5, 0xb1, 0x34, 0x34, 0x34, 0x6b, 0xfa, 0x81, 0x7e, 0x00, 0x2d, - 0xe2, 0x44, 0x73, 0x44, 0x26, 0x72, 0x8e, 0x69, 0xbd, 0x07, 0xf9, 0x20, 0x49, 0x65, 0x40, 0x74, - 0xe4, 0x67, 0x32, 0x41, 0x6f, 0x00, 0x71, 0xe2, 0x13, 0x7e, 0x81, 0xe5, 0x63, 0x23, 0x67, 0xd4, - 0xd0, 0x6b, 0xe7, 0xe3, 0x18, 0x53, 0xfb, 0x4e, 0xe4, 0x53, 0xe3, 0x12, 0x46, 0xe4, 0xd9, 0x43, - 0xa8, 0x59, 0xe7, 0xc4, 0x1a, 0x79, 0x8c, 0xba, 0x6a, 0xe4, 0x2c, 0xc8, 0x7c, 0x55, 0xa7, 0xd2, - 0x70, 0xe8, 0xbc, 0x86, 0x7a, 0x94, 0x6c, 0x33, 0xee, 0x60, 0x59, 0x34, 0x39, 0xc5, 0x1e, 0xd5, - 0x40, 0x5e, 0xc6, 0x8c, 0x15, 0x3b, 0xad, 0x6c, 0x7d, 0x28, 0xc0, 0xfa, 0x15, 0x07, 0xd0, 0xa3, - 0x4b, 0xc4, 0x91, 0x1d, 0x56, 0x19, 0xae, 0x38, 0x86, 0x46, 0xb4, 0xd4, 0xd8, 0x53, 0x1f, 0x8b, - 0xb9, 0x94, 0xb3, 0x13, 0xd9, 0xc5, 0x57, 0xee, 0x38, 0xcc, 0x0f, 0x38, 0x31, 0xea, 0x56, 0x46, - 0xd1, 0x3a, 0x81, 0xf5, 0x2b, 0x66, 0xc3, 0x95, 0xbc, 0x96, 0x3a, 0x91, 0xf6, 0xb5, 0xf5, 0x3c, - 0x86, 0xcd, 0x9d, 0x09, 0xe8, 0x0e, 0x94, 0xe2, 0xce, 0x2e, 0xc8, 0x6c, 0x2c, 0xb9, 0xb2, 0xab, - 0x5b, 0x7f, 0x94, 0x00, 0xa5, 0x70, 0x15, 0xbd, 0xf6, 0xa0, 0x24, 0xc7, 0xdc, 0x4d, 0x42, 0xb5, - 0x14, 0x5a, 0xf6, 0x6d, 0x64, 0x82, 0x7e, 0x79, 0x84, 0xa5, 0x1a, 0xa9, 0xf8, 0x51, 0x44, 0x7d, - 0xdb, 0x9b, 0x7d, 0x4a, 0xdf, 0x0e, 0x87, 0x8c, 0x1a, 0x62, 0x58, 0x08, 0x32, 0xf6, 0x84, 0xac, - 0xd6, 0xaa, 0xb1, 0x2c, 0x85, 0x5b, 0x4a, 0x36, 0xe5, 0xef, 0x85, 0x5c, 0xfe, 0x4e, 0xbd, 0x35, - 0xcd, 0xdf, 0x99, 0xd5, 0x60, 0x71, 0x66, 0x35, 0x78, 0x0c, 0x0b, 0x0e, 0x1b, 0xfa, 0xfa, 0x52, - 0x73, 0xbe, 0xad, 0xf5, 0xd6, 0x72, 0x90, 0x0f, 0xd8, 0xd0, 0x90, 0x36, 0xd9, 0x65, 0xa0, 0xf4, - 0xe9, 0xcb, 0x40, 0xf9, 0x9a, 0x65, 0xe0, 0xd6, 0x67, 0x2c, 0x03, 0x95, 0x2b, 0x96, 0x01, 0xf8, - 0x9c, 0x65, 0xa0, 0xf1, 0x71, 0xcb, 0xc0, 0x0b, 0xd0, 0xac, 0xc0, 0x17, 0x6c, 0x6c, 0x52, 0xf7, - 0x8c, 0x49, 0x7a, 0xd2, 0x7a, 0x77, 0x66, 0xa2, 0x75, 0x2c, 0xb7, 0x78, 0x03, 0x94, 0x6d, 0xdf, - 0x3d, 0x63, 0x61, 0x4d, 0xc8, 0xec, 0x25, 0xc4, 0xb3, 0xac, 0x6a, 0x42, 0x0a, 0x63, 0xe2, 0x59, - 0x83, 0x25, 0x4e, 0xb0, 0xcf, 0xdc, 0x88, 0xb7, 0xa2, 0xaf, 0x90, 0x90, 0x64, 0x95, 0x8b, 0x89, - 0x47, 0xe4, 0x72, 0x50, 0x31, 0xca, 0xa1, 0x60, 0x30, 0xf1, 0x08, 0xda, 0x82, 0x72, 0xc2, 0xc2, - 0x6a, 0x30, 0x3d, 0xcc, 0x5b, 0x1c, 0x66, 0xf9, 0x37, 0x39, 0x36, 0xcb, 0x8a, 0x68, 0x96, 0x15, - 0xaf, 0xa3, 0xaf, 0xd6, 0xef, 0x45, 0x58, 0xdd, 0x7b, 0x2f, 0x08, 0x77, 0xb1, 0x63, 0x10, 0x9f, - 0x05, 0xdc, 0x22, 0xf2, 0xe9, 0x9b, 0xa0, 0x91, 0x48, 0x3e, 0xed, 0x6b, 0x88, 0x45, 0x7d, 0x1b, - 0xad, 0xc2, 0x22, 0x75, 0x6d, 0xf2, 0x5e, 0x76, 0x5f, 0xd5, 0x50, 0x1f, 0xff, 0x75, 0x17, 0x65, - 0xe9, 0x6d, 0xf1, 0x93, 0xe8, 0xed, 0x23, 0x5a, 0xad, 0xf5, 0x0b, 0xd4, 0xe3, 0xb8, 0x1c, 0x31, - 0xe6, 0xc8, 0xd8, 0x3c, 0x82, 0x3a, 0x76, 0x1c, 0x66, 0x29, 0x72, 0x13, 0x6c, 0x44, 0xdc, 0x28, - 0x40, 0x2b, 0x53, 0xf9, 0x20, 0x14, 0xa3, 0xfb, 0x50, 0x09, 0x57, 0x1a, 0xdf, 0xc3, 0x16, 0x89, - 0xfe, 0x1f, 0x98, 0x0a, 0x5a, 0x1f, 0xe6, 0xe1, 0x76, 0xfe, 0xa4, 0x7e, 0x08, 0xb5, 0x21, 0x71, - 0x09, 0xc7, 0x82, 0xd8, 0x6a, 0x29, 0x52, 0x17, 0x54, 0x13, 0xa9, 0xdc, 0x8c, 0x8e, 0x01, 0x25, - 0x59, 0xe2, 0x91, 0x9b, 0xbe, 0x5e, 0x94, 0xef, 0x9a, 0xd9, 0x71, 0xf3, 0xf2, 0x6c, 0x34, 0x48, - 0x46, 0xea, 0xa3, 0x43, 0x49, 0xde, 0xf2, 0xc3, 0xf4, 0x18, 0x73, 0x54, 0xdb, 0xcc, 0x4b, 0xd0, - 0x99, 0xf5, 0x36, 0x1b, 0x1c, 0xa3, 0xce, 0xb3, 0xe1, 0x7a, 0x02, 0x0d, 0xcf, 0x09, 0x86, 0x34, - 0x9c, 0xd5, 0xf1, 0x14, 0x8e, 0x68, 0xbb, 0xae, 0x14, 0xd3, 0xe9, 0x8c, 0xde, 0x42, 0x8d, 0xba, - 0xbe, 0xc0, 0xae, 0x45, 0x4c, 0xcb, 0xc1, 0xbe, 0x2f, 0xdb, 0xa3, 0xd6, 0x7b, 0x7a, 0xa3, 0xf6, - 0xe8, 0xf4, 0xa3, 0xb3, 0x3b, 0xe1, 0x51, 0xa3, 0x4a, 0x2f, 0x7f, 0xb6, 0xba, 0x50, 0x4d, 0xe9, - 0x91, 0x06, 0xa5, 0xdd, 0xbd, 0x1f, 0xb7, 0x4e, 0x0e, 0x06, 0xf5, 0x39, 0xd4, 0x80, 0x6a, 0xff, - 0x70, 0xb0, 0x67, 0x18, 0x27, 0x47, 0x83, 0xfe, 0xf6, 0xc1, 0x5e, 0xbd, 0xb0, 0xfd, 0xed, 0xdb, - 0x67, 0x43, 0x2a, 0xce, 0x83, 0xd3, 0x8e, 0xc5, 0xc6, 0x5d, 0xe9, 0x00, 0xe3, 0xc3, 0x6e, 0xf2, - 0xeb, 0xc1, 0x90, 0xb8, 0x5d, 0xef, 0xf4, 0x9b, 0x21, 0xeb, 0xa6, 0x7f, 0xf7, 0x38, 0x5d, 0x92, - 0x53, 0xe5, 0xe9, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x79, 0x24, 0x7b, 0x45, 0x10, 0x11, 0x00, - 0x00, + // 1490 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x7d, 0x6e, 0xdb, 0x36, + 0x14, 0x8f, 0x9d, 0x0f, 0xdb, 0x4f, 0xb1, 0x63, 0xb3, 0x6e, 0xaa, 0x36, 0x4d, 0xe3, 0x79, 0xeb, + 0x90, 0xb6, 0x98, 0x0d, 0xb8, 0x68, 0x57, 0xac, 0x05, 0x86, 0x7c, 0x6d, 0xf1, 0x96, 0x06, 0x81, + 0x92, 0xb4, 0x40, 0xb7, 0x41, 0x60, 0x24, 0xc6, 0xd1, 0x2c, 0x8b, 0x02, 0x45, 0xa5, 0xf5, 0x29, + 0x76, 0x82, 0xed, 0x00, 0x3b, 0xcc, 0x4e, 0xb0, 0x4b, 0xec, 0x06, 0x03, 0x49, 0x49, 0x8e, 0x64, + 0x2d, 0x49, 0x3f, 0xf6, 0x4f, 0x00, 0xfd, 0xde, 0xe3, 0x8f, 0x8f, 0xef, 0x3b, 0x86, 0x3b, 0xa7, + 0xee, 0x98, 0x13, 0xc7, 0x76, 0xbb, 0xe4, 0x9c, 0x78, 0x5c, 0xfd, 0xed, 0xf8, 0x8c, 0x72, 0x8a, + 0x6a, 0xb1, 0xac, 0x23, 0xd1, 0x3b, 0x77, 0x13, 0x5d, 0x8b, 0x32, 0xd2, 0x75, 0x1d, 0x4e, 0x18, + 0x76, 0x03, 0xa5, 0x9d, 0x95, 0x5a, 0x74, 0xe4, 0x3b, 0x2e, 0x61, 0x91, 0x74, 0x35, 0x2d, 0x25, + 0xef, 0x88, 0x15, 0x72, 0x87, 0x7a, 0x91, 0xf8, 0x5e, 0x5a, 0xec, 0xd8, 0xc4, 0xe3, 0xce, 0xa9, + 0x93, 0x1c, 0x5f, 0xc9, 0x90, 0x63, 0x8e, 0x5d, 0x3a, 0x88, 0x84, 0x6b, 0x03, 0x4a, 0x07, 0x2e, + 0xe9, 0xca, 0xaf, 0x93, 0xf0, 0xb4, 0xcb, 0x9d, 0x11, 0x09, 0x38, 0x1e, 0xf9, 0xb1, 0x69, 0x59, + 0x85, 0x80, 0xb3, 0xd0, 0x8a, 0x9e, 0xd9, 0xfe, 0x73, 0x16, 0x96, 0x5f, 0x53, 0x36, 0x3c, 0x75, + 0xe9, 0xdb, 0x9d, 0xd8, 0xae, 0x1d, 0xf1, 0x62, 0xf4, 0x12, 0x16, 0x13, 0x4b, 0x4d, 0xc7, 0xd6, + 0x0b, 0xad, 0xc2, 0xba, 0xd6, 0x7b, 0xd8, 0x49, 0x1c, 0x23, 0xac, 0xe9, 0x4c, 0x1d, 0xee, 0x27, + 0xe6, 0x1b, 0x1a, 0x99, 0x80, 0x68, 0x0d, 0x34, 0x9f, 0x51, 0x3b, 0xb4, 0x08, 0x13, 0x6c, 0xc5, + 0x56, 0x61, 0xbd, 0x62, 0x40, 0x0c, 0xf5, 0x6d, 0xf4, 0x02, 0xe6, 0xfd, 0x33, 0x1c, 0x10, 0x7d, + 0xb6, 0x55, 0x58, 0xaf, 0xf5, 0xbe, 0xbc, 0xea, 0xa2, 0xce, 0x81, 0xd0, 0x36, 0xd4, 0x21, 0xf4, + 0x1c, 0x34, 0x6a, 0x59, 0x21, 0x63, 0xc4, 0x36, 0x31, 0xd7, 0xe7, 0xa4, 0xb1, 0x77, 0x3a, 0xea, + 0xf1, 0x9d, 0xf8, 0xf1, 0x9d, 0xa3, 0xd8, 0x3b, 0x06, 0xc4, 0xea, 0x1b, 0x1c, 0xad, 0x01, 0xd0, + 0x90, 0xfb, 0x21, 0x37, 0x43, 0xe6, 0xe8, 0xf3, 0xc2, 0xb4, 0xdd, 0x19, 0xa3, 0xa2, 0xb0, 0x63, + 0xe6, 0xa0, 0x27, 0x30, 0x4f, 0x18, 0xa3, 0x4c, 0x5f, 0x90, 0xbc, 0xab, 0x19, 0xdb, 0x26, 0x9e, + 0x13, 0x4a, 0xbb, 0x33, 0x86, 0xd2, 0x46, 0x2f, 0x40, 0x8b, 0x78, 0x6d, 0xcc, 0xb1, 0x5e, 0x92, + 0x87, 0x6f, 0x67, 0x0e, 0xef, 0xa9, 0x54, 0x7a, 0x89, 0xfd, 0xdd, 0x19, 0x23, 0xb2, 0x63, 0x1b, + 0x73, 0xbc, 0xb9, 0x04, 0xd5, 0xe8, 0x34, 0x23, 0x41, 0xe8, 0xf2, 0xf6, 0x6f, 0x15, 0x40, 0xfb, + 0xd4, 0x26, 0x99, 0x40, 0x3d, 0x85, 0x62, 0x12, 0x9e, 0xac, 0xd7, 0x52, 0xea, 0x17, 0x42, 0x53, + 0x74, 0xae, 0x11, 0x91, 0x67, 0xe9, 0x88, 0xb4, 0x2f, 0xe3, 0xfe, 0x84, 0xd1, 0x58, 0x85, 0x8a, + 0xe3, 0x65, 0x83, 0x51, 0x96, 0x90, 0x88, 0xc5, 0x37, 0x00, 0x4a, 0x2c, 0x7d, 0xda, 0xbc, 0xda, + 0xa7, 0x8a, 0x4d, 0xb8, 0x34, 0x13, 0xe8, 0x05, 0xc9, 0x5d, 0xc8, 0x0d, 0x74, 0xe9, 0x3a, 0x81, + 0x2e, 0xfc, 0x47, 0xa0, 0x97, 0xae, 0x32, 0xaa, 0x70, 0x31, 0xd0, 0xe8, 0x67, 0x58, 0x7e, 0x1b, + 0x65, 0xb7, 0xe9, 0x51, 0x9b, 0x98, 0x23, 0xc2, 0xb1, 0x24, 0x2a, 0x4b, 0xa2, 0x2f, 0x3a, 0xe9, + 0x66, 0x94, 0xd4, 0x82, 0x88, 0xc0, 0xcb, 0x48, 0x77, 0xb7, 0x68, 0x34, 0xdf, 0xe6, 0xe0, 0xe8, + 0x00, 0x10, 0xc7, 0xc1, 0x30, 0xc3, 0x5c, 0x93, 0xcc, 0xad, 0x2c, 0xf3, 0x11, 0x0e, 0x86, 0x19, + 0xd6, 0x3a, 0xcf, 0x60, 0xe8, 0x17, 0x68, 0xfa, 0x98, 0x11, 0x8f, 0x9b, 0x92, 0x38, 0xe1, 0xac, + 0x48, 0xce, 0x47, 0x59, 0xce, 0x03, 0xa9, 0x2b, 0x98, 0x13, 0xf7, 0xc5, 0x54, 0x06, 0xf2, 0x13, + 0x61, 0x0e, 0x7d, 0xda, 0x64, 0xb8, 0x8c, 0x3e, 0x95, 0x8c, 0x59, 0xfa, 0x94, 0xf5, 0x6b, 0xa0, + 0x31, 0xc2, 0xd9, 0xd8, 0x1c, 0x30, 0x1a, 0xfa, 0xba, 0xa6, 0xd2, 0x5e, 0x42, 0xdf, 0x0b, 0x04, + 0xb5, 0x60, 0x31, 0xf0, 0x89, 0xa5, 0x6e, 0x77, 0x6c, 0x7d, 0x51, 0x69, 0x08, 0x4c, 0x10, 0xf5, + 0x6d, 0xb4, 0x02, 0x15, 0x29, 0xf4, 0xf0, 0x88, 0xe8, 0x55, 0x29, 0x2e, 0x0b, 0x60, 0x1f, 0x8f, + 0x08, 0xfa, 0x1c, 0xaa, 0xd2, 0x30, 0xf3, 0x9c, 0xb0, 0xc0, 0xa1, 0x9e, 0x5e, 0x6f, 0x15, 0xd6, + 0xe7, 0x8d, 0x45, 0x09, 0xbe, 0x52, 0x98, 0x60, 0x70, 0x02, 0x53, 0x59, 0xa7, 0x37, 0x5a, 0x85, + 0xf5, 0xb2, 0x51, 0x76, 0x02, 0xf5, 0x14, 0xb4, 0x0a, 0xe0, 0x04, 0xa6, 0x3d, 0xf6, 0xf0, 0xc8, + 0xb1, 0x74, 0x24, 0xa5, 0x15, 0x27, 0xd8, 0x56, 0x00, 0xba, 0x0d, 0x65, 0x9b, 0x58, 0x43, 0x99, + 0xc2, 0x37, 0xe4, 0xe5, 0x25, 0xf1, 0x2d, 0xd2, 0xf7, 0xb9, 0x78, 0x9b, 0x4f, 0x19, 0x57, 0x75, + 0x77, 0xf3, 0xea, 0xba, 0x8b, 0xd5, 0x37, 0xf8, 0x66, 0x15, 0x34, 0x55, 0x58, 0xe7, 0xd8, 0x0d, + 0xc9, 0x54, 0xfb, 0xd9, 0x6c, 0xc0, 0x12, 0xc7, 0x6c, 0x40, 0x78, 0x12, 0x92, 0x36, 0x81, 0x66, + 0x5e, 0x2e, 0x7e, 0xe2, 0xd9, 0xd1, 0xfe, 0xa7, 0x08, 0xf5, 0x6c, 0x66, 0xa2, 0x6d, 0x58, 0xb4, + 0xb0, 0x75, 0x46, 0xcc, 0x80, 0x63, 0x1e, 0x06, 0xf2, 0x8e, 0x5a, 0xef, 0xb3, 0xcc, 0x1d, 0x5b, + 0x6a, 0x5a, 0x6e, 0x09, 0xcd, 0x43, 0xa9, 0x68, 0x68, 0xd6, 0xe4, 0x03, 0x7d, 0x0b, 0x5a, 0x34, + 0x50, 0xcd, 0x21, 0x19, 0xcb, 0x26, 0xa8, 0xf5, 0xee, 0xe5, 0x93, 0x24, 0x69, 0x05, 0xd1, 0x91, + 0x1f, 0xc9, 0x18, 0xbd, 0x06, 0xc4, 0x48, 0x40, 0xd8, 0x39, 0x96, 0x8f, 0x8d, 0x8c, 0x51, 0x1d, + 0x73, 0x3d, 0x9f, 0xc7, 0x98, 0xe8, 0x77, 0x22, 0x9b, 0x1a, 0x17, 0x38, 0x22, 0xcb, 0xee, 0x43, + 0xcd, 0x3a, 0x23, 0xd6, 0xd0, 0xa7, 0x8e, 0xa7, 0xfa, 0xd5, 0x9c, 0x0c, 0x76, 0x75, 0x82, 0x8a, + 0x90, 0xbf, 0x82, 0x7a, 0x94, 0x29, 0x66, 0x5c, 0xfe, 0x32, 0xe3, 0x72, 0x2a, 0x25, 0x4a, 0xa0, + 0xbc, 0x88, 0x19, 0x4b, 0x76, 0x5a, 0xd8, 0xfe, 0xab, 0x00, 0x2b, 0x97, 0x1c, 0x40, 0x0f, 0x2e, + 0x4c, 0x9d, 0x6c, 0xa7, 0xcb, 0x0c, 0x9a, 0x43, 0x68, 0x44, 0x1b, 0x91, 0x3d, 0xb1, 0xb1, 0x98, + 0x3b, 0xaf, 0xb6, 0x22, 0xbd, 0xf8, 0xca, 0x2d, 0x97, 0x06, 0x21, 0x23, 0x46, 0xdd, 0xca, 0x08, + 0x50, 0x17, 0x9a, 0xf1, 0xbb, 0x7f, 0xa5, 0x27, 0xa6, 0xac, 0x58, 0xe1, 0xa4, 0x59, 0xe9, 0xa4, + 0x46, 0x24, 0xfb, 0x81, 0x9e, 0x1c, 0xfa, 0xc4, 0x3a, 0x66, 0x4e, 0xfb, 0x18, 0x56, 0x2e, 0xe9, + 0x44, 0x97, 0x4e, 0xd1, 0xd4, 0x89, 0xf4, 0xe3, 0xda, 0x4f, 0x63, 0xda, 0xdc, 0x0e, 0x84, 0x6e, + 0x41, 0x29, 0xee, 0x23, 0x05, 0x69, 0xd9, 0x82, 0x27, 0x7b, 0x48, 0xfb, 0xef, 0x12, 0xa0, 0x14, + 0xaf, 0x1a, 0xe6, 0x3d, 0x28, 0xc9, 0xa6, 0x7a, 0x1d, 0xdf, 0x2e, 0x08, 0xcd, 0xbe, 0x8d, 0x4c, + 0xd0, 0x2f, 0x36, 0xcc, 0x54, 0xe5, 0x15, 0xdf, 0x6b, 0x2d, 0xb8, 0xe9, 0x4f, 0x3f, 0xa5, 0x6f, + 0x8b, 0x96, 0xa6, 0x5a, 0x26, 0xe6, 0x9c, 0x8c, 0x7c, 0x2e, 0x9d, 0x5c, 0x35, 0x16, 0x25, 0xb8, + 0xa1, 0xb0, 0xc9, 0xb6, 0x30, 0x97, 0xbb, 0x2d, 0xa4, 0xde, 0x9a, 0xde, 0x16, 0x32, 0x8b, 0xc8, + 0xfc, 0xd4, 0x22, 0xf2, 0x10, 0xe6, 0x5c, 0x3a, 0x08, 0xf4, 0x85, 0xd6, 0xec, 0xba, 0xd6, 0x5b, + 0xce, 0x61, 0xde, 0xa3, 0x03, 0x43, 0xea, 0x64, 0x57, 0x8f, 0xd2, 0x87, 0xaf, 0x1e, 0xe5, 0x2b, + 0x56, 0x8f, 0x1b, 0x1f, 0xb1, 0x7a, 0x54, 0x2e, 0x59, 0x3d, 0xe0, 0x63, 0x56, 0x8f, 0xc6, 0xfb, + 0xad, 0x1e, 0xcf, 0x40, 0xb3, 0xc2, 0x80, 0xd3, 0x91, 0xe9, 0x78, 0xa7, 0x54, 0x0e, 0x43, 0xad, + 0x77, 0x6b, 0xca, 0x5b, 0x87, 0xf2, 0x7f, 0x06, 0x03, 0x94, 0x6e, 0xdf, 0x3b, 0xa5, 0x22, 0x27, + 0x64, 0xf4, 0x92, 0x31, 0xb7, 0xa8, 0x72, 0x42, 0x82, 0xf1, 0x98, 0x5b, 0x86, 0x05, 0x46, 0x70, + 0x40, 0xbd, 0x68, 0x4a, 0x46, 0x5f, 0x62, 0xfc, 0xc9, 0x2c, 0xe7, 0x63, 0x9f, 0xc8, 0x55, 0xa4, + 0x62, 0x94, 0x05, 0x70, 0x34, 0xf6, 0x09, 0xda, 0x80, 0x72, 0x32, 0xf3, 0x55, 0x27, 0xbb, 0x9f, + 0xb7, 0xa6, 0x4c, 0x4f, 0xfb, 0xe4, 0xd8, 0xf4, 0x0c, 0x46, 0x39, 0x33, 0x38, 0x33, 0x2c, 0x9b, + 0x9f, 0x72, 0x58, 0xb6, 0xff, 0x28, 0x42, 0x73, 0xe7, 0x1d, 0x27, 0xcc, 0xc3, 0xae, 0x41, 0x02, + 0x1a, 0x32, 0x8b, 0x48, 0xbf, 0xad, 0x81, 0x46, 0x22, 0x7c, 0xd2, 0x14, 0x20, 0x86, 0xfa, 0x36, + 0x6a, 0xc2, 0xbc, 0xe3, 0xd9, 0xe4, 0x9d, 0x2c, 0xdd, 0xaa, 0xa1, 0x3e, 0xfe, 0xef, 0x12, 0xcc, + 0x0e, 0xd3, 0xf9, 0x0f, 0x1a, 0xa6, 0xef, 0x51, 0xa7, 0xed, 0x9f, 0xa0, 0x1e, 0xfb, 0xe5, 0x80, + 0x52, 0x57, 0xfa, 0xe6, 0x01, 0xd4, 0xb1, 0xeb, 0x52, 0x4b, 0x8d, 0x52, 0x4e, 0x87, 0xc4, 0x8b, + 0x1c, 0xb4, 0x34, 0xc1, 0x8f, 0x04, 0x8c, 0xee, 0x42, 0x45, 0x6c, 0x5f, 0x81, 0x8f, 0x2d, 0x12, + 0xfd, 0xeb, 0x32, 0x01, 0xda, 0xbf, 0xcf, 0xc2, 0xcd, 0xfc, 0x36, 0x7f, 0x1f, 0x6a, 0x03, 0xe2, + 0x11, 0x86, 0x45, 0xd4, 0xe5, 0xfe, 0xa6, 0x2e, 0xa8, 0x26, 0xa8, 0x5c, 0xe2, 0x0e, 0x01, 0x25, + 0x51, 0x62, 0x91, 0x99, 0x81, 0x5e, 0x94, 0xef, 0x9a, 0x5a, 0xc7, 0xf3, 0xe2, 0x6c, 0x34, 0x48, + 0x06, 0x0d, 0xd0, 0xbe, 0x5c, 0x15, 0xe4, 0x87, 0xe9, 0x53, 0xea, 0xaa, 0x9a, 0x9b, 0x95, 0xa4, + 0x53, 0x9b, 0x78, 0xd6, 0x39, 0x46, 0x9d, 0x65, 0xdd, 0xf5, 0x08, 0x1a, 0xbe, 0x1b, 0x0e, 0x1c, + 0xd1, 0xe8, 0xe3, 0x16, 0x1e, 0x2d, 0x09, 0x75, 0x25, 0x98, 0xb4, 0x76, 0xf4, 0x06, 0x6a, 0x8e, + 0x17, 0x70, 0xec, 0x59, 0xc4, 0xb4, 0x5c, 0x1c, 0x04, 0xb2, 0xb6, 0x6a, 0xbd, 0xc7, 0xd7, 0xaa, + 0xad, 0x4e, 0x3f, 0x3a, 0xbb, 0x25, 0x8e, 0x1a, 0x55, 0xe7, 0xe2, 0x67, 0xbb, 0x0b, 0xd5, 0x94, + 0x1c, 0x69, 0x50, 0xda, 0xde, 0xf9, 0x6e, 0xe3, 0x78, 0xef, 0xa8, 0x3e, 0x83, 0x1a, 0x50, 0xed, + 0xef, 0x1f, 0xed, 0x18, 0xc6, 0xf1, 0xc1, 0x51, 0x7f, 0x73, 0x6f, 0xa7, 0x5e, 0xd8, 0xfc, 0xfa, + 0xcd, 0x93, 0x81, 0xc3, 0xcf, 0xc2, 0x93, 0x8e, 0x45, 0x47, 0x5d, 0x69, 0x00, 0x65, 0x83, 0x6e, + 0xf2, 0x43, 0xc7, 0x80, 0x78, 0x5d, 0xff, 0xe4, 0xab, 0x01, 0xed, 0xa6, 0x7f, 0xa2, 0x39, 0x59, + 0x90, 0x65, 0xf9, 0xf8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x21, 0x33, 0xa4, 0xbb, 0x11, + 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/event/event.pb.validate.go b/gen/pb-go/flyteidl/event/event.pb.validate.go index 0afb3240a..c1ffac146 100644 --- a/gen/pb-go/flyteidl/event/event.pb.validate.go +++ b/gen/pb-go/flyteidl/event/event.pb.validate.go @@ -240,6 +240,16 @@ func (m *NodeExecutionEvent) Validate() error { // no validation rules for DeckUri + if v, ok := interface{}(m.GetReportedAt()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return NodeExecutionEventValidationError{ + field: "ReportedAt", + reason: "embedded message failed validation", + cause: err, + } + } + } + switch m.InputValue.(type) { case *NodeExecutionEvent_InputUri: @@ -573,6 +583,8 @@ func (m *DynamicWorkflowNodeMetadata) Validate() error { } } + // no validation rules for DynamicJobSpecUri + return nil } @@ -868,6 +880,16 @@ func (m *TaskExecutionEvent) Validate() error { // no validation rules for EventVersion + if v, ok := interface{}(m.GetReportedAt()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TaskExecutionEventValidationError{ + field: "ReportedAt", + reason: "embedded message failed validation", + cause: err, + } + } + } + switch m.InputValue.(type) { case *TaskExecutionEvent_InputUri: diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go b/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go new file mode 100644 index 000000000..5a9e51d44 --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.go @@ -0,0 +1,183 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/common.proto + +package plugins + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type RestartPolicy int32 + +const ( + RestartPolicy_RESTART_POLICY_NEVER RestartPolicy = 0 + RestartPolicy_RESTART_POLICY_ON_FAILURE RestartPolicy = 1 + RestartPolicy_RESTART_POLICY_ALWAYS RestartPolicy = 2 +) + +var RestartPolicy_name = map[int32]string{ + 0: "RESTART_POLICY_NEVER", + 1: "RESTART_POLICY_ON_FAILURE", + 2: "RESTART_POLICY_ALWAYS", +} + +var RestartPolicy_value = map[string]int32{ + "RESTART_POLICY_NEVER": 0, + "RESTART_POLICY_ON_FAILURE": 1, + "RESTART_POLICY_ALWAYS": 2, +} + +func (x RestartPolicy) String() string { + return proto.EnumName(RestartPolicy_name, int32(x)) +} + +func (RestartPolicy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f625aa9156a15090, []int{0} +} + +type CleanPodPolicy int32 + +const ( + CleanPodPolicy_CLEANPOD_POLICY_NONE CleanPodPolicy = 0 + CleanPodPolicy_CLEANPOD_POLICY_RUNNING CleanPodPolicy = 1 + CleanPodPolicy_CLEANPOD_POLICY_ALL CleanPodPolicy = 2 +) + +var CleanPodPolicy_name = map[int32]string{ + 0: "CLEANPOD_POLICY_NONE", + 1: "CLEANPOD_POLICY_RUNNING", + 2: "CLEANPOD_POLICY_ALL", +} + +var CleanPodPolicy_value = map[string]int32{ + "CLEANPOD_POLICY_NONE": 0, + "CLEANPOD_POLICY_RUNNING": 1, + "CLEANPOD_POLICY_ALL": 2, +} + +func (x CleanPodPolicy) String() string { + return proto.EnumName(CleanPodPolicy_name, int32(x)) +} + +func (CleanPodPolicy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f625aa9156a15090, []int{1} +} + +type RunPolicy struct { + // Defines the policy to kill pods after the job completes. Default to None. + CleanPodPolicy CleanPodPolicy `protobuf:"varint,1,opt,name=clean_pod_policy,json=cleanPodPolicy,proto3,enum=flyteidl.plugins.kubeflow.CleanPodPolicy" json:"clean_pod_policy,omitempty"` + // TTL to clean up jobs. Default to infinite. + TtlSecondsAfterFinished int32 `protobuf:"varint,2,opt,name=ttl_seconds_after_finished,json=ttlSecondsAfterFinished,proto3" json:"ttl_seconds_after_finished,omitempty"` + // Specifies the duration in seconds relative to the startTime that the job may be active + // before the system tries to terminate it; value must be positive integer. + ActiveDeadlineSeconds int32 `protobuf:"varint,3,opt,name=active_deadline_seconds,json=activeDeadlineSeconds,proto3" json:"active_deadline_seconds,omitempty"` + // Number of retries before marking this job failed. + BackoffLimit int32 `protobuf:"varint,4,opt,name=backoff_limit,json=backoffLimit,proto3" json:"backoff_limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RunPolicy) Reset() { *m = RunPolicy{} } +func (m *RunPolicy) String() string { return proto.CompactTextString(m) } +func (*RunPolicy) ProtoMessage() {} +func (*RunPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_f625aa9156a15090, []int{0} +} + +func (m *RunPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RunPolicy.Unmarshal(m, b) +} +func (m *RunPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RunPolicy.Marshal(b, m, deterministic) +} +func (m *RunPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_RunPolicy.Merge(m, src) +} +func (m *RunPolicy) XXX_Size() int { + return xxx_messageInfo_RunPolicy.Size(m) +} +func (m *RunPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_RunPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_RunPolicy proto.InternalMessageInfo + +func (m *RunPolicy) GetCleanPodPolicy() CleanPodPolicy { + if m != nil { + return m.CleanPodPolicy + } + return CleanPodPolicy_CLEANPOD_POLICY_NONE +} + +func (m *RunPolicy) GetTtlSecondsAfterFinished() int32 { + if m != nil { + return m.TtlSecondsAfterFinished + } + return 0 +} + +func (m *RunPolicy) GetActiveDeadlineSeconds() int32 { + if m != nil { + return m.ActiveDeadlineSeconds + } + return 0 +} + +func (m *RunPolicy) GetBackoffLimit() int32 { + if m != nil { + return m.BackoffLimit + } + return 0 +} + +func init() { + proto.RegisterEnum("flyteidl.plugins.kubeflow.RestartPolicy", RestartPolicy_name, RestartPolicy_value) + proto.RegisterEnum("flyteidl.plugins.kubeflow.CleanPodPolicy", CleanPodPolicy_name, CleanPodPolicy_value) + proto.RegisterType((*RunPolicy)(nil), "flyteidl.plugins.kubeflow.RunPolicy") +} + +func init() { + proto.RegisterFile("flyteidl/plugins/kubeflow/common.proto", fileDescriptor_f625aa9156a15090) +} + +var fileDescriptor_f625aa9156a15090 = []byte{ + // 379 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0xab, 0xd3, 0x30, + 0x1c, 0xc5, 0x6f, 0xe7, 0x0f, 0x30, 0x78, 0x47, 0x89, 0x5e, 0xda, 0x29, 0xc2, 0x50, 0x90, 0x39, + 0xb0, 0x05, 0x05, 0x45, 0x7c, 0xaa, 0x5b, 0x27, 0x83, 0xd2, 0x96, 0x74, 0x53, 0xe6, 0x4b, 0x6c, + 0xd3, 0xb4, 0x0b, 0x4b, 0x93, 0xd2, 0xa6, 0xca, 0xfe, 0x75, 0x9f, 0xa4, 0x5d, 0x37, 0x58, 0xe1, + 0x3e, 0xe6, 0x7c, 0xce, 0xf7, 0x7c, 0x43, 0x72, 0xc0, 0xdb, 0x8c, 0x1f, 0x15, 0x65, 0x29, 0xb7, + 0x4b, 0xde, 0xe4, 0x4c, 0xd4, 0xf6, 0xa1, 0x49, 0x68, 0xc6, 0xe5, 0x5f, 0x9b, 0xc8, 0xa2, 0x90, + 0xc2, 0x2a, 0x2b, 0xa9, 0x24, 0x9c, 0x9c, 0x7d, 0x56, 0xef, 0xb3, 0xce, 0xbe, 0xd7, 0xff, 0x34, + 0xf0, 0x04, 0x35, 0x22, 0x94, 0x9c, 0x91, 0x23, 0x8c, 0x80, 0x4e, 0x38, 0x8d, 0x05, 0x2e, 0x65, + 0x8a, 0xcb, 0x4e, 0x33, 0xb5, 0xa9, 0x36, 0x1b, 0x7f, 0x78, 0x67, 0xdd, 0x9b, 0x61, 0x2d, 0xda, + 0x91, 0x50, 0xa6, 0xa7, 0x10, 0x34, 0x26, 0x57, 0x67, 0xf8, 0x15, 0xbc, 0x50, 0x8a, 0xe3, 0x9a, + 0x12, 0x29, 0xd2, 0x1a, 0xc7, 0x99, 0xa2, 0x15, 0xce, 0x98, 0x60, 0xf5, 0x9e, 0xa6, 0xe6, 0x68, + 0xaa, 0xcd, 0x1e, 0x21, 0x43, 0x29, 0x1e, 0x9d, 0x0c, 0x4e, 0xcb, 0x57, 0x3d, 0x86, 0x9f, 0x80, + 0x11, 0x13, 0xc5, 0xfe, 0x50, 0x9c, 0xd2, 0x38, 0xe5, 0x4c, 0xd0, 0x73, 0x90, 0xf9, 0xa0, 0x9b, + 0xbc, 0x3b, 0xe1, 0x65, 0x4f, 0xfb, 0x10, 0xf8, 0x06, 0xdc, 0x26, 0x31, 0x39, 0xc8, 0x2c, 0xc3, + 0x9c, 0x15, 0x4c, 0x99, 0x0f, 0x3b, 0xf7, 0xd3, 0x5e, 0xf4, 0x5a, 0x6d, 0x4e, 0xc0, 0x2d, 0xa2, + 0xb5, 0x8a, 0x2b, 0xd5, 0x5f, 0xd5, 0x04, 0xcf, 0x91, 0x1b, 0x6d, 0x1c, 0xb4, 0xc1, 0x61, 0xe0, + 0xad, 0x17, 0x3b, 0xec, 0xbb, 0x3f, 0x5c, 0xa4, 0xdf, 0xc0, 0x57, 0x60, 0x32, 0x20, 0x81, 0x8f, + 0x57, 0xce, 0xda, 0xdb, 0x22, 0x57, 0xd7, 0xe0, 0x04, 0xdc, 0x0d, 0xb0, 0xe3, 0xfd, 0x74, 0x76, + 0x91, 0x3e, 0x9a, 0xff, 0x06, 0xe3, 0xeb, 0x07, 0x6a, 0xb7, 0x2c, 0x3c, 0xd7, 0xf1, 0xc3, 0x60, + 0x79, 0x59, 0x13, 0xf8, 0xae, 0x7e, 0x03, 0x5f, 0x02, 0x63, 0x48, 0xd0, 0xd6, 0xf7, 0xd7, 0xfe, + 0x77, 0x5d, 0x83, 0x06, 0x78, 0x36, 0x84, 0x8e, 0xe7, 0xe9, 0xa3, 0x6f, 0x5f, 0x7e, 0x7d, 0xce, + 0x99, 0xda, 0x37, 0x89, 0x45, 0x64, 0x61, 0x77, 0xff, 0x24, 0xab, 0xdc, 0xbe, 0x94, 0x23, 0xa7, + 0xc2, 0x2e, 0x93, 0xf7, 0xb9, 0xb4, 0x87, 0x7d, 0x49, 0x1e, 0x77, 0x05, 0xf9, 0xf8, 0x3f, 0x00, + 0x00, 0xff, 0xff, 0x98, 0x4b, 0x46, 0x68, 0x4a, 0x02, 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go b/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go new file mode 100644 index 000000000..0ec2f0e0e --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go @@ -0,0 +1,109 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/common.proto + +package plugins + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _common_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on RunPolicy with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *RunPolicy) Validate() error { + if m == nil { + return nil + } + + // no validation rules for CleanPodPolicy + + // no validation rules for TtlSecondsAfterFinished + + // no validation rules for ActiveDeadlineSeconds + + // no validation rules for BackoffLimit + + return nil +} + +// RunPolicyValidationError is the validation error returned by +// RunPolicy.Validate if the designated constraints aren't met. +type RunPolicyValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RunPolicyValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RunPolicyValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RunPolicyValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RunPolicyValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RunPolicyValidationError) ErrorName() string { return "RunPolicyValidationError" } + +// Error satisfies the builtin error interface +func (e RunPolicyValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRunPolicy.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RunPolicyValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RunPolicyValidationError{} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go b/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go new file mode 100644 index 000000000..40420db3e --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.go @@ -0,0 +1,206 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/mpi.proto + +package plugins + +import ( + fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator +type DistributedMPITrainingTask struct { + // Worker replicas spec + WorkerReplicas *DistributedMPITrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` + // Master replicas spec + LauncherReplicas *DistributedMPITrainingReplicaSpec `protobuf:"bytes,2,opt,name=launcher_replicas,json=launcherReplicas,proto3" json:"launcher_replicas,omitempty"` + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy *RunPolicy `protobuf:"bytes,3,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` + // Number of slots per worker + Slots int32 `protobuf:"varint,4,opt,name=slots,proto3" json:"slots,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedMPITrainingTask) Reset() { *m = DistributedMPITrainingTask{} } +func (m *DistributedMPITrainingTask) String() string { return proto.CompactTextString(m) } +func (*DistributedMPITrainingTask) ProtoMessage() {} +func (*DistributedMPITrainingTask) Descriptor() ([]byte, []int) { + return fileDescriptor_298b02c608b0cddf, []int{0} +} + +func (m *DistributedMPITrainingTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedMPITrainingTask.Unmarshal(m, b) +} +func (m *DistributedMPITrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedMPITrainingTask.Marshal(b, m, deterministic) +} +func (m *DistributedMPITrainingTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedMPITrainingTask.Merge(m, src) +} +func (m *DistributedMPITrainingTask) XXX_Size() int { + return xxx_messageInfo_DistributedMPITrainingTask.Size(m) +} +func (m *DistributedMPITrainingTask) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedMPITrainingTask.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedMPITrainingTask proto.InternalMessageInfo + +func (m *DistributedMPITrainingTask) GetWorkerReplicas() *DistributedMPITrainingReplicaSpec { + if m != nil { + return m.WorkerReplicas + } + return nil +} + +func (m *DistributedMPITrainingTask) GetLauncherReplicas() *DistributedMPITrainingReplicaSpec { + if m != nil { + return m.LauncherReplicas + } + return nil +} + +func (m *DistributedMPITrainingTask) GetRunPolicy() *RunPolicy { + if m != nil { + return m.RunPolicy + } + return nil +} + +func (m *DistributedMPITrainingTask) GetSlots() int32 { + if m != nil { + return m.Slots + } + return 0 +} + +// Replica specification for distributed MPI training +type DistributedMPITrainingReplicaSpec struct { + // Number of replicas + Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` + // Image used for the replica group + Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` + // Resources required for the replica group + Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` + // Restart policy determines whether pods will be restarted when they exit + RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` + // MPI sometimes requires different command set for different replica groups + Command []string `protobuf:"bytes,5,rep,name=command,proto3" json:"command,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedMPITrainingReplicaSpec) Reset() { *m = DistributedMPITrainingReplicaSpec{} } +func (m *DistributedMPITrainingReplicaSpec) String() string { return proto.CompactTextString(m) } +func (*DistributedMPITrainingReplicaSpec) ProtoMessage() {} +func (*DistributedMPITrainingReplicaSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_298b02c608b0cddf, []int{1} +} + +func (m *DistributedMPITrainingReplicaSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Unmarshal(m, b) +} +func (m *DistributedMPITrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Marshal(b, m, deterministic) +} +func (m *DistributedMPITrainingReplicaSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedMPITrainingReplicaSpec.Merge(m, src) +} +func (m *DistributedMPITrainingReplicaSpec) XXX_Size() int { + return xxx_messageInfo_DistributedMPITrainingReplicaSpec.Size(m) +} +func (m *DistributedMPITrainingReplicaSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedMPITrainingReplicaSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedMPITrainingReplicaSpec proto.InternalMessageInfo + +func (m *DistributedMPITrainingReplicaSpec) GetReplicas() int32 { + if m != nil { + return m.Replicas + } + return 0 +} + +func (m *DistributedMPITrainingReplicaSpec) GetImage() string { + if m != nil { + return m.Image + } + return "" +} + +func (m *DistributedMPITrainingReplicaSpec) GetResources() *core.Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *DistributedMPITrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if m != nil { + return m.RestartPolicy + } + return RestartPolicy_RESTART_POLICY_NEVER +} + +func (m *DistributedMPITrainingReplicaSpec) GetCommand() []string { + if m != nil { + return m.Command + } + return nil +} + +func init() { + proto.RegisterType((*DistributedMPITrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedMPITrainingTask") + proto.RegisterType((*DistributedMPITrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec") +} + +func init() { + proto.RegisterFile("flyteidl/plugins/kubeflow/mpi.proto", fileDescriptor_298b02c608b0cddf) +} + +var fileDescriptor_298b02c608b0cddf = []byte{ + // 373 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x4d, 0x6b, 0xdb, 0x30, + 0x00, 0xc5, 0xc9, 0xbc, 0xcd, 0x1a, 0xcb, 0x36, 0xb1, 0x83, 0xe7, 0x53, 0x96, 0x8d, 0xe1, 0xcb, + 0x2c, 0xc8, 0x60, 0xa5, 0xd0, 0x53, 0xdb, 0x4b, 0x0f, 0xa5, 0x41, 0xcd, 0xa9, 0x97, 0x20, 0x2b, + 0x8a, 0x23, 0x2c, 0x4b, 0x46, 0x1f, 0x84, 0xfc, 0xc4, 0xfe, 0xa3, 0x1e, 0x8b, 0x3f, 0x93, 0x96, + 0x26, 0xbd, 0xf4, 0xe6, 0x67, 0x3d, 0xbd, 0x0f, 0xfb, 0x81, 0x5f, 0x2b, 0xb1, 0xb5, 0x8c, 0x2f, + 0x05, 0x2a, 0x85, 0xcb, 0xb8, 0x34, 0x28, 0x77, 0x29, 0x5b, 0x09, 0xb5, 0x41, 0x45, 0xc9, 0x93, + 0x52, 0x2b, 0xab, 0xe0, 0x8f, 0x8e, 0x94, 0xb4, 0xa4, 0xa4, 0x23, 0x45, 0xfd, 0x11, 0xa2, 0x4a, + 0x33, 0x64, 0x89, 0xc9, 0x4d, 0x73, 0x2b, 0xfa, 0x73, 0x58, 0x9a, 0xaa, 0xa2, 0x50, 0xb2, 0xe1, + 0x4d, 0xee, 0x07, 0x20, 0xba, 0xe4, 0xc6, 0x6a, 0x9e, 0x3a, 0xcb, 0x96, 0xd7, 0xb3, 0xab, 0xb9, + 0x26, 0x5c, 0x72, 0x99, 0xcd, 0x89, 0xc9, 0x21, 0x03, 0x5f, 0x36, 0x4a, 0xe7, 0x4c, 0x2f, 0x34, + 0x2b, 0x05, 0xa7, 0xc4, 0x84, 0xde, 0xd8, 0x8b, 0x3f, 0x4d, 0xcf, 0x92, 0x83, 0xb1, 0x92, 0x97, + 0xf5, 0x70, 0x23, 0x70, 0x5b, 0x32, 0x8a, 0x47, 0x8d, 0x68, 0xfb, 0xca, 0x40, 0x0e, 0xbe, 0x09, + 0xe2, 0x24, 0x5d, 0xef, 0x1b, 0x0d, 0xde, 0xc0, 0xe8, 0x6b, 0x27, 0xdb, 0x5b, 0x5d, 0x00, 0xa0, + 0x9d, 0x5c, 0x94, 0x4a, 0x70, 0xba, 0x0d, 0x87, 0xb5, 0xc7, 0xef, 0x23, 0x1e, 0xd8, 0xc9, 0x59, + 0xcd, 0xc5, 0x81, 0xee, 0x1e, 0xe1, 0x77, 0xe0, 0x1b, 0xa1, 0xac, 0x09, 0xdf, 0x8d, 0xbd, 0xd8, + 0xc7, 0x0d, 0x98, 0x3c, 0x78, 0xe0, 0xe7, 0xab, 0x91, 0x60, 0x04, 0x3e, 0x3e, 0xf9, 0x96, 0x3e, + 0xee, 0x71, 0xa5, 0xcb, 0x0b, 0x92, 0xb1, 0xba, 0x7b, 0x80, 0x1b, 0x00, 0xff, 0x83, 0x40, 0x33, + 0xa3, 0x9c, 0xa6, 0xcc, 0xb4, 0x89, 0xc3, 0x5d, 0xe2, 0xea, 0xd7, 0x27, 0xb8, 0x3b, 0xc7, 0x3b, + 0x2a, 0xbc, 0x01, 0x23, 0xcd, 0x8c, 0x25, 0xda, 0x76, 0x75, 0xab, 0xb8, 0xa3, 0x69, 0x7c, 0xac, + 0x6e, 0x73, 0xa1, 0xad, 0xfc, 0x59, 0xef, 0x43, 0x18, 0x82, 0x0f, 0xd5, 0x78, 0x88, 0x5c, 0x86, + 0xfe, 0x78, 0x18, 0x07, 0xb8, 0x83, 0xe7, 0xa7, 0x77, 0x27, 0x19, 0xb7, 0x6b, 0x97, 0x26, 0x54, + 0x15, 0xa8, 0x96, 0x57, 0x3a, 0x43, 0xfd, 0x08, 0x33, 0x26, 0x51, 0x99, 0xfe, 0xcd, 0x14, 0x7a, + 0xbe, 0xcb, 0xf4, 0x7d, 0x3d, 0xc4, 0x7f, 0x8f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x31, 0xf8, 0x1a, + 0x19, 0x0d, 0x03, 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go b/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go new file mode 100644 index 000000000..a68e68a3f --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go @@ -0,0 +1,220 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/mpi.proto + +package plugins + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _mpi_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on DistributedMPITrainingTask with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DistributedMPITrainingTask) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedMPITrainingTaskValidationError{ + field: "WorkerReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetLauncherReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedMPITrainingTaskValidationError{ + field: "LauncherReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedMPITrainingTaskValidationError{ + field: "RunPolicy", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Slots + + return nil +} + +// DistributedMPITrainingTaskValidationError is the validation error returned +// by DistributedMPITrainingTask.Validate if the designated constraints aren't met. +type DistributedMPITrainingTaskValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedMPITrainingTaskValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedMPITrainingTaskValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedMPITrainingTaskValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedMPITrainingTaskValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedMPITrainingTaskValidationError) ErrorName() string { + return "DistributedMPITrainingTaskValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedMPITrainingTaskValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedMPITrainingTask.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedMPITrainingTaskValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedMPITrainingTaskValidationError{} + +// Validate checks the field values on DistributedMPITrainingReplicaSpec with +// the rules defined in the proto definition for this message. If any rules +// are violated, an error is returned. +func (m *DistributedMPITrainingReplicaSpec) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Replicas + + // no validation rules for Image + + if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedMPITrainingReplicaSpecValidationError{ + field: "Resources", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for RestartPolicy + + return nil +} + +// DistributedMPITrainingReplicaSpecValidationError is the validation error +// returned by DistributedMPITrainingReplicaSpec.Validate if the designated +// constraints aren't met. +type DistributedMPITrainingReplicaSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedMPITrainingReplicaSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedMPITrainingReplicaSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedMPITrainingReplicaSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedMPITrainingReplicaSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedMPITrainingReplicaSpecValidationError) ErrorName() string { + return "DistributedMPITrainingReplicaSpecValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedMPITrainingReplicaSpecValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedMPITrainingReplicaSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedMPITrainingReplicaSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedMPITrainingReplicaSpecValidationError{} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go b/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go new file mode 100644 index 000000000..7cef6b322 --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.go @@ -0,0 +1,276 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/pytorch.proto + +package plugins + +import ( + fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Custom proto for torch elastic config for distributed training using +// https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go +type ElasticConfig struct { + RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` + MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` + MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` + NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` + MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ElasticConfig) Reset() { *m = ElasticConfig{} } +func (m *ElasticConfig) String() string { return proto.CompactTextString(m) } +func (*ElasticConfig) ProtoMessage() {} +func (*ElasticConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_37e97bee6e09d707, []int{0} +} + +func (m *ElasticConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ElasticConfig.Unmarshal(m, b) +} +func (m *ElasticConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ElasticConfig.Marshal(b, m, deterministic) +} +func (m *ElasticConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ElasticConfig.Merge(m, src) +} +func (m *ElasticConfig) XXX_Size() int { + return xxx_messageInfo_ElasticConfig.Size(m) +} +func (m *ElasticConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ElasticConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ElasticConfig proto.InternalMessageInfo + +func (m *ElasticConfig) GetRdzvBackend() string { + if m != nil { + return m.RdzvBackend + } + return "" +} + +func (m *ElasticConfig) GetMinReplicas() int32 { + if m != nil { + return m.MinReplicas + } + return 0 +} + +func (m *ElasticConfig) GetMaxReplicas() int32 { + if m != nil { + return m.MaxReplicas + } + return 0 +} + +func (m *ElasticConfig) GetNprocPerNode() int32 { + if m != nil { + return m.NprocPerNode + } + return 0 +} + +func (m *ElasticConfig) GetMaxRestarts() int32 { + if m != nil { + return m.MaxRestarts + } + return 0 +} + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator +type DistributedPyTorchTrainingTask struct { + // Worker replicas spec + WorkerReplicas *DistributedPyTorchTrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` + // Master replicas spec, master replicas can only have 1 replica + MasterReplicas *DistributedPyTorchTrainingReplicaSpec `protobuf:"bytes,2,opt,name=master_replicas,json=masterReplicas,proto3" json:"master_replicas,omitempty"` + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy *RunPolicy `protobuf:"bytes,3,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` + // config for an elastic pytorch job + ElasticConfig *ElasticConfig `protobuf:"bytes,4,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedPyTorchTrainingTask) Reset() { *m = DistributedPyTorchTrainingTask{} } +func (m *DistributedPyTorchTrainingTask) String() string { return proto.CompactTextString(m) } +func (*DistributedPyTorchTrainingTask) ProtoMessage() {} +func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { + return fileDescriptor_37e97bee6e09d707, []int{1} +} + +func (m *DistributedPyTorchTrainingTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedPyTorchTrainingTask.Unmarshal(m, b) +} +func (m *DistributedPyTorchTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedPyTorchTrainingTask.Marshal(b, m, deterministic) +} +func (m *DistributedPyTorchTrainingTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedPyTorchTrainingTask.Merge(m, src) +} +func (m *DistributedPyTorchTrainingTask) XXX_Size() int { + return xxx_messageInfo_DistributedPyTorchTrainingTask.Size(m) +} +func (m *DistributedPyTorchTrainingTask) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedPyTorchTrainingTask.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedPyTorchTrainingTask proto.InternalMessageInfo + +func (m *DistributedPyTorchTrainingTask) GetWorkerReplicas() *DistributedPyTorchTrainingReplicaSpec { + if m != nil { + return m.WorkerReplicas + } + return nil +} + +func (m *DistributedPyTorchTrainingTask) GetMasterReplicas() *DistributedPyTorchTrainingReplicaSpec { + if m != nil { + return m.MasterReplicas + } + return nil +} + +func (m *DistributedPyTorchTrainingTask) GetRunPolicy() *RunPolicy { + if m != nil { + return m.RunPolicy + } + return nil +} + +func (m *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { + if m != nil { + return m.ElasticConfig + } + return nil +} + +type DistributedPyTorchTrainingReplicaSpec struct { + // Number of replicas + Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` + // Image used for the replica group + Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` + // Resources required for the replica group + Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` + // RestartPolicy determines whether pods will be restarted when they exit + RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedPyTorchTrainingReplicaSpec) Reset() { *m = DistributedPyTorchTrainingReplicaSpec{} } +func (m *DistributedPyTorchTrainingReplicaSpec) String() string { return proto.CompactTextString(m) } +func (*DistributedPyTorchTrainingReplicaSpec) ProtoMessage() {} +func (*DistributedPyTorchTrainingReplicaSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_37e97bee6e09d707, []int{2} +} + +func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Unmarshal(m, b) +} +func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Marshal(b, m, deterministic) +} +func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Merge(m, src) +} +func (m *DistributedPyTorchTrainingReplicaSpec) XXX_Size() int { + return xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.Size(m) +} +func (m *DistributedPyTorchTrainingReplicaSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedPyTorchTrainingReplicaSpec proto.InternalMessageInfo + +func (m *DistributedPyTorchTrainingReplicaSpec) GetReplicas() int32 { + if m != nil { + return m.Replicas + } + return 0 +} + +func (m *DistributedPyTorchTrainingReplicaSpec) GetImage() string { + if m != nil { + return m.Image + } + return "" +} + +func (m *DistributedPyTorchTrainingReplicaSpec) GetResources() *core.Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *DistributedPyTorchTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if m != nil { + return m.RestartPolicy + } + return RestartPolicy_RESTART_POLICY_NEVER +} + +func init() { + proto.RegisterType((*ElasticConfig)(nil), "flyteidl.plugins.kubeflow.ElasticConfig") + proto.RegisterType((*DistributedPyTorchTrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask") + proto.RegisterType((*DistributedPyTorchTrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec") +} + +func init() { + proto.RegisterFile("flyteidl/plugins/kubeflow/pytorch.proto", fileDescriptor_37e97bee6e09d707) +} + +var fileDescriptor_37e97bee6e09d707 = []byte{ + // 468 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcf, 0x8e, 0xd3, 0x30, + 0x10, 0xc6, 0xd5, 0x5d, 0x8a, 0xa8, 0xb3, 0xed, 0x4a, 0x11, 0x87, 0xd0, 0x03, 0x5a, 0xaa, 0x05, + 0x7a, 0x21, 0x91, 0x8a, 0x04, 0xe2, 0x86, 0x76, 0xe1, 0x0a, 0x95, 0xe9, 0x89, 0x4b, 0xe4, 0x38, + 0xd3, 0xac, 0x95, 0xc4, 0xb6, 0xc6, 0x0e, 0xbb, 0xe5, 0x19, 0x78, 0x29, 0x5e, 0x85, 0x27, 0x41, + 0x71, 0xfe, 0x75, 0x91, 0x5a, 0x71, 0xd8, 0x5b, 0x66, 0xfc, 0xcb, 0x37, 0xfe, 0xc6, 0x33, 0xe4, + 0xf5, 0xb6, 0xd8, 0x59, 0x10, 0x69, 0x11, 0xe9, 0xa2, 0xca, 0x84, 0x34, 0x51, 0x5e, 0x25, 0xb0, + 0x2d, 0xd4, 0x6d, 0xa4, 0x77, 0x56, 0x21, 0xbf, 0x09, 0x35, 0x2a, 0xab, 0xfc, 0x67, 0x1d, 0x18, + 0xb6, 0x60, 0xd8, 0x81, 0xf3, 0xfe, 0x28, 0xe2, 0x0a, 0x21, 0xb2, 0xcc, 0xe4, 0xa6, 0xf9, 0x6b, + 0xfe, 0xea, 0xb0, 0x3c, 0x57, 0x65, 0xa9, 0x64, 0xc3, 0x2d, 0x7e, 0x8f, 0xc8, 0xf4, 0x73, 0xc1, + 0x8c, 0x15, 0xfc, 0x5a, 0xc9, 0xad, 0xc8, 0xfc, 0x17, 0xe4, 0x0c, 0xd3, 0x9f, 0x3f, 0xe2, 0x84, + 0xf1, 0x1c, 0x64, 0x1a, 0x8c, 0x2e, 0x46, 0xcb, 0x09, 0xf5, 0xea, 0xdc, 0x55, 0x93, 0xaa, 0x91, + 0x52, 0xc8, 0x18, 0x41, 0x17, 0x82, 0x33, 0x13, 0x9c, 0x5c, 0x8c, 0x96, 0x63, 0xea, 0x95, 0x42, + 0xd2, 0x36, 0xe5, 0x10, 0x76, 0x37, 0x20, 0xa7, 0x2d, 0xc2, 0xee, 0x7a, 0xe4, 0x92, 0xcc, 0xa4, + 0x46, 0xc5, 0x63, 0x0d, 0x18, 0x4b, 0x95, 0x42, 0xf0, 0xc8, 0x41, 0x67, 0x2e, 0xbb, 0x06, 0xfc, + 0xa2, 0x52, 0x18, 0x84, 0x8c, 0x65, 0x68, 0x4d, 0x30, 0xde, 0x13, 0x6a, 0x52, 0x8b, 0x5f, 0xa7, + 0xe4, 0xf9, 0x27, 0x61, 0x2c, 0x8a, 0xa4, 0xb2, 0x90, 0xae, 0x77, 0x9b, 0xba, 0x7d, 0x1b, 0x64, + 0x42, 0x0a, 0x99, 0x6d, 0x98, 0xc9, 0x7d, 0x41, 0xce, 0x6f, 0x15, 0xe6, 0x80, 0xc3, 0x8d, 0x6a, + 0x5f, 0xde, 0xea, 0x63, 0x78, 0xb0, 0xbd, 0xe1, 0x61, 0xcd, 0xd6, 0xc3, 0x37, 0x0d, 0x9c, 0xce, + 0x1a, 0xe1, 0xde, 0x96, 0x20, 0xe7, 0x25, 0x33, 0x76, 0xbf, 0xd4, 0xc9, 0x43, 0x95, 0x6a, 0x84, + 0xfb, 0x52, 0xd7, 0x84, 0x60, 0x25, 0x63, 0xad, 0x0a, 0xc1, 0x77, 0xae, 0xc5, 0xde, 0xea, 0xf2, + 0x48, 0x15, 0x5a, 0xc9, 0xb5, 0x63, 0xe9, 0x04, 0xbb, 0x4f, 0xff, 0x2b, 0x99, 0x41, 0x33, 0x00, + 0x31, 0x77, 0x13, 0xe0, 0x9e, 0xc1, 0x5b, 0x2d, 0x8f, 0x08, 0xdd, 0x9b, 0x18, 0x3a, 0x85, 0xfd, + 0x70, 0xf1, 0x67, 0x44, 0x5e, 0xfe, 0x97, 0x1f, 0x7f, 0x4e, 0x9e, 0xdc, 0x7b, 0x8e, 0x31, 0xed, + 0x63, 0xff, 0x29, 0x19, 0x8b, 0x92, 0x65, 0xe0, 0x9a, 0x37, 0xa1, 0x4d, 0xe0, 0xbf, 0x23, 0x13, + 0x04, 0xa3, 0x2a, 0xe4, 0x60, 0x5a, 0xc3, 0xc1, 0x70, 0xcf, 0x7a, 0x0b, 0x42, 0xda, 0x9d, 0xd3, + 0x01, 0xad, 0x4d, 0xb6, 0x13, 0xd4, 0x75, 0xab, 0x36, 0x39, 0x3b, 0x6a, 0xb2, 0x9d, 0xaf, 0xb6, + 0x63, 0x53, 0xdc, 0x0f, 0xaf, 0x3e, 0x7c, 0x7f, 0x9f, 0x09, 0x7b, 0x53, 0x25, 0x21, 0x57, 0x65, + 0xe4, 0x44, 0x14, 0x66, 0x51, 0xbf, 0x75, 0x19, 0xc8, 0x48, 0x27, 0x6f, 0x32, 0x15, 0xfd, 0xbb, + 0x88, 0xc9, 0x63, 0xb7, 0x79, 0x6f, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xa3, 0xdb, 0x04, 0x89, + 0x02, 0x04, 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go b/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go new file mode 100644 index 000000000..fa6e40749 --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go @@ -0,0 +1,304 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/pytorch.proto + +package plugins + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _pytorch_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on ElasticConfig with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ElasticConfig) Validate() error { + if m == nil { + return nil + } + + // no validation rules for RdzvBackend + + // no validation rules for MinReplicas + + // no validation rules for MaxReplicas + + // no validation rules for NprocPerNode + + // no validation rules for MaxRestarts + + return nil +} + +// ElasticConfigValidationError is the validation error returned by +// ElasticConfig.Validate if the designated constraints aren't met. +type ElasticConfigValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ElasticConfigValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ElasticConfigValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ElasticConfigValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ElasticConfigValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ElasticConfigValidationError) ErrorName() string { return "ElasticConfigValidationError" } + +// Error satisfies the builtin error interface +func (e ElasticConfigValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sElasticConfig.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ElasticConfigValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ElasticConfigValidationError{} + +// Validate checks the field values on DistributedPyTorchTrainingTask with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DistributedPyTorchTrainingTask) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingTaskValidationError{ + field: "WorkerReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetMasterReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingTaskValidationError{ + field: "MasterReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingTaskValidationError{ + field: "RunPolicy", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetElasticConfig()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingTaskValidationError{ + field: "ElasticConfig", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// DistributedPyTorchTrainingTaskValidationError is the validation error +// returned by DistributedPyTorchTrainingTask.Validate if the designated +// constraints aren't met. +type DistributedPyTorchTrainingTaskValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedPyTorchTrainingTaskValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedPyTorchTrainingTaskValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedPyTorchTrainingTaskValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedPyTorchTrainingTaskValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedPyTorchTrainingTaskValidationError) ErrorName() string { + return "DistributedPyTorchTrainingTaskValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedPyTorchTrainingTaskValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedPyTorchTrainingTask.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedPyTorchTrainingTaskValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedPyTorchTrainingTaskValidationError{} + +// Validate checks the field values on DistributedPyTorchTrainingReplicaSpec +// with the rules defined in the proto definition for this message. If any +// rules are violated, an error is returned. +func (m *DistributedPyTorchTrainingReplicaSpec) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Replicas + + // no validation rules for Image + + if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingReplicaSpecValidationError{ + field: "Resources", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for RestartPolicy + + return nil +} + +// DistributedPyTorchTrainingReplicaSpecValidationError is the validation error +// returned by DistributedPyTorchTrainingReplicaSpec.Validate if the +// designated constraints aren't met. +type DistributedPyTorchTrainingReplicaSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedPyTorchTrainingReplicaSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedPyTorchTrainingReplicaSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedPyTorchTrainingReplicaSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedPyTorchTrainingReplicaSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedPyTorchTrainingReplicaSpecValidationError) ErrorName() string { + return "DistributedPyTorchTrainingReplicaSpecValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedPyTorchTrainingReplicaSpecValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedPyTorchTrainingReplicaSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedPyTorchTrainingReplicaSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedPyTorchTrainingReplicaSpecValidationError{} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go b/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go new file mode 100644 index 000000000..b62e7fc9d --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.go @@ -0,0 +1,197 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +package plugins + +import ( + fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator +type DistributedTensorflowTrainingTask struct { + // Worker replicas spec + WorkerReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,1,opt,name=worker_replicas,json=workerReplicas,proto3" json:"worker_replicas,omitempty"` + // Parameter server replicas spec + PsReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,2,opt,name=ps_replicas,json=psReplicas,proto3" json:"ps_replicas,omitempty"` + // Chief replicas spec + ChiefReplicas *DistributedTensorflowTrainingReplicaSpec `protobuf:"bytes,3,opt,name=chief_replicas,json=chiefReplicas,proto3" json:"chief_replicas,omitempty"` + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy *RunPolicy `protobuf:"bytes,4,opt,name=run_policy,json=runPolicy,proto3" json:"run_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedTensorflowTrainingTask) Reset() { *m = DistributedTensorflowTrainingTask{} } +func (m *DistributedTensorflowTrainingTask) String() string { return proto.CompactTextString(m) } +func (*DistributedTensorflowTrainingTask) ProtoMessage() {} +func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) { + return fileDescriptor_93de2bd764ddf01a, []int{0} +} + +func (m *DistributedTensorflowTrainingTask) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedTensorflowTrainingTask.Unmarshal(m, b) +} +func (m *DistributedTensorflowTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedTensorflowTrainingTask.Marshal(b, m, deterministic) +} +func (m *DistributedTensorflowTrainingTask) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedTensorflowTrainingTask.Merge(m, src) +} +func (m *DistributedTensorflowTrainingTask) XXX_Size() int { + return xxx_messageInfo_DistributedTensorflowTrainingTask.Size(m) +} +func (m *DistributedTensorflowTrainingTask) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedTensorflowTrainingTask.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedTensorflowTrainingTask proto.InternalMessageInfo + +func (m *DistributedTensorflowTrainingTask) GetWorkerReplicas() *DistributedTensorflowTrainingReplicaSpec { + if m != nil { + return m.WorkerReplicas + } + return nil +} + +func (m *DistributedTensorflowTrainingTask) GetPsReplicas() *DistributedTensorflowTrainingReplicaSpec { + if m != nil { + return m.PsReplicas + } + return nil +} + +func (m *DistributedTensorflowTrainingTask) GetChiefReplicas() *DistributedTensorflowTrainingReplicaSpec { + if m != nil { + return m.ChiefReplicas + } + return nil +} + +func (m *DistributedTensorflowTrainingTask) GetRunPolicy() *RunPolicy { + if m != nil { + return m.RunPolicy + } + return nil +} + +type DistributedTensorflowTrainingReplicaSpec struct { + // Number of replicas + Replicas int32 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` + // Image used for the replica group + Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` + // Resources required for the replica group + Resources *core.Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` + // RestartPolicy Determines whether pods will be restarted when they exit + RestartPolicy RestartPolicy `protobuf:"varint,4,opt,name=restart_policy,json=restartPolicy,proto3,enum=flyteidl.plugins.kubeflow.RestartPolicy" json:"restart_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DistributedTensorflowTrainingReplicaSpec) Reset() { + *m = DistributedTensorflowTrainingReplicaSpec{} +} +func (m *DistributedTensorflowTrainingReplicaSpec) String() string { return proto.CompactTextString(m) } +func (*DistributedTensorflowTrainingReplicaSpec) ProtoMessage() {} +func (*DistributedTensorflowTrainingReplicaSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_93de2bd764ddf01a, []int{1} +} + +func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Unmarshal(m, b) +} +func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Marshal(b, m, deterministic) +} +func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Merge(m, src) +} +func (m *DistributedTensorflowTrainingReplicaSpec) XXX_Size() int { + return xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.Size(m) +} +func (m *DistributedTensorflowTrainingReplicaSpec) XXX_DiscardUnknown() { + xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_DistributedTensorflowTrainingReplicaSpec proto.InternalMessageInfo + +func (m *DistributedTensorflowTrainingReplicaSpec) GetReplicas() int32 { + if m != nil { + return m.Replicas + } + return 0 +} + +func (m *DistributedTensorflowTrainingReplicaSpec) GetImage() string { + if m != nil { + return m.Image + } + return "" +} + +func (m *DistributedTensorflowTrainingReplicaSpec) GetResources() *core.Resources { + if m != nil { + return m.Resources + } + return nil +} + +func (m *DistributedTensorflowTrainingReplicaSpec) GetRestartPolicy() RestartPolicy { + if m != nil { + return m.RestartPolicy + } + return RestartPolicy_RESTART_POLICY_NEVER +} + +func init() { + proto.RegisterType((*DistributedTensorflowTrainingTask)(nil), "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask") + proto.RegisterType((*DistributedTensorflowTrainingReplicaSpec)(nil), "flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec") +} + +func init() { + proto.RegisterFile("flyteidl/plugins/kubeflow/tensorflow.proto", fileDescriptor_93de2bd764ddf01a) +} + +var fileDescriptor_93de2bd764ddf01a = []byte{ + // 356 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0x41, 0x4b, 0xc3, 0x30, + 0x14, 0xc7, 0x99, 0x73, 0xe2, 0x32, 0x56, 0xa1, 0x78, 0x98, 0x3b, 0xe9, 0x10, 0x19, 0x82, 0x0d, + 0x4c, 0x50, 0xbc, 0x3a, 0xef, 0x4a, 0xdc, 0xc9, 0xcb, 0x68, 0xb3, 0xb7, 0x2e, 0xb6, 0x4d, 0xc2, + 0x4b, 0xc2, 0xd8, 0x37, 0xf2, 0x8b, 0xf9, 0x3d, 0x64, 0xed, 0xda, 0x4e, 0x61, 0xc3, 0xc3, 0x6e, + 0x79, 0xcd, 0x3f, 0xff, 0xdf, 0x7b, 0xaf, 0x7f, 0x72, 0x3b, 0x4f, 0x57, 0x16, 0xc4, 0x2c, 0xa5, + 0x3a, 0x75, 0xb1, 0x90, 0x86, 0x26, 0x2e, 0x82, 0x79, 0xaa, 0x96, 0xd4, 0x82, 0x34, 0x0a, 0xd7, + 0xc7, 0x40, 0xa3, 0xb2, 0xca, 0xbf, 0x28, 0xb5, 0xc1, 0x46, 0x1b, 0x94, 0xda, 0x7e, 0x75, 0x45, + 0xb9, 0x42, 0xa0, 0x36, 0x34, 0x89, 0x29, 0x5e, 0xf5, 0x6f, 0x76, 0x13, 0xb8, 0xca, 0x32, 0x25, + 0x0b, 0xdd, 0xe0, 0xab, 0x49, 0xae, 0x5e, 0x84, 0xb1, 0x28, 0x22, 0x67, 0x61, 0x36, 0xa9, 0xe8, + 0x13, 0x0c, 0x85, 0x14, 0x32, 0x9e, 0x84, 0x26, 0xf1, 0x53, 0x72, 0xb6, 0x54, 0x98, 0x00, 0x4e, + 0x11, 0x74, 0x2a, 0x78, 0x68, 0x7a, 0x8d, 0xcb, 0xc6, 0xb0, 0x33, 0x1a, 0x07, 0x3b, 0xbb, 0x0b, + 0xf6, 0xda, 0xb2, 0xc2, 0xe7, 0x5d, 0x03, 0x67, 0x5e, 0xe1, 0xbd, 0xf9, 0x64, 0xfc, 0x19, 0xe9, + 0x68, 0x53, 0x93, 0x8e, 0x0e, 0x47, 0x22, 0xda, 0x54, 0x94, 0x4f, 0xe2, 0xf1, 0x85, 0x80, 0x79, + 0x0d, 0x6a, 0x1e, 0x0e, 0xd4, 0xcd, 0xad, 0x2b, 0xd6, 0x98, 0x10, 0x74, 0x72, 0xaa, 0x55, 0x2a, + 0xf8, 0xaa, 0x77, 0x9c, 0x73, 0xae, 0xf7, 0x70, 0x98, 0x93, 0x6f, 0xb9, 0x96, 0xb5, 0xb1, 0x3c, + 0x0e, 0xbe, 0x1b, 0x64, 0xf8, 0xdf, 0x06, 0xfc, 0x3e, 0x39, 0xfd, 0xf5, 0xab, 0x5a, 0xac, 0xaa, + 0xfd, 0x73, 0xd2, 0x12, 0x59, 0x18, 0x43, 0xbe, 0xd9, 0x36, 0x2b, 0x0a, 0xff, 0x81, 0xb4, 0x11, + 0x8c, 0x72, 0xc8, 0xa1, 0x5c, 0x45, 0xaf, 0x6e, 0x71, 0x1d, 0xb0, 0x80, 0x95, 0xf7, 0xac, 0x96, + 0xfa, 0xaf, 0xc4, 0x43, 0x30, 0x36, 0x44, 0xbb, 0x3d, 0x9f, 0x37, 0x1a, 0xee, 0x9b, 0xaf, 0x78, + 0xb0, 0x99, 0xb1, 0x8b, 0xdb, 0xe5, 0xf3, 0xd3, 0xc7, 0x63, 0x2c, 0xec, 0xc2, 0x45, 0x01, 0x57, + 0x19, 0xcd, 0x4d, 0x14, 0xc6, 0xb4, 0x0a, 0x74, 0x0c, 0x92, 0xea, 0xe8, 0x2e, 0x56, 0xf4, 0x6f, + 0xc6, 0xa3, 0x93, 0x3c, 0xd4, 0xf7, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x1a, 0x01, 0x7d, 0x16, + 0x60, 0x03, 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go b/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go new file mode 100644 index 000000000..098b4dc7c --- /dev/null +++ b/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go @@ -0,0 +1,229 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +package plugins + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _tensorflow_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on DistributedTensorflowTrainingTask with +// the rules defined in the proto definition for this message. If any rules +// are violated, an error is returned. +func (m *DistributedTensorflowTrainingTask) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedTensorflowTrainingTaskValidationError{ + field: "WorkerReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetPsReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedTensorflowTrainingTaskValidationError{ + field: "PsReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetChiefReplicas()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedTensorflowTrainingTaskValidationError{ + field: "ChiefReplicas", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedTensorflowTrainingTaskValidationError{ + field: "RunPolicy", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// DistributedTensorflowTrainingTaskValidationError is the validation error +// returned by DistributedTensorflowTrainingTask.Validate if the designated +// constraints aren't met. +type DistributedTensorflowTrainingTaskValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedTensorflowTrainingTaskValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedTensorflowTrainingTaskValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedTensorflowTrainingTaskValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedTensorflowTrainingTaskValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedTensorflowTrainingTaskValidationError) ErrorName() string { + return "DistributedTensorflowTrainingTaskValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedTensorflowTrainingTaskValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedTensorflowTrainingTask.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedTensorflowTrainingTaskValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedTensorflowTrainingTaskValidationError{} + +// Validate checks the field values on DistributedTensorflowTrainingReplicaSpec +// with the rules defined in the proto definition for this message. If any +// rules are violated, an error is returned. +func (m *DistributedTensorflowTrainingReplicaSpec) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Replicas + + // no validation rules for Image + + if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedTensorflowTrainingReplicaSpecValidationError{ + field: "Resources", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for RestartPolicy + + return nil +} + +// DistributedTensorflowTrainingReplicaSpecValidationError is the validation +// error returned by DistributedTensorflowTrainingReplicaSpec.Validate if the +// designated constraints aren't met. +type DistributedTensorflowTrainingReplicaSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DistributedTensorflowTrainingReplicaSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DistributedTensorflowTrainingReplicaSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DistributedTensorflowTrainingReplicaSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DistributedTensorflowTrainingReplicaSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DistributedTensorflowTrainingReplicaSpecValidationError) ErrorName() string { + return "DistributedTensorflowTrainingReplicaSpecValidationError" +} + +// Error satisfies the builtin error interface +func (e DistributedTensorflowTrainingReplicaSpecValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDistributedTensorflowTrainingReplicaSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DistributedTensorflowTrainingReplicaSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DistributedTensorflowTrainingReplicaSpecValidationError{} diff --git a/gen/pb-go/flyteidl/plugins/pytorch.pb.go b/gen/pb-go/flyteidl/plugins/pytorch.pb.go index 79138e568..f75649fa0 100644 --- a/gen/pb-go/flyteidl/plugins/pytorch.pb.go +++ b/gen/pb-go/flyteidl/plugins/pytorch.pb.go @@ -20,20 +20,96 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package -// Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator -type DistributedPyTorchTrainingTask struct { - // number of worker replicas spawned in the cluster for this job - Workers int32 `protobuf:"varint,1,opt,name=workers,proto3" json:"workers,omitempty"` +// Custom proto for torch elastic config for distributed training using +// https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go +type ElasticConfig struct { + RdzvBackend string `protobuf:"bytes,1,opt,name=rdzv_backend,json=rdzvBackend,proto3" json:"rdzv_backend,omitempty"` + MinReplicas int32 `protobuf:"varint,2,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` + MaxReplicas int32 `protobuf:"varint,3,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` + NprocPerNode int32 `protobuf:"varint,4,opt,name=nproc_per_node,json=nprocPerNode,proto3" json:"nproc_per_node,omitempty"` + MaxRestarts int32 `protobuf:"varint,5,opt,name=max_restarts,json=maxRestarts,proto3" json:"max_restarts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } +func (m *ElasticConfig) Reset() { *m = ElasticConfig{} } +func (m *ElasticConfig) String() string { return proto.CompactTextString(m) } +func (*ElasticConfig) ProtoMessage() {} +func (*ElasticConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_4df8a9374b28b766, []int{0} +} + +func (m *ElasticConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ElasticConfig.Unmarshal(m, b) +} +func (m *ElasticConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ElasticConfig.Marshal(b, m, deterministic) +} +func (m *ElasticConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ElasticConfig.Merge(m, src) +} +func (m *ElasticConfig) XXX_Size() int { + return xxx_messageInfo_ElasticConfig.Size(m) +} +func (m *ElasticConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ElasticConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ElasticConfig proto.InternalMessageInfo + +func (m *ElasticConfig) GetRdzvBackend() string { + if m != nil { + return m.RdzvBackend + } + return "" +} + +func (m *ElasticConfig) GetMinReplicas() int32 { + if m != nil { + return m.MinReplicas + } + return 0 +} + +func (m *ElasticConfig) GetMaxReplicas() int32 { + if m != nil { + return m.MaxReplicas + } + return 0 +} + +func (m *ElasticConfig) GetNprocPerNode() int32 { + if m != nil { + return m.NprocPerNode + } + return 0 +} + +func (m *ElasticConfig) GetMaxRestarts() int32 { + if m != nil { + return m.MaxRestarts + } + return 0 +} + +// Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator +type DistributedPyTorchTrainingTask struct { + // number of worker replicas spawned in the cluster for this job + Workers int32 `protobuf:"varint,1,opt,name=workers,proto3" json:"workers,omitempty"` + // config for an elastic pytorch job + // + ElasticConfig *ElasticConfig `protobuf:"bytes,2,opt,name=elastic_config,json=elasticConfig,proto3" json:"elastic_config,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + func (m *DistributedPyTorchTrainingTask) Reset() { *m = DistributedPyTorchTrainingTask{} } func (m *DistributedPyTorchTrainingTask) String() string { return proto.CompactTextString(m) } func (*DistributedPyTorchTrainingTask) ProtoMessage() {} func (*DistributedPyTorchTrainingTask) Descriptor() ([]byte, []int) { - return fileDescriptor_4df8a9374b28b766, []int{0} + return fileDescriptor_4df8a9374b28b766, []int{1} } func (m *DistributedPyTorchTrainingTask) XXX_Unmarshal(b []byte) error { @@ -61,22 +137,39 @@ func (m *DistributedPyTorchTrainingTask) GetWorkers() int32 { return 0 } +func (m *DistributedPyTorchTrainingTask) GetElasticConfig() *ElasticConfig { + if m != nil { + return m.ElasticConfig + } + return nil +} + func init() { + proto.RegisterType((*ElasticConfig)(nil), "flyteidl.plugins.ElasticConfig") proto.RegisterType((*DistributedPyTorchTrainingTask)(nil), "flyteidl.plugins.DistributedPyTorchTrainingTask") } func init() { proto.RegisterFile("flyteidl/plugins/pytorch.proto", fileDescriptor_4df8a9374b28b766) } var fileDescriptor_4df8a9374b28b766 = []byte{ - // 156 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0xa8, 0x2c, - 0xc9, 0x2f, 0x4a, 0xce, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0xc9, 0xeb, 0x41, - 0xe5, 0x95, 0xac, 0xb8, 0xe4, 0x5c, 0x32, 0x8b, 0x4b, 0x8a, 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, - 0x02, 0x2a, 0x43, 0x40, 0xaa, 0x43, 0x8a, 0x12, 0x33, 0xf3, 0x32, 0xf3, 0xd2, 0x43, 0x12, 0x8b, - 0xb3, 0x85, 0x24, 0xb8, 0xd8, 0xcb, 0xf3, 0x8b, 0xb2, 0x53, 0x8b, 0x8a, 0x25, 0x18, 0x15, 0x18, - 0x35, 0x58, 0x83, 0x60, 0x5c, 0x27, 0xcb, 0x28, 0xf3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, - 0xe4, 0xfc, 0x5c, 0x7d, 0xb0, 0xd1, 0xf9, 0x45, 0xe9, 0xfa, 0x70, 0x37, 0xa4, 0xa7, 0xe6, 0xe9, - 0x17, 0x24, 0xe9, 0xa6, 0xe7, 0xeb, 0xa3, 0x3b, 0x2b, 0x89, 0x0d, 0xec, 0x1e, 0x63, 0x40, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x91, 0x53, 0x3a, 0xa1, 0xb1, 0x00, 0x00, 0x00, + // 299 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xbd, 0x4f, 0xc3, 0x30, + 0x10, 0xc5, 0x15, 0xa0, 0x20, 0xdc, 0x0f, 0xa1, 0x4c, 0x99, 0x4a, 0xa9, 0x18, 0xba, 0x90, 0x48, + 0x30, 0x20, 0xd6, 0xf2, 0x31, 0xa2, 0x2a, 0xea, 0xc4, 0x12, 0x39, 0xf6, 0xd5, 0x3d, 0x35, 0xb5, + 0xad, 0xb3, 0x0b, 0x2d, 0x23, 0xff, 0x19, 0xff, 0x19, 0xaa, 0x9b, 0x7e, 0xd0, 0xf1, 0xde, 0xfd, + 0xee, 0xa4, 0xf7, 0x1e, 0xeb, 0x4e, 0xaa, 0x95, 0x07, 0x94, 0x55, 0x66, 0xab, 0x85, 0x42, 0xed, + 0x32, 0xbb, 0xf2, 0x86, 0xc4, 0x34, 0xb5, 0x64, 0xbc, 0x89, 0xaf, 0xb6, 0xfb, 0xb4, 0xde, 0xf7, + 0x7f, 0x23, 0xd6, 0x7e, 0xad, 0xb8, 0xf3, 0x28, 0x9e, 0x8d, 0x9e, 0xa0, 0x8a, 0x6f, 0x58, 0x8b, + 0xe4, 0xf7, 0x67, 0x51, 0x72, 0x31, 0x03, 0x2d, 0x93, 0xa8, 0x17, 0x0d, 0x2e, 0xf3, 0xe6, 0x5a, + 0x1b, 0x6e, 0xa4, 0x35, 0x32, 0x47, 0x5d, 0x10, 0xd8, 0x0a, 0x05, 0x77, 0xc9, 0x49, 0x2f, 0x1a, + 0x34, 0xf2, 0xe6, 0x1c, 0x75, 0x5e, 0x4b, 0x01, 0xe1, 0xcb, 0x3d, 0x72, 0x5a, 0x23, 0x7c, 0xb9, + 0x43, 0x6e, 0x59, 0x47, 0x5b, 0x32, 0xa2, 0xb0, 0x40, 0x85, 0x36, 0x12, 0x92, 0xb3, 0x00, 0xb5, + 0x82, 0x3a, 0x02, 0x7a, 0x37, 0x12, 0xf6, 0x8f, 0x9c, 0xe7, 0xe4, 0x5d, 0xd2, 0x38, 0x78, 0xb4, + 0x91, 0xfa, 0x3f, 0x11, 0xeb, 0xbe, 0xa0, 0xf3, 0x84, 0xe5, 0xc2, 0x83, 0x1c, 0xad, 0xc6, 0x6b, + 0xcb, 0x63, 0xe2, 0xa8, 0x51, 0xab, 0x31, 0x77, 0xb3, 0x38, 0x61, 0x17, 0x5f, 0x86, 0x66, 0x40, + 0x2e, 0xf8, 0x69, 0xe4, 0xdb, 0x31, 0x7e, 0x63, 0x1d, 0xd8, 0xf8, 0x2f, 0x44, 0x08, 0x20, 0xb8, + 0x69, 0xde, 0x5f, 0xa7, 0xc7, 0x59, 0xa5, 0xff, 0x72, 0xca, 0xdb, 0x70, 0x38, 0x0e, 0x9f, 0x3e, + 0x1e, 0x15, 0xfa, 0xe9, 0xa2, 0x4c, 0x85, 0x99, 0x67, 0xe1, 0xd6, 0x90, 0xca, 0x76, 0x85, 0x28, + 0xd0, 0x99, 0x2d, 0xef, 0x94, 0xc9, 0x8e, 0x3b, 0x2a, 0xcf, 0x43, 0x39, 0x0f, 0x7f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x6f, 0x80, 0x2c, 0x15, 0xbe, 0x01, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go b/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go index 8e6af9852..17b90db72 100644 --- a/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go +++ b/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go @@ -36,6 +36,81 @@ var ( // define the regex for a UUID once up-front var _pytorch_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") +// Validate checks the field values on ElasticConfig with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ElasticConfig) Validate() error { + if m == nil { + return nil + } + + // no validation rules for RdzvBackend + + // no validation rules for MinReplicas + + // no validation rules for MaxReplicas + + // no validation rules for NprocPerNode + + // no validation rules for MaxRestarts + + return nil +} + +// ElasticConfigValidationError is the validation error returned by +// ElasticConfig.Validate if the designated constraints aren't met. +type ElasticConfigValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ElasticConfigValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ElasticConfigValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ElasticConfigValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ElasticConfigValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ElasticConfigValidationError) ErrorName() string { return "ElasticConfigValidationError" } + +// Error satisfies the builtin error interface +func (e ElasticConfigValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sElasticConfig.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ElasticConfigValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ElasticConfigValidationError{} + // Validate checks the field values on DistributedPyTorchTrainingTask with the // rules defined in the proto definition for this message. If any rules are // violated, an error is returned. @@ -46,6 +121,16 @@ func (m *DistributedPyTorchTrainingTask) Validate() error { // no validation rules for Workers + if v, ok := interface{}(m.GetElasticConfig()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DistributedPyTorchTrainingTaskValidationError{ + field: "ElasticConfig", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/gen/pb-go/flyteidl/service/admin.pb.go b/gen/pb-go/flyteidl/service/admin.pb.go index cf6f18c3d..1b35e94e4 100644 --- a/gen/pb-go/flyteidl/service/admin.pb.go +++ b/gen/pb-go/flyteidl/service/admin.pb.go @@ -7,7 +7,6 @@ import ( context "context" fmt "fmt" admin "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin" - _ "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -30,141 +29,143 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("flyteidl/service/admin.proto", fileDescriptor_5cfa31da1d67295d) } var fileDescriptor_5cfa31da1d67295d = []byte{ - // 2136 bytes of a gzipped FileDescriptorProto + // 2163 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x9a, 0xdf, 0x6f, 0x1d, 0x47, 0x15, 0xc7, 0x35, 0x36, 0x02, 0x31, 0x4d, 0x62, 0x7b, 0x9a, 0x60, 0x67, 0x63, 0x27, 0xe9, 0xba, - 0x8e, 0x7f, 0xdf, 0x75, 0xd3, 0xb4, 0x51, 0x42, 0x7f, 0xb9, 0xb5, 0x73, 0x65, 0x08, 0x49, 0x31, - 0x29, 0x48, 0x16, 0xd2, 0xd5, 0xfa, 0xee, 0xc4, 0xde, 0xe4, 0xde, 0xbb, 0xb7, 0xbb, 0x63, 0x17, - 0xcb, 0xb2, 0xf8, 0xf1, 0x80, 0xa8, 0x90, 0x78, 0xe0, 0x87, 0xa0, 0x10, 0x51, 0x0a, 0x45, 0xfc, - 0x2c, 0x2f, 0xa0, 0x22, 0x24, 0x54, 0x09, 0xc1, 0x03, 0x2f, 0xbc, 0xc0, 0x3b, 0x2f, 0xf4, 0x99, - 0xbf, 0x01, 0xcd, 0xd9, 0x99, 0xbd, 0x3b, 0xbb, 0x3b, 0xbb, 0xb3, 0x26, 0xe5, 0x89, 0x37, 0xfb, - 0x9e, 0x33, 0x33, 0x9f, 0x73, 0xe6, 0x3b, 0x67, 0x66, 0x67, 0x17, 0x4f, 0xde, 0xed, 0x1c, 0x30, - 0xea, 0x7b, 0x1d, 0x27, 0xa2, 0xe1, 0xbe, 0xdf, 0xa6, 0x8e, 0xeb, 0x75, 0xfd, 0x5e, 0xa3, 0x1f, - 0x06, 0x2c, 0x20, 0xa3, 0xd2, 0xda, 0x10, 0x56, 0x6b, 0x72, 0x27, 0x08, 0x76, 0x3a, 0xd4, 0x71, - 0xfb, 0xbe, 0xe3, 0xf6, 0x7a, 0x01, 0x73, 0x99, 0x1f, 0xf4, 0xa2, 0xd8, 0xdf, 0x1a, 0xf4, 0x06, - 0xbd, 0x38, 0xfd, 0x30, 0xb8, 0x47, 0xdb, 0x4c, 0x58, 0x1b, 0xc5, 0xd6, 0x96, 0x17, 0x74, 0x5d, - 0xbf, 0xd7, 0x72, 0x19, 0x0b, 0xfd, 0xed, 0x3d, 0x46, 0x65, 0x6f, 0xb3, 0x1a, 0xff, 0x9c, 0xe3, - 0xd9, 0x8c, 0x23, 0x73, 0xa3, 0xfb, 0xc2, 0x34, 0x95, 0x31, 0xbd, 0x16, 0x84, 0xf7, 0xef, 0x76, - 0x82, 0xd7, 0x84, 0x79, 0x4e, 0x63, 0xce, 0x8f, 0x71, 0x31, 0xe3, 0xd9, 0x71, 0xf7, 0x7a, 0xed, - 0xdd, 0x56, 0xbf, 0xe3, 0x8a, 0x64, 0x59, 0x56, 0xc6, 0x83, 0xee, 0xd3, 0x9e, 0x0c, 0xfd, 0x7c, - 0xd6, 0xf6, 0x05, 0xda, 0xde, 0xe3, 0x99, 0xd3, 0x84, 0xda, 0x75, 0x59, 0x7b, 0xd7, 0xdd, 0xee, - 0xd0, 0x56, 0x48, 0xa3, 0x60, 0x2f, 0x6c, 0x53, 0xe1, 0x38, 0x9d, 0x71, 0xec, 0x05, 0x1e, 0x6d, - 0x65, 0x7b, 0x9b, 0x2e, 0xc8, 0x47, 0xce, 0x29, 0x3b, 0x57, 0xfb, 0x34, 0x8c, 0x06, 0xd6, 0x73, - 0x19, 0x6b, 0x3b, 0xe8, 0x76, 0xb5, 0xb4, 0x1e, 0x8d, 0xda, 0xa1, 0xdf, 0xe7, 0x9d, 0xb7, 0x68, - 0x8f, 0xf9, 0xec, 0x20, 0x17, 0x76, 0x3b, 0x08, 0xa9, 0xe3, 0x7b, 0xdc, 0x7a, 0xd7, 0xa7, 0x61, - 0x6c, 0xbf, 0xfc, 0xc7, 0x9b, 0xf8, 0xc4, 0x2a, 0xef, 0xe2, 0x33, 0xb1, 0xbc, 0x48, 0x17, 0xe3, - 0x97, 0x42, 0xea, 0x32, 0x7a, 0xc7, 0x8d, 0xee, 0x93, 0xc7, 0x12, 0xc5, 0x34, 0x62, 0x55, 0xf2, - 0x5f, 0x63, 0xfb, 0x26, 0x7d, 0x75, 0x8f, 0x46, 0xcc, 0xb2, 0xcb, 0x5c, 0xa2, 0x7e, 0xd0, 0x8b, - 0xa8, 0x3d, 0xf1, 0x95, 0x7f, 0xbc, 0xff, 0xad, 0x21, 0x62, 0x9f, 0x04, 0xd5, 0xee, 0x3f, 0x01, - 0xf9, 0x88, 0xae, 0xa3, 0x05, 0xf2, 0x35, 0x84, 0x3f, 0xd2, 0xa4, 0x0c, 0x06, 0xbb, 0x98, 0xed, - 0xe9, 0xf6, 0x36, 0x57, 0x5b, 0x93, 0x32, 0x39, 0xd6, 0xe9, 0xa2, 0xb1, 0xec, 0x75, 0xe8, 0xfd, - 0x79, 0xf2, 0xac, 0xd2, 0xbb, 0x73, 0xe8, 0x7b, 0x0d, 0x21, 0xd8, 0x23, 0xf8, 0x27, 0x56, 0x79, - 0xfc, 0x77, 0xcf, 0xed, 0xd2, 0xf8, 0x2f, 0x91, 0xf5, 0x23, 0xf2, 0x5d, 0x84, 0x1f, 0xb9, 0xe9, - 0x47, 0xc0, 0xb2, 0xe1, 0x45, 0x64, 0x25, 0x3b, 0xd8, 0x2d, 0xb7, 0x4b, 0xbd, 0x75, 0xc8, 0xee, - 0x46, 0x92, 0x47, 0xde, 0x42, 0xe2, 0xcd, 0x1b, 0xb7, 0xb0, 0x17, 0x81, 0x79, 0x86, 0x4c, 0xa7, - 0x99, 0x5b, 0xbe, 0x17, 0x39, 0x87, 0x03, 0x66, 0x01, 0x4c, 0x7e, 0x83, 0xf0, 0x47, 0x25, 0x59, - 0x44, 0xa6, 0xb3, 0xa3, 0x6c, 0x0a, 0x81, 0xa6, 0x51, 0x26, 0x8a, 0x32, 0x05, 0x23, 0x6f, 0xc3, - 0xc8, 0x9f, 0x27, 0x2b, 0x75, 0xb3, 0xb5, 0x35, 0x47, 0x2e, 0x99, 0xb5, 0x21, 0x47, 0xf8, 0x54, - 0xac, 0x80, 0xcf, 0x89, 0xd5, 0x4c, 0x66, 0xb2, 0x3c, 0xd2, 0xa2, 0x8a, 0xe9, 0x52, 0x95, 0x9b, - 0x10, 0xd4, 0x24, 0x04, 0xf1, 0x31, 0x7b, 0x4c, 0x02, 0xc9, 0xb2, 0x01, 0xa2, 0xfa, 0x36, 0xc2, - 0x8f, 0x34, 0x29, 0x4b, 0x06, 0xaf, 0x16, 0xd6, 0x84, 0x6e, 0x5c, 0x7b, 0x03, 0x46, 0x7a, 0x89, - 0xac, 0xe6, 0x46, 0xaa, 0x2d, 0xb0, 0x37, 0x11, 0x1e, 0xe1, 0x53, 0x20, 0xfb, 0xfe, 0xc0, 0x45, - 0xe6, 0x00, 0xfb, 0x3c, 0x99, 0xcd, 0xb2, 0xeb, 0x84, 0xf6, 0x1e, 0xc2, 0x27, 0xd3, 0x84, 0x86, - 0x62, 0x9b, 0xd4, 0x65, 0x0f, 0x28, 0xee, 0x01, 0x85, 0x47, 0xae, 0x1c, 0x27, 0x83, 0x5b, 0x4b, - 0x64, 0xc1, 0xbc, 0x1d, 0xf9, 0x2a, 0xc2, 0xa3, 0xb1, 0x54, 0x6e, 0xc2, 0xee, 0xf0, 0x72, 0xc7, - 0xed, 0x91, 0xd9, 0x2c, 0xde, 0xc0, 0xa6, 0xaa, 0x6f, 0xae, 0xda, 0x51, 0xe8, 0xef, 0x02, 0xc4, - 0x74, 0xd6, 0x3e, 0x2d, 0xd9, 0x52, 0x9b, 0x11, 0x48, 0xf0, 0x07, 0x08, 0x9f, 0x6c, 0x52, 0x96, - 0xa2, 0xa8, 0x16, 0xa1, 0xa5, 0x1f, 0xde, 0xbe, 0x09, 0x03, 0xde, 0x20, 0x6b, 0x45, 0x03, 0xd6, - 0x56, 0xe2, 0x8f, 0x11, 0x7e, 0xb4, 0x49, 0xd9, 0x6a, 0x9b, 0xf9, 0xfb, 0xa5, 0x99, 0xca, 0x7a, - 0x98, 0xa0, 0xde, 0x00, 0xd4, 0x17, 0xc8, 0x73, 0x12, 0xd5, 0x85, 0x4e, 0x5a, 0x35, 0x89, 0xc9, - 0x03, 0x84, 0xcf, 0x70, 0x01, 0x65, 0x19, 0x22, 0xb2, 0x58, 0x85, 0x99, 0x16, 0xe7, 0x79, 0x3d, - 0x2a, 0xc8, 0xf3, 0x69, 0xc0, 0x5d, 0x21, 0x8d, 0x52, 0xdc, 0xfc, 0x5a, 0x79, 0x1b, 0xe1, 0x31, - 0xde, 0xc1, 0xa0, 0xbb, 0x0f, 0x7c, 0x3d, 0x5f, 0x06, 0xd4, 0xd4, 0x8a, 0x48, 0x31, 0xea, 0x96, - 0xf4, 0x5f, 0x45, 0xd1, 0x49, 0xe7, 0xcf, 0x68, 0x51, 0x57, 0xe5, 0xad, 0x0f, 0x30, 0xf7, 0xc8, - 0xd5, 0x63, 0x2a, 0x72, 0xcb, 0x21, 0xcb, 0xb5, 0x9a, 0x92, 0x77, 0x11, 0x1e, 0x7d, 0xa5, 0xef, - 0x19, 0x2f, 0xee, 0xd8, 0xd7, 0x60, 0x71, 0x4b, 0x47, 0xb1, 0xb8, 0x6f, 0x43, 0x64, 0x1b, 0xd6, - 0x43, 0x59, 0x6b, 0xbc, 0x18, 0x7c, 0x19, 0xe1, 0x91, 0xb8, 0x80, 0xac, 0xcb, 0x23, 0x20, 0xc9, - 0xed, 0x74, 0x89, 0x49, 0xad, 0x49, 0xb3, 0x95, 0x7e, 0x82, 0x7a, 0x0a, 0xa8, 0xc7, 0x6d, 0x22, - 0xa9, 0x93, 0xe3, 0x26, 0x14, 0xa4, 0x6f, 0x20, 0x3c, 0xb6, 0x49, 0xe3, 0x48, 0x06, 0x14, 0x73, - 0xda, 0xde, 0xa5, 0x6f, 0x6d, 0x8e, 0x4b, 0xc0, 0x71, 0xd1, 0x3e, 0x97, 0xe7, 0x70, 0x42, 0xd1, - 0x29, 0x07, 0xfa, 0x3a, 0xc2, 0xa3, 0x9b, 0xb4, 0x1d, 0xec, 0xd3, 0x70, 0xc0, 0x33, 0x5b, 0xc2, - 0x03, 0xae, 0xb5, 0x71, 0x66, 0x00, 0xe7, 0x82, 0x6d, 0x15, 0xe2, 0x40, 0x9f, 0x9c, 0xe6, 0x3b, - 0x08, 0x9f, 0x68, 0x52, 0x36, 0x20, 0x59, 0xd4, 0xed, 0x69, 0x89, 0x4b, 0xaa, 0x72, 0x9f, 0xd5, - 0xd2, 0xd8, 0xcf, 0xc2, 0xf8, 0x57, 0xc9, 0x53, 0x05, 0xe3, 0x1b, 0x14, 0xc1, 0xb7, 0x11, 0x1e, - 0x89, 0xe5, 0x69, 0x22, 0x1d, 0x55, 0xf1, 0xb3, 0x95, 0x7e, 0x22, 0x47, 0x2f, 0x00, 0xe3, 0x75, - 0xeb, 0x78, 0x8c, 0x3c, 0x7d, 0x7f, 0x40, 0x78, 0x34, 0x9d, 0xbe, 0x35, 0x97, 0xb9, 0xc4, 0x31, - 0x49, 0x21, 0xf7, 0x94, 0xc0, 0x2b, 0xe6, 0x0d, 0x04, 0xf9, 0x8b, 0x40, 0xfe, 0x0c, 0xb9, 0x2e, - 0xc9, 0x3d, 0x97, 0xb9, 0x35, 0x53, 0xfc, 0x3a, 0xc2, 0xa7, 0x78, 0x45, 0x4b, 0x06, 0x31, 0x2c, - 0x90, 0x53, 0xda, 0xf4, 0x42, 0x7d, 0x7c, 0x12, 0xd0, 0x96, 0xc9, 0x62, 0x8d, 0xa4, 0x92, 0x77, - 0x10, 0x26, 0x77, 0x68, 0xd8, 0xf5, 0x7b, 0xca, 0x8c, 0xcf, 0x6b, 0x87, 0x4a, 0x9c, 0x25, 0xd5, - 0x82, 0x89, 0xab, 0x3a, 0xef, 0x0b, 0xc7, 0x9f, 0xf7, 0xbf, 0xc7, 0xf3, 0x7e, 0x2b, 0xf0, 0x68, - 0xc9, 0x22, 0x56, 0xcc, 0xa9, 0x65, 0x33, 0x55, 0xea, 0x68, 0xef, 0x03, 0x5e, 0x9f, 0xf4, 0x24, - 0x9e, 0xfa, 0xa8, 0x1d, 0x33, 0x26, 0xff, 0xb6, 0xb2, 0xc0, 0x8a, 0x25, 0x4d, 0xaf, 0x18, 0x06, - 0x15, 0x1b, 0x7a, 0xf7, 0xbd, 0x23, 0xf2, 0x4f, 0x84, 0x09, 0x9f, 0x42, 0x85, 0x26, 0xca, 0xd7, - 0x4a, 0xc5, 0x9e, 0x56, 0xc6, 0x63, 0x95, 0x9e, 0xf6, 0x21, 0xc4, 0xb6, 0x47, 0x22, 0x6d, 0x6c, - 0xc9, 0x59, 0x5d, 0x13, 0x61, 0xb1, 0x3d, 0x89, 0xb3, 0xd8, 0x1c, 0x2b, 0xfe, 0xa7, 0x1f, 0xc2, - 0x67, 0xf3, 0x01, 0xde, 0x08, 0x42, 0x78, 0x0c, 0x77, 0x4a, 0xe9, 0x85, 0x57, 0xcd, 0x70, 0x7f, - 0x3b, 0x0c, 0xf1, 0xfe, 0x7a, 0x98, 0xfc, 0x62, 0x58, 0x46, 0xdc, 0xde, 0xf5, 0x3b, 0x5e, 0x48, - 0xb3, 0x97, 0x23, 0x91, 0x73, 0xa8, 0xfe, 0xd0, 0x92, 0x73, 0xa3, 0xfc, 0xa2, 0xc9, 0x4a, 0xed, - 0xa6, 0x49, 0xc2, 0x6a, 0xb7, 0x14, 0xca, 0x31, 0x69, 0x27, 0xa5, 0x55, 0xe4, 0x2d, 0x1e, 0xfc, - 0x4b, 0x63, 0x90, 0x3e, 0x25, 0xb0, 0xd2, 0x45, 0x4b, 0x25, 0x1d, 0xe4, 0xc1, 0xa4, 0xc8, 0x27, - 0xa4, 0x2c, 0x3c, 0x68, 0xb9, 0x8c, 0xd1, 0x6e, 0x9f, 0x1d, 0x91, 0x7f, 0x23, 0x7c, 0x3a, 0xbb, - 0xba, 0xa1, 0xb2, 0x2f, 0x56, 0xad, 0xf0, 0x74, 0x55, 0x5f, 0x32, 0x73, 0x16, 0x35, 0x29, 0xb7, - 0x30, 0xa0, 0xa2, 0xff, 0x8f, 0x56, 0xfe, 0x17, 0xf1, 0xc8, 0x26, 0xdd, 0xf1, 0x23, 0x46, 0xc3, - 0x97, 0xe3, 0x0e, 0xf3, 0x9b, 0xad, 0x30, 0x48, 0x3f, 0xed, 0x66, 0x9b, 0xf3, 0x13, 0x01, 0x9e, - 0x83, 0x00, 0xcf, 0xd8, 0xa3, 0x32, 0x40, 0x81, 0x0e, 0xa7, 0xb4, 0x57, 0xf1, 0xc9, 0x78, 0x6f, - 0x96, 0xc3, 0x8f, 0x6b, 0xba, 0xb5, 0x66, 0x34, 0x86, 0xcc, 0xd6, 0x7e, 0x11, 0x46, 0xb3, 0xac, - 0x33, 0xd9, 0xd1, 0x78, 0xe0, 0x50, 0xc2, 0xef, 0xe2, 0x13, 0x7c, 0x89, 0x8a, 0xe6, 0x11, 0xb1, - 0x35, 0x1d, 0x97, 0xde, 0x2e, 0xc9, 0xd6, 0xf2, 0xa6, 0x8f, 0xe4, 0xa2, 0x23, 0x6f, 0x20, 0xfc, - 0xa8, 0x7a, 0x29, 0xb4, 0xbe, 0x4f, 0x7b, 0x8c, 0x2c, 0x57, 0x6e, 0xfa, 0xe0, 0x27, 0x87, 0x6e, - 0x98, 0xba, 0x8b, 0x04, 0x4c, 0x03, 0xd0, 0x94, 0x3d, 0x91, 0xec, 0x71, 0xdc, 0x1c, 0xa9, 0x17, - 0x46, 0xaf, 0x27, 0x07, 0x74, 0xd0, 0x26, 0x70, 0xcd, 0x97, 0xca, 0x56, 0x61, 0x5a, 0x30, 0x71, - 0xd5, 0xdd, 0x1c, 0x08, 0x1e, 0xae, 0xc1, 0x0c, 0x0b, 0xaf, 0xb3, 0x1a, 0x16, 0x30, 0x99, 0xb1, - 0x14, 0xb9, 0x56, 0xb0, 0x24, 0xb7, 0xb3, 0x5f, 0x1a, 0x86, 0xed, 0x5d, 0xe9, 0x22, 0xbf, 0xbd, - 0x2b, 0xe6, 0xb2, 0xed, 0x5d, 0x71, 0xb4, 0x7f, 0x32, 0x04, 0xc3, 0x3f, 0x18, 0x22, 0x6f, 0x0c, - 0x29, 0xb7, 0xa0, 0x99, 0x75, 0x6e, 0x5c, 0xfb, 0x6b, 0x14, 0x7b, 0xe3, 0xea, 0x5e, 0x51, 0xce, - 0x0b, 0xeb, 0x77, 0x51, 0xc1, 0xce, 0x57, 0xe8, 0xc2, 0x92, 0x9c, 0xaf, 0xc1, 0xdf, 0x1b, 0x8a, - 0x0f, 0x23, 0x4a, 0xee, 0x0a, 0x0e, 0x23, 0x8a, 0xbd, 0x74, 0x77, 0xce, 0x79, 0xda, 0xbf, 0x43, - 0x30, 0x13, 0xef, 0x20, 0xf2, 0x4b, 0xa4, 0x9d, 0x09, 0xe3, 0x69, 0x30, 0x9d, 0x03, 0xb3, 0x09, - 0xd0, 0x67, 0x9f, 0x3c, 0x18, 0x86, 0xed, 0x49, 0x89, 0xa7, 0x78, 0x7b, 0xca, 0x2a, 0xb4, 0x74, - 0x7b, 0x2a, 0x76, 0x16, 0x4b, 0xe6, 0xe7, 0xb1, 0x68, 0xdf, 0x1a, 0x22, 0x3f, 0x1c, 0x52, 0x76, - 0xa8, 0xff, 0x2b, 0x37, 0xab, 0xdc, 0x7f, 0x21, 0x3c, 0xa5, 0x6c, 0x66, 0x6b, 0xd0, 0xe5, 0x6a, - 0xf2, 0x5e, 0x8f, 0x5c, 0xd1, 0x6c, 0x23, 0x59, 0x47, 0xf5, 0xb1, 0xf6, 0xa9, 0x9a, 0xad, 0xc4, - 0xcc, 0xbd, 0x02, 0x13, 0x77, 0xdb, 0xfa, 0x44, 0x66, 0x67, 0xca, 0xbf, 0xfc, 0x74, 0x0e, 0xd5, - 0x77, 0x8f, 0x22, 0x39, 0xa9, 0x1f, 0x45, 0x72, 0x78, 0x89, 0xfc, 0x13, 0xc2, 0x56, 0x93, 0x32, - 0x5d, 0x88, 0x4f, 0x18, 0xc2, 0xa6, 0xca, 0xe6, 0xe5, 0x3a, 0x4d, 0x44, 0x70, 0xcf, 0x40, 0x70, - 0x4f, 0x0f, 0xee, 0xd8, 0x4b, 0x82, 0xcb, 0xdf, 0x11, 0xfe, 0x0d, 0xe1, 0xa9, 0x35, 0xda, 0xa1, - 0xff, 0xfd, 0x4c, 0xc5, 0xbd, 0xd4, 0x9d, 0x29, 0xd9, 0x4a, 0x04, 0xf3, 0x3c, 0x04, 0x73, 0x6d, - 0xe1, 0x58, 0xc1, 0xf0, 0x39, 0x79, 0x17, 0xe1, 0x71, 0x45, 0x79, 0xa9, 0x48, 0x1a, 0x1a, 0x26, - 0x9d, 0xda, 0x1c, 0x63, 0x7f, 0x41, 0x7f, 0x1d, 0xe8, 0xaf, 0x58, 0x4e, 0x96, 0xbe, 0x42, 0x60, - 0x1c, 0xfc, 0xcd, 0xf8, 0xc0, 0x9d, 0xa7, 0x5e, 0xac, 0xa4, 0x48, 0x09, 0x68, 0xc9, 0xcc, 0x59, - 0xf0, 0x2e, 0x01, 0xef, 0x25, 0xf2, 0x78, 0x19, 0xaf, 0x84, 0x24, 0xbf, 0x42, 0x78, 0x5c, 0x91, - 0x4a, 0xad, 0xd4, 0xaa, 0xf2, 0x70, 0x8c, 0xfd, 0x05, 0xaa, 0x78, 0x9f, 0xb5, 0x60, 0x84, 0xca, - 0xf3, 0xf9, 0x3e, 0xc2, 0x13, 0xf1, 0xf4, 0xc8, 0x53, 0x62, 0x0a, 0x57, 0x7b, 0x3d, 0xa5, 0x93, - 0xc2, 0x8a, 0x79, 0x03, 0x01, 0x4c, 0x01, 0xb8, 0x65, 0x6d, 0xe5, 0x5e, 0xc0, 0x1d, 0xa3, 0xda, - 0x28, 0xbf, 0xc9, 0x8e, 0x20, 0xcc, 0xdf, 0x23, 0x7c, 0x26, 0xf5, 0xbe, 0x33, 0x15, 0xe3, 0x52, - 0x35, 0x72, 0x4a, 0x38, 0xcb, 0x86, 0xde, 0x22, 0xba, 0x55, 0x88, 0xee, 0xe3, 0xe4, 0x5a, 0x69, - 0x74, 0xb9, 0x15, 0x3a, 0xb8, 0x9b, 0x38, 0x22, 0x7f, 0x46, 0x78, 0x22, 0x9e, 0xe4, 0xe3, 0x4d, - 0x90, 0x2a, 0xa8, 0x15, 0xf3, 0x06, 0x22, 0x84, 0x35, 0x08, 0xe1, 0xb9, 0x85, 0xe3, 0x87, 0xc0, - 0xf3, 0xff, 0x23, 0x84, 0xc7, 0xf9, 0x41, 0xea, 0x53, 0xf2, 0x9b, 0x91, 0xb2, 0x45, 0xa1, 0x71, - 0xd4, 0x2e, 0x0a, 0xad, 0xbf, 0x08, 0xe1, 0x71, 0x08, 0xe1, 0x3c, 0x99, 0x94, 0x21, 0x0c, 0xbe, - 0x5c, 0x19, 0xc4, 0xc0, 0x2b, 0x0b, 0xbc, 0xad, 0x1a, 0xbc, 0x5c, 0xf2, 0x69, 0x94, 0x7f, 0xb8, - 0x4d, 0xbd, 0x7b, 0x4a, 0x9f, 0x21, 0x2f, 0x54, 0xf8, 0xe5, 0xa5, 0xc0, 0x8f, 0x0a, 0x5e, 0xfc, - 0x29, 0x8a, 0xcf, 0x53, 0x28, 0x3f, 0xa2, 0x69, 0xb1, 0x83, 0x3e, 0x3f, 0x43, 0xe4, 0x37, 0xa1, - 0x9f, 0x21, 0x7c, 0xaa, 0x49, 0x53, 0x80, 0x07, 0xf9, 0x8f, 0x06, 0x52, 0xc6, 0x94, 0x6c, 0xcf, - 0x95, 0xb8, 0xd9, 0x9f, 0x06, 0xb2, 0x4f, 0x92, 0x0d, 0x53, 0xb2, 0xea, 0x0b, 0xe3, 0xf7, 0x10, - 0x1e, 0x8b, 0x17, 0x7a, 0x1a, 0x76, 0xae, 0x84, 0x42, 0xad, 0x23, 0xf3, 0x06, 0x9e, 0x62, 0x72, - 0xef, 0x00, 0xfd, 0x2d, 0xeb, 0xe1, 0xd1, 0x73, 0xbd, 0x76, 0x30, 0x6e, 0x52, 0xf6, 0xd9, 0xf8, - 0xec, 0x96, 0xff, 0xc6, 0x67, 0x60, 0xd3, 0x7e, 0xe3, 0x93, 0x76, 0x11, 0xa8, 0xe3, 0x80, 0x3a, - 0x46, 0x46, 0x24, 0xaa, 0x38, 0x1b, 0x92, 0xbf, 0xc4, 0x9b, 0xda, 0xda, 0xe0, 0x13, 0x25, 0x91, - 0xb1, 0xea, 0x37, 0xe2, 0x39, 0xb4, 0x5c, 0x27, 0xf6, 0x0e, 0x0c, 0xeb, 0x92, 0x56, 0x72, 0x1a, - 0xcf, 0x7e, 0x0a, 0x05, 0x79, 0x82, 0xe3, 0x69, 0xcd, 0x54, 0xa9, 0xef, 0xcc, 0xbf, 0x39, 0x14, - 0x2f, 0xf2, 0x2c, 0x82, 0x5f, 0x54, 0x66, 0x73, 0x9c, 0xe9, 0xd5, 0x34, 0x63, 0xe4, 0x6d, 0xbf, - 0x15, 0x3f, 0x95, 0x7d, 0x1f, 0x91, 0xdb, 0xe5, 0xb1, 0xd5, 0x0e, 0x6c, 0xab, 0x49, 0xd6, 0x1f, - 0x4a, 0x97, 0x2f, 0x5e, 0xdb, 0xba, 0xba, 0xe3, 0xb3, 0xdd, 0xbd, 0xed, 0x46, 0x3b, 0xe8, 0x3a, - 0x10, 0x56, 0x10, 0xee, 0x38, 0xc9, 0x47, 0x67, 0x3b, 0xb4, 0xe7, 0xf4, 0xb7, 0x97, 0x77, 0x02, - 0x27, 0xfb, 0x95, 0xe3, 0xf6, 0x87, 0xe1, 0x03, 0xb4, 0x27, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, - 0x20, 0x80, 0x65, 0x97, 0x00, 0x29, 0x00, 0x00, + 0x8e, 0x7f, 0xdf, 0x75, 0x93, 0xb4, 0x51, 0x42, 0x7f, 0xb9, 0xb5, 0x73, 0x65, 0x48, 0x93, 0x62, + 0x52, 0x90, 0x2c, 0xa4, 0xab, 0xf5, 0xdd, 0x89, 0xb3, 0xc9, 0xbd, 0x77, 0x6f, 0x77, 0xc7, 0x2e, + 0x96, 0x65, 0xf1, 0x43, 0x08, 0x51, 0x21, 0xf1, 0xc0, 0x0f, 0x41, 0x21, 0xa2, 0x14, 0x8a, 0xf8, + 0x59, 0x5e, 0x40, 0x45, 0xbc, 0x54, 0x42, 0x80, 0xc4, 0x0b, 0x2f, 0xf0, 0xce, 0x0b, 0x7d, 0xe6, + 0x6f, 0x40, 0x7b, 0x66, 0x66, 0xef, 0xce, 0xee, 0xce, 0xee, 0xac, 0x49, 0x79, 0xe2, 0xcd, 0xbe, + 0xe7, 0x3b, 0x33, 0x9f, 0x73, 0xe6, 0xcc, 0x99, 0xd9, 0xdd, 0xc1, 0x93, 0x77, 0x3a, 0xfb, 0x8c, + 0xfa, 0x5e, 0xc7, 0x89, 0x68, 0xb8, 0xe7, 0xb7, 0xa9, 0xe3, 0x7a, 0x5d, 0xbf, 0xd7, 0xe8, 0x87, + 0x01, 0x0b, 0xc8, 0xa8, 0xb4, 0x36, 0x84, 0xd5, 0x9a, 0xdc, 0x09, 0x82, 0x9d, 0x0e, 0x75, 0xdc, + 0xbe, 0xef, 0xb8, 0xbd, 0x5e, 0xc0, 0x5c, 0xe6, 0x07, 0xbd, 0x88, 0xeb, 0xad, 0x41, 0x6f, 0xd0, + 0x8b, 0xd3, 0x0f, 0x83, 0x7b, 0xb4, 0xcd, 0x84, 0xb5, 0x51, 0x6c, 0x6d, 0x79, 0x41, 0xd7, 0xf5, + 0x7b, 0x2d, 0x97, 0xb1, 0xd0, 0xdf, 0xde, 0x65, 0x54, 0xf6, 0x36, 0xab, 0xd1, 0xe7, 0x84, 0xa7, + 0x33, 0x42, 0xe6, 0x46, 0xf7, 0x85, 0x69, 0x2a, 0x63, 0x7a, 0x2d, 0x08, 0xef, 0xdf, 0xe9, 0x04, + 0xaf, 0x09, 0xf3, 0x9c, 0xc6, 0x9c, 0x1f, 0xe3, 0x7c, 0x46, 0xd9, 0x71, 0x77, 0x7b, 0xed, 0xbb, + 0xad, 0x7e, 0xc7, 0x15, 0xc1, 0xb2, 0xac, 0x8c, 0x82, 0xee, 0xd1, 0x9e, 0x74, 0xfd, 0x6c, 0xd6, + 0xf6, 0x79, 0xda, 0xde, 0x8d, 0x23, 0xa7, 0x71, 0xb5, 0xeb, 0xb2, 0xf6, 0x5d, 0x77, 0xbb, 0x43, + 0x5b, 0x21, 0x8d, 0x82, 0xdd, 0xb0, 0x4d, 0x85, 0x70, 0x3a, 0x23, 0xec, 0x05, 0x1e, 0x6d, 0x65, + 0x7b, 0x9b, 0x2e, 0x88, 0x47, 0x4e, 0x94, 0x9d, 0xab, 0x3d, 0x1a, 0x46, 0x03, 0xeb, 0x99, 0x8c, + 0xb5, 0x1d, 0x74, 0xbb, 0x5a, 0x5a, 0x8f, 0x46, 0xed, 0xd0, 0xef, 0xc7, 0x9d, 0xb7, 0x68, 0x8f, + 0xf9, 0x6c, 0x9f, 0x0b, 0x2f, 0x7e, 0xe5, 0x26, 0x3e, 0xb6, 0x1a, 0x4b, 0x3e, 0xcd, 0xd3, 0x87, + 0x74, 0x31, 0x7e, 0x31, 0xa4, 0x2e, 0xa3, 0xb7, 0xdd, 0xe8, 0x3e, 0x79, 0x2c, 0xc9, 0x88, 0x06, + 0xcf, 0xba, 0xf8, 0x57, 0x6e, 0xdf, 0xa4, 0xaf, 0xee, 0xd2, 0x88, 0x59, 0x76, 0x99, 0x24, 0xea, + 0x07, 0xbd, 0x88, 0xda, 0x13, 0x5f, 0xfe, 0xc7, 0xfb, 0xdf, 0x1a, 0x22, 0xf6, 0x71, 0xc8, 0xca, + 0xbd, 0x27, 0xc0, 0xdf, 0xe8, 0x1a, 0x5a, 0x20, 0x5f, 0x43, 0xf8, 0x23, 0x4d, 0xca, 0x60, 0xb0, + 0xf3, 0xd9, 0x9e, 0x6e, 0x6d, 0xc7, 0xd9, 0xd4, 0xa4, 0x4c, 0x8e, 0x75, 0xb2, 0x68, 0x2c, 0x7b, + 0x1d, 0x7a, 0x7f, 0x8e, 0x3c, 0xa3, 0xf4, 0xee, 0x1c, 0xf8, 0x5e, 0x43, 0x24, 0xe4, 0x21, 0xfc, + 0xc3, 0xb3, 0x98, 0xff, 0xdd, 0x73, 0xbb, 0x94, 0xff, 0x25, 0xa2, 0x7a, 0x48, 0xbe, 0x8b, 0xf0, + 0x23, 0x37, 0xfc, 0x08, 0x58, 0x36, 0xbc, 0x88, 0xac, 0x64, 0x07, 0xbb, 0xe9, 0x76, 0xa9, 0xb7, + 0x0e, 0xd1, 0xdb, 0xf0, 0xe2, 0x28, 0xde, 0xf1, 0x69, 0x18, 0xb7, 0x90, 0x78, 0xf3, 0xc6, 0x2d, + 0xec, 0x45, 0x60, 0x9e, 0x21, 0xd3, 0x69, 0xe6, 0x96, 0xef, 0x45, 0xce, 0xc1, 0x80, 0x59, 0x00, + 0x93, 0xdf, 0x20, 0xfc, 0x51, 0x49, 0x16, 0x91, 0xe9, 0xec, 0x28, 0x9b, 0x22, 0x01, 0xd3, 0x28, + 0x13, 0x45, 0x91, 0x82, 0x91, 0xb7, 0x61, 0xe4, 0xcf, 0x91, 0x95, 0xba, 0xd1, 0xda, 0x9a, 0x23, + 0x17, 0xcc, 0xda, 0x90, 0x43, 0x7c, 0x82, 0x67, 0xc0, 0x67, 0xc5, 0x6a, 0x25, 0x33, 0x59, 0x1e, + 0x69, 0x51, 0x93, 0xe9, 0x42, 0x95, 0x4c, 0x24, 0xd4, 0x24, 0x38, 0xf1, 0x31, 0x7b, 0x4c, 0x02, + 0xc9, 0xb2, 0x00, 0x49, 0xf5, 0x6d, 0x84, 0x1f, 0x69, 0x52, 0x96, 0x0c, 0x5e, 0x9d, 0x58, 0x13, + 0xba, 0x71, 0xed, 0x0d, 0x18, 0xe9, 0x45, 0xb2, 0x9a, 0x1b, 0xa9, 0x76, 0x82, 0xbd, 0x89, 0xf0, + 0x48, 0x3c, 0x05, 0xb2, 0xef, 0x0f, 0x3c, 0xc9, 0x1c, 0x60, 0x9f, 0x27, 0xb3, 0x59, 0x76, 0x5d, + 0xa2, 0xbd, 0x87, 0xf0, 0xf1, 0x34, 0xa1, 0x61, 0xb2, 0x4d, 0xea, 0xa2, 0x07, 0x14, 0xf7, 0x80, + 0xc2, 0x23, 0x97, 0x8f, 0x12, 0xc1, 0xad, 0x25, 0xb2, 0x60, 0xde, 0x8e, 0x7c, 0x15, 0xe1, 0x51, + 0x9e, 0x2a, 0x37, 0xa0, 0xfa, 0xbf, 0xdc, 0x71, 0x7b, 0x64, 0x36, 0x8b, 0x37, 0xb0, 0xa9, 0xd9, + 0x37, 0x57, 0x2d, 0x14, 0xf9, 0x77, 0x0e, 0x7c, 0x3a, 0x6d, 0x9f, 0x94, 0x6c, 0xa9, 0xcd, 0x06, + 0x52, 0xf0, 0x07, 0x08, 0x1f, 0x6f, 0x52, 0x96, 0xa2, 0xa8, 0x4e, 0x42, 0x4b, 0x3f, 0xbc, 0x7d, + 0x03, 0x06, 0xbc, 0x4e, 0xd6, 0x8a, 0x06, 0xac, 0x9d, 0x89, 0x3f, 0x46, 0xf8, 0xd1, 0x26, 0x65, + 0xab, 0x6d, 0xe6, 0xef, 0x95, 0x46, 0x2a, 0xab, 0x30, 0x41, 0xbd, 0x0e, 0xa8, 0xcf, 0x93, 0x67, + 0x25, 0xaa, 0x0b, 0x9d, 0xb4, 0x6a, 0x12, 0x93, 0x07, 0x08, 0x9f, 0x8a, 0x13, 0x28, 0xcb, 0x10, + 0x91, 0xc5, 0x2a, 0xcc, 0x74, 0x72, 0x9e, 0xd5, 0xa3, 0x42, 0x7a, 0x3e, 0x05, 0xb8, 0x2b, 0xa4, + 0x51, 0x8a, 0x9b, 0x5f, 0x2b, 0x6f, 0x23, 0x3c, 0x16, 0x77, 0x30, 0xe8, 0xee, 0x03, 0x5f, 0xcf, + 0x17, 0x01, 0x35, 0xb5, 0x22, 0x52, 0x8c, 0xba, 0x25, 0xfd, 0x57, 0x51, 0x74, 0xd2, 0xf1, 0x33, + 0x5a, 0xd4, 0x55, 0x71, 0xeb, 0x03, 0xcc, 0x3d, 0x72, 0xe5, 0x88, 0x19, 0xb9, 0xe5, 0x90, 0xe5, + 0x5a, 0x4d, 0xc9, 0xbb, 0x08, 0x8f, 0xbe, 0xd2, 0xf7, 0x8c, 0x17, 0x37, 0xd7, 0x1a, 0x2c, 0x6e, + 0x29, 0x14, 0x8b, 0xfb, 0x16, 0x78, 0xb6, 0x61, 0x3d, 0x94, 0xb5, 0x16, 0x17, 0x83, 0x2f, 0x21, + 0x3c, 0xc2, 0x0b, 0xc8, 0xba, 0x3c, 0xe2, 0x91, 0xdc, 0x4e, 0x97, 0x98, 0xd4, 0x9a, 0x34, 0x5b, + 0xa9, 0x13, 0xd4, 0x53, 0x40, 0x3d, 0x6e, 0x13, 0x49, 0x9d, 0x1c, 0x27, 0xa1, 0x20, 0x7d, 0x03, + 0xe1, 0xb1, 0x4d, 0xca, 0x3d, 0x19, 0x50, 0xcc, 0x69, 0x7b, 0x97, 0xda, 0xda, 0x1c, 0x17, 0x80, + 0xe3, 0xbc, 0x7d, 0x26, 0xcf, 0xe1, 0x84, 0xa2, 0xd3, 0x18, 0xe8, 0xeb, 0x08, 0x8f, 0x6e, 0xd2, + 0x76, 0xb0, 0x47, 0xc3, 0x01, 0xcf, 0x6c, 0x09, 0x0f, 0x48, 0x6b, 0xe3, 0xcc, 0x00, 0xce, 0x39, + 0xdb, 0x2a, 0xc4, 0x81, 0x3e, 0x63, 0x9a, 0xef, 0x20, 0x7c, 0xac, 0x49, 0xd9, 0x80, 0x64, 0x51, + 0xb7, 0xa7, 0x25, 0x92, 0x54, 0xe5, 0x3e, 0xad, 0xa5, 0xb1, 0x9f, 0x81, 0xf1, 0xaf, 0x90, 0x27, + 0x0b, 0xc6, 0x37, 0x28, 0x82, 0x6f, 0x23, 0x3c, 0xc2, 0xd3, 0xd3, 0x24, 0x75, 0xd4, 0x8c, 0x9f, + 0xad, 0xd4, 0x89, 0x18, 0x3d, 0x0f, 0x8c, 0xd7, 0xac, 0xa3, 0x31, 0xc6, 0xe1, 0xfb, 0x03, 0xc2, + 0xa3, 0xe9, 0xf0, 0xad, 0xb9, 0xcc, 0x25, 0x8e, 0x49, 0x08, 0x63, 0xa5, 0x04, 0x5e, 0x31, 0x6f, + 0x20, 0xc8, 0x5f, 0x00, 0xf2, 0xa7, 0xc9, 0x35, 0x49, 0xee, 0xb9, 0xcc, 0xad, 0x19, 0xe2, 0xd7, + 0x11, 0x3e, 0x11, 0x57, 0xb4, 0x64, 0x10, 0xc3, 0x02, 0x39, 0xa5, 0x0d, 0x2f, 0xd4, 0xc7, 0x4b, + 0x80, 0xb6, 0x4c, 0x16, 0x6b, 0x04, 0x95, 0xbc, 0x83, 0x30, 0xb9, 0x4d, 0xc3, 0xae, 0xdf, 0x53, + 0x66, 0x7c, 0x5e, 0x3b, 0x54, 0x22, 0x96, 0x54, 0x0b, 0x26, 0x52, 0x75, 0xde, 0x17, 0x8e, 0x3e, + 0xef, 0x7f, 0xe7, 0xf3, 0x7e, 0x33, 0xf0, 0x68, 0xc9, 0x22, 0x56, 0xcc, 0xa9, 0x65, 0x33, 0x55, + 0x2a, 0xb4, 0xf7, 0x00, 0xaf, 0x4f, 0x7a, 0x12, 0x4f, 0x7d, 0x94, 0xe6, 0x8c, 0xc9, 0xbf, 0xad, + 0x2c, 0xb0, 0x62, 0x49, 0xd3, 0x2b, 0x86, 0x41, 0xc5, 0x86, 0xde, 0x7d, 0xef, 0x90, 0xfc, 0x13, + 0x61, 0x12, 0x4f, 0xa1, 0x42, 0x13, 0xe5, 0x6b, 0xa5, 0x62, 0x4f, 0x67, 0xc6, 0x63, 0x95, 0x4a, + 0xfb, 0x00, 0x7c, 0xdb, 0x25, 0x91, 0xd6, 0xb7, 0xe4, 0xac, 0xae, 0xf1, 0xb0, 0xd8, 0x9e, 0xf8, + 0x59, 0x6c, 0xe6, 0x19, 0xff, 0xd3, 0x0f, 0xe1, 0xd3, 0x79, 0x07, 0xaf, 0x07, 0x21, 0x3c, 0x86, + 0x3b, 0xa5, 0xf4, 0x42, 0x55, 0xd3, 0xdd, 0xdf, 0x0e, 0x83, 0xbf, 0xbf, 0x1e, 0x26, 0xbf, 0x18, + 0x96, 0x1e, 0xb7, 0xef, 0xfa, 0x1d, 0x2f, 0xa4, 0xd9, 0x97, 0x1f, 0x91, 0x73, 0xa0, 0xfe, 0xd0, + 0x92, 0x73, 0xa3, 0xfc, 0xa2, 0x89, 0x4a, 0xed, 0xa6, 0x49, 0xc0, 0x6a, 0xb7, 0x14, 0x99, 0x63, + 0xd2, 0x4e, 0xa6, 0x56, 0x91, 0x5a, 0x3c, 0xf8, 0x97, 0xfa, 0x20, 0x35, 0x25, 0xb0, 0x52, 0xa2, + 0xa5, 0x92, 0x02, 0x79, 0x30, 0x29, 0xd2, 0x84, 0x94, 0x85, 0xfb, 0x2d, 0x97, 0x31, 0xda, 0xed, + 0xb3, 0x43, 0xf2, 0x6f, 0x84, 0x4f, 0x66, 0x57, 0x37, 0x54, 0xf6, 0xc5, 0xaa, 0x15, 0x9e, 0xae, + 0xea, 0x4b, 0x66, 0x62, 0x51, 0x93, 0x72, 0x0b, 0x03, 0x2a, 0xfa, 0xff, 0x68, 0xe5, 0x7f, 0x01, + 0x8f, 0x6c, 0xd2, 0x1d, 0x3f, 0x62, 0x34, 0x7c, 0x99, 0x77, 0x98, 0xdf, 0x6c, 0x85, 0x41, 0xea, + 0xb4, 0x9b, 0x6d, 0x4e, 0x27, 0x1c, 0x3c, 0x03, 0x0e, 0x9e, 0xb2, 0x47, 0xa5, 0x83, 0x02, 0x1d, + 0x4e, 0x69, 0xaf, 0xe2, 0xe3, 0x7c, 0x6f, 0x96, 0xc3, 0x8f, 0x6b, 0xba, 0xb5, 0x66, 0x34, 0x86, + 0xcc, 0xd6, 0x7e, 0x1e, 0x46, 0xb3, 0xac, 0x53, 0xd9, 0xd1, 0x62, 0xc7, 0xa1, 0x84, 0xdf, 0xc1, + 0xc7, 0xe2, 0x25, 0x2a, 0x9a, 0x47, 0xc4, 0xd6, 0x74, 0x5c, 0xfa, 0x76, 0x49, 0xb6, 0x96, 0x6f, + 0xfa, 0x48, 0xce, 0x3b, 0xf2, 0x06, 0xc2, 0x8f, 0xaa, 0x2f, 0x85, 0xd6, 0xf7, 0x68, 0x8f, 0x91, + 0xe5, 0xca, 0x4d, 0x1f, 0x74, 0x72, 0xe8, 0x86, 0xa9, 0x5c, 0x04, 0x60, 0x1a, 0x80, 0xa6, 0xec, + 0x89, 0x64, 0x8f, 0x8b, 0xcd, 0x91, 0xfa, 0xc2, 0xe8, 0xf5, 0xe4, 0x80, 0x0e, 0xb9, 0x09, 0x5c, + 0xf3, 0xa5, 0x69, 0xab, 0x30, 0x2d, 0x98, 0x48, 0x75, 0x6f, 0x0e, 0x04, 0x4f, 0x9c, 0x83, 0x19, + 0x96, 0xb8, 0xce, 0x6a, 0x58, 0xc0, 0x64, 0xc6, 0x52, 0x24, 0xad, 0x60, 0x49, 0xde, 0xce, 0x7e, + 0x71, 0x18, 0xb6, 0x77, 0xa5, 0x8b, 0xfc, 0xf6, 0xae, 0x98, 0xcb, 0xb6, 0x77, 0x45, 0x68, 0xff, + 0x64, 0x08, 0x86, 0x7f, 0x30, 0x44, 0xde, 0x18, 0x52, 0xde, 0x82, 0x66, 0xd6, 0xb9, 0x71, 0xed, + 0xaf, 0x51, 0xec, 0x8d, 0xab, 0x7b, 0x45, 0x39, 0x2f, 0xac, 0xdf, 0x45, 0x05, 0x3b, 0x5f, 0xa1, + 0x0b, 0x4b, 0x72, 0xbe, 0x06, 0x7f, 0x6f, 0x88, 0x1f, 0x46, 0x94, 0xd8, 0x15, 0x1c, 0x46, 0x14, + 0x7b, 0xe9, 0xee, 0x9c, 0x53, 0xda, 0xbf, 0x43, 0x30, 0x13, 0xef, 0x20, 0xf2, 0x4b, 0xa4, 0x9d, + 0x09, 0xe3, 0x69, 0x30, 0x9d, 0x03, 0xb3, 0x09, 0xd0, 0x47, 0x9f, 0x3c, 0x18, 0x86, 0xed, 0x49, + 0xf1, 0xa7, 0x78, 0x7b, 0xca, 0x66, 0x68, 0xe9, 0xf6, 0x54, 0x2c, 0x16, 0x4b, 0xe6, 0xe7, 0x3c, + 0x69, 0xdf, 0x1a, 0x22, 0x3f, 0x1c, 0x52, 0x76, 0xa8, 0xff, 0x67, 0x6e, 0x36, 0x73, 0xff, 0x85, + 0xf0, 0x94, 0xb2, 0x99, 0xad, 0x41, 0x97, 0xab, 0xc9, 0x77, 0x3b, 0x72, 0x59, 0xb3, 0x8d, 0x64, + 0x85, 0xea, 0x63, 0xed, 0x93, 0x35, 0x5b, 0x89, 0x99, 0x7b, 0x05, 0x26, 0xee, 0x96, 0xf5, 0x89, + 0xcc, 0xce, 0x94, 0xff, 0xb8, 0xe9, 0x1c, 0xa8, 0xdf, 0x16, 0x45, 0x70, 0x52, 0x3f, 0x8a, 0xe0, + 0xc4, 0x25, 0xf2, 0x8f, 0x08, 0x5b, 0x4d, 0xca, 0x74, 0x2e, 0x3e, 0x61, 0x08, 0x9b, 0x2a, 0x9b, + 0x17, 0xeb, 0x34, 0x11, 0xce, 0x3d, 0x0d, 0xce, 0x3d, 0x35, 0x78, 0xc7, 0x5e, 0xe2, 0x5c, 0xfe, + 0x1d, 0xe1, 0xdf, 0x10, 0x9e, 0x5a, 0xa3, 0x1d, 0xfa, 0xdf, 0xcf, 0x14, 0xef, 0xa5, 0xee, 0x4c, + 0xc9, 0x56, 0xc2, 0x99, 0xe7, 0xc0, 0x99, 0xab, 0x0b, 0x47, 0x72, 0x26, 0x9e, 0x93, 0x77, 0x11, + 0x1e, 0x57, 0x32, 0x2f, 0xe5, 0x49, 0x43, 0xc3, 0xa4, 0xcb, 0x36, 0xc7, 0x58, 0x2f, 0xe8, 0xaf, + 0x01, 0xfd, 0x65, 0xcb, 0xc9, 0xd2, 0x57, 0x24, 0x58, 0x0c, 0xfe, 0x26, 0x3f, 0x70, 0xe7, 0xa9, + 0x17, 0x2b, 0x29, 0x52, 0x09, 0xb4, 0x64, 0x26, 0x16, 0xbc, 0x4b, 0xc0, 0x7b, 0x81, 0x3c, 0x5e, + 0xc6, 0x2b, 0x21, 0xc9, 0xaf, 0x10, 0x1e, 0x57, 0x52, 0xa5, 0x56, 0x68, 0xd5, 0xf4, 0x70, 0x8c, + 0xf5, 0x02, 0x55, 0x7c, 0xcf, 0x5a, 0x30, 0x42, 0x8d, 0xe3, 0xf9, 0x3e, 0xc2, 0x13, 0x7c, 0x7a, + 0xe4, 0x29, 0x31, 0x85, 0xab, 0x7d, 0x3d, 0xa5, 0x4b, 0x85, 0x15, 0xf3, 0x06, 0x02, 0x98, 0x02, + 0x70, 0xcb, 0xda, 0xca, 0x7d, 0x80, 0x3b, 0x42, 0xb5, 0x51, 0x7e, 0x93, 0x1d, 0x81, 0x9b, 0xbf, + 0x47, 0xf8, 0x54, 0xea, 0x7b, 0x67, 0xca, 0xc7, 0xa5, 0x6a, 0xe4, 0x54, 0xe2, 0x2c, 0x1b, 0xaa, + 0x85, 0x77, 0xab, 0xe0, 0xdd, 0xc7, 0xc9, 0xd5, 0x52, 0xef, 0x72, 0x2b, 0x74, 0xf0, 0x6e, 0xe2, + 0x90, 0xfc, 0x09, 0xe1, 0x09, 0x3e, 0xc9, 0x47, 0x9b, 0x20, 0x35, 0xa1, 0x56, 0xcc, 0x1b, 0x08, + 0x17, 0xd6, 0xc0, 0x85, 0x67, 0x17, 0x8e, 0xee, 0x42, 0x1c, 0xff, 0x1f, 0x21, 0x3c, 0x1e, 0x1f, + 0xa4, 0x5e, 0x92, 0x77, 0x42, 0xca, 0x16, 0x85, 0x46, 0xa8, 0x5d, 0x14, 0x5a, 0xbd, 0x70, 0xe1, + 0x71, 0x70, 0xe1, 0x2c, 0x99, 0x94, 0x2e, 0x0c, 0x6e, 0xa6, 0x0c, 0x7c, 0x88, 0x2b, 0x0b, 0x7c, + 0xad, 0x1a, 0x7c, 0x5c, 0xf2, 0x69, 0x94, 0x7f, 0xb8, 0x4d, 0x7d, 0x7b, 0x4a, 0x9f, 0x21, 0xcf, + 0x55, 0xe8, 0xf2, 0xa9, 0x10, 0x1f, 0x15, 0x3c, 0x7e, 0xd5, 0xc4, 0x8f, 0x43, 0x28, 0x2f, 0xc9, + 0xb4, 0xd8, 0x7e, 0x3f, 0x3e, 0x43, 0xe4, 0x37, 0xa1, 0x9f, 0x21, 0x7c, 0xa2, 0x49, 0x53, 0x80, + 0xfb, 0xf9, 0x4b, 0x03, 0x29, 0x63, 0x2a, 0x6d, 0xcf, 0x94, 0xc8, 0xec, 0x4f, 0x01, 0xd9, 0x27, + 0xc9, 0x86, 0x29, 0x59, 0xf5, 0x0b, 0xe3, 0xf7, 0x10, 0x1e, 0xe3, 0x0b, 0x3d, 0x0d, 0x3b, 0x57, + 0x42, 0xa1, 0xd6, 0x91, 0x79, 0x03, 0xa5, 0x98, 0xdc, 0xdb, 0x40, 0x7f, 0xd3, 0x7a, 0x78, 0xf4, + 0x71, 0xbe, 0x76, 0x30, 0x6e, 0x52, 0xf6, 0x19, 0x7e, 0x76, 0xcb, 0xdf, 0xf1, 0x19, 0xd8, 0xb4, + 0x77, 0x7c, 0xd2, 0x12, 0x81, 0x3a, 0x0e, 0xa8, 0x63, 0x64, 0x44, 0xa2, 0x8a, 0xb3, 0x21, 0xf9, + 0x33, 0xdf, 0xd4, 0xd6, 0x06, 0x57, 0x90, 0x44, 0xc4, 0xaa, 0xbf, 0x88, 0xe7, 0xd0, 0x72, 0x9d, + 0xd8, 0x3b, 0x30, 0xac, 0x4b, 0x5a, 0xc9, 0x69, 0x3c, 0x7b, 0xd5, 0x09, 0xe2, 0x04, 0xc7, 0xd3, + 0x9a, 0xa1, 0x52, 0xbf, 0x99, 0x7f, 0x73, 0x88, 0x2f, 0xf2, 0x2c, 0x82, 0x5f, 0x54, 0x66, 0x73, + 0x9c, 0xe9, 0xd5, 0x34, 0x63, 0xa4, 0xb6, 0xdf, 0xe2, 0x4f, 0x65, 0xdf, 0x47, 0xe4, 0x56, 0xb9, + 0x6f, 0xb5, 0x1d, 0xdb, 0x6a, 0x92, 0xf5, 0x87, 0xd2, 0x25, 0xf9, 0x0b, 0xbf, 0x48, 0x90, 0x3c, + 0x2e, 0xbd, 0x44, 0x59, 0xe8, 0xb7, 0x23, 0x72, 0xd1, 0xe4, 0x4b, 0x8e, 0x10, 0xcb, 0xb0, 0x5c, + 0xaa, 0xd5, 0x46, 0x64, 0x5d, 0xee, 0xee, 0x57, 0x97, 0x0b, 0xea, 0x7d, 0xca, 0x78, 0xe1, 0xea, + 0xd6, 0x95, 0x1d, 0x9f, 0xdd, 0xdd, 0xdd, 0x6e, 0xb4, 0x83, 0xae, 0x03, 0x1c, 0x41, 0xb8, 0xe3, + 0x24, 0xb7, 0xe8, 0x76, 0x68, 0xcf, 0xe9, 0x6f, 0x2f, 0xef, 0x04, 0x4e, 0xf6, 0x36, 0xe6, 0xf6, + 0x87, 0xe1, 0x22, 0xdd, 0xa5, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x92, 0x51, 0x02, 0xc6, 0xa8, + 0x29, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -288,6 +289,8 @@ type AdminServiceClient interface { GetDescriptionEntity(ctx context.Context, in *admin.ObjectGetRequest, opts ...grpc.CallOption) (*admin.DescriptionEntity, error) // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. ListDescriptionEntities(ctx context.Context, in *admin.DescriptionEntityListRequest, opts ...grpc.CallOption) (*admin.DescriptionEntityList, error) + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) } type adminServiceClient struct { @@ -766,6 +769,15 @@ func (c *adminServiceClient) ListDescriptionEntities(ctx context.Context, in *ad return out, nil } +func (c *adminServiceClient) GetExecutionMetrics(ctx context.Context, in *admin.WorkflowExecutionGetMetricsRequest, opts ...grpc.CallOption) (*admin.WorkflowExecutionGetMetricsResponse, error) { + out := new(admin.WorkflowExecutionGetMetricsResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/GetExecutionMetrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // AdminServiceServer is the server API for AdminService service. type AdminServiceServer interface { // Create and upload a :ref:`ref_flyteidl.admin.Task` definition @@ -877,6 +889,8 @@ type AdminServiceServer interface { GetDescriptionEntity(context.Context, *admin.ObjectGetRequest) (*admin.DescriptionEntity, error) // Fetch a list of :ref:`ref_flyteidl.admin.DescriptionEntity` definitions. ListDescriptionEntities(context.Context, *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + GetExecutionMetrics(context.Context, *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) } // UnimplementedAdminServiceServer can be embedded to have forward compatible implementations. @@ -1039,6 +1053,9 @@ func (*UnimplementedAdminServiceServer) GetDescriptionEntity(ctx context.Context func (*UnimplementedAdminServiceServer) ListDescriptionEntities(ctx context.Context, req *admin.DescriptionEntityListRequest) (*admin.DescriptionEntityList, error) { return nil, status.Errorf(codes.Unimplemented, "method ListDescriptionEntities not implemented") } +func (*UnimplementedAdminServiceServer) GetExecutionMetrics(ctx context.Context, req *admin.WorkflowExecutionGetMetricsRequest) (*admin.WorkflowExecutionGetMetricsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecutionMetrics not implemented") +} func RegisterAdminServiceServer(s *grpc.Server, srv AdminServiceServer) { s.RegisterService(&_AdminService_serviceDesc, srv) @@ -1980,6 +1997,24 @@ func _AdminService_ListDescriptionEntities_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } +func _AdminService_GetExecutionMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowExecutionGetMetricsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).GetExecutionMetrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.AdminService/GetExecutionMetrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).GetExecutionMetrics(ctx, req.(*admin.WorkflowExecutionGetMetricsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _AdminService_serviceDesc = grpc.ServiceDesc{ ServiceName: "flyteidl.service.AdminService", HandlerType: (*AdminServiceServer)(nil), @@ -2192,6 +2227,10 @@ var _AdminService_serviceDesc = grpc.ServiceDesc{ MethodName: "ListDescriptionEntities", Handler: _AdminService_ListDescriptionEntities_Handler, }, + { + MethodName: "GetExecutionMetrics", + Handler: _AdminService_GetExecutionMetrics_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "flyteidl/service/admin.proto", diff --git a/gen/pb-go/flyteidl/service/admin.pb.gw.go b/gen/pb-go/flyteidl/service/admin.pb.gw.go index 796ed9f93..fa3a3110d 100644 --- a/gen/pb-go/flyteidl/service/admin.pb.gw.go +++ b/gen/pb-go/flyteidl/service/admin.pb.gw.go @@ -2935,6 +2935,66 @@ func request_AdminService_ListDescriptionEntities_1(ctx context.Context, marshal } +var ( + filter_AdminService_GetExecutionMetrics_0 = &utilities.DoubleArray{Encoding: map[string]int{"id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} +) + +func request_AdminService_GetExecutionMetrics_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq admin.WorkflowExecutionGetMetricsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.project", err) + } + + val, ok = pathParams["id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.domain", err) + } + + val, ok = pathParams["id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "id.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id.name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AdminService_GetExecutionMetrics_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetExecutionMetrics(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + // RegisterAdminServiceHandlerFromEndpoint is same as RegisterAdminServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterAdminServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { @@ -4093,6 +4153,26 @@ func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("GET", pattern_AdminService_GetExecutionMetrics_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_GetExecutionMetrics_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_GetExecutionMetrics_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -4208,6 +4288,8 @@ var ( pattern_AdminService_ListDescriptionEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) pattern_AdminService_ListDescriptionEntities_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "description_entities", "resource_type", "id.project", "id.domain"}, "")) + + pattern_AdminService_GetExecutionMetrics_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "metrics", "executions", "id.project", "id.domain", "id.name"}, "")) ) var ( @@ -4322,4 +4404,6 @@ var ( forward_AdminService_ListDescriptionEntities_0 = runtime.ForwardResponseMessage forward_AdminService_ListDescriptionEntities_1 = runtime.ForwardResponseMessage + + forward_AdminService_GetExecutionMetrics_0 = runtime.ForwardResponseMessage ) diff --git a/gen/pb-go/flyteidl/service/admin.swagger.json b/gen/pb-go/flyteidl/service/admin.swagger.json index 026848aba..b34ff56a4 100644 --- a/gen/pb-go/flyteidl/service/admin.swagger.json +++ b/gen/pb-go/flyteidl/service/admin.swagger.json @@ -1482,6 +1482,54 @@ ] } }, + "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}": { + "get": { + "summary": "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "GetExecutionMetrics", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowExecutionGetMetricsResponse" + } + } + }, + "parameters": [ + { + "name": "id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.domain", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "depth", + "description": "depth defines the number of Flyte entity levels to traverse when breaking down execution details.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "AdminService" + ] + } + }, "/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}": { "get": { "summary": "Returns a :ref:`ref_flyteidl.admin.NamedEntity` object.", @@ -2442,7 +2490,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/adminTaskCreateResponse" + "$ref": "#/definitions/flyteidladminTaskCreateResponse" } } }, @@ -2452,7 +2500,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/adminTaskCreateRequest" + "$ref": "#/definitions/flyteidladminTaskCreateRequest" } } ], @@ -3661,6 +3709,19 @@ }, "description": "Defines an email notification specification." }, + "adminEnvs": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/coreKeyValuePair" + }, + "description": "Map of custom environment variables to be applied to the execution resource." + } + }, + "description": "Environment variable values to be applied to an execution resource.\nIn the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify how to merge environment variables defined at registration and execution time." + }, "adminExecution": { "type": "object", "properties": { @@ -3957,6 +4018,10 @@ "type": "boolean", "format": "boolean", "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." } }, "description": "An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime\nof an execution as it progresses across phase changes." @@ -4044,6 +4109,21 @@ "default": "MINUTE", "description": "Represents a frequency at which to run a schedule." }, + "adminFlyteURLs": { + "type": "object", + "properties": { + "inputs": { + "type": "string" + }, + "outputs": { + "type": "string" + }, + "deck": { + "type": "string" + } + }, + "description": "These URLs are returned as part of node and task execution data requests." + }, "adminGetVersionResponse": { "type": "object", "properties": { @@ -4227,6 +4307,10 @@ "type": "boolean", "format": "boolean", "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." } }, "description": "User-provided launch plan definition and configuration values." @@ -4512,6 +4596,10 @@ "deck_uri": { "type": "string", "title": "String location uniquely identifying where the deck HTML file is.\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required\nto correctly recover partially completed executions where the subworkflow has already been compiled." } }, "description": "Container for node execution details and results." @@ -4555,6 +4643,9 @@ "dynamic_workflow": { "$ref": "#/definitions/flyteidladminDynamicWorkflowNodeMetadata", "description": "Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs" } }, "description": "Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution." @@ -4867,6 +4958,21 @@ }, "description": "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).\nSee https://github.com/flyteorg/flyte/issues/211 for more background information." }, + "adminReason": { + "type": "object", + "properties": { + "occurred_at": { + "type": "string", + "format": "date-time", + "description": "occurred_at is the timestamp indicating the instant that this reason happened." + }, + "message": { + "type": "string", + "description": "message is the explanation for the most recent phase transition or status update." + } + }, + "description": "Reason is a single message annotated with a timestamp to indicate the instant the reason occurred." + }, "adminSchedule": { "type": "object", "properties": { @@ -4966,24 +5072,6 @@ }, "description": "Compute task attributes which include values derived from the TaskSpec, as well as plugin-specific data\nand task metadata." }, - "adminTaskCreateRequest": { - "type": "object", - "properties": { - "id": { - "$ref": "#/definitions/coreIdentifier", - "title": "id represents the unique identifier of the task.\n+required" - }, - "spec": { - "$ref": "#/definitions/adminTaskSpec", - "title": "Represents the specification for task.\n+required" - } - }, - "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" - }, - "adminTaskCreateResponse": { - "type": "object", - "description": "Represents a response structure if task creation succeeds." - }, "adminTaskExecutionClosure": { "type": "object", "properties": { @@ -5049,6 +5137,13 @@ "type": "integer", "format": "int32", "description": "The event version is used to indicate versioned changes in how data is maintained using this\nproto message. For example, event_verison \u003e 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reasons": { + "type": "array", + "items": { + "$ref": "#/definitions/adminReason" + }, + "description": "A time-series of the phase transition or update explanations. This, when compared to storing a singular reason\nas previously done, is much more valuable in visualizing and understanding historical evaluations." } }, "description": "Container for task execution details and results." @@ -5088,6 +5183,10 @@ "full_outputs": { "$ref": "#/definitions/coreLiteralMap", "description": "Full_outputs will only be populated if they are under a configured size threshold." + }, + "flyte_urls": { + "$ref": "#/definitions/adminFlyteURLs", + "title": "flyte tiny url to fetch a core.LiteralMap of task execution's IO\nDeck will be empty for task" } }, "description": "Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution." @@ -5357,6 +5456,10 @@ "type": "boolean", "format": "boolean", "description": "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.\nIf enabled, all calculations are performed even if cached results would be available, overwriting the stored\ndata once execution finishes successfully." + }, + "envs": { + "$ref": "#/definitions/adminEnvs", + "description": "Environment variables to be set for the execution." } }, "description": "Adds defaults for customizable workflow-execution specifications and overrides." @@ -5400,6 +5503,16 @@ }, "description": "Response structure for WorkflowExecutionGetDataRequest which contains inputs and outputs for an execution." }, + "adminWorkflowExecutionGetMetricsResponse": { + "type": "object", + "properties": { + "span": { + "$ref": "#/definitions/coreSpan", + "description": "Span defines the top-level breakdown of the workflows execution. More precise information is nested in a\nhierarchical structure using Flyte entity references." + } + }, + "description": "WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution." + }, "adminWorkflowList": { "type": "object", "properties": { @@ -5949,6 +6062,10 @@ "oauth2_client": { "$ref": "#/definitions/coreOAuth2Client", "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" } }, "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." @@ -6020,6 +6137,10 @@ "pod_spec": { "$ref": "#/definitions/protobufStruct", "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" } }, "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." @@ -6603,6 +6724,45 @@ }, "description": "SleepCondition represents a dependency on waiting for the specified duration." }, + "coreSpan": { + "type": "object", + "properties": { + "start_time": { + "type": "string", + "format": "date-time", + "description": "start_time defines the instance this span began." + }, + "end_time": { + "type": "string", + "format": "date-time", + "description": "end_time defines the instance this span completed." + }, + "workflow_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "workflow_id is the id of the workflow execution this Span represents." + }, + "node_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "node_id is the id of the node execution this Span represents." + }, + "task_id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "task_id is the id of the task execution this Span represents." + }, + "operation_id": { + "type": "string", + "description": "operation_id is the id of a unique operation that this Span represents." + }, + "spans": { + "type": "array", + "items": { + "$ref": "#/definitions/coreSpan" + }, + "description": "spans defines a collection of Spans that breakdown this execution." + } + }, + "description": "Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation\nwhich uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more\nprecise definitions." + }, "coreSql": { "type": "object", "properties": { @@ -7174,6 +7334,11 @@ "deck_uri": { "type": "string", "title": "String location uniquely identifying where the deck HTML file is\nNativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar)" + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example,\nwhen first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when\nliteral inputs are initially copied. The event however will not be sent until after the copy completes.\nExtracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series." } } }, @@ -7289,6 +7454,11 @@ "type": "integer", "format": "int32", "description": "The event version is used to indicate versioned changes in how data is reported using this\nproto message. For example, event_verison \u003e 0 means that maps tasks report logs using the\nTaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog\nin this message." + }, + "reported_at": { + "type": "string", + "format": "date-time", + "description": "This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s\npod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,\nbut this event will not be reported until the pod is marked as completed. Extracting both of these timestamps\nfacilitates a more accurate portrayal of the evaluation time-series." } }, "description": "Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob." @@ -7367,6 +7537,10 @@ "compiled_workflow": { "$ref": "#/definitions/coreCompiledWorkflowClosure", "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the subworkflow has already been compiled." } }, "description": "For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated." @@ -7393,6 +7567,24 @@ }, "description": "Encapsulates all details for a single node execution entity.\nA node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested\nsub-workflow, or even a separate child-workflow execution.\nThe same task can be called repeatedly in a single workflow but each node is unique." }, + "flyteidladminTaskCreateRequest": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "title": "id represents the unique identifier of the task.\n+required" + }, + "spec": { + "$ref": "#/definitions/adminTaskSpec", + "title": "Represents the specification for task.\n+required" + } + }, + "title": "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task` for more details" + }, + "flyteidladminTaskCreateResponse": { + "type": "object", + "description": "Represents a response structure if task creation succeeds." + }, "flyteidladminTaskExecution": { "type": "object", "properties": { @@ -7454,6 +7646,10 @@ "compiled_workflow": { "$ref": "#/definitions/coreCompiledWorkflowClosure", "description": "Represents the compiled representation of the embedded dynamic workflow." + }, + "dynamic_job_spec_uri": { + "type": "string", + "description": "dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is\nrequired to correctly recover partially completed executions where the workflow has already been compiled." } }, "description": "For dynamic workflow nodes we send information about the dynamic workflow definition that gets generated." diff --git a/gen/pb-go/flyteidl/service/dataproxy.pb.go b/gen/pb-go/flyteidl/service/dataproxy.pb.go index 7af285aad..0033cb5fd 100644 --- a/gen/pb-go/flyteidl/service/dataproxy.pb.go +++ b/gen/pb-go/flyteidl/service/dataproxy.pb.go @@ -392,12 +392,14 @@ func (*CreateDownloadLinkRequest) XXX_OneofWrappers() []interface{} { // CreateDownloadLinkResponse defines the response for the generated links type CreateDownloadLinkResponse struct { // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) - SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` + SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` // Deprecated: Do not use. // ExpiresAt defines when will the signed URL expire. - ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Deprecated: Do not use. + // New wrapper object containing the signed urls and expiration time + PreSignedUrls *PreSignedURLs `protobuf:"bytes,3,opt,name=pre_signed_urls,json=preSignedUrls,proto3" json:"pre_signed_urls,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CreateDownloadLinkResponse) Reset() { *m = CreateDownloadLinkResponse{} } @@ -425,6 +427,7 @@ func (m *CreateDownloadLinkResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CreateDownloadLinkResponse proto.InternalMessageInfo +// Deprecated: Do not use. func (m *CreateDownloadLinkResponse) GetSignedUrl() []string { if m != nil { return m.SignedUrl @@ -432,6 +435,7 @@ func (m *CreateDownloadLinkResponse) GetSignedUrl() []string { return nil } +// Deprecated: Do not use. func (m *CreateDownloadLinkResponse) GetExpiresAt() *timestamp.Timestamp { if m != nil { return m.ExpiresAt @@ -439,6 +443,187 @@ func (m *CreateDownloadLinkResponse) GetExpiresAt() *timestamp.Timestamp { return nil } +func (m *CreateDownloadLinkResponse) GetPreSignedUrls() *PreSignedURLs { + if m != nil { + return m.PreSignedUrls + } + return nil +} + +// Wrapper object since the message is shared across this and the GetDataResponse +type PreSignedURLs struct { + // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + SignedUrl []string `protobuf:"bytes,1,rep,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"` + // ExpiresAt defines when will the signed URL expire. + ExpiresAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PreSignedURLs) Reset() { *m = PreSignedURLs{} } +func (m *PreSignedURLs) String() string { return proto.CompactTextString(m) } +func (*PreSignedURLs) ProtoMessage() {} +func (*PreSignedURLs) Descriptor() ([]byte, []int) { + return fileDescriptor_bffb71366d75dab0, []int{6} +} + +func (m *PreSignedURLs) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PreSignedURLs.Unmarshal(m, b) +} +func (m *PreSignedURLs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PreSignedURLs.Marshal(b, m, deterministic) +} +func (m *PreSignedURLs) XXX_Merge(src proto.Message) { + xxx_messageInfo_PreSignedURLs.Merge(m, src) +} +func (m *PreSignedURLs) XXX_Size() int { + return xxx_messageInfo_PreSignedURLs.Size(m) +} +func (m *PreSignedURLs) XXX_DiscardUnknown() { + xxx_messageInfo_PreSignedURLs.DiscardUnknown(m) +} + +var xxx_messageInfo_PreSignedURLs proto.InternalMessageInfo + +func (m *PreSignedURLs) GetSignedUrl() []string { + if m != nil { + return m.SignedUrl + } + return nil +} + +func (m *PreSignedURLs) GetExpiresAt() *timestamp.Timestamp { + if m != nil { + return m.ExpiresAt + } + return nil +} + +// General request artifact to retrieve data from a Flyte artifact url. +type GetDataRequest struct { + // A unique identifier in the form of flyte:// that uniquely, for a given Flyte + // backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.). + // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) + // flyte://v1/proj/development/execid/n2/i (for node execution input) + FlyteUrl string `protobuf:"bytes,1,opt,name=flyte_url,json=flyteUrl,proto3" json:"flyte_url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetDataRequest) Reset() { *m = GetDataRequest{} } +func (m *GetDataRequest) String() string { return proto.CompactTextString(m) } +func (*GetDataRequest) ProtoMessage() {} +func (*GetDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_bffb71366d75dab0, []int{7} +} + +func (m *GetDataRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDataRequest.Unmarshal(m, b) +} +func (m *GetDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDataRequest.Marshal(b, m, deterministic) +} +func (m *GetDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDataRequest.Merge(m, src) +} +func (m *GetDataRequest) XXX_Size() int { + return xxx_messageInfo_GetDataRequest.Size(m) +} +func (m *GetDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDataRequest proto.InternalMessageInfo + +func (m *GetDataRequest) GetFlyteUrl() string { + if m != nil { + return m.FlyteUrl + } + return "" +} + +type GetDataResponse struct { + // Types that are valid to be assigned to Data: + // *GetDataResponse_LiteralMap + // *GetDataResponse_PreSignedUrls + Data isGetDataResponse_Data `protobuf_oneof:"data"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetDataResponse) Reset() { *m = GetDataResponse{} } +func (m *GetDataResponse) String() string { return proto.CompactTextString(m) } +func (*GetDataResponse) ProtoMessage() {} +func (*GetDataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_bffb71366d75dab0, []int{8} +} + +func (m *GetDataResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetDataResponse.Unmarshal(m, b) +} +func (m *GetDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetDataResponse.Marshal(b, m, deterministic) +} +func (m *GetDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDataResponse.Merge(m, src) +} +func (m *GetDataResponse) XXX_Size() int { + return xxx_messageInfo_GetDataResponse.Size(m) +} +func (m *GetDataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetDataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetDataResponse proto.InternalMessageInfo + +type isGetDataResponse_Data interface { + isGetDataResponse_Data() +} + +type GetDataResponse_LiteralMap struct { + LiteralMap *core.LiteralMap `protobuf:"bytes,1,opt,name=literal_map,json=literalMap,proto3,oneof"` +} + +type GetDataResponse_PreSignedUrls struct { + PreSignedUrls *PreSignedURLs `protobuf:"bytes,2,opt,name=pre_signed_urls,json=preSignedUrls,proto3,oneof"` +} + +func (*GetDataResponse_LiteralMap) isGetDataResponse_Data() {} + +func (*GetDataResponse_PreSignedUrls) isGetDataResponse_Data() {} + +func (m *GetDataResponse) GetData() isGetDataResponse_Data { + if m != nil { + return m.Data + } + return nil +} + +func (m *GetDataResponse) GetLiteralMap() *core.LiteralMap { + if x, ok := m.GetData().(*GetDataResponse_LiteralMap); ok { + return x.LiteralMap + } + return nil +} + +func (m *GetDataResponse) GetPreSignedUrls() *PreSignedURLs { + if x, ok := m.GetData().(*GetDataResponse_PreSignedUrls); ok { + return x.PreSignedUrls + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*GetDataResponse) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*GetDataResponse_LiteralMap)(nil), + (*GetDataResponse_PreSignedUrls)(nil), + } +} + func init() { proto.RegisterEnum("flyteidl.service.ArtifactType", ArtifactType_name, ArtifactType_value) proto.RegisterType((*CreateUploadLocationResponse)(nil), "flyteidl.service.CreateUploadLocationResponse") @@ -447,56 +632,70 @@ func init() { proto.RegisterType((*CreateDownloadLocationResponse)(nil), "flyteidl.service.CreateDownloadLocationResponse") proto.RegisterType((*CreateDownloadLinkRequest)(nil), "flyteidl.service.CreateDownloadLinkRequest") proto.RegisterType((*CreateDownloadLinkResponse)(nil), "flyteidl.service.CreateDownloadLinkResponse") + proto.RegisterType((*PreSignedURLs)(nil), "flyteidl.service.PreSignedURLs") + proto.RegisterType((*GetDataRequest)(nil), "flyteidl.service.GetDataRequest") + proto.RegisterType((*GetDataResponse)(nil), "flyteidl.service.GetDataResponse") } func init() { proto.RegisterFile("flyteidl/service/dataproxy.proto", fileDescriptor_bffb71366d75dab0) } var fileDescriptor_bffb71366d75dab0 = []byte{ - // 702 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcf, 0x6e, 0xd3, 0x4a, - 0x14, 0xc6, 0x3b, 0xe9, 0xbd, 0xbd, 0xcd, 0xb4, 0xf7, 0xde, 0x30, 0x42, 0x25, 0x75, 0xdb, 0x34, - 0x32, 0x08, 0x95, 0x40, 0x6d, 0x28, 0xaa, 0xa0, 0xdd, 0xa5, 0x49, 0x2a, 0x22, 0xa0, 0xaa, 0x4c, - 0xba, 0x80, 0x8d, 0x35, 0xb1, 0x4f, 0xc2, 0x50, 0x67, 0xc6, 0x8c, 0xc7, 0xa1, 0x91, 0x10, 0x0b, - 0x56, 0xec, 0x59, 0xb0, 0x60, 0xc3, 0x8a, 0x47, 0xe1, 0x05, 0x78, 0x05, 0x9e, 0x02, 0xb1, 0x40, - 0xb1, 0x9d, 0xa4, 0x49, 0x93, 0x36, 0x20, 0x96, 0x67, 0xbe, 0x2f, 0x39, 0xbf, 0x39, 0x7f, 0xc6, - 0x38, 0xdf, 0xf0, 0x3a, 0x0a, 0x98, 0xeb, 0x99, 0x01, 0xc8, 0x36, 0x73, 0xc0, 0x74, 0xa9, 0xa2, - 0xbe, 0x14, 0x27, 0x1d, 0xc3, 0x97, 0x42, 0x09, 0x92, 0xe9, 0x39, 0x8c, 0xc4, 0xa1, 0xad, 0x36, - 0x85, 0x68, 0x7a, 0x60, 0x52, 0x9f, 0x99, 0x94, 0x73, 0xa1, 0xa8, 0x62, 0x82, 0x07, 0xb1, 0x5f, - 0xcb, 0x25, 0x6a, 0x14, 0xd5, 0xc3, 0x86, 0xe9, 0x86, 0x32, 0x32, 0x24, 0xfa, 0xfa, 0xa8, 0xae, - 0x58, 0x0b, 0x02, 0x45, 0x5b, 0x7e, 0xef, 0x0f, 0xfa, 0x48, 0x8e, 0x90, 0x60, 0x32, 0x17, 0xb8, - 0x62, 0x0d, 0x06, 0x32, 0xd6, 0xf5, 0x0f, 0x08, 0xaf, 0x96, 0x24, 0x50, 0x05, 0x47, 0xbe, 0x27, - 0xa8, 0xfb, 0x48, 0x38, 0xd1, 0xff, 0x5b, 0x10, 0xf8, 0x82, 0x07, 0x40, 0xd6, 0x30, 0x0e, 0x58, - 0x93, 0x83, 0x6b, 0x87, 0xd2, 0xcb, 0xa2, 0x3c, 0xda, 0x48, 0x5b, 0xe9, 0xf8, 0xe4, 0x48, 0x7a, - 0x5d, 0x99, 0x53, 0xc5, 0xda, 0x10, 0xc9, 0xa9, 0x58, 0x8e, 0x4f, 0xba, 0xf2, 0x0e, 0xc6, 0x70, - 0xe2, 0x33, 0x09, 0x81, 0x4d, 0x55, 0x76, 0x36, 0x8f, 0x36, 0x16, 0xb6, 0x34, 0x23, 0x86, 0x36, - 0x7a, 0xd0, 0x46, 0xad, 0x07, 0x6d, 0xa5, 0x13, 0x77, 0x51, 0xe9, 0x5f, 0x10, 0x5e, 0x19, 0x4f, - 0xf6, 0x32, 0x84, 0x40, 0x91, 0x2c, 0xfe, 0xc7, 0x97, 0xe2, 0x05, 0x38, 0x2a, 0xa1, 0xea, 0x85, - 0x64, 0x09, 0xcf, 0xb9, 0xa2, 0x45, 0x19, 0x4f, 0x78, 0x92, 0x88, 0x68, 0x78, 0xbe, 0xc1, 0x3c, - 0xe0, 0xb4, 0x05, 0x11, 0x4a, 0xda, 0xea, 0xc7, 0xe4, 0xfe, 0x00, 0x94, 0xf1, 0xec, 0x5f, 0x11, - 0xe8, 0xf2, 0x19, 0xd0, 0x72, 0x52, 0xfd, 0x3e, 0x67, 0x95, 0x93, 0x75, 0xbc, 0xe0, 0x08, 0xae, - 0x80, 0x2b, 0xbb, 0xe5, 0x6e, 0x67, 0xff, 0xce, 0xa3, 0x8d, 0x45, 0x0b, 0x27, 0x47, 0x8f, 0xdd, - 0x6d, 0xfd, 0x35, 0x5e, 0x8b, 0xef, 0x51, 0x16, 0xaf, 0xf8, 0xb8, 0x9b, 0x0c, 0xd7, 0x10, 0x8d, - 0xd6, 0x70, 0x18, 0x2d, 0x35, 0x3d, 0xda, 0x6e, 0x2a, 0x8b, 0xf4, 0x37, 0x38, 0x37, 0x29, 0xfb, - 0x74, 0x1d, 0x1e, 0x6e, 0x61, 0xea, 0x17, 0x5a, 0x18, 0xe5, 0xff, 0x8e, 0xf0, 0xf2, 0x08, 0x00, - 0xe3, 0xc7, 0xbd, 0xab, 0x97, 0xf0, 0xbf, 0x54, 0x2a, 0xd6, 0xa0, 0x8e, 0xb2, 0x55, 0xc7, 0x87, - 0x28, 0xfd, 0x7f, 0x5b, 0x39, 0x63, 0x74, 0x4f, 0x8c, 0x62, 0x62, 0xab, 0x75, 0x7c, 0xb0, 0x16, - 0xe9, 0xa9, 0xe8, 0xf7, 0x0b, 0x44, 0x6a, 0xf8, 0x12, 0x17, 0x2e, 0xd8, 0x70, 0x02, 0x4e, 0xd8, - 0x15, 0x6d, 0xe6, 0x26, 0x53, 0x7a, 0x7d, 0x80, 0xd0, 0xdd, 0x1c, 0xe3, 0x40, 0xb8, 0x50, 0xe9, - 0xd9, 0xaa, 0xfd, 0x35, 0x7a, 0x30, 0x63, 0xfd, 0xcf, 0x87, 0xa5, 0xbd, 0x79, 0x3c, 0x17, 0x88, - 0x50, 0x3a, 0xa0, 0xb7, 0xb1, 0x36, 0xee, 0xee, 0x13, 0x0a, 0x3f, 0xfb, 0xa7, 0x0a, 0x5f, 0x28, - 0xe1, 0xc5, 0xd3, 0xf5, 0x22, 0x2b, 0xf8, 0x4a, 0xd1, 0xaa, 0x55, 0xf7, 0x8b, 0xa5, 0x9a, 0x5d, - 0x7b, 0x7a, 0x58, 0xb1, 0x8f, 0x0e, 0xca, 0x95, 0xfd, 0xea, 0x41, 0xa5, 0x9c, 0x99, 0x21, 0x4b, - 0x98, 0x0c, 0x8b, 0xe5, 0x4a, 0xe9, 0x61, 0x06, 0x6d, 0xfd, 0x98, 0xc5, 0x99, 0x32, 0x55, 0xf4, - 0xb0, 0xfb, 0x7e, 0x3d, 0x89, 0xdb, 0x40, 0x3e, 0x21, 0x7c, 0x79, 0xdc, 0x56, 0x92, 0xcd, 0xb3, - 0x2d, 0x3b, 0x67, 0x7b, 0x35, 0x63, 0x5a, 0x7b, 0x5c, 0x2b, 0xfd, 0xc6, 0xdb, 0xaf, 0xdf, 0xde, - 0xa7, 0xae, 0xea, 0xb9, 0xe8, 0xa1, 0x6c, 0xdf, 0x19, 0xbc, 0xac, 0x66, 0x7f, 0x80, 0x42, 0xc9, - 0x77, 0x51, 0x81, 0x7c, 0x46, 0x78, 0x69, 0xfc, 0xc8, 0x13, 0x73, 0x52, 0xd6, 0x09, 0xab, 0xa9, - 0xdd, 0x9e, 0xfe, 0x07, 0x43, 0xa0, 0x79, 0x72, 0x01, 0xe8, 0xbb, 0x14, 0x22, 0x1f, 0x11, 0x26, - 0x67, 0xc7, 0x83, 0xdc, 0xbc, 0x30, 0xe7, 0x60, 0x81, 0xb4, 0x5b, 0xd3, 0x99, 0x13, 0xb8, 0x42, - 0x04, 0x77, 0x4d, 0x5f, 0x3f, 0x07, 0xce, 0x63, 0xfc, 0x78, 0x17, 0x15, 0xf6, 0x76, 0x9e, 0xdd, - 0x6b, 0x32, 0xf5, 0x3c, 0xac, 0x1b, 0x8e, 0x68, 0x99, 0x51, 0x16, 0x21, 0x9b, 0x66, 0xff, 0x7b, - 0xd2, 0x04, 0x6e, 0xfa, 0xf5, 0xcd, 0xa6, 0x30, 0x47, 0xbf, 0x7a, 0xf5, 0xb9, 0x68, 0x3a, 0xef, - 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xc0, 0xac, 0xd3, 0xb4, 0x10, 0x07, 0x00, 0x00, + // 872 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0xef, 0xa4, 0xa5, 0xdb, 0xbc, 0xfe, 0x65, 0xb4, 0x2a, 0x59, 0xb7, 0xdb, 0x66, 0x0d, 0x42, + 0xa5, 0x50, 0x1b, 0x8a, 0x56, 0xb0, 0x2b, 0x38, 0xb4, 0x49, 0x76, 0x1b, 0xd1, 0xad, 0x2a, 0x6f, + 0x7a, 0x80, 0x8b, 0x35, 0xb5, 0x27, 0x61, 0x58, 0x67, 0xc6, 0x8c, 0x27, 0xa5, 0x91, 0x10, 0x07, + 0x4e, 0xdc, 0x39, 0x70, 0xe0, 0x82, 0x38, 0xf0, 0x51, 0xe0, 0x03, 0xf0, 0x0d, 0x10, 0x9f, 0x82, + 0x13, 0xf2, 0x78, 0xe2, 0xc4, 0x49, 0xda, 0xcd, 0x22, 0x8e, 0x6f, 0x7e, 0x6f, 0xfc, 0xfb, 0xbd, + 0xdf, 0xbc, 0x37, 0x63, 0xa8, 0xb6, 0xa3, 0xbe, 0xa2, 0x2c, 0x8c, 0xdc, 0x84, 0xca, 0x2b, 0x16, + 0x50, 0x37, 0x24, 0x8a, 0xc4, 0x52, 0x5c, 0xf7, 0x9d, 0x58, 0x0a, 0x25, 0xf0, 0xc6, 0x20, 0xc3, + 0x31, 0x19, 0xd6, 0x76, 0x47, 0x88, 0x4e, 0x44, 0x5d, 0x12, 0x33, 0x97, 0x70, 0x2e, 0x14, 0x51, + 0x4c, 0xf0, 0x24, 0xcb, 0xb7, 0x76, 0x0c, 0xaa, 0xa3, 0xcb, 0x5e, 0xdb, 0x0d, 0x7b, 0x52, 0x27, + 0x18, 0x7c, 0x77, 0x1c, 0x57, 0xac, 0x4b, 0x13, 0x45, 0xba, 0xf1, 0xe0, 0x03, 0xb9, 0xa4, 0x40, + 0x48, 0xea, 0xb2, 0x90, 0x72, 0xc5, 0xda, 0x8c, 0x4a, 0x83, 0x6f, 0x17, 0xf1, 0x88, 0x29, 0x2a, + 0x49, 0x64, 0xe8, 0xed, 0x9f, 0x10, 0x6c, 0xd7, 0x24, 0x25, 0x8a, 0x5e, 0xc4, 0x91, 0x20, 0xe1, + 0xa9, 0x08, 0x34, 0xbb, 0x47, 0x93, 0x58, 0xf0, 0x84, 0xe2, 0xfb, 0x00, 0x09, 0xeb, 0x70, 0x1a, + 0xfa, 0x3d, 0x19, 0x55, 0x50, 0x15, 0xed, 0x95, 0xbd, 0x72, 0xb6, 0x72, 0x21, 0xa3, 0x14, 0xe6, + 0x44, 0xb1, 0x2b, 0xaa, 0xe1, 0x52, 0x06, 0x67, 0x2b, 0x29, 0xfc, 0x08, 0x80, 0x5e, 0xc7, 0x4c, + 0xd2, 0xc4, 0x27, 0xaa, 0x32, 0x5f, 0x45, 0x7b, 0xcb, 0x87, 0x96, 0x93, 0x95, 0xe4, 0x0c, 0x4a, + 0x72, 0x5a, 0x83, 0x92, 0xbc, 0xb2, 0xc9, 0x3e, 0x52, 0xf6, 0xef, 0x08, 0xb6, 0xa6, 0x2b, 0xfb, + 0xba, 0x47, 0x13, 0x85, 0x2b, 0x70, 0x27, 0x96, 0xe2, 0x2b, 0x1a, 0x28, 0xa3, 0x6a, 0x10, 0xe2, + 0x4d, 0x58, 0x0c, 0x45, 0x97, 0x30, 0x6e, 0xf4, 0x98, 0x08, 0x5b, 0xb0, 0xd4, 0x66, 0x11, 0xe5, + 0xa4, 0x4b, 0xb5, 0x94, 0xb2, 0x97, 0xc7, 0xf8, 0xe3, 0xa1, 0x50, 0xc6, 0x2b, 0x0b, 0x5a, 0xe8, + 0xbd, 0x09, 0xa1, 0x75, 0x73, 0x36, 0xb9, 0xce, 0x26, 0xc7, 0xbb, 0xb0, 0x1c, 0x08, 0xae, 0x28, + 0x57, 0x7e, 0x37, 0x7c, 0x58, 0x79, 0xad, 0x8a, 0xf6, 0x56, 0x3c, 0x30, 0x4b, 0xcf, 0xc2, 0x87, + 0xf6, 0xb7, 0x70, 0x3f, 0xab, 0xa3, 0x2e, 0xbe, 0xe1, 0xd3, 0x2a, 0x29, 0x7a, 0x88, 0xc6, 0x3d, + 0x2c, 0x4a, 0x2b, 0xcd, 0x2e, 0xed, 0x71, 0xa9, 0x82, 0xec, 0xef, 0x60, 0xe7, 0x26, 0xf6, 0xd9, + 0x4e, 0xb8, 0x78, 0x84, 0xa5, 0x57, 0x38, 0x42, 0xcd, 0xff, 0x0f, 0x82, 0x7b, 0x63, 0x02, 0x18, + 0x7f, 0x31, 0x28, 0xbd, 0x06, 0xab, 0x44, 0x2a, 0xd6, 0x26, 0x81, 0xf2, 0x55, 0x3f, 0xa6, 0x9a, + 0x7e, 0xed, 0x70, 0xc7, 0x19, 0x9f, 0x22, 0xe7, 0xc8, 0xa4, 0xb5, 0xfa, 0x31, 0xf5, 0x56, 0xc8, + 0x48, 0xf4, 0xdf, 0x0d, 0xc2, 0x2d, 0x78, 0x9d, 0x8b, 0x90, 0xfa, 0xf4, 0x9a, 0x06, 0xbd, 0x14, + 0xf4, 0x59, 0x68, 0xba, 0xf4, 0xed, 0xa1, 0x84, 0x74, 0x6e, 0x9c, 0x33, 0x11, 0xd2, 0xc6, 0x20, + 0xad, 0x99, 0x0f, 0xd9, 0xc9, 0x9c, 0xb7, 0xce, 0x8b, 0xd0, 0xf1, 0x12, 0x2c, 0x26, 0xa2, 0x27, + 0x03, 0x6a, 0xff, 0x81, 0xc0, 0x9a, 0x56, 0xbc, 0x71, 0xfe, 0xc1, 0x98, 0xf3, 0xf3, 0x7b, 0xe5, + 0xe3, 0x52, 0x05, 0x8d, 0xba, 0xff, 0xe9, 0xab, 0xb9, 0x9f, 0x6d, 0xcf, 0x4f, 0x00, 0x3f, 0x85, + 0xf5, 0x58, 0x52, 0x7f, 0xc8, 0x92, 0x98, 0xf2, 0x76, 0x27, 0x1d, 0x3e, 0x97, 0xf4, 0x79, 0xc6, + 0xeb, 0x9d, 0x26, 0xde, 0x6a, 0x9c, 0x87, 0x32, 0x4a, 0x6c, 0x06, 0xab, 0x05, 0x7c, 0xa2, 0x6b, + 0xe6, 0xff, 0xaf, 0xae, 0xb1, 0x0f, 0x60, 0xed, 0x29, 0x55, 0x75, 0xa2, 0xc8, 0xa0, 0x4b, 0xb6, + 0xa0, 0xac, 0xd5, 0x8e, 0x34, 0xe8, 0x92, 0x5e, 0xb8, 0x90, 0x91, 0xfd, 0x2b, 0x82, 0xf5, 0x3c, + 0xdf, 0x18, 0xfb, 0x09, 0x2c, 0x9b, 0x7b, 0xce, 0xef, 0x92, 0x58, 0x6f, 0x49, 0x5b, 0xa2, 0x78, + 0xa2, 0xa7, 0x59, 0xc6, 0x33, 0x12, 0x9f, 0xcc, 0x79, 0x10, 0xe5, 0x11, 0x6e, 0x4e, 0x9a, 0x56, + 0x9a, 0xc9, 0xb4, 0x93, 0xb9, 0x31, 0xdb, 0x8e, 0x17, 0x61, 0x21, 0x7d, 0x20, 0xf6, 0x6b, 0xb0, + 0x32, 0xda, 0xc0, 0x78, 0x0b, 0xde, 0x38, 0xf2, 0x5a, 0xcd, 0x27, 0x47, 0xb5, 0x96, 0xdf, 0xfa, + 0xfc, 0xbc, 0xe1, 0x5f, 0x9c, 0xd5, 0x1b, 0x4f, 0x9a, 0x67, 0x8d, 0xfa, 0xc6, 0x1c, 0xde, 0x04, + 0x5c, 0x04, 0xeb, 0x8d, 0xda, 0x67, 0x1b, 0xe8, 0xf0, 0xaf, 0x05, 0xd8, 0x48, 0xcb, 0x3c, 0x4f, + 0x9f, 0x9b, 0xe7, 0x99, 0x00, 0xfc, 0x0b, 0x82, 0xbb, 0xd3, 0xae, 0x49, 0x7c, 0x30, 0x29, 0xf6, + 0x96, 0xeb, 0xd4, 0x72, 0x66, 0x4d, 0xcf, 0x2c, 0xb6, 0xdf, 0xf9, 0xfe, 0xcf, 0xbf, 0x7f, 0x2c, + 0xbd, 0x69, 0xef, 0xe8, 0x77, 0xed, 0xea, 0x83, 0xe1, 0x43, 0xe8, 0xe6, 0x13, 0xdd, 0x93, 0xfc, + 0x31, 0xda, 0xc7, 0xbf, 0x21, 0xd8, 0x9c, 0x7e, 0x07, 0x61, 0xf7, 0x26, 0xd6, 0x1b, 0xee, 0x4a, + 0xeb, 0xfd, 0xd9, 0x37, 0x14, 0x84, 0x56, 0xf1, 0x4b, 0x84, 0xfe, 0x50, 0x42, 0xf8, 0x67, 0x04, + 0x78, 0x72, 0x5c, 0xf1, 0xbb, 0x2f, 0xe5, 0x1c, 0xde, 0x68, 0xd6, 0x7b, 0xb3, 0x25, 0x1b, 0x71, + 0xfb, 0x5a, 0xdc, 0x5b, 0xf6, 0xee, 0x2d, 0xe2, 0x22, 0xc6, 0x5f, 0xa4, 0x36, 0x86, 0x70, 0xc7, + 0xf4, 0x39, 0xae, 0x4e, 0x92, 0x14, 0x47, 0xc6, 0x7a, 0x70, 0x4b, 0x86, 0xe1, 0xbe, 0xab, 0xb9, + 0xd7, 0xf0, 0xca, 0x28, 0xf7, 0xf1, 0xa3, 0x2f, 0x3e, 0xea, 0x30, 0xf5, 0x65, 0xef, 0xd2, 0x09, + 0x44, 0xd7, 0xd5, 0x1f, 0x11, 0xb2, 0xe3, 0xe6, 0x3f, 0x11, 0x1d, 0xca, 0xdd, 0xf8, 0xf2, 0xa0, + 0x23, 0xdc, 0xf1, 0x5f, 0xa1, 0xcb, 0x45, 0x3d, 0xd7, 0x1f, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, + 0xd7, 0x01, 0x0d, 0xde, 0x25, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -517,6 +716,7 @@ type DataProxyServiceClient interface { CreateDownloadLocation(ctx context.Context, in *CreateDownloadLocationRequest, opts ...grpc.CallOption) (*CreateDownloadLocationResponse, error) // CreateDownloadLocation creates a signed url to download artifacts. CreateDownloadLink(ctx context.Context, in *CreateDownloadLinkRequest, opts ...grpc.CallOption) (*CreateDownloadLinkResponse, error) + GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) } type dataProxyServiceClient struct { @@ -555,6 +755,15 @@ func (c *dataProxyServiceClient) CreateDownloadLink(ctx context.Context, in *Cre return out, nil } +func (c *dataProxyServiceClient) GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error) { + out := new(GetDataResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.DataProxyService/GetData", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DataProxyServiceServer is the server API for DataProxyService service. type DataProxyServiceServer interface { // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. @@ -563,6 +772,7 @@ type DataProxyServiceServer interface { CreateDownloadLocation(context.Context, *CreateDownloadLocationRequest) (*CreateDownloadLocationResponse, error) // CreateDownloadLocation creates a signed url to download artifacts. CreateDownloadLink(context.Context, *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) + GetData(context.Context, *GetDataRequest) (*GetDataResponse, error) } // UnimplementedDataProxyServiceServer can be embedded to have forward compatible implementations. @@ -578,6 +788,9 @@ func (*UnimplementedDataProxyServiceServer) CreateDownloadLocation(ctx context.C func (*UnimplementedDataProxyServiceServer) CreateDownloadLink(ctx context.Context, req *CreateDownloadLinkRequest) (*CreateDownloadLinkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateDownloadLink not implemented") } +func (*UnimplementedDataProxyServiceServer) GetData(ctx context.Context, req *GetDataRequest) (*GetDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetData not implemented") +} func RegisterDataProxyServiceServer(s *grpc.Server, srv DataProxyServiceServer) { s.RegisterService(&_DataProxyService_serviceDesc, srv) @@ -637,6 +850,24 @@ func _DataProxyService_CreateDownloadLink_Handler(srv interface{}, ctx context.C return interceptor(ctx, in, info, handler) } +func _DataProxyService_GetData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataProxyServiceServer).GetData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.DataProxyService/GetData", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataProxyServiceServer).GetData(ctx, req.(*GetDataRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DataProxyService_serviceDesc = grpc.ServiceDesc{ ServiceName: "flyteidl.service.DataProxyService", HandlerType: (*DataProxyServiceServer)(nil), @@ -653,6 +884,10 @@ var _DataProxyService_serviceDesc = grpc.ServiceDesc{ MethodName: "CreateDownloadLink", Handler: _DataProxyService_CreateDownloadLink_Handler, }, + { + MethodName: "GetData", + Handler: _DataProxyService_GetData_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "flyteidl/service/dataproxy.proto", diff --git a/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go b/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go index 3b819e343..c11d94174 100644 --- a/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go +++ b/gen/pb-go/flyteidl/service/dataproxy.pb.gw.go @@ -82,6 +82,26 @@ func request_DataProxyService_CreateDownloadLink_0(ctx context.Context, marshale } +var ( + filter_DataProxyService_GetData_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_DataProxyService_GetData_0(ctx context.Context, marshaler runtime.Marshaler, client DataProxyServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetDataRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DataProxyService_GetData_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetData(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + // RegisterDataProxyServiceHandlerFromEndpoint is same as RegisterDataProxyServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. func RegisterDataProxyServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { @@ -180,6 +200,26 @@ func RegisterDataProxyServiceHandlerClient(ctx context.Context, mux *runtime.Ser }) + mux.Handle("GET", pattern_DataProxyService_GetData_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DataProxyService_GetData_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_DataProxyService_GetData_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -189,6 +229,8 @@ var ( pattern_DataProxyService_CreateDownloadLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_urn"}, "")) pattern_DataProxyService_CreateDownloadLink_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"api", "v1", "dataproxy", "artifact_link"}, "")) + + pattern_DataProxyService_GetData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"api", "v1", "data"}, "")) ) var ( @@ -197,4 +239,6 @@ var ( forward_DataProxyService_CreateDownloadLocation_0 = runtime.ForwardResponseMessage forward_DataProxyService_CreateDownloadLink_0 = runtime.ForwardResponseMessage + + forward_DataProxyService_GetData_0 = runtime.ForwardResponseMessage ) diff --git a/gen/pb-go/flyteidl/service/dataproxy.swagger.json b/gen/pb-go/flyteidl/service/dataproxy.swagger.json index b74476ec1..e0177556d 100644 --- a/gen/pb-go/flyteidl/service/dataproxy.swagger.json +++ b/gen/pb-go/flyteidl/service/dataproxy.swagger.json @@ -15,6 +15,31 @@ "application/json" ], "paths": { + "/api/v1/data": { + "get": { + "operationId": "GetData", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/serviceGetDataResponse" + } + } + }, + "parameters": [ + { + "name": "flyte_url", + "description": "A unique identifier in the form of flyte://\u003csomething\u003e that uniquely, for a given Flyte\nbackend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).\ne.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)\n flyte://v1/proj/development/execid/n2/i (for node execution input).", + "in": "query", + "required": false, + "type": "string" + } + ], + "tags": [ + "DataProxyService" + ] + } + }, "/api/v1/dataproxy/artifact_link": { "post": { "summary": "CreateDownloadLocation creates a signed url to download artifacts.", @@ -102,6 +127,221 @@ } }, "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/coreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "$ref": "#/definitions/protobufStruct", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, "coreNodeExecutionIdentifier": { "type": "object", "properties": { @@ -114,6 +354,203 @@ }, "description": "Encapsulation of fields that identify a Flyte node execution entity." }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean", + "format": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/coreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "$ref": "#/definitions/protobufStruct" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "$ref": "#/definitions/protobufStruct", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, "coreWorkflowExecutionIdentifier": { "type": "object", "properties": { @@ -132,6 +569,72 @@ }, "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" }, + "protobufListValue": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Repeated field of dynamically typed values." + } + }, + "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "protobufStruct": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Unordered map of dynamically typed values." + } + }, + "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." + }, + "protobufValue": { + "type": "object", + "properties": { + "null_value": { + "$ref": "#/definitions/protobufNullValue", + "description": "Represents a null value." + }, + "number_value": { + "type": "number", + "format": "double", + "description": "Represents a double value." + }, + "string_value": { + "type": "string", + "description": "Represents a string value." + }, + "bool_value": { + "type": "boolean", + "format": "boolean", + "description": "Represents a boolean value." + }, + "struct_value": { + "$ref": "#/definitions/protobufStruct", + "description": "Represents a structured value." + }, + "list_value": { + "$ref": "#/definitions/protobufListValue", + "description": "Represents a repeated `Value`." + } + }, + "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + }, "serviceArtifactType": { "type": "string", "enum": [ @@ -174,6 +677,10 @@ "type": "string", "format": "date-time", "description": "ExpiresAt defines when will the signed URL expire." + }, + "pre_signed_urls": { + "$ref": "#/definitions/servicePreSignedURLs", + "title": "New wrapper object containing the signed urls and expiration time" } }, "title": "CreateDownloadLinkResponse defines the response for the generated links" @@ -236,6 +743,37 @@ "description": "ExpiresAt defines when will the signed URL expires." } } + }, + "serviceGetDataResponse": { + "type": "object", + "properties": { + "literal_map": { + "$ref": "#/definitions/coreLiteralMap", + "title": "literal map data will be returned" + }, + "pre_signed_urls": { + "$ref": "#/definitions/servicePreSignedURLs", + "title": "Flyte deck html will be returned as a signed url users can download" + } + } + }, + "servicePreSignedURLs": { + "type": "object", + "properties": { + "signed_url": { + "type": "array", + "items": { + "type": "string" + }, + "title": "SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)" + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "ExpiresAt defines when will the signed URL expire." + } + }, + "title": "Wrapper object since the message is shared across this and the GetDataResponse" } } } diff --git a/gen/pb-go/flyteidl/service/external_plugin_service.pb.go b/gen/pb-go/flyteidl/service/external_plugin_service.pb.go new file mode 100644 index 000000000..5d61ac453 --- /dev/null +++ b/gen/pb-go/flyteidl/service/external_plugin_service.pb.go @@ -0,0 +1,555 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/service/external_plugin_service.proto + +package service + +import ( + context "context" + fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// The state of the execution is used to control its visibility in the UI/CLI. +type State int32 + +const ( + State_RETRYABLE_FAILURE State = 0 + State_PERMANENT_FAILURE State = 1 + State_PENDING State = 2 + State_RUNNING State = 3 + State_SUCCEEDED State = 4 +) + +var State_name = map[int32]string{ + 0: "RETRYABLE_FAILURE", + 1: "PERMANENT_FAILURE", + 2: "PENDING", + 3: "RUNNING", + 4: "SUCCEEDED", +} + +var State_value = map[string]int32{ + "RETRYABLE_FAILURE": 0, + "PERMANENT_FAILURE": 1, + "PENDING": 2, + "RUNNING": 3, + "SUCCEEDED": 4, +} + +func (x State) String() string { + return proto.EnumName(State_name, int32(x)) +} + +func (State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{0} +} + +// Represents a request structure to create task. +type TaskCreateRequest struct { + // The inputs required to start the execution. All required inputs must be + // included in this map. If not required and not provided, defaults apply. + // +optional + Inputs *core.LiteralMap `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // Template of the task that encapsulates all the metadata of the task. + Template *core.TaskTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` + // Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + OutputPrefix string `protobuf:"bytes,3,opt,name=output_prefix,json=outputPrefix,proto3" json:"output_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskCreateRequest) Reset() { *m = TaskCreateRequest{} } +func (m *TaskCreateRequest) String() string { return proto.CompactTextString(m) } +func (*TaskCreateRequest) ProtoMessage() {} +func (*TaskCreateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{0} +} + +func (m *TaskCreateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskCreateRequest.Unmarshal(m, b) +} +func (m *TaskCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskCreateRequest.Marshal(b, m, deterministic) +} +func (m *TaskCreateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskCreateRequest.Merge(m, src) +} +func (m *TaskCreateRequest) XXX_Size() int { + return xxx_messageInfo_TaskCreateRequest.Size(m) +} +func (m *TaskCreateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TaskCreateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskCreateRequest proto.InternalMessageInfo + +func (m *TaskCreateRequest) GetInputs() *core.LiteralMap { + if m != nil { + return m.Inputs + } + return nil +} + +func (m *TaskCreateRequest) GetTemplate() *core.TaskTemplate { + if m != nil { + return m.Template + } + return nil +} + +func (m *TaskCreateRequest) GetOutputPrefix() string { + if m != nil { + return m.OutputPrefix + } + return "" +} + +// Represents a create response structure. +type TaskCreateResponse struct { + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskCreateResponse) Reset() { *m = TaskCreateResponse{} } +func (m *TaskCreateResponse) String() string { return proto.CompactTextString(m) } +func (*TaskCreateResponse) ProtoMessage() {} +func (*TaskCreateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{1} +} + +func (m *TaskCreateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskCreateResponse.Unmarshal(m, b) +} +func (m *TaskCreateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskCreateResponse.Marshal(b, m, deterministic) +} +func (m *TaskCreateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskCreateResponse.Merge(m, src) +} +func (m *TaskCreateResponse) XXX_Size() int { + return xxx_messageInfo_TaskCreateResponse.Size(m) +} +func (m *TaskCreateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TaskCreateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskCreateResponse proto.InternalMessageInfo + +func (m *TaskCreateResponse) GetJobId() string { + if m != nil { + return m.JobId + } + return "" +} + +// A message used to fetch a job state from backend plugin server. +type TaskGetRequest struct { + // A predefined yet extensible Task type identifier. + TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` + // The unique id identifying the job. + JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskGetRequest) Reset() { *m = TaskGetRequest{} } +func (m *TaskGetRequest) String() string { return proto.CompactTextString(m) } +func (*TaskGetRequest) ProtoMessage() {} +func (*TaskGetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{2} +} + +func (m *TaskGetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskGetRequest.Unmarshal(m, b) +} +func (m *TaskGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskGetRequest.Marshal(b, m, deterministic) +} +func (m *TaskGetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskGetRequest.Merge(m, src) +} +func (m *TaskGetRequest) XXX_Size() int { + return xxx_messageInfo_TaskGetRequest.Size(m) +} +func (m *TaskGetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TaskGetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskGetRequest proto.InternalMessageInfo + +func (m *TaskGetRequest) GetTaskType() string { + if m != nil { + return m.TaskType + } + return "" +} + +func (m *TaskGetRequest) GetJobId() string { + if m != nil { + return m.JobId + } + return "" +} + +// Response to get an individual task state. +type TaskGetResponse struct { + // The state of the execution is used to control its visibility in the UI/CLI. + State State `protobuf:"varint,1,opt,name=state,proto3,enum=flyteidl.service.State" json:"state,omitempty"` + // The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a + // Structured dataset pointing to the query result table. + // +optional + Outputs *core.LiteralMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskGetResponse) Reset() { *m = TaskGetResponse{} } +func (m *TaskGetResponse) String() string { return proto.CompactTextString(m) } +func (*TaskGetResponse) ProtoMessage() {} +func (*TaskGetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{3} +} + +func (m *TaskGetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskGetResponse.Unmarshal(m, b) +} +func (m *TaskGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskGetResponse.Marshal(b, m, deterministic) +} +func (m *TaskGetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskGetResponse.Merge(m, src) +} +func (m *TaskGetResponse) XXX_Size() int { + return xxx_messageInfo_TaskGetResponse.Size(m) +} +func (m *TaskGetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TaskGetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskGetResponse proto.InternalMessageInfo + +func (m *TaskGetResponse) GetState() State { + if m != nil { + return m.State + } + return State_RETRYABLE_FAILURE +} + +func (m *TaskGetResponse) GetOutputs() *core.LiteralMap { + if m != nil { + return m.Outputs + } + return nil +} + +// A message used to delete a task. +type TaskDeleteRequest struct { + // A predefined yet extensible Task type identifier. + TaskType string `protobuf:"bytes,1,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` + // The unique id identifying the job. + JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskDeleteRequest) Reset() { *m = TaskDeleteRequest{} } +func (m *TaskDeleteRequest) String() string { return proto.CompactTextString(m) } +func (*TaskDeleteRequest) ProtoMessage() {} +func (*TaskDeleteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{4} +} + +func (m *TaskDeleteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskDeleteRequest.Unmarshal(m, b) +} +func (m *TaskDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskDeleteRequest.Marshal(b, m, deterministic) +} +func (m *TaskDeleteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskDeleteRequest.Merge(m, src) +} +func (m *TaskDeleteRequest) XXX_Size() int { + return xxx_messageInfo_TaskDeleteRequest.Size(m) +} +func (m *TaskDeleteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TaskDeleteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskDeleteRequest proto.InternalMessageInfo + +func (m *TaskDeleteRequest) GetTaskType() string { + if m != nil { + return m.TaskType + } + return "" +} + +func (m *TaskDeleteRequest) GetJobId() string { + if m != nil { + return m.JobId + } + return "" +} + +// Response to delete a task. +type TaskDeleteResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskDeleteResponse) Reset() { *m = TaskDeleteResponse{} } +func (m *TaskDeleteResponse) String() string { return proto.CompactTextString(m) } +func (*TaskDeleteResponse) ProtoMessage() {} +func (*TaskDeleteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_74cbdb08eef5b1d1, []int{5} +} + +func (m *TaskDeleteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskDeleteResponse.Unmarshal(m, b) +} +func (m *TaskDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskDeleteResponse.Marshal(b, m, deterministic) +} +func (m *TaskDeleteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskDeleteResponse.Merge(m, src) +} +func (m *TaskDeleteResponse) XXX_Size() int { + return xxx_messageInfo_TaskDeleteResponse.Size(m) +} +func (m *TaskDeleteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TaskDeleteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskDeleteResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("flyteidl.service.State", State_name, State_value) + proto.RegisterType((*TaskCreateRequest)(nil), "flyteidl.service.TaskCreateRequest") + proto.RegisterType((*TaskCreateResponse)(nil), "flyteidl.service.TaskCreateResponse") + proto.RegisterType((*TaskGetRequest)(nil), "flyteidl.service.TaskGetRequest") + proto.RegisterType((*TaskGetResponse)(nil), "flyteidl.service.TaskGetResponse") + proto.RegisterType((*TaskDeleteRequest)(nil), "flyteidl.service.TaskDeleteRequest") + proto.RegisterType((*TaskDeleteResponse)(nil), "flyteidl.service.TaskDeleteResponse") +} + +func init() { + proto.RegisterFile("flyteidl/service/external_plugin_service.proto", fileDescriptor_74cbdb08eef5b1d1) +} + +var fileDescriptor_74cbdb08eef5b1d1 = []byte{ + // 525 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc1, 0x6e, 0xda, 0x40, + 0x10, 0x05, 0x52, 0x20, 0x4c, 0x9a, 0x94, 0xac, 0x8a, 0x4a, 0x48, 0x2b, 0x51, 0xa7, 0x87, 0xa8, + 0x55, 0x6c, 0x95, 0x1c, 0xa2, 0x1e, 0x09, 0xb8, 0x08, 0x89, 0x58, 0x68, 0x81, 0x03, 0x3d, 0xd4, + 0x32, 0x30, 0xb8, 0x4e, 0x1c, 0x7b, 0x6b, 0xaf, 0xab, 0xf0, 0x35, 0xbd, 0xf4, 0x43, 0xab, 0xf5, + 0xda, 0x0e, 0x90, 0x96, 0x43, 0x8e, 0x9e, 0x79, 0xf3, 0xe6, 0xcd, 0x9b, 0x59, 0x83, 0xba, 0x74, + 0x57, 0x1c, 0x9d, 0x85, 0xab, 0x85, 0x18, 0xfc, 0x72, 0xe6, 0xa8, 0xe1, 0x03, 0xc7, 0xc0, 0xb3, + 0x5c, 0x93, 0xb9, 0x91, 0xed, 0x78, 0x66, 0x12, 0x57, 0x59, 0xe0, 0x73, 0x9f, 0x54, 0x53, 0xbc, + 0x9a, 0xc4, 0x1b, 0x6f, 0x33, 0x86, 0xb9, 0x1f, 0xa0, 0xe6, 0x3a, 0x1c, 0x03, 0xcb, 0x0d, 0x25, + 0xbe, 0x71, 0xb2, 0x99, 0xe5, 0x56, 0x78, 0x97, 0xa6, 0xde, 0x6d, 0xa6, 0x1c, 0x8f, 0x63, 0xb0, + 0xb4, 0xd2, 0x4e, 0xca, 0x9f, 0x3c, 0x1c, 0x8f, 0xad, 0xf0, 0xae, 0x13, 0xa0, 0xc5, 0x91, 0xe2, + 0xcf, 0x08, 0x43, 0x4e, 0x3e, 0x43, 0xc9, 0xf1, 0x58, 0xc4, 0xc3, 0x7a, 0xbe, 0x99, 0x3f, 0x3f, + 0x68, 0x9d, 0x64, 0x03, 0xa8, 0x82, 0x45, 0x1d, 0xc8, 0xf6, 0x37, 0x16, 0xa3, 0x09, 0x90, 0x5c, + 0xc1, 0x3e, 0xc7, 0x7b, 0xe6, 0x5a, 0x1c, 0xeb, 0x85, 0xb8, 0xe8, 0x74, 0xab, 0x48, 0xb4, 0x19, + 0x27, 0x10, 0x9a, 0x81, 0xc9, 0x19, 0x1c, 0xfa, 0x11, 0x67, 0x11, 0x37, 0x59, 0x80, 0x4b, 0xe7, + 0xa1, 0xbe, 0xd7, 0xcc, 0x9f, 0x57, 0xe8, 0x4b, 0x19, 0x1c, 0xc6, 0x31, 0xe5, 0x13, 0x90, 0x75, + 0x95, 0x21, 0xf3, 0xbd, 0x10, 0x49, 0x0d, 0x4a, 0xb7, 0xfe, 0xcc, 0x74, 0x16, 0xb1, 0xcc, 0x0a, + 0x2d, 0xde, 0xfa, 0xb3, 0xfe, 0x42, 0xe9, 0xc2, 0x91, 0x00, 0xf7, 0x90, 0xa7, 0xf3, 0x9c, 0x42, + 0x45, 0x78, 0x62, 0xf2, 0x15, 0xc3, 0x04, 0xbb, 0x2f, 0x02, 0xe3, 0x15, 0x5b, 0x67, 0x29, 0xac, + 0xb3, 0x44, 0xf0, 0x2a, 0x63, 0x49, 0xfa, 0x5d, 0x40, 0x31, 0xe4, 0x62, 0x40, 0x41, 0x71, 0xd4, + 0x7a, 0xa3, 0x6e, 0xaf, 0x49, 0x1d, 0x89, 0x34, 0x95, 0x28, 0x72, 0x09, 0x65, 0x39, 0x44, 0x98, + 0x38, 0xb2, 0xc3, 0xc6, 0x14, 0xa9, 0xf4, 0xe4, 0x3e, 0xba, 0xe8, 0xe2, 0xe3, 0x3e, 0x9e, 0xa3, + 0xff, 0xb5, 0xb4, 0x2c, 0x25, 0x92, 0x23, 0x7c, 0xfc, 0x0e, 0xc5, 0x58, 0x23, 0xa9, 0xc1, 0x31, + 0xd5, 0xc7, 0x74, 0xda, 0xbe, 0x1e, 0xe8, 0xe6, 0xd7, 0x76, 0x7f, 0x30, 0xa1, 0x7a, 0x35, 0x27, + 0xc2, 0x43, 0x9d, 0xde, 0xb4, 0x0d, 0xdd, 0x18, 0x67, 0xe1, 0x3c, 0x39, 0x80, 0xf2, 0x50, 0x37, + 0xba, 0x7d, 0xa3, 0x57, 0x2d, 0x88, 0x0f, 0x3a, 0x31, 0x0c, 0xf1, 0xb1, 0x47, 0x0e, 0xa1, 0x32, + 0x9a, 0x74, 0x3a, 0xba, 0xde, 0xd5, 0xbb, 0xd5, 0x17, 0xad, 0xdf, 0x05, 0xa8, 0xe9, 0xc9, 0x6d, + 0x0f, 0xe3, 0xd3, 0x1e, 0x49, 0x6b, 0xc8, 0x14, 0x40, 0xae, 0x4f, 0xa8, 0x22, 0x67, 0x4f, 0xbd, + 0x7b, 0x72, 0x86, 0x8d, 0x0f, 0xbb, 0x41, 0x72, 0x24, 0x25, 0x47, 0x86, 0x50, 0xee, 0x21, 0x8f, + 0x79, 0x9b, 0xff, 0x2e, 0x79, 0xbc, 0x85, 0xc6, 0xfb, 0x1d, 0x88, 0x8c, 0x71, 0x0a, 0x20, 0x8d, + 0xdb, 0x25, 0x76, 0x63, 0x47, 0xff, 0x13, 0xbb, 0xe9, 0xbf, 0x92, 0xbb, 0xfe, 0xf2, 0xed, 0xca, + 0x76, 0xf8, 0x8f, 0x68, 0xa6, 0xce, 0xfd, 0x7b, 0x2d, 0xae, 0xf1, 0x03, 0x5b, 0xcb, 0x9e, 0xa9, + 0x8d, 0x9e, 0xc6, 0x66, 0x17, 0xb6, 0xaf, 0x6d, 0xff, 0x34, 0x66, 0xa5, 0xf8, 0xcd, 0x5e, 0xfe, + 0x0d, 0x00, 0x00, 0xff, 0xff, 0x18, 0xdb, 0xdc, 0xc4, 0x4f, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ExternalPluginServiceClient is the client API for ExternalPluginService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ExternalPluginServiceClient interface { + // Send a task create request to the backend plugin server. + CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) + // Get job status. + GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) + // Delete the task resource. + DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) +} + +type externalPluginServiceClient struct { + cc *grpc.ClientConn +} + +func NewExternalPluginServiceClient(cc *grpc.ClientConn) ExternalPluginServiceClient { + return &externalPluginServiceClient{cc} +} + +func (c *externalPluginServiceClient) CreateTask(ctx context.Context, in *TaskCreateRequest, opts ...grpc.CallOption) (*TaskCreateResponse, error) { + out := new(TaskCreateResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/CreateTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *externalPluginServiceClient) GetTask(ctx context.Context, in *TaskGetRequest, opts ...grpc.CallOption) (*TaskGetResponse, error) { + out := new(TaskGetResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/GetTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *externalPluginServiceClient) DeleteTask(ctx context.Context, in *TaskDeleteRequest, opts ...grpc.CallOption) (*TaskDeleteResponse, error) { + out := new(TaskDeleteResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.ExternalPluginService/DeleteTask", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ExternalPluginServiceServer is the server API for ExternalPluginService service. +type ExternalPluginServiceServer interface { + // Send a task create request to the backend plugin server. + CreateTask(context.Context, *TaskCreateRequest) (*TaskCreateResponse, error) + // Get job status. + GetTask(context.Context, *TaskGetRequest) (*TaskGetResponse, error) + // Delete the task resource. + DeleteTask(context.Context, *TaskDeleteRequest) (*TaskDeleteResponse, error) +} + +// UnimplementedExternalPluginServiceServer can be embedded to have forward compatible implementations. +type UnimplementedExternalPluginServiceServer struct { +} + +func (*UnimplementedExternalPluginServiceServer) CreateTask(ctx context.Context, req *TaskCreateRequest) (*TaskCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented") +} +func (*UnimplementedExternalPluginServiceServer) GetTask(ctx context.Context, req *TaskGetRequest) (*TaskGetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented") +} +func (*UnimplementedExternalPluginServiceServer) DeleteTask(ctx context.Context, req *TaskDeleteRequest) (*TaskDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented") +} + +func RegisterExternalPluginServiceServer(s *grpc.Server, srv ExternalPluginServiceServer) { + s.RegisterService(&_ExternalPluginService_serviceDesc, srv) +} + +func _ExternalPluginService_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskCreateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).CreateTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.ExternalPluginService/CreateTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).CreateTask(ctx, req.(*TaskCreateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ExternalPluginService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskGetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).GetTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.ExternalPluginService/GetTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).GetTask(ctx, req.(*TaskGetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ExternalPluginService_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TaskDeleteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ExternalPluginServiceServer).DeleteTask(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.ExternalPluginService/DeleteTask", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ExternalPluginServiceServer).DeleteTask(ctx, req.(*TaskDeleteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ExternalPluginService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.ExternalPluginService", + HandlerType: (*ExternalPluginServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateTask", + Handler: _ExternalPluginService_CreateTask_Handler, + }, + { + MethodName: "GetTask", + Handler: _ExternalPluginService_GetTask_Handler, + }, + { + MethodName: "DeleteTask", + Handler: _ExternalPluginService_DeleteTask_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/external_plugin_service.proto", +} diff --git a/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json b/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json new file mode 100644 index 000000000..3fe262d48 --- /dev/null +++ b/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json @@ -0,0 +1,1158 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/external_plugin_service.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "ContainerArchitecture": { + "type": "string", + "enum": [ + "UNKNOWN", + "AMD64", + "ARM64", + "ARM_V6", + "ARM_V7" + ], + "default": "UNKNOWN", + "description": "Architecture-type the container image supports." + }, + "DataLoadingConfigLiteralMapFormat": { + "type": "string", + "enum": [ + "JSON", + "YAML", + "PROTO" + ], + "default": "JSON", + "description": "- JSON: JSON / YAML for the metadata (which contains inlined primitive values). The representation is inline with the standard json specification as specified - https://www.json.org/json-en.html\n - PROTO: Proto is a serialized binary of `core.LiteralMap` defined in flyteidl/core", + "title": "LiteralMapFormat decides the encoding format in which the input metadata should be made available to the containers.\nIf the user has access to the protocol buffer definitions, it is recommended to use the PROTO format.\nJSON and YAML do not need any protobuf definitions to read it\nAll remote references in core.LiteralMap are replaced with local filesystem references (the data is downloaded to local filesystem)" + }, + "IOStrategyDownloadMode": { + "type": "string", + "enum": [ + "DOWNLOAD_EAGER", + "DOWNLOAD_STREAM", + "DO_NOT_DOWNLOAD" + ], + "default": "DOWNLOAD_EAGER", + "description": "- DOWNLOAD_EAGER: All data will be downloaded before the main container is executed\n - DOWNLOAD_STREAM: Data will be downloaded as a stream and an End-Of-Stream marker will be written to indicate all data has been downloaded. Refer to protocol for details\n - DO_NOT_DOWNLOAD: Large objects (offloaded) will not be downloaded", + "title": "Mode to use for downloading" + }, + "IOStrategyUploadMode": { + "type": "string", + "enum": [ + "UPLOAD_ON_EXIT", + "UPLOAD_EAGER", + "DO_NOT_UPLOAD" + ], + "default": "UPLOAD_ON_EXIT", + "description": "- UPLOAD_ON_EXIT: All data will be uploaded after the main container exits\n - UPLOAD_EAGER: Data will be uploaded as it appears. Refer to protocol specification for details\n - DO_NOT_UPLOAD: Data will not be uploaded, only references will be written", + "title": "Mode to use for uploading" + }, + "ResourcesResourceEntry": { + "type": "object", + "properties": { + "name": { + "$ref": "#/definitions/ResourcesResourceName", + "description": "Resource name." + }, + "value": { + "type": "string", + "title": "Value must be a valid k8s quantity. See\nhttps://github.com/kubernetes/apimachinery/blob/master/pkg/api/resource/quantity.go#L30-L80" + } + }, + "description": "Encapsulates a resource name and value." + }, + "ResourcesResourceName": { + "type": "string", + "enum": [ + "UNKNOWN", + "CPU", + "GPU", + "MEMORY", + "STORAGE", + "EPHEMERAL_STORAGE" + ], + "default": "UNKNOWN", + "description": "Known resource names.\n\n - EPHEMERAL_STORAGE: For Kubernetes-based deployments, pods use ephemeral local storage for scratch space, caching, and for logs." + }, + "RuntimeMetadataRuntimeType": { + "type": "string", + "enum": [ + "OTHER", + "FLYTE_SDK" + ], + "default": "OTHER" + }, + "SchemaColumnSchemaColumnType": { + "type": "string", + "enum": [ + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION" + ], + "default": "INTEGER" + }, + "SchemaTypeSchemaColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "A unique name -within the schema type- for the column" + }, + "type": { + "$ref": "#/definitions/SchemaColumnSchemaColumnType", + "description": "The column type. This allows a limited set of types currently." + } + } + }, + "SecretMountType": { + "type": "string", + "enum": [ + "ANY", + "ENV_VAR", + "FILE" + ], + "default": "ANY", + "description": " - ANY: Default case, indicates the client can tolerate either mounting options.\n - ENV_VAR: ENV_VAR indicates the secret needs to be mounted as an environment variable.\n - FILE: FILE indicates the secret needs to be mounted as a file." + }, + "SqlDialect": { + "type": "string", + "enum": [ + "UNDEFINED", + "ANSI", + "HIVE", + "OTHER" + ], + "default": "UNDEFINED", + "description": "The dialect of the SQL statement. This is used to validate and parse SQL statements at compilation time to avoid\nexpensive runtime operations. If set to an unsupported dialect, no validation will be done on the statement.\nWe support the following dialect: ansi, hive." + }, + "StructuredDatasetTypeDatasetColumn": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A unique name within the schema type for the column." + }, + "literal_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "The column type." + } + } + }, + "coreBinary": { + "type": "object", + "properties": { + "value": { + "type": "string", + "format": "byte" + }, + "tag": { + "type": "string" + } + }, + "description": "A simple byte array with a tag to help different parts of the system communicate about what is in the byte array.\nIt's strongly advisable that consumers of this type define a unique tag and validate the tag before parsing the data." + }, + "coreBlob": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreBlobMetadata" + }, + "uri": { + "type": "string" + } + }, + "description": "Refers to an offloaded set of files. It encapsulates the type of the store and a unique uri for where the data is.\nThere are no restrictions on how the uri is formatted since it will depend on how to interact with the store." + }, + "coreBlobMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreBlobType" + } + } + }, + "coreBlobType": { + "type": "object", + "properties": { + "format": { + "type": "string", + "title": "Format can be a free form string understood by SDK/UI etc like\ncsv, parquet etc" + }, + "dimensionality": { + "$ref": "#/definitions/BlobTypeBlobDimensionality" + } + }, + "title": "Defines type behavior for blob objects" + }, + "coreContainer": { + "type": "object", + "properties": { + "image": { + "type": "string", + "title": "Container image url. Eg: docker/redis:latest" + }, + "command": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Command to be executed, if not provided, the default entrypoint in the container image will be used." + }, + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "These will default to Flyte given paths. If provided, the system will not append known paths. If the task still\nneeds flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the\nsystem will populate these before executing the container." + }, + "resources": { + "$ref": "#/definitions/coreResources", + "description": "Container resources requirement as specified by the container engine." + }, + "env": { + "type": "array", + "items": { + "$ref": "#/definitions/coreKeyValuePair" + }, + "description": "Environment variables will be set as the container is starting up." + }, + "config": { + "type": "array", + "items": { + "$ref": "#/definitions/coreKeyValuePair" + }, + "description": "Allows extra configs to be available for the container.\nTODO: elaborate on how configs will become available.\nDeprecated, please use TaskTemplate.config instead." + }, + "ports": { + "type": "array", + "items": { + "$ref": "#/definitions/coreContainerPort" + }, + "title": "Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but\nnot supported on AWS Batch)\nOnly K8s" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + }, + "architecture": { + "$ref": "#/definitions/ContainerArchitecture" + } + } + }, + "coreContainerPort": { + "type": "object", + "properties": { + "container_port": { + "type": "integer", + "format": "int64", + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." + } + }, + "description": "Defines port properties for a container." + }, + "coreDataLoadingConfig": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "format": "boolean", + "title": "Flag enables DataLoading Config. If this is not set, data loading will not be used!" + }, + "input_path": { + "type": "string", + "title": "File system path (start at root). This folder will contain all the inputs exploded to a separate file.\nExample, if the input interface needs (x: int, y: blob, z: multipart_blob) and the input path is '/var/flyte/inputs', then the file system will look like\n/var/flyte/inputs/inputs.\u003cmetadata format dependent -\u003e .pb .json .yaml\u003e -\u003e Format as defined previously. The Blob and Multipart blob will reference local filesystem instead of remote locations\n/var/flyte/inputs/x -\u003e X is a file that contains the value of x (integer) in string format\n/var/flyte/inputs/y -\u003e Y is a file in Binary format\n/var/flyte/inputs/z/... -\u003e Note Z itself is a directory\nMore information about the protocol - refer to docs #TODO reference docs here" + }, + "output_path": { + "type": "string", + "title": "File system path (start at root). This folder should contain all the outputs for the task as individual files and/or an error text file" + }, + "format": { + "$ref": "#/definitions/DataLoadingConfigLiteralMapFormat", + "title": "In the inputs folder, there will be an additional summary/metadata file that contains references to all files or inlined primitive values.\nThis format decides the actual encoding for the data. Refer to the encoding to understand the specifics of the contents and the encoding" + }, + "io_strategy": { + "$ref": "#/definitions/coreIOStrategy" + } + }, + "description": "This configuration allows executing raw containers in Flyte using the Flyte CoPilot system.\nFlyte CoPilot, eliminates the needs of flytekit or sdk inside the container. Any inputs required by the users container are side-loaded in the input_path\nAny outputs generated by the user container - within output_path are automatically uploaded." + }, + "coreEnumType": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Predefined set of enum values." + } + }, + "description": "Enables declaring enum types, with predefined string values\nFor len(values) \u003e 0, the first value in the ordered list is regarded as the default value. If you wish\nTo provide no defaults, make the first value as undefined." + }, + "coreError": { + "type": "object", + "properties": { + "failed_node_id": { + "type": "string", + "description": "The node id that threw the error." + }, + "message": { + "type": "string", + "description": "Error message thrown." + } + }, + "description": "Represents an error thrown from a node." + }, + "coreIOStrategy": { + "type": "object", + "properties": { + "download_mode": { + "$ref": "#/definitions/IOStrategyDownloadMode", + "title": "Mode to use to manage downloads" + }, + "upload_mode": { + "$ref": "#/definitions/IOStrategyUploadMode", + "title": "Mode to use to manage uploads" + } + }, + "title": "Strategy to use when dealing with Blob, Schema, or multipart blob data (large datasets)" + }, + "coreIdentifier": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User provided value for the resource." + }, + "version": { + "type": "string", + "description": "Specific version of the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreIdentity": { + "type": "object", + "properties": { + "iam_role": { + "type": "string", + "description": "iam_role references the fully qualified name of Identity \u0026 Access Management role to impersonate." + }, + "k8s_service_account": { + "type": "string", + "description": "k8s_service_account references a kubernetes service account to impersonate." + }, + "oauth2_client": { + "$ref": "#/definitions/coreOAuth2Client", + "description": "oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when\nmaking external calls." + }, + "execution_identity": { + "type": "string", + "title": "execution_identity references the subject who makes the execution" + } + }, + "description": "Identity encapsulates the various security identities a task can run as. It's up to the underlying plugin to pick the\nright identity for the execution environment." + }, + "coreK8sObjectMetadata": { + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional labels to add to the pod definition." + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Optional annotations to add to the pod definition." + } + }, + "description": "Metadata for building a kubernetes object when a task is executed." + }, + "coreK8sPod": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/definitions/coreK8sObjectMetadata", + "description": "Contains additional metadata for building a kubernetes pod." + }, + "pod_spec": { + "$ref": "#/definitions/protobufStruct", + "title": "Defines the primary pod spec created when a task is executed.\nThis should be a JSON-marshalled pod spec, which can be defined in\n- go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n- python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" + }, + "data_config": { + "$ref": "#/definitions/coreDataLoadingConfig", + "title": "BETA: Optional configuration for DataLoading. If not specified, then default values are used.\nThis makes it possible to to run a completely portable container, that uses inputs and outputs\nonly from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.\nIf data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories\nare not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation\nto understand the default paths.\nOnly K8s" + } + }, + "description": "Defines a pod spec and additional pod metadata that is created when a task is executed." + }, + "coreKeyValuePair": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "required." + }, + "value": { + "type": "string", + "description": "+optional." + } + }, + "description": "A generic key value pair." + }, + "coreLiteral": { + "type": "object", + "properties": { + "scalar": { + "$ref": "#/definitions/coreScalar", + "description": "A simple value." + }, + "collection": { + "$ref": "#/definitions/coreLiteralCollection", + "description": "A collection of literals to allow nesting." + }, + "map": { + "$ref": "#/definitions/coreLiteralMap", + "description": "A map of strings to literals." + }, + "hash": { + "type": "string", + "title": "A hash representing this literal.\nThis is used for caching purposes. For more details refer to RFC 1893\n(https://github.com/flyteorg/flyte/blob/master/rfc/system/1893-caching-of-offloaded-objects.md)" + } + }, + "description": "A simple value. This supports any level of nesting (e.g. array of array of array of Blobs) as well as simple primitives." + }, + "coreLiteralCollection": { + "type": "object", + "properties": { + "literals": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralMap": { + "type": "object", + "properties": { + "literals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLiteral" + } + } + }, + "description": "A map of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field." + }, + "coreLiteralType": { + "type": "object", + "properties": { + "simple": { + "$ref": "#/definitions/coreSimpleType", + "description": "A simple type that can be compared one-to-one with another." + }, + "schema": { + "$ref": "#/definitions/coreSchemaType", + "description": "A complex type that requires matching of inner fields." + }, + "collection_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a collection. Only homogeneous collections are allowed." + }, + "map_value_type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Defines the type of the value of a map type. The type of the key is always a string." + }, + "blob": { + "$ref": "#/definitions/coreBlobType", + "description": "A blob might have specialized implementation details depending on associated metadata." + }, + "enum_type": { + "$ref": "#/definitions/coreEnumType", + "description": "Defines an enum with pre-defined string values." + }, + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "title": "Generalized schema support" + }, + "union_type": { + "$ref": "#/definitions/coreUnionType", + "description": "Defines an union type with pre-defined LiteralTypes." + }, + "metadata": { + "$ref": "#/definitions/protobufStruct", + "description": "This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by\nconsumers to identify special behavior or display extended information for the type." + }, + "annotation": { + "$ref": "#/definitions/coreTypeAnnotation", + "description": "This field contains arbitrary data that might have special semantic\nmeaning for the client but does not effect internal flyte behavior." + }, + "structure": { + "$ref": "#/definitions/coreTypeStructure", + "description": "Hints to improve type matching." + } + }, + "description": "Defines a strong type to allow type checking between interfaces." + }, + "coreOAuth2Client": { + "type": "object", + "properties": { + "client_id": { + "type": "string", + "title": "client_id is the public id for the client to use. The system will not perform any pre-auth validation that the\nsecret requested matches the client_id indicated here.\n+required" + }, + "client_secret": { + "$ref": "#/definitions/coreSecret", + "title": "client_secret is a reference to the secret used to authenticate the OAuth2 client.\n+required" + } + }, + "description": "OAuth2Client encapsulates OAuth2 Client Credentials to be used when making calls on behalf of that task." + }, + "coreOAuth2TokenRequest": { + "type": "object", + "properties": { + "name": { + "type": "string", + "title": "name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for\nenvironment variables and as a filename for mounting tokens as files.\n+required" + }, + "type": { + "$ref": "#/definitions/coreOAuth2TokenRequestType", + "title": "type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS.\n+required" + }, + "client": { + "$ref": "#/definitions/coreOAuth2Client", + "title": "client references the client_id/secret to use to request the OAuth2 token.\n+required" + }, + "idp_discovery_endpoint": { + "type": "string", + "title": "idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related\ninformation.\n+optional" + }, + "token_endpoint": { + "type": "string", + "title": "token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is\nmandatory.\n+optional" + } + }, + "description": "OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.\nFLYTE_TOKENS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\ntokens are passed through environment variables.\nFLYTE_TOKENS_PATH_PREFIX will be passed to indicate the prefix of the path where secrets will be mounted if tokens\nare passed through file mounts." + }, + "coreOAuth2TokenRequestType": { + "type": "string", + "enum": [ + "CLIENT_CREDENTIALS" + ], + "default": "CLIENT_CREDENTIALS", + "description": "Type of the token requested.\n\n - CLIENT_CREDENTIALS: CLIENT_CREDENTIALS indicates a 2-legged OAuth token requested using client credentials." + }, + "corePrimitive": { + "type": "object", + "properties": { + "integer": { + "type": "string", + "format": "int64" + }, + "float_value": { + "type": "number", + "format": "double" + }, + "string_value": { + "type": "string" + }, + "boolean": { + "type": "boolean", + "format": "boolean" + }, + "datetime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "string" + } + }, + "title": "Primitive Types" + }, + "coreResourceType": { + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ], + "default": "UNSPECIFIED", + "description": "Indicates a resource type within Flyte.\n\n - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.\nEventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects \nin a similar manner to other Flyte objects" + }, + "coreResources": { + "type": "object", + "properties": { + "requests": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "The desired set of resources requested. ResourceNames must be unique within the list." + }, + "limits": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourcesResourceEntry" + }, + "description": "Defines a set of bounds (e.g. min/max) within which the task can reliably run. ResourceNames must be unique\nwithin the list." + } + }, + "description": "A customizable interface to convey resources requested for a container. This can be interpreted differently for different\ncontainer engines." + }, + "coreRetryStrategy": { + "type": "object", + "properties": { + "retries": { + "type": "integer", + "format": "int64", + "description": "Number of retries. Retries will be consumed when the job fails with a recoverable error.\nThe number of retries must be less than or equals to 10." + } + }, + "description": "Retry strategy associated with an executable unit." + }, + "coreRuntimeMetadata": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/RuntimeMetadataRuntimeType", + "description": "Type of runtime." + }, + "version": { + "type": "string", + "description": "Version of the runtime. All versions should be backward compatible. However, certain cases call for version\nchecks to ensure tighter validation or setting expectations." + }, + "flavor": { + "type": "string", + "description": "+optional It can be used to provide extra information about the runtime (e.g. python, golang... etc.)." + } + }, + "description": "Runtime information. This is loosely defined to allow for extensibility." + }, + "coreScalar": { + "type": "object", + "properties": { + "primitive": { + "$ref": "#/definitions/corePrimitive" + }, + "blob": { + "$ref": "#/definitions/coreBlob" + }, + "binary": { + "$ref": "#/definitions/coreBinary" + }, + "schema": { + "$ref": "#/definitions/coreSchema" + }, + "none_type": { + "$ref": "#/definitions/coreVoid" + }, + "error": { + "$ref": "#/definitions/coreError" + }, + "generic": { + "$ref": "#/definitions/protobufStruct" + }, + "structured_dataset": { + "$ref": "#/definitions/coreStructuredDataset" + }, + "union": { + "$ref": "#/definitions/coreUnion" + } + } + }, + "coreSchema": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/coreSchemaType" + } + }, + "description": "A strongly typed schema that defines the interface of data retrieved from the underlying storage medium." + }, + "coreSchemaType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/SchemaTypeSchemaColumn" + }, + "description": "A list of ordered columns this schema comprises of." + } + }, + "description": "Defines schema columns and types to strongly type-validate schemas interoperability." + }, + "coreSecret": { + "type": "object", + "properties": { + "group": { + "type": "string", + "title": "The name of the secret group where to find the key referenced below. For K8s secrets, this should be the name of\nthe v1/secret object. For Confidant, this should be the Credential name. For Vault, this should be the secret name.\nFor AWS Secret Manager, this should be the name of the secret.\n+required" + }, + "group_version": { + "type": "string", + "title": "The group version to fetch. This is not supported in all secret management systems. It'll be ignored for the ones\nthat do not support it.\n+optional" + }, + "key": { + "type": "string", + "title": "The name of the secret to mount. This has to match an existing secret in the system. It's up to the implementation\nof the secret management system to require case sensitivity. For K8s secrets, Confidant and Vault, this should\nmatch one of the keys inside the secret. For AWS Secret Manager, it's ignored.\n+optional" + }, + "mount_requirement": { + "$ref": "#/definitions/SecretMountType", + "title": "mount_requirement is optional. Indicates where the secret has to be mounted. If provided, the execution will fail\nif the underlying key management system cannot satisfy that requirement. If not provided, the default location\nwill depend on the key management system.\n+optional" + } + }, + "description": "Secret encapsulates information about the secret a task needs to proceed. An environment variable\nFLYTE_SECRETS_ENV_PREFIX will be passed to indicate the prefix of the environment variables that will be present if\nsecrets are passed through environment variables.\nFLYTE_SECRETS_DEFAULT_DIR will be passed to indicate the prefix of the path where secrets will be mounted if secrets\nare passed through file mounts." + }, + "coreSecurityContext": { + "type": "object", + "properties": { + "run_as": { + "$ref": "#/definitions/coreIdentity", + "description": "run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the\nbackend plugin to choose the appropriate identity for the execution engine the task will run on." + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/definitions/coreSecret" + }, + "description": "secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + }, + "tokens": { + "type": "array", + "items": { + "$ref": "#/definitions/coreOAuth2TokenRequest" + }, + "description": "tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the\npod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS\nBatch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access\nto the secret) and to pass it to the remote execution engine." + } + }, + "description": "SecurityContext holds security attributes that apply to tasks." + }, + "coreSimpleType": { + "type": "string", + "enum": [ + "NONE", + "INTEGER", + "FLOAT", + "STRING", + "BOOLEAN", + "DATETIME", + "DURATION", + "BINARY", + "ERROR", + "STRUCT" + ], + "default": "NONE", + "description": "Define a set of simple types." + }, + "coreSql": { + "type": "object", + "properties": { + "statement": { + "type": "string", + "title": "The actual query to run, the query can have templated parameters.\nWe use Flyte's Golang templating format for Query templating.\nRefer to the templating documentation.\nhttps://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py\nFor example,\ninsert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet\nselect *\nfrom my_table\nwhere ds = '{{ .Inputs.ds }}'" + }, + "dialect": { + "$ref": "#/definitions/SqlDialect" + } + }, + "description": "Sql represents a generic sql workload with a statement and dialect." + }, + "coreStructuredDataset": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "title": "String location uniquely identifying where the data is.\nShould start with the storage location (e.g. s3://, gs://, bq://, etc.)" + }, + "metadata": { + "$ref": "#/definitions/coreStructuredDatasetMetadata" + } + } + }, + "coreStructuredDatasetMetadata": { + "type": "object", + "properties": { + "structured_dataset_type": { + "$ref": "#/definitions/coreStructuredDatasetType", + "description": "Bundle the type information along with the literal.\nThis is here because StructuredDatasets can often be more defined at run time than at compile time.\nThat is, at compile time you might only declare a task to return a pandas dataframe or a StructuredDataset,\nwithout any column information, but at run time, you might have that column information.\nflytekit python will copy this type information into the literal, from the type information, if not provided by\nthe various plugins (encoders).\nSince this field is run time generated, it's not used for any type checking." + } + } + }, + "coreStructuredDatasetType": { + "type": "object", + "properties": { + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/StructuredDatasetTypeDatasetColumn" + }, + "description": "A list of ordered columns this schema comprises of." + }, + "format": { + "type": "string", + "description": "This is the storage format, the format of the bits at rest\nparquet, feather, csv, etc.\nFor two types to be compatible, the format will need to be an exact match." + }, + "external_schema_type": { + "type": "string", + "description": "This is a string representing the type that the bytes in external_schema_bytes are formatted in.\nThis is an optional field that will not be used for type checking." + }, + "external_schema_bytes": { + "type": "string", + "format": "byte", + "description": "The serialized bytes of a third-party schema library like Arrow.\nThis is an optional field that will not be used for type checking." + } + } + }, + "coreTaskMetadata": { + "type": "object", + "properties": { + "discoverable": { + "type": "boolean", + "format": "boolean", + "description": "Indicates whether the system should attempt to lookup this task's output to avoid duplication of work." + }, + "runtime": { + "$ref": "#/definitions/coreRuntimeMetadata", + "description": "Runtime information about the task." + }, + "timeout": { + "type": "string", + "description": "The overall timeout of a task including user-triggered retries." + }, + "retries": { + "$ref": "#/definitions/coreRetryStrategy", + "description": "Number of retries per task." + }, + "discovery_version": { + "type": "string", + "description": "Indicates a logical version to apply to this task for the purpose of discovery." + }, + "deprecated_error_message": { + "type": "string", + "description": "If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers\nof the ending of support for a given task." + }, + "interruptible": { + "type": "boolean", + "format": "boolean" + }, + "cache_serializable": { + "type": "boolean", + "format": "boolean", + "title": "Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work" + }, + "generates_deck": { + "type": "boolean", + "format": "boolean", + "description": "Indicates whether the task will generate a Deck URI when it finishes executing." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Arbitrary tags that allow users and the platform to store small but arbitrary labels" + }, + "pod_template_name": { + "type": "string", + "description": "pod_template_name is the unique name of a PodTemplate k8s resource to be used as the base configuration if this\ntask creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied\nidentically as, the default PodTemplate configured in FlytePropeller." + } + }, + "title": "Task Metadata" + }, + "coreTaskTemplate": { + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/coreIdentifier", + "description": "Auto generated taskId by the system. Task Id uniquely identifies this task globally." + }, + "type": { + "type": "string", + "description": "A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no\nextensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the\nimplementation registered for the TaskCategory." + }, + "metadata": { + "$ref": "#/definitions/coreTaskMetadata", + "description": "Extra metadata about the task." + }, + "interface": { + "$ref": "#/definitions/coreTypedInterface", + "description": "A strongly typed interface for the task. This enables others to use this task within a workflow and guarantees\ncompile-time validation of the workflow to avoid costly runtime failures." + }, + "custom": { + "$ref": "#/definitions/protobufStruct", + "description": "Custom data about the task. This is extensible to allow various plugins in the system." + }, + "container": { + "$ref": "#/definitions/coreContainer" + }, + "k8s_pod": { + "$ref": "#/definitions/coreK8sPod" + }, + "sql": { + "$ref": "#/definitions/coreSql" + }, + "task_type_version": { + "type": "integer", + "format": "int32", + "description": "This can be used to customize task handling at execution time for the same task type." + }, + "security_context": { + "$ref": "#/definitions/coreSecurityContext", + "description": "security_context encapsulates security attributes requested to run this task." + }, + "config": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "Metadata about the custom defined for this task. This is extensible to allow various plugins in the system\nto use as required.\nreserve the field numbers 1 through 15 for very frequently occurring message elements" + } + }, + "description": "A Task structure that uniquely identifies a task in the system\nTasks are registered as a first step in the system." + }, + "coreTypeAnnotation": { + "type": "object", + "properties": { + "annotations": { + "$ref": "#/definitions/protobufStruct", + "description": "A arbitrary JSON payload to describe a type." + } + }, + "description": "TypeAnnotation encapsulates registration time information about a type. This can be used for various control-plane operations. TypeAnnotation will not be available at runtime when a task runs." + }, + "coreTypeStructure": { + "type": "object", + "properties": { + "tag": { + "type": "string", + "title": "Must exactly match for types to be castable" + } + }, + "description": "Hints to improve type matching\ne.g. allows distinguishing output from custom type transformers\neven if the underlying IDL serialization matches." + }, + "coreTypedInterface": { + "type": "object", + "properties": { + "inputs": { + "$ref": "#/definitions/coreVariableMap" + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + }, + "description": "Defines strongly typed inputs and outputs." + }, + "coreUnion": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType" + } + }, + "description": "The runtime representation of a tagged union value. See `UnionType` for more details." + }, + "coreUnionType": { + "type": "object", + "properties": { + "variants": { + "type": "array", + "items": { + "$ref": "#/definitions/coreLiteralType" + }, + "description": "Predefined set of variants in union." + } + }, + "description": "Defines a tagged union type, also known as a variant (and formally as the sum type).\n\nA sum type S is defined by a sequence of types (A, B, C, ...), each tagged by a string tag\nA value of type S is constructed from a value of any of the variant types. The specific choice of type is recorded by\nstoring the varaint's tag with the literal value and can be examined in runtime.\n\nType S is typically written as\nS := Apple A | Banana B | Cantaloupe C | ...\n\nNotably, a nullable (optional) type is a sum type between some type X and the singleton type representing a null-value:\nOptional X := X | Null\n\nSee also: https://en.wikipedia.org/wiki/Tagged_union" + }, + "coreVariable": { + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "Variable literal type." + }, + "description": { + "type": "string", + "title": "+optional string describing input variable" + } + }, + "description": "Defines a strongly typed variable." + }, + "coreVariableMap": { + "type": "object", + "properties": { + "variables": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreVariable" + }, + "description": "Defines a map of variable names to variables." + } + }, + "title": "A map of Variables" + }, + "coreVoid": { + "type": "object", + "description": "Used to denote a nil/null/None assignment to a scalar value. The underlying LiteralType for Void is intentionally\nundefined since it can be assigned to a scalar of any LiteralType." + }, + "flyteidlserviceTaskCreateResponse": { + "type": "object", + "properties": { + "job_id": { + "type": "string" + } + }, + "description": "Represents a create response structure." + }, + "protobufListValue": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Repeated field of dynamically typed values." + } + }, + "description": "`ListValue` is a wrapper around a repeated field of values.\n\nThe JSON representation for `ListValue` is JSON array." + }, + "protobufNullValue": { + "type": "string", + "enum": [ + "NULL_VALUE" + ], + "default": "NULL_VALUE", + "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." + }, + "protobufStruct": { + "type": "object", + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/protobufValue" + }, + "description": "Unordered map of dynamically typed values." + } + }, + "description": "`Struct` represents a structured data value, consisting of fields\nwhich map to dynamically typed values. In some languages, `Struct`\nmight be supported by a native representation. For example, in\nscripting languages like JS a struct is represented as an\nobject. The details of that representation are described together\nwith the proto support for the language.\n\nThe JSON representation for `Struct` is JSON object." + }, + "protobufValue": { + "type": "object", + "properties": { + "null_value": { + "$ref": "#/definitions/protobufNullValue", + "description": "Represents a null value." + }, + "number_value": { + "type": "number", + "format": "double", + "description": "Represents a double value." + }, + "string_value": { + "type": "string", + "description": "Represents a string value." + }, + "bool_value": { + "type": "boolean", + "format": "boolean", + "description": "Represents a boolean value." + }, + "struct_value": { + "$ref": "#/definitions/protobufStruct", + "description": "Represents a structured value." + }, + "list_value": { + "$ref": "#/definitions/protobufListValue", + "description": "Represents a repeated `Value`." + } + }, + "description": "`Value` represents a dynamically typed value which can be either\nnull, a number, a string, a boolean, a recursive struct value, or a\nlist of values. A producer of value is expected to set one of that\nvariants, absence of any variant indicates an error.\n\nThe JSON representation for `Value` is JSON value." + }, + "serviceState": { + "type": "string", + "enum": [ + "RETRYABLE_FAILURE", + "PERMANENT_FAILURE", + "PENDING", + "RUNNING", + "SUCCEEDED" + ], + "default": "RETRYABLE_FAILURE", + "description": "The state of the execution is used to control its visibility in the UI/CLI." + }, + "serviceTaskDeleteResponse": { + "type": "object", + "description": "Response to delete a task." + }, + "serviceTaskGetResponse": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/serviceState", + "description": "The state of the execution is used to control its visibility in the UI/CLI." + }, + "outputs": { + "$ref": "#/definitions/coreLiteralMap", + "title": "The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a\nStructured dataset pointing to the query result table.\n+optional" + } + }, + "description": "Response to get an individual task state." + } + } +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/README.md b/gen/pb-go/flyteidl/service/flyteadmin/README.md index 9f5101263..a4d7ffa0b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ b/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -35,6 +35,7 @@ Class | Method | HTTP request | Description *AdminServiceApi* | [**GetDescriptionEntity**](docs/AdminServiceApi.md#getdescriptionentity) | **Get** /api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. *AdminServiceApi* | [**GetExecution**](docs/AdminServiceApi.md#getexecution) | **Get** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. *AdminServiceApi* | [**GetExecutionData**](docs/AdminServiceApi.md#getexecutiondata) | **Get** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**GetExecutionMetrics**](docs/AdminServiceApi.md#getexecutionmetrics) | **Get** /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. *AdminServiceApi* | [**GetLaunchPlan**](docs/AdminServiceApi.md#getlaunchplan) | **Get** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. *AdminServiceApi* | [**GetNamedEntity**](docs/AdminServiceApi.md#getnamedentity) | **Get** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. *AdminServiceApi* | [**GetNodeExecution**](docs/AdminServiceApi.md#getnodeexecution) | **Get** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. @@ -94,6 +95,7 @@ Class | Method | HTTP request | Description - [AdminDescriptionFormat](docs/AdminDescriptionFormat.md) - [AdminDomain](docs/AdminDomain.md) - [AdminEmailNotification](docs/AdminEmailNotification.md) + - [AdminEnvs](docs/AdminEnvs.md) - [AdminExecution](docs/AdminExecution.md) - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) @@ -113,6 +115,7 @@ Class | Method | HTTP request | Description - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - [AdminFixedRate](docs/AdminFixedRate.md) - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) + - [AdminFlyteUrLs](docs/AdminFlyteUrLs.md) - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - [AdminLabels](docs/AdminLabels.md) - [AdminLaunchPlan](docs/AdminLaunchPlan.md) @@ -167,6 +170,7 @@ Class | Method | HTTP request | Description - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - [AdminProjects](docs/AdminProjects.md) - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) + - [AdminReason](docs/AdminReason.md) - [AdminSchedule](docs/AdminSchedule.md) - [AdminSlackNotification](docs/AdminSlackNotification.md) - [AdminSort](docs/AdminSort.md) @@ -174,8 +178,6 @@ Class | Method | HTTP request | Description - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - [AdminTask](docs/AdminTask.md) - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) - - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) @@ -201,6 +203,7 @@ Class | Method | HTTP request | Description - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) + - [AdminWorkflowExecutionGetMetricsResponse](docs/AdminWorkflowExecutionGetMetricsResponse.md) - [AdminWorkflowList](docs/AdminWorkflowList.md) - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) @@ -275,6 +278,7 @@ Class | Method | HTTP request | Description - [CoreSignalCondition](docs/CoreSignalCondition.md) - [CoreSimpleType](docs/CoreSimpleType.md) - [CoreSleepCondition](docs/CoreSleepCondition.md) + - [CoreSpan](docs/CoreSpan.md) - [CoreSql](docs/CoreSql.md) - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) @@ -314,6 +318,8 @@ Class | Method | HTTP request | Description - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) + - [FlyteidladminTaskCreateRequest](docs/FlyteidladminTaskCreateRequest.md) + - [FlyteidladminTaskCreateResponse](docs/FlyteidladminTaskCreateResponse.md) - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml index 692fa2c85..10210227c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ b/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -1299,6 +1299,46 @@ paths: description: "A successful response." schema: $ref: "#/definitions/adminListMatchableAttributesResponse" + /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}: + get: + tags: + - "AdminService" + summary: "Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`." + operationId: "GetExecutionMetrics" + parameters: + - name: "id.project" + in: "path" + description: "Name of the project the resource belongs to." + required: true + type: "string" + x-exportParamName: "IdProject" + - name: "id.domain" + in: "path" + description: "Name of the domain the resource belongs to.\nA domain can be\ + \ considered as a subset within a specific project." + required: true + type: "string" + x-exportParamName: "IdDomain" + - name: "id.name" + in: "path" + description: "User or system provided value for the resource." + required: true + type: "string" + x-exportParamName: "IdName" + - name: "depth" + in: "query" + description: "depth defines the number of Flyte entity levels to traverse\ + \ when breaking down execution details." + required: false + type: "integer" + format: "int32" + x-exportParamName: "Depth" + x-optionalDataType: "Int32" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowExecutionGetMetricsResponse" /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}: get: tags: @@ -2153,13 +2193,13 @@ paths: name: "body" required: true schema: - $ref: "#/definitions/adminTaskCreateRequest" + $ref: "#/definitions/flyteidladminTaskCreateRequest" x-exportParamName: "Body" responses: 200: description: "A successful response." schema: - $ref: "#/definitions/adminTaskCreateResponse" + $ref: "#/definitions/flyteidladminTaskCreateResponse" /api/v1/tasks/{id.project}/{id.domain}: get: tags: @@ -3365,6 +3405,24 @@ definitions: recipients_email: - "recipients_email" - "recipients_email" + adminEnvs: + type: "object" + properties: + values: + type: "array" + description: "Map of custom environment variables to be applied to the execution\ + \ resource." + items: + $ref: "#/definitions/coreKeyValuePair" + description: "Environment variable values to be applied to an execution resource.\n\ + In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined\nto specify\ + \ how to merge environment variables defined at registration and execution time." + example: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" adminExecution: type: "object" properties: @@ -3475,6 +3533,12 @@ definitions: values: key: "values" max_parallelism: 6 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -3528,6 +3592,7 @@ definitions: - "recipients_email" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -3849,6 +3914,12 @@ definitions: values: key: "values" max_parallelism: 6 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -3902,6 +3973,7 @@ definitions: - "recipients_email" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -4039,6 +4111,12 @@ definitions: values: key: "values" max_parallelism: 6 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -4092,6 +4170,7 @@ definitions: - "recipients_email" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -4306,6 +4385,9 @@ definitions: \ be overwritten for a single execution.\nIf enabled, all calculations are\ \ performed even if cached results would be available, overwriting the stored\n\ data once execution finishes successfully." + envs: + description: "Environment variables to be set for the execution." + $ref: "#/definitions/adminEnvs" description: "An ExecutionSpec encompasses all data used to launch this execution.\ \ The Spec does not change over the lifetime\nof an execution as it progresses\ \ across phase changes." @@ -4334,6 +4416,12 @@ definitions: values: key: "values" max_parallelism: 6 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -4387,6 +4475,7 @@ definitions: - "recipients_email" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -4508,6 +4597,21 @@ definitions: - "HOUR" - "DAY" default: "MINUTE" + adminFlyteURLs: + type: "object" + properties: + inputs: + type: "string" + outputs: + type: "string" + deck: + type: "string" + description: "These URLs are returned as part of node and task execution data\ + \ requests." + example: + outputs: "outputs" + inputs: "inputs" + deck: "deck" adminGetVersionResponse: type: "object" properties: @@ -4844,6 +4948,12 @@ definitions: values: key: "values" max_parallelism: 5 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -5024,6 +5134,7 @@ definitions: required: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -5643,6 +5754,12 @@ definitions: values: key: "values" max_parallelism: 5 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -5823,6 +5940,7 @@ definitions: required: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -6157,6 +6275,12 @@ definitions: values: key: "values" max_parallelism: 5 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -6337,6 +6461,7 @@ definitions: required: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -6501,6 +6626,9 @@ definitions: \ be overwritten for a single execution.\nIf enabled, all calculations are\ \ performed even if cached results would be available, overwriting the stored\n\ data once execution finishes successfully." + envs: + description: "Environment variables to be set for the execution." + $ref: "#/definitions/adminEnvs" description: "User-provided launch plan definition and configuration values." example: workflow_id: @@ -6560,6 +6688,12 @@ definitions: values: key: "values" max_parallelism: 5 + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true labels: values: @@ -6740,6 +6874,7 @@ definitions: required: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -6839,9 +6974,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -6939,9 +7081,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -7072,9 +7221,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -7212,9 +7368,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -7483,6 +7646,12 @@ definitions: title: "String location uniquely identifying where the deck HTML file is.\n\ NativeUrl specifies the url in the format of the configured storage provider\ \ (e.g. s3://my-bucket/randomstring/suffix.tar)" + dynamic_job_spec_uri: + type: "string" + description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ + \ message for a DynamicWorkflow. This is required\nto correctly recover\ + \ partially completed executions where the subworkflow has already been\ + \ compiled." description: "Container for node execution details and results." example: phase: {} @@ -7520,6 +7689,7 @@ definitions: artifact_id: "artifact_id" checkpoint_uri: "checkpoint_uri" cache_status: {} + dynamic_job_spec_uri: "dynamic_job_spec_uri" output_uri: "output_uri" started_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" @@ -7567,12 +7737,18 @@ definitions: \ in the case this node yields a dynamic workflow we return its structure\ \ here." $ref: "#/definitions/flyteidladminDynamicWorkflowNodeMetadata" + flyte_urls: + $ref: "#/definitions/adminFlyteURLs" description: "Response structure for NodeExecutionGetDataRequest which contains\ \ inputs and outputs for a node execution." example: outputs: bytes: "bytes" url: "url" + flyte_urls: + outputs: "outputs" + inputs: "inputs" + deck: "deck" full_inputs: literals: {} dynamic_workflow: @@ -11689,6 +11865,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -11811,6 +11995,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -11943,6 +12128,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -12065,6 +12258,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -14121,6 +14315,7 @@ definitions: ids: - "ids" - "ids" + dynamic_job_spec_uri: "dynamic_job_spec_uri" id: domain: "domain" resource_type: {} @@ -14196,6 +14391,7 @@ definitions: artifact_id: "artifact_id" checkpoint_uri: "checkpoint_uri" cache_status: {} + dynamic_job_spec_uri: "dynamic_job_spec_uri" output_uri: "output_uri" started_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" @@ -14255,6 +14451,7 @@ definitions: artifact_id: "artifact_id" checkpoint_uri: "checkpoint_uri" cache_status: {} + dynamic_job_spec_uri: "dynamic_job_spec_uri" output_uri: "output_uri" started_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" @@ -14490,9 +14687,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -14610,9 +14814,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -14733,9 +14944,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -14857,9 +15075,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -15018,6 +15243,23 @@ definitions: \ for more background information." example: output_location_prefix: "output_location_prefix" + adminReason: + type: "object" + properties: + occurred_at: + type: "string" + format: "date-time" + description: "occurred_at is the timestamp indicating the instant that this\ + \ reason happened." + message: + type: "string" + description: "message is the explanation for the most recent phase transition\ + \ or status update." + description: "Reason is a single message annotated with a timestamp to indicate\ + \ the instant the reason occurred." + example: + occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" adminSchedule: type: "object" properties: @@ -15201,6 +15443,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -15323,6 +15573,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -15471,6 +15722,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -15593,6 +15852,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -15637,20 +15897,6 @@ definitions: sql: dialect: {} statement: "statement" - adminTaskCreateRequest: - type: "object" - properties: - id: - title: "id represents the unique identifier of the task.\n+required" - $ref: "#/definitions/coreIdentifier" - spec: - title: "Represents the specification for task.\n+required" - $ref: "#/definitions/adminTaskSpec" - title: "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task`\ - \ for more details" - adminTaskCreateResponse: - type: "object" - description: "Represents a response structure if task creation succeeds." adminTaskExecutionClosure: type: "object" properties: @@ -15710,6 +15956,13 @@ definitions: \ data is maintained using this\nproto message. For example, event_verison\ \ > 0 means that maps tasks logs use the\nTaskExecutionMetadata ExternalResourceInfo\ \ fields for each subtask rather than the TaskLog\nin this message." + reasons: + type: "array" + description: "A time-series of the phase transition or update explanations.\ + \ This, when compared to storing a singular reason\nas previously done,\ + \ is much more valuable in visualizing and understanding historical evaluations." + items: + $ref: "#/definitions/adminReason" description: "Container for task execution details and results." example: phase: {} @@ -15750,6 +16003,11 @@ definitions: namespace: "namespace" generated_name: "generated_name" plugin_identifier: "plugin_identifier" + reasons: + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" created_at: "2000-01-23T04:56:07.000+00:00" error: code: "code" @@ -15815,12 +16073,20 @@ definitions: description: "Full_outputs will only be populated if they are under a configured\ \ size threshold." $ref: "#/definitions/coreLiteralMap" + flyte_urls: + title: "flyte tiny url to fetch a core.LiteralMap of task execution's IO\n\ + Deck will be empty for task" + $ref: "#/definitions/adminFlyteURLs" description: "Response structure for TaskExecutionGetDataRequest which contains\ \ inputs and outputs for a task execution." example: outputs: bytes: "bytes" url: "url" + flyte_urls: + outputs: "outputs" + inputs: "inputs" + deck: "deck" full_inputs: literals: {} inputs: @@ -15899,6 +16165,11 @@ definitions: namespace: "namespace" generated_name: "generated_name" plugin_identifier: "plugin_identifier" + reasons: + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" created_at: "2000-01-23T04:56:07.000+00:00" error: code: "code" @@ -15988,6 +16259,11 @@ definitions: namespace: "namespace" generated_name: "generated_name" plugin_identifier: "plugin_identifier" + reasons: + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" created_at: "2000-01-23T04:56:07.000+00:00" error: code: "code" @@ -16138,6 +16414,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -16260,6 +16544,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -16402,6 +16687,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -16524,6 +16817,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -20794,6 +21088,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -20916,6 +21218,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -21048,6 +21351,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -21170,6 +21481,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -23261,9 +23573,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -23388,9 +23707,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -27608,6 +27934,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -27730,6 +28064,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -27862,6 +28197,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -27984,6 +28327,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -30091,6 +30435,9 @@ definitions: \ be overwritten for a single execution.\nIf enabled, all calculations are\ \ performed even if cached results would be available, overwriting the stored\n\ data once execution finishes successfully." + envs: + description: "Environment variables to be set for the execution." + $ref: "#/definitions/adminEnvs" description: "Adds defaults for customizable workflow-execution specifications\ \ and overrides." example: @@ -30101,9 +30448,16 @@ definitions: annotations: values: key: "values" + envs: + values: + - value: "value" + key: "key" + - value: "value" + key: "key" interruptible: true security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -30193,6 +30547,48 @@ definitions: url: "url" full_outputs: literals: {} + adminWorkflowExecutionGetMetricsResponse: + type: "object" + properties: + span: + description: "Span defines the top-level breakdown of the workflows execution.\ + \ More precise information is nested in a\nhierarchical structure using\ + \ Flyte entity references." + $ref: "#/definitions/coreSpan" + description: "WorkflowExecutionGetMetricsResponse represents the response containing\ + \ metrics for the specified workflow execution." + example: + span: + start_time: "2000-01-23T04:56:07.000+00:00" + spans: + - null + - null + workflow_id: + domain: "domain" + name: "name" + project: "project" + end_time: "2000-01-23T04:56:07.000+00:00" + task_id: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + operation_id: "operation_id" + node_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" adminWorkflowList: type: "object" properties: @@ -34331,6 +34727,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -34453,6 +34857,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -34585,6 +34990,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -34707,6 +35120,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -40885,6 +41299,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -41007,6 +41429,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -41139,6 +41562,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -41261,6 +41692,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -44121,6 +44553,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -44243,6 +44683,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -50449,6 +50890,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -50571,6 +51020,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -50703,6 +51153,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -50825,6 +51283,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -53253,10 +53712,14 @@ definitions: description: "oauth2_client references an oauth2 client. Backend plugins can\ \ use this information to impersonate the client when\nmaking external calls." $ref: "#/definitions/coreOAuth2Client" + execution_identity: + type: "string" + title: "execution_identity references the subject who makes the execution" description: "Identity encapsulates the various security identities a task can\ \ run as. It's up to the underlying plugin to pick the\nright identity for the\ \ execution environment." example: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -53425,6 +53888,17 @@ definitions: \ https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936\n\ - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py" $ref: "#/definitions/protobufStruct" + data_config: + title: "BETA: Optional configuration for DataLoading. If not specified, then\ + \ default values are used.\nThis makes it possible to to run a completely\ + \ portable container, that uses inputs and outputs\nonly from the local\ + \ file-system and without having any reference to flytekit. This is supported\ + \ only on K8s at the moment.\nIf data loading is enabled, then data will\ + \ be mounted in accompanying directories specified in the DataLoadingConfig.\ + \ If the directories\nare not specified, inputs will be mounted onto and\ + \ outputs will be uploaded from a pre-determined file-system path. Refer\ + \ to the documentation\nto understand the default paths.\nOnly K8s" + $ref: "#/definitions/coreDataLoadingConfig" description: "Defines a pod spec and additional pod metadata that is created when\ \ a task is executed." example: @@ -53444,6 +53918,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" coreKeyValuePair: type: "object" properties: @@ -55126,6 +55608,7 @@ definitions: description: "SecurityContext holds security attributes that apply to tasks." example: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -55259,6 +55742,70 @@ definitions: \ duration." example: duration: "duration" + coreSpan: + type: "object" + properties: + start_time: + type: "string" + format: "date-time" + description: "start_time defines the instance this span began." + end_time: + type: "string" + format: "date-time" + description: "end_time defines the instance this span completed." + workflow_id: + description: "workflow_id is the id of the workflow execution this Span represents." + $ref: "#/definitions/coreWorkflowExecutionIdentifier" + node_id: + description: "node_id is the id of the node execution this Span represents." + $ref: "#/definitions/coreNodeExecutionIdentifier" + task_id: + description: "task_id is the id of the task execution this Span represents." + $ref: "#/definitions/coreTaskExecutionIdentifier" + operation_id: + type: "string" + description: "operation_id is the id of a unique operation that this Span\ + \ represents." + spans: + type: "array" + description: "spans defines a collection of Spans that breakdown this execution." + items: + $ref: "#/definitions/coreSpan" + description: "Span represents a duration trace of Flyte execution. The id field\ + \ denotes a Flyte execution entity or an operation\nwhich uniquely identifies\ + \ the Span. The spans attribute allows this Span to be further broken down into\ + \ more\nprecise definitions." + example: + start_time: "2000-01-23T04:56:07.000+00:00" + spans: + - null + - null + workflow_id: + domain: "domain" + name: "name" + project: "project" + end_time: "2000-01-23T04:56:07.000+00:00" + task_id: + task_id: + domain: "domain" + resource_type: {} + name: "name" + project: "project" + version: "version" + node_execution_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" + retry_attempt: 0 + operation_id: "operation_id" + node_id: + execution_id: + domain: "domain" + name: "name" + project: "project" + node_id: "node_id" coreSql: type: "object" properties: @@ -55661,6 +56208,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -55783,6 +56338,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -58506,6 +59062,15 @@ definitions: title: "String location uniquely identifying where the deck HTML file is\n\ NativeUrl specifies the url in the format of the configured storage provider\ \ (e.g. s3://my-bucket/randomstring/suffix.tar)" + reported_at: + type: "string" + format: "date-time" + description: "This timestamp represents the instant when the event was reported\ + \ by the executing framework. For example,\nwhen first processing a node\ + \ the `occurred_at` timestamp should be the instant propeller makes progress,\ + \ so when\nliteral inputs are initially copied. The event however will not\ + \ be sent until after the copy completes.\nExtracting both of these timestamps\ + \ facilitates a more accurate portrayal of the evaluation time-series." eventParentNodeExecutionMetadata: type: "object" properties: @@ -58615,6 +59180,15 @@ definitions: \ > 0 means that maps tasks report logs using the\nTaskExecutionMetadata\ \ ExternalResourceInfo fields for each subtask rather than the TaskLog\n\ in this message." + reported_at: + type: "string" + format: "date-time" + description: "This timestamp represents the instant when the event was reported\ + \ by the executing framework. For example, a k8s\npod task may be marked\ + \ completed at (ie. `occurred_at`) the instant the container running user\ + \ code completes,\nbut this event will not be reported until the pod is\ + \ marked as completed. Extracting both of these timestamps\nfacilitates\ + \ a more accurate portrayal of the evaluation time-series." description: "Plugin specific execution event information. For tasks like Python,\ \ Hive, Spark, DynamicJob." eventTaskExecutionMetadata: @@ -58718,6 +59292,12 @@ definitions: description: "Represents the compiled representation of the embedded dynamic\ \ workflow." $ref: "#/definitions/coreCompiledWorkflowClosure" + dynamic_job_spec_uri: + type: "string" + description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ + \ message for this DynamicWorkflow. This is\nrequired to correctly recover\ + \ partially completed executions where the subworkflow has already been\ + \ compiled." description: "For dynamic workflow nodes we capture information about the dynamic\ \ workflow definition that gets generated." example: @@ -62834,6 +63414,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -62956,6 +63544,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -63088,6 +63677,14 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + data_config: + io_strategy: + upload_mode: {} + download_mode: {} + format: {} + output_path: "output_path" + enabled: true + input_path: "input_path" id: domain: "domain" resource_type: {} @@ -63210,6 +63807,7 @@ definitions: key: "config" security_context: run_as: + execution_identity: "execution_identity" iam_role: "iam_role" oauth2_client: client_secret: @@ -65266,6 +65864,7 @@ definitions: ids: - "ids" - "ids" + dynamic_job_spec_uri: "dynamic_job_spec_uri" id: domain: "domain" resource_type: {} @@ -65341,6 +65940,7 @@ definitions: artifact_id: "artifact_id" checkpoint_uri: "checkpoint_uri" cache_status: {} + dynamic_job_spec_uri: "dynamic_job_spec_uri" output_uri: "output_uri" started_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" @@ -65352,6 +65952,20 @@ definitions: output_data: literals: {} deck_uri: "deck_uri" + flyteidladminTaskCreateRequest: + type: "object" + properties: + id: + title: "id represents the unique identifier of the task.\n+required" + $ref: "#/definitions/coreIdentifier" + spec: + title: "Represents the specification for task.\n+required" + $ref: "#/definitions/adminTaskSpec" + title: "Represents a request structure to create a revision of a task.\nSee :ref:`ref_flyteidl.admin.Task`\ + \ for more details" + flyteidladminTaskCreateResponse: + type: "object" + description: "Represents a response structure if task creation succeeds." flyteidladminTaskExecution: type: "object" properties: @@ -65428,6 +66042,11 @@ definitions: namespace: "namespace" generated_name: "generated_name" plugin_identifier: "plugin_identifier" + reasons: + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" + - occurred_at: "2000-01-23T04:56:07.000+00:00" + message: "message" created_at: "2000-01-23T04:56:07.000+00:00" error: code: "code" @@ -65524,6 +66143,11 @@ definitions: description: "Represents the compiled representation of the embedded dynamic\ \ workflow." $ref: "#/definitions/coreCompiledWorkflowClosure" + dynamic_job_spec_uri: + type: "string" + description: "dynamic_job_spec_uri is the location of the DynamicJobSpec proto\ + \ message for this DynamicWorkflow. This is\nrequired to correctly recover\ + \ partially completed executions where the workflow has already been compiled." description: "For dynamic workflow nodes we send information about the dynamic\ \ workflow definition that gets generated." flyteidleventTaskNodeMetadata: diff --git a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index dab31c18d..1ad9e1f58 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -298,15 +298,15 @@ AdminServiceApiService Create and upload a :ref:`ref_flyteidl.admin.Task&#x * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param body -@return AdminTaskCreateResponse +@return FlyteidladminTaskCreateResponse */ -func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskCreateRequest) (AdminTaskCreateResponse, *http.Response, error) { +func (a *AdminServiceApiService) CreateTask(ctx context.Context, body FlyteidladminTaskCreateRequest) (FlyteidladminTaskCreateResponse, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Post") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue AdminTaskCreateResponse + localVarReturnValue FlyteidladminTaskCreateResponse ) // create path and map variables @@ -366,7 +366,7 @@ func (a *AdminServiceApiService) CreateTask(ctx context.Context, body AdminTaskC } if localVarHttpResponse.StatusCode == 200 { - var v AdminTaskCreateResponse + var v FlyteidladminTaskCreateResponse err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -1300,6 +1300,108 @@ func (a *AdminServiceApiService) GetExecutionData(ctx context.Context, idProject return localVarReturnValue, localVarHttpResponse, nil } +/* +AdminServiceApiService Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param idProject Name of the project the resource belongs to. + * @param idDomain Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. + * @param idName User or system provided value for the resource. + * @param optional nil or *GetExecutionMetricsOpts - Optional Parameters: + * @param "Depth" (optional.Int32) - depth defines the number of Flyte entity levels to traverse when breaking down execution details. + +@return AdminWorkflowExecutionGetMetricsResponse +*/ + +type GetExecutionMetricsOpts struct { + Depth optional.Int32 +} + +func (a *AdminServiceApiService) GetExecutionMetrics(ctx context.Context, idProject string, idDomain string, idName string, localVarOptionals *GetExecutionMetricsOpts) (AdminWorkflowExecutionGetMetricsResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowExecutionGetMetricsResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}" + localVarPath = strings.Replace(localVarPath, "{"+"id.project"+"}", fmt.Sprintf("%v", idProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.domain"+"}", fmt.Sprintf("%v", idDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"id.name"+"}", fmt.Sprintf("%v", idName), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Depth.IsSet() { + localVarQueryParams.Add("depth", parameterToString(localVarOptionals.Depth.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowExecutionGetMetricsResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* AdminServiceApiService Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go new file mode 100644 index 000000000..7e8ed26ad --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_envs.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Environment variable values to be applied to an execution resource. In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined to specify how to merge environment variables defined at registration and execution time. +type AdminEnvs struct { + // Map of custom environment variables to be applied to the execution resource. + Values []CoreKeyValuePair `json:"values,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go index 0bd125d56..4c0f659e3 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_spec.go @@ -37,4 +37,6 @@ type AdminExecutionSpec struct { Interruptible bool `json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. OverwriteCache bool `json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *AdminEnvs `json:"envs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go new file mode 100644 index 000000000..6b8a49a66 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_flyte_ur_ls.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// These URLs are returned as part of node and task execution data requests. +type AdminFlyteUrLs struct { + Inputs string `json:"inputs,omitempty"` + Outputs string `json:"outputs,omitempty"` + Deck string `json:"deck,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go index 637f3139c..644ea168f 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_spec.go @@ -36,4 +36,6 @@ type AdminLaunchPlanSpec struct { Interruptible bool `json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. OverwriteCache bool `json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *AdminEnvs `json:"envs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go index 7a04ef034..a522ec663 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_closure.go @@ -33,4 +33,6 @@ type AdminNodeExecutionClosure struct { WorkflowNodeMetadata *FlyteidladminWorkflowNodeMetadata `json:"workflow_node_metadata,omitempty"` TaskNodeMetadata *FlyteidladminTaskNodeMetadata `json:"task_node_metadata,omitempty"` DeckUri string `json:"deck_uri,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. + DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go index afeaa710f..0ab85da7c 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_node_execution_get_data_response.go @@ -21,4 +21,5 @@ type AdminNodeExecutionGetDataResponse struct { FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. DynamicWorkflow *FlyteidladminDynamicWorkflowNodeMetadata `json:"dynamic_workflow,omitempty"` + FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go new file mode 100644 index 000000000..353e673ac --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_reason.go @@ -0,0 +1,22 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. +type AdminReason struct { + // occurred_at is the timestamp indicating the instant that this reason happened. + OccurredAt time.Time `json:"occurred_at,omitempty"` + // message is the explanation for the most recent phase transition or status update. + Message string `json:"message,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go index 4422d2eff..4f43380b6 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_closure.go @@ -43,4 +43,6 @@ type AdminTaskExecutionClosure struct { Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` // The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. EventVersion int32 `json:"event_version,omitempty"` + // A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. + Reasons []AdminReason `json:"reasons,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go index 2c8e19da7..75c3e8423 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_execution_get_data_response.go @@ -19,4 +19,5 @@ type AdminTaskExecutionGetDataResponse struct { FullInputs *CoreLiteralMap `json:"full_inputs,omitempty"` // Full_outputs will only be populated if they are under a configured size threshold. FullOutputs *CoreLiteralMap `json:"full_outputs,omitempty"` + FlyteUrls *AdminFlyteUrLs `json:"flyte_urls,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go index e8d441723..7c4b9660b 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_config.go @@ -25,4 +25,6 @@ type AdminWorkflowExecutionConfig struct { Interruptible bool `json:"interruptible,omitempty"` // Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully. OverwriteCache bool `json:"overwrite_cache,omitempty"` + // Environment variables to be set for the execution. + Envs *AdminEnvs `json:"envs,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go new file mode 100644 index 000000000..a64dbca99 --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_execution_get_metrics_response.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. +type AdminWorkflowExecutionGetMetricsResponse struct { + // Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. + Span *CoreSpan `json:"span,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go index 0a04eb440..60251e7b6 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_identity.go @@ -17,4 +17,5 @@ type CoreIdentity struct { K8sServiceAccount string `json:"k8s_service_account,omitempty"` // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when making external calls. Oauth2Client *CoreOAuth2Client `json:"oauth2_client,omitempty"` + ExecutionIdentity string `json:"execution_identity,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go index a9c223ea6..df6db9479 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_k8s_pod.go @@ -14,4 +14,5 @@ type CoreK8sPod struct { // Contains additional metadata for building a kubernetes pod. Metadata *CoreK8sObjectMetadata `json:"metadata,omitempty"` PodSpec *ProtobufStruct `json:"pod_spec,omitempty"` + DataConfig *CoreDataLoadingConfig `json:"data_config,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go b/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go new file mode 100644 index 000000000..c050250df --- /dev/null +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_core_span.go @@ -0,0 +1,32 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +import ( + "time" +) + +// Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more precise definitions. +type CoreSpan struct { + // start_time defines the instance this span began. + StartTime time.Time `json:"start_time,omitempty"` + // end_time defines the instance this span completed. + EndTime time.Time `json:"end_time,omitempty"` + // workflow_id is the id of the workflow execution this Span represents. + WorkflowId *CoreWorkflowExecutionIdentifier `json:"workflow_id,omitempty"` + // node_id is the id of the node execution this Span represents. + NodeId *CoreNodeExecutionIdentifier `json:"node_id,omitempty"` + // task_id is the id of the task execution this Span represents. + TaskId *CoreTaskExecutionIdentifier `json:"task_id,omitempty"` + // operation_id is the id of a unique operation that this Span represents. + OperationId string `json:"operation_id,omitempty"` + // spans defines a collection of Spans that breakdown this execution. + Spans []CoreSpan `json:"spans,omitempty"` +} diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go index d9c0e14d1..8d80e2a1e 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_node_execution_event.go @@ -42,4 +42,6 @@ type EventNodeExecutionEvent struct { // Whether this node yielded a dynamic workflow. IsDynamic bool `json:"is_dynamic,omitempty"` DeckUri string `json:"deck_uri,omitempty"` + // This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. + ReportedAt time.Time `json:"reported_at,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go index d0595d00b..93dcdbebd 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_event_task_execution_event.go @@ -45,4 +45,6 @@ type EventTaskExecutionEvent struct { Metadata *EventTaskExecutionMetadata `json:"metadata,omitempty"` // The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message. EventVersion int32 `json:"event_version,omitempty"` + // This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. + ReportedAt time.Time `json:"reported_at,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go index 87bb07847..be943d57f 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_dynamic_workflow_node_metadata.go @@ -15,4 +15,6 @@ type FlyteidladminDynamicWorkflowNodeMetadata struct { Id *CoreIdentifier `json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. + DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go similarity index 89% rename from gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go rename to gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go index 0c36189c4..ab5fca2a4 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_request.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_request.go @@ -9,7 +9,7 @@ package flyteadmin -type AdminTaskCreateRequest struct { +type FlyteidladminTaskCreateRequest struct { Id *CoreIdentifier `json:"id,omitempty"` Spec *AdminTaskSpec `json:"spec,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go similarity index 88% rename from gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go rename to gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go index 5c692db5c..caffded16 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_create_response.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidladmin_task_create_response.go @@ -10,5 +10,5 @@ package flyteadmin // Represents a response structure if task creation succeeds. -type AdminTaskCreateResponse struct { +type FlyteidladminTaskCreateResponse struct { } diff --git a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go index 2ab7e568d..a02306af6 100644 --- a/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go +++ b/gen/pb-go/flyteidl/service/flyteadmin/model_flyteidlevent_dynamic_workflow_node_metadata.go @@ -15,4 +15,6 @@ type FlyteidleventDynamicWorkflowNodeMetadata struct { Id *CoreIdentifier `json:"id,omitempty"` // Represents the compiled representation of the embedded dynamic workflow. CompiledWorkflow *CoreCompiledWorkflowClosure `json:"compiled_workflow,omitempty"` + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. + DynamicJobSpecUri string `json:"dynamic_job_spec_uri,omitempty"` } diff --git a/gen/pb-go/flyteidl/service/openapi.go b/gen/pb-go/flyteidl/service/openapi.go index 64feba215..164235320 100644 --- a/gen/pb-go/flyteidl/service/openapi.go +++ b/gen/pb-go/flyteidl/service/openapi.go @@ -78,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x79\x73\x23\x37\x96\x2f\x0c\xff\x3f\x9f\x02\xb7\xfa\x46\xd8\xee\xd6\x62\xbb\x67\xfa\xed\xd1\xc4\x8d\xf7\xa1\x25\x56\x59\xd7\x2a\x49\xad\xc5\x1e\x3f\xc3\x0e\x1a\xcc\x04\x49\xb4\x32\x81\x34\x80\x94\x8a\xee\xe8\xef\xfe\x04\x0e\x96\x44\x6e\x64\x72\x91\x44\x95\x73\x26\xa2\xad\x62\x66\x62\x3d\x38\x38\xeb\xef\xfc\xf3\xdf\x10\x7a\x27\x9f\xf0\x6c\x46\xc4\xbb\x13\xf4\xee\xdb\xa3\xaf\xdf\x1d\xe8\xdf\x28\x9b\xf2\x77\x27\x48\x3f\x47\xe8\x9d\xa2\x2a\x21\xfa\xf9\x34\x59\x28\x42\xe3\xe4\x58\x12\xf1\x48\x23\x72\x8c\xe3\x94\xb2\xa3\x4c\x70\xc5\xe1\x43\x84\xde\x3d\x12\x21\x29\x67\xfa\x75\xfb\x27\x62\x5c\x21\x49\xd4\xbb\x7f\x43\xe8\x5f\xd0\xbc\x8c\xe6\x24\x25\xf2\xdd\x09\xfa\x1f\xf3\xd1\x5c\xa9\xcc\x35\xa0\xff\x96\xfa\xdd\xbf\xc3\xbb\x11\x67\x32\x2f\xbd\x8c\xb3\x2c\xa1\x11\x56\x94\xb3\xe3\x7f\x48\xce\x8a\x77\x33\xc1\xe3\x3c\xea\xf8\x2e\x56\x73\x59\xcc\xf1\x18\x67\xf4\xf8\xf1\x9b\x63\x1c\x29\xfa\x48\xc6\x09\xce\x59\x34\x1f\x67\x09\x66\xf2\xf8\x9f\x34\xd6\x73\xfc\x07\x89\xd4\xbf\xe0\x1f\x31\x4f\x31\x65\xe6\x6f\x86\x53\xf2\x2f\xdf\x0e\x42\xef\x66\x44\x05\xff\xd4\xb3\xcd\xd3\x14\x8b\x85\x5e\x91\xf7\x44\x45\x73\xa4\xe6\x04\x99\x7e\x90\x5b\x22\x3e\x45\x18\x9d\x08\x32\x3d\xf9\x45\x90\xe9\xd8\x2d\xf4\x91\x59\xe0\x0b\x18\xcd\x75\x82\xd9\x2f\x47\x76\x99\xa0\x65\x9e\x11\x01\x73\x3b\x8f\x75\xeb\x1f\x88\x1a\x40\xb3\xc5\xfb\xe1\xdb\x82\xc8\x8c\x33\x49\x64\x69\x78\x08\xbd\xfb\xf6\xeb\xaf\x2b\x3f\x21\xf4\x2e\x26\x32\x12\x34\x53\x76\x2f\x07\x48\xe6\x51\x44\xa4\x9c\xe6\x09\x72\x2d\x85\x83\x31\x53\xd5\x1b\x8b\x6b\x8d\x21\xf4\xee\x7f\x0b\x32\xd5\xed\xfc\xe1\x38\x26\x53\xca\xa8\x6e\x57\x1a\xfa\x09\x46\x5b\xfa\xea\x5f\xff\xd6\xf4\xf7\xbf\x82\x19\x65\x58\xe0\x94\x28\x22\x8a\x1d\x37\xff\x57\x99\x8b\xde\x23\xdd\x79\xb1\x8f\xd5\x81\x57\x66\x7b\x89\x53\xa2\xf7\x44\xef\x94\xfd\x02\xfe\x16\x44\xf2\x5c\x44\x04\x4d\x48\xc2\xd9\x4c\x22\xc5\x6b\x6b\x40\xa1\x05\x4d\x5e\xd5\x27\x82\xfc\x9a\x53\x41\xf4\x5e\x29\x91\x93\xca\x53\xb5\xc8\x60\x90\x52\x09\xca\x66\xe1\x52\xfc\xeb\xa0\xd3\xd4\x0c\x55\xae\x31\x33\xf3\x41\xeb\xc4\x46\x6c\xe0\x5e\x89\x30\x43\x13\x82\xf4\x59\xa4\x31\x11\x24\x46\x58\x22\x8c\x64\x3e\x91\x44\xa1\x27\xaa\xe6\x94\xe9\x7f\x67\x24\xa2\x53\x1a\xb9\x35\xdb\x9f\xb5\x81\x3f\x97\xaf\xcc\xbd\x24\x42\x0f\xfc\x91\xc6\x24\x46\x8f\x38\xc9\x09\x9a\x72\x51\x5a\x9e\xa3\x11\xbb\x9b\xeb\x75\x48\x27\x94\xc1\xc9\xd3\x6b\xe9\x28\xe4\x4f\x6e\xb9\xfe\x84\x74\x7f\x28\x67\xf4\xd7\x9c\x24\x0b\x44\x63\xc2\x14\x9d\x52\x22\xab\xad\xfd\x89\x43\xff\x38\x41\x87\x48\xaf\x33\x11\x0a\xd6\x9b\x33\x45\x3e\x29\x89\x0e\x51\x42\x1f\x08\xfa\xe2\x82\x4a\x85\x06\xd7\xe7\x5f\x1c\xa0\x2f\xcc\x79\x41\xc0\x9b\xbe\x78\x81\x15\xf6\x7f\xff\x3d\x38\x7a\x0a\xcf\xaa\x87\xee\xdd\x40\x9f\xe6\x5b\x73\x35\x14\x2d\xfc\xfd\xdf\xc2\x76\xec\x7e\x2d\xe7\xb7\x05\xb3\xb5\x9c\xb6\x2b\x7f\x85\x65\x2a\xb3\x56\xa9\x77\x68\x5b\xce\xaa\xdb\xad\xb2\x56\xf9\xb6\x78\xab\x9e\xc2\x73\xf3\xd7\x6d\x98\x2b\x56\x40\xf5\x98\x32\x73\x48\xfc\x99\x11\x52\x9f\x13\x47\xbd\x7b\xc2\x52\xb6\xe1\xb5\xc1\xcc\x02\x76\xeb\xb8\x68\xb0\x2a\x7b\x38\xef\x84\xa6\x74\xd5\xfe\x9e\xb3\x58\x8b\x5c\x96\xd9\xb1\x3c\x9d\x10\xa1\x97\xc1\xb1\x3d\x98\xed\x44\xb3\x41\x95\x0b\x46\xe2\x0e\xd3\xfc\x35\x27\x62\xb1\x64\x9e\x53\x9c\xc8\xb6\x89\x52\xa6\x88\x96\x6f\x2b\x8f\xa7\x5c\xa4\x58\xd9\x17\xfe\xf2\xef\xeb\x2e\x84\xe2\x0f\x64\xd5\xfe\x9f\x9b\xdd\x8c\xb0\x04\x32\x48\xf3\x44\xd1\x2c\x21\x28\xc3\x33\x22\xed\x8a\xe4\x89\x92\x07\xf0\x9a\x96\xa9\x89\x38\xf4\x37\x10\xf4\xe0\x6e\xde\x5c\xc2\x2f\x68\xea\x05\x48\x46\x3e\x29\x68\x69\xc4\xe0\xee\x85\x25\x0a\x6f\x94\x67\x58\xca\xcd\x68\x46\x72\xa1\xc6\x93\xc5\xd1\x03\xa9\xf5\xdb\x4a\x39\x98\x21\xac\x94\xa0\x93\x5c\x11\x3d\x6f\xdd\x86\xbb\x3b\x81\x3d\x9a\x0b\xba\x0b\x6b\x78\xbd\x09\xc7\x54\x90\x08\xe6\xb6\xce\x81\xf1\x5f\xe9\x79\x6b\xfd\x65\x61\x66\xff\x40\x16\x20\x8f\x34\xac\x80\xdf\xf2\x11\x1b\x31\x74\x88\xce\x86\xb7\xa7\xc3\xcb\xb3\xf3\xcb\x0f\x27\xe8\xbb\x05\x8a\xc9\x14\xe7\x89\x3a\x40\x53\x4a\x92\x58\x22\x2c\x08\x34\x49\x62\x2d\x73\xe8\xc1\x10\x16\x53\x36\x43\x5c\xc4\x44\x3c\xdf\x32\x56\x9e\x12\x96\xa7\x95\x7b\x05\x7e\x2f\x46\x5f\xf9\x42\x8b\x18\xfe\x51\xe9\xc9\xdf\x6b\x0b\x0c\x33\xd6\x7d\x07\xad\xbd\x98\x50\x13\xcd\x69\x12\x0b\xc2\x8e\x15\x96\x0f\x63\xf2\x89\x44\xb9\xb9\x93\xff\x59\xfe\x61\xac\x25\x53\x1e\x93\xf2\x2f\xa5\x7f\x14\xa2\xd0\xda\x9f\x7a\x2d\x75\xed\x2f\x41\xa7\xed\xf6\x1d\xfc\x42\xe3\xc6\xb7\xe1\x97\x15\x73\x70\xef\x2c\x19\xac\x7b\xa5\x75\x54\xee\x05\x2b\xf1\x35\xbe\x23\x88\x12\x8b\x31\x56\x8a\xa4\x99\x5a\x53\x5f\xc7\x28\xd1\x72\xe5\x32\x39\xf2\x92\xc7\x64\xe8\xfa\xfb\x05\x19\x71\x96\xc4\x68\xb2\xb0\x5c\x6b\x4a\x04\x61\x11\x69\x6f\xe1\x0e\xcb\x87\xa2\x85\x55\xc2\x68\xa9\x3f\xf9\x9e\x0b\xfd\xf9\x5b\x10\x48\x4b\x03\x7f\x09\x99\x74\xd3\x13\xf7\xd9\x59\x08\x36\xe4\x1f\xbd\x3d\x61\xfb\x95\xec\x6a\x7d\xe0\x02\xc9\x85\x54\x24\x5d\x69\x87\x78\x3b\x0b\x61\x2f\x88\x7d\x1d\x70\xe5\x8e\xfa\x1d\x9c\xfa\xf2\x8d\xdb\x1f\xef\x35\x96\x6c\x57\x56\xc4\x7d\x9f\xa7\xf3\xe1\x2c\x9f\xea\xad\xdb\xbe\xc0\x89\xf1\x26\xa6\x59\x92\x05\x77\x3d\xc8\x67\x32\x37\xb4\xee\x95\x5b\xed\x31\x0c\x60\x85\xa2\x59\xb6\x43\xfb\xf3\xa7\x3f\x0d\x2d\x34\xc6\x1c\xa7\xe6\x54\x06\xc6\x2a\x14\x71\x61\x64\xc1\xd8\x9e\x77\xa3\x6b\x0e\xee\x06\xb7\xc3\xbb\x13\x34\x40\x31\x56\x58\x1f\x70\x41\x32\x41\x24\x61\x0a\xf4\x78\xfd\xbd\x5a\xa0\x94\xc7\x24\x31\x1a\xe7\x7b\x2d\xf9\xa2\x33\xac\xf0\x29\x56\x38\xe1\xb3\x23\x34\x80\x7f\xea\x8f\xa9\x44\x38\x91\x1c\x61\x47\x56\x24\x76\x4d\x60\x16\x3b\xd6\x82\x51\xc4\xd3\x8c\x26\xde\x06\xef\x8d\x2b\x94\xc5\xf4\x91\xc6\x39\x4e\x10\x9f\x68\xae\xa2\x35\xe4\xe1\x23\x61\x2a\xc7\x49\xb2\x40\x38\x49\x90\xed\xd6\xbd\x80\xe4\x9c\xe7\x49\xac\xdb\x75\xa3\x94\x34\xa5\x09\x16\x5a\x05\x37\xa3\xbd\xb2\x6d\xa1\xbb\x39\xf1\x63\x85\x71\xe9\xd5\x4c\xf1\x03\x91\x88\x2a\x94\x71\x29\xe9\x24\x29\xce\xfc\xfd\x39\x82\x71\x9f\x5e\x9c\x83\x3e\x1f\x29\xc4\x0d\x0f\x75\x9d\x5b\xfb\x8d\xeb\x31\xc5\x8c\x11\xe8\x98\xab\x39\x11\xb6\x7b\xfb\xf2\x6b\xab\xe6\xf7\x97\xb7\xd7\xc3\xd3\xf3\xf7\xe7\xc3\xb3\xba\x6e\x7e\x37\xb8\xfd\xa1\xfe\xeb\x4f\x57\x37\x3f\xbc\xbf\xb8\xfa\xa9\xfe\xe4\x62\x70\x7f\x79\xfa\xfd\xf8\xfa\x62\x70\x59\x7f\x68\xc9\xaa\xb3\x9a\x1f\x8e\x6c\xcd\xb3\xd5\xdb\x34\x9f\xcb\xa6\x79\xf0\xf9\x1a\x35\xa7\x34\x01\x1d\xb4\xb3\x41\xd3\xdb\x10\xec\x97\x28\xc3\x52\x1a\xc9\xc8\x8c\xe0\x68\xc4\x3e\x72\xa1\x19\xd8\x94\x6b\x1e\xa1\xa5\x27\x25\xf2\x48\x51\x36\xf3\x1f\x9d\xa0\x51\xfe\xf5\xd7\x7f\x8e\x2e\x28\x7b\x80\xbf\xc8\x3e\x2e\x4e\x6f\xf1\xed\x2d\xbe\xbf\x2f\x8b\xaf\x16\x7d\x8e\x43\x43\xef\x6e\x43\x86\xb4\x70\xc1\xb2\x5c\x81\x28\xc1\x73\xa5\xff\xd4\x5d\x02\x79\x2c\x09\x1c\xea\x66\x50\xfc\x40\x94\x7f\x51\x8b\x36\x6f\xc1\x8e\xf8\x13\x17\x0f\xd3\x84\x3f\xf9\x81\x7f\x20\x4a\x8f\xfd\xc6\xf6\xd2\x87\x12\xf5\xa1\x44\xaf\x1b\x4a\xb4\x57\xc6\xbc\xe7\x67\x7e\x65\xcb\x9f\xe1\x80\x2d\x9e\xac\x56\x47\x55\x8b\x1f\x2a\x70\x33\xbd\x08\xd7\x2c\x3b\x73\x56\x70\xce\xd2\xcb\x6f\x85\x7b\x96\x06\xfd\xf2\x9c\xf3\x77\xe1\x6f\xe9\xdd\x29\x1b\x2e\xd4\x9b\x64\xb0\x1d\xef\x8e\x17\x73\x86\x3c\x3f\xc3\xaf\xc5\x36\xac\x13\xcc\xb0\x46\xf4\x42\xe7\x70\x85\x15\xf1\x09\x8d\x01\x09\x4d\x11\x08\xf5\x90\x83\xc6\x18\x83\xed\x82\x0a\x36\xbd\x9b\xba\x87\x09\x7c\x20\xaa\xf4\xf2\x5b\xb9\x9b\x4a\x83\x7e\xf9\xbb\xe9\x77\x1a\x1d\xd0\x87\x03\x3c\xe3\xd2\x7d\xee\x37\xda\xfe\x3a\xfc\x7f\x07\x1e\xfe\xde\xa5\xbf\xd6\x1a\x7d\x5e\x3e\xfc\xcf\xd5\x69\xff\x36\xbd\xf4\xbd\x5b\xbe\x77\xcb\xbf\x86\xff\xe4\xed\xb9\xe5\x9f\x57\x3d\x2d\x8e\xd7\xd8\xd1\x82\xd5\xd7\x82\x43\xf9\xaf\x0e\x4e\x1a\xf8\xcb\xa9\x7c\xeb\x06\x8d\xb7\xea\x70\x67\xc5\xf8\x86\x70\x84\x7e\xb1\x84\xb4\x42\x9d\xab\x7d\xf7\x16\xd4\xb9\xfa\xa0\x9f\x5f\x87\x7b\x35\xe6\xfb\x4c\x97\xe7\x1b\x61\x03\xeb\xdf\x96\x9f\xb1\x4c\xde\xcb\xe2\xcf\x9f\x8d\xbf\x37\x13\x7a\x3b\xb2\xf7\x2b\x5c\xbc\x1d\x6f\xdd\x9d\xe7\x64\x35\x5c\xb3\xc1\xed\xb4\x2a\xc3\xaa\xfa\x35\x25\xf2\xdb\x37\x79\xdf\xbe\x44\x92\x55\x7f\xe1\xf6\x17\xae\x6d\xaa\xbf\x70\x3f\xe3\x0b\x77\xef\xe0\x6f\xf6\x26\x02\xb4\x0f\x22\xef\x81\x31\xfa\x18\xf2\x1d\x2e\x4e\x1f\x43\xde\xc7\x90\xff\xce\x62\xc8\xb7\xd1\x9e\x36\xc5\xa2\x7c\x0d\x3d\xaa\x57\xa3\x7a\x35\x2a\xfc\xbd\x57\xa3\x7a\x35\xaa\x57\xa3\x3e\x73\x14\xd1\x5e\x87\xea\xbe\x10\xbd\x0e\xd5\x79\xa9\x7a\x1d\x6a\xc9\xe2\xf4\x3a\x54\xaf\x43\xfd\xbe\x74\x28\xf2\x48\x98\x92\x90\x8c\x16\x6a\x14\xef\x32\x2e\xdb\x35\xa1\x90\x3b\x34\x68\x41\xd0\x66\x39\x29\x0c\x02\x97\x7e\x41\x73\x2c\x11\x8f\xa2\x5c\x54\xce\x40\x55\x0f\x3a\x15\x04\x2b\x02\x2d\xe8\x0f\xdf\x82\xfe\x53\x9f\xee\x4b\xc5\xe0\x4f\x78\x5c\xa3\x76\x73\x10\x9a\x9e\x2c\x97\x47\x76\x36\xf5\x5f\x73\xd2\x4d\xfd\x7b\x46\xa2\x56\x58\x3e\xec\x98\xa8\x4b\xb9\x16\x1b\x11\x35\xb4\xf0\x56\x88\xba\x3e\xdd\xdf\x0d\x51\x37\x4d\x7d\x1f\x88\xfa\xc9\xe6\xf1\xef\x98\xb0\x6b\xf0\x00\x1b\x11\xb7\x6f\xe5\xad\x10\x78\xf3\xb4\x7f\x37\x44\xde\x36\xfd\xd7\x25\x74\x9f\x22\xd9\x99\xc4\xef\x04\x9d\xcd\xb4\x9a\x01\x1a\x9e\x26\xc5\xd5\x35\x82\x8a\xa4\xc0\x95\x64\xed\x5f\x7d\x0b\x24\xed\x07\x6b\xc6\xfe\xbb\xa1\xe5\xda\xbc\xf7\x84\x88\x8f\x05\x89\xf8\x23\xd4\x0b\xeb\x46\xcc\x37\x04\x28\x18\xf8\x75\x26\xc8\x23\xe5\xb9\x4c\x16\x87\x22\x67\xc8\x31\x7f\xe4\x9b\x37\xd6\xea\x27\x9a\x24\x88\x33\xad\x7f\x29\x2c\x94\x7b\xac\xf5\x6f\xc1\x53\x38\x15\x09\x96\x0a\x3d\x30\xfe\xc4\xd0\x14\xd3\x24\x17\x04\x65\x9c\x32\x75\x34\x62\xe7\x0c\xdd\x98\x31\x42\xde\xc0\x01\xca\xa5\x3e\x4b\x11\x66\x8c\x2b\x14\xcd\x31\x9b\x11\x84\xd9\xc2\x26\xe0\x16\x94\x81\xb8\x40\x79\x16\x63\xad\xf8\xce\x49\x35\x4a\xcf\x8f\x11\xcc\x77\x54\x22\x2a\x11\xf9\xa4\x04\x49\x49\xb2\xd0\x7d\x68\xda\x57\x1c\xd9\xf5\x31\x43\xb5\xe9\x7c\x44\x08\x2e\x24\x64\x1c\x4c\x16\xbf\x61\xa6\x28\x23\x08\x14\x25\x69\x4c\x73\x87\xe8\x82\x4b\x30\xdb\xfc\xf0\x57\x89\xa2\x24\x97\x8a\x88\x03\x34\xc9\x67\x52\x6b\x8a\x59\x82\xd5\x94\x8b\x54\x8f\x90\x32\xa9\xf0\x84\x26\x54\x2d\x0e\x50\x8a\xa3\xb9\x69\x0b\xd6\x40\x1e\x8c\x58\xcc\x9f\x98\x54\x82\x60\xdf\xbb\x7b\x88\xbe\x0c\x9f\x19\x02\x90\x5f\x1d\x40\xda\x21\x4d\xb5\xba\x1b\x0c\xbf\xd8\x71\xb3\x27\xba\x11\x12\xa3\x09\x89\x70\x2e\xad\x87\x41\x89\x05\x22\x9f\xe6\x38\x97\xb0\x77\x7a\x7a\x36\x67\x23\xe2\x69\x96\x10\x45\x10\x9d\x22\x25\x28\x89\x11\x9e\x61\xaa\x97\xee\x96\x2c\x01\x41\xf7\x44\x6f\x37\xd0\x52\xfd\x2f\xa0\x7e\xa7\x5c\x10\x14\x13\x85\x69\xb2\xd4\xeb\x64\xbf\xed\xb9\xdc\x5b\xe2\x72\xe5\x0d\xdf\x0b\x36\x67\x40\xfc\x77\x70\x69\x33\x6b\xba\x8f\x70\xb2\xe5\xfd\x7d\x63\x07\xd5\xd3\xf6\xdb\xa2\x6d\xb3\x6b\xfb\x43\xdc\x2f\x16\x83\xdd\xbd\xa2\x45\x51\xcd\xe2\x4d\xd1\xf4\x4b\x84\x05\xf4\x0e\xe7\xde\xe1\xdc\xba\x32\x6f\xd3\xe1\xbc\x37\x1e\xa3\xde\xe7\xfc\x4c\x3e\x67\x2a\x7b\xa7\x73\xef\x74\xee\xba\x40\xbd\xd3\xb9\x77\x3a\xbf\x5d\xa7\xf3\x73\xe2\x3e\xef\x14\xdd\xf9\x4d\x89\xd6\xbd\x58\xdd\x8b\xd5\x3d\x84\xb3\x9f\xda\xae\x58\x98\xfb\xfa\x5d\x4c\x12\xa2\x48\xbb\x3d\x8b\x88\x54\x6b\x0b\xe6\x7a\xa6\x4c\xcb\x71\x33\x41\xa4\xdc\x96\x21\xf9\x86\xdf\x26\x5b\xf2\xc3\xef\xa1\xe6\x7b\x3e\xd5\xf3\xa9\x4d\xa6\xb6\x3f\xa6\xd9\xe0\x30\xbf\x94\x6d\xd6\xf3\xdf\x2c\x6f\x97\xfe\xee\x8d\x1b\xb2\xf0\x8b\x1a\x0a\xd7\x52\xbb\xe2\xfe\x70\x5b\x3a\xdf\x92\x1f\x9b\xbe\xde\x26\x33\x36\x63\xef\x39\x71\xcf\x89\x7b\x4e\xfc\xb6\x39\xb1\x3b\xc9\xaf\xea\x22\x33\x7e\xba\x71\x96\x60\x36\xa6\xb1\x3c\xfe\x67\xa1\xcb\x3f\x97\x87\x4c\x1f\xa8\xd8\xa4\x98\xfa\x94\x4e\xf1\x8b\xfe\x24\x29\x0c\xe6\x1e\x33\x73\x85\x13\xcd\xd8\xd8\xaf\x13\xcc\xce\xe3\x37\xe1\x47\x6b\x9c\xfd\x4b\xf8\xd4\xb6\xe1\xe3\x58\x81\xa7\x03\x53\x66\x4c\x78\x45\x5e\x6d\xc9\x40\xb9\x1f\x27\x7c\x1b\xae\x1e\x4c\x2c\x60\xec\x8e\x5f\x07\x8b\xb2\x7f\xd3\xee\xfd\x3a\x7d\x2e\x61\xef\xb9\xe8\x38\xe1\xde\x73\xb1\xbf\x9e\x8b\xd7\x72\x47\xbe\xf0\xf1\x7c\x29\xb1\xae\x7b\x10\xbe\x89\x56\x83\xa0\xd6\x3c\x4b\x38\x8e\x97\xb9\x62\x0a\xc1\x2b\x04\x47\x59\x19\x89\x5f\x7c\xf6\x16\x84\xb5\x62\xb4\xbf\xb3\x48\xbe\xfa\xc4\xf7\x45\x4b\x79\xc1\x50\xbe\x66\x12\x5f\x43\x25\x79\x1b\xf8\xa9\xc5\x78\xfb\xd0\xbe\xde\xa2\xf4\xfa\x16\xa5\x3e\xb4\xaf\x57\x01\xf7\x4c\x05\xec\x43\xfb\xfa\xd0\xbe\x5e\x41\x5e\x3e\xed\x5e\x41\xfe\x2c\x42\xfb\x3a\x89\xda\xcf\x88\xbd\xb9\xbd\xd0\xdd\xcb\xdc\xee\xbd\x5e\xe6\xee\x65\xee\xcf\x54\xe6\xde\x8f\x15\xee\x05\xee\x5e\xe0\xee\x05\xee\x5e\xe0\xee\x05\xee\x9d\x2f\x63\x2f\x70\xbf\x64\x81\xce\x66\xa9\x7b\x45\x92\xcd\x5b\xf5\xe5\xf4\xe2\x76\x2f\x6e\xef\xb7\xb8\xbd\x37\x13\x7a\x3b\x65\x1e\xbb\xcd\xa7\x2f\x52\xde\x17\x29\xef\x8b\x94\x3f\x7b\x91\x72\xf7\x75\x87\x8c\x0f\x7b\xb8\x14\x56\xb9\x34\x80\x8f\x82\xcc\xa8\x54\xc0\xfe\xbb\xc8\x2b\xab\x13\x3d\xde\xaa\x9c\xd2\xa7\x7a\xf8\xa7\xbd\xd4\xd2\x4b\x2d\xbf\x53\xa9\x65\x8f\x62\xc1\xf6\x22\x63\x25\xc5\x2a\x9a\xe3\x49\x42\xc6\xde\xe8\x23\xbb\xea\xc1\x17\x54\x2a\x89\xa2\x5c\x2a\x9e\xb6\x5f\x2e\x1f\x5d\x0f\x03\xdf\xc1\x29\x67\x53\x3a\xcb\xcd\xdd\x62\xc0\x39\x83\x13\x5d\x48\x82\x8b\x8c\xac\xf2\x54\x35\xb4\xfe\x26\xae\xa5\xe6\xa1\xbf\xd4\xed\xb4\x8e\xe0\x5e\x18\xf9\xac\xd4\xad\x65\xad\xf1\xcd\xf0\xf6\xea\xfe\xe6\x74\x78\x82\x06\x59\x96\x50\x63\x77\x37\xa4\x40\x7f\xd3\x93\x42\x0a\xcb\x87\x62\x2f\x85\x21\x73\x83\x61\x0b\x86\x7e\x2d\x1b\xa3\x43\x74\x7a\x71\x7f\x7b\x37\xbc\x69\x69\xd0\x12\x0a\xe4\xad\x92\x34\x4b\xb0\x22\x31\x7a\xc8\x27\x44\x30\xa2\xa5\x1d\x8b\x74\x5b\x98\xff\x4d\xa3\xc3\xff\x1e\x9e\xde\xdf\x9d\x5f\x5d\x8e\xff\x76\x3f\xbc\x1f\x9e\x20\x47\x71\xba\x59\x3d\x2e\x3d\x8a\x78\xc1\x70\xaa\x35\x10\xfd\x43\x91\x29\xfb\x6b\x4e\x72\x82\xb0\x94\x74\xc6\x52\x02\x88\xc0\xa5\x16\xdd\x80\x2f\x06\xdf\x0d\x2f\xca\x2d\xcf\x49\x08\xbf\x8b\x12\x3c\x21\x89\xf5\x47\x80\x89\x5d\x13\x7a\x00\x55\x6c\x1c\x15\xb9\x59\xd5\xbf\xdd\x0f\x2e\xce\xef\x7e\x1e\x5f\xbd\x1f\xdf\x0e\x6f\x7e\x3c\x3f\x1d\x8e\xad\x54\x79\x3a\xd0\xfd\x96\x7a\xb2\xc2\x27\xfa\x35\xc7\x89\xd6\x4e\xf8\xd4\xe1\xf1\xa2\xa7\x39\x61\x28\x67\x40\x71\x46\xe5\xd1\x7a\x90\xef\x54\x9f\x32\x33\xa3\xeb\x8b\xfb\x0f\xe7\x97\xe3\xab\x1f\x87\x37\x37\xe7\x67\xc3\x13\x74\x4b\x12\x50\x0a\xdc\xa2\xc3\x2e\x66\x49\x3e\xa3\x0c\xd1\x34\x4b\x88\x5e\x0d\x6c\xb3\x89\xe7\xf8\x91\x72\x61\x8f\xee\x8c\x3e\x12\x66\xd6\x11\xce\x2c\xb4\xef\x84\xef\x71\xb0\x74\x57\x97\xef\xcf\x3f\x9c\xa0\x41\x1c\xfb\x39\x48\x68\xa3\x44\x39\x0e\xd6\xf9\xb0\x3c\x6c\xcd\x1c\xa0\x7b\x43\x44\xfc\x91\x08\x41\x63\x52\xa1\xa3\xc1\xed\xed\xf9\x87\xcb\x8f\xc3\xcb\x3b\x58\x31\x25\x78\x22\xd1\x9c\x3f\x81\x29\x1b\x66\x08\x16\xee\x47\x4c\x13\xe8\xcc\x6d\x16\x67\xe8\x69\x4e\xc1\xfd\x01\xc0\xcc\xbe\x67\xa3\x9f\x89\x9c\xbd\xba\x75\xb6\x74\xf0\xea\x6a\x4b\xf5\x24\xd5\xdf\xa8\x1c\x8b\x65\x2f\x94\xa8\xbc\xfe\xe2\x2a\x6a\xad\x7f\x51\x21\xb7\x76\x65\xad\x46\x2f\xed\x33\x2d\xf6\xba\xb3\xae\x56\x5e\xc3\x17\xbb\x66\x35\xe3\x8d\x5f\xa2\x2a\xeb\x0d\xf8\x3d\x97\xc2\x3e\x05\x39\x93\xbf\x58\xe5\x7e\x85\x69\x3a\xf8\xe2\x2d\x5c\xae\xe1\x70\xf7\xe8\x22\xbd\x09\xe5\x1a\x27\x1e\xa7\x44\xe1\x18\x2b\xac\xd9\xd3\x8c\xa8\x23\x74\xc5\xe0\xd9\x1d\x96\x0f\x07\xc8\x15\xa4\x40\x5c\xa0\x42\x70\x7c\x81\x6c\xc9\x37\x62\x93\x59\x5f\x99\xe9\x95\xf2\x5e\x29\x6f\x5e\x99\x3e\x72\xa7\x65\x85\x77\x75\x31\xae\x65\xc6\xdc\xdd\xfd\x65\x5a\x7c\xbb\x57\xd8\xcb\xda\x2d\x77\x7a\xa1\x99\x62\x28\xfd\x6d\x65\xfe\xaf\xbf\xad\xfa\xdb\xaa\xbf\xad\xf6\x60\x85\x5f\xdd\x06\xdc\xc0\xdd\x5f\xd5\x08\xbc\x4a\x3b\xdd\x18\xc5\xa8\xd0\x46\xd7\xc1\x31\xfa\xa5\x2b\x5c\x51\xf1\x0d\x7d\x1b\x66\xdf\x60\x92\x2f\x91\xa9\xb0\xd3\xcb\xdc\x84\x00\xf7\xfa\xe9\x33\xde\xf8\x3d\xa8\xd4\x4e\x41\xa5\xf6\x63\xae\xcf\x92\xd5\xb0\x7b\x53\xf4\xdb\xc8\x64\xe8\xd1\xa3\xfa\x58\xfd\x3e\x56\x1f\x7e\xef\xd1\xa3\x76\x47\xad\xcf\x2b\x5d\xf3\x98\x8c\x2b\x35\x3e\xfc\x3f\xc7\x55\xcf\x4f\xe9\x49\xe8\x06\x2a\x3d\x28\x92\x17\xa0\x75\x1a\xef\xb2\x2e\xc8\x25\x8f\x49\xe7\xda\x20\xa5\x97\xf7\x5c\x06\x77\xf3\x34\xb2\x78\x69\xe0\xcf\x2c\x89\xb7\x6c\xf9\xe7\x68\xd8\x69\x20\xe0\xde\xca\xb3\x72\xa1\x3e\x57\x80\xe8\x82\x43\xbd\x21\x4f\x45\x37\x36\xee\xc2\x54\xc6\x2d\xcc\xbc\xf9\xb9\x67\xe9\xcd\x8f\x9f\x07\x06\xa2\x3b\x47\x07\xb3\x4a\xf8\xf6\xdb\xb0\xab\x84\x23\x7e\x09\xcb\xca\xd2\xbd\xff\xec\xb8\xfa\x32\x4a\xee\x79\x7b\xc7\xe5\xfa\x5c\x39\x7c\x8f\xda\xb0\xcc\xd6\xd1\xc3\x22\xf4\xa6\x96\xfd\x99\x70\x6f\x6a\x79\xd3\xa6\x16\xe3\xa2\x1d\x67\x58\x10\xa6\x1a\x44\xea\xea\x75\x02\xaf\x87\x69\xb4\x4e\xea\x80\x06\x90\x96\x68\x91\xbd\x90\xfd\x55\xf5\x79\xd9\x5e\xac\x60\x10\x24\xb7\x1c\xff\xb3\xf8\xdb\x0b\xeb\x25\x50\xef\x25\xd1\x49\x06\xbe\x59\xea\x3b\x3a\xb7\x81\x4a\xdb\xa7\xbf\x60\x55\x12\x05\x13\xf2\x48\x92\x95\xf1\x4c\xd7\xe6\xed\xb7\x95\xf5\x52\x1b\xf4\xcb\xc6\x36\xd5\x37\xbe\xdb\x01\x72\x3b\x43\x4d\x06\x47\x90\x26\xa0\xa5\x51\x3e\x2d\x2e\x06\x89\x9e\x68\x92\x40\x92\x38\x24\xb1\xb4\xdd\x00\xbf\xbb\x88\x87\xd6\x9d\x7f\xd5\xb8\x87\x26\xee\xd0\xc4\x12\xba\xd8\x53\x77\x95\x06\xe7\x88\x0d\x32\x94\x40\x1b\x5a\x61\x80\xfd\x3c\x38\xc1\x07\xa2\x5e\x8a\x0d\x6c\x7a\xf6\x97\x9e\x7b\x41\xa6\x44\x10\x16\x91\x3d\xf4\xb6\xaf\x13\x06\xf2\x93\x99\xa4\x8d\x01\xf1\xd9\xa1\xe1\x54\x15\xb7\x7a\x5a\x49\xd4\xed\x93\x03\xfb\xe4\xc0\x3e\x39\xb0\x7a\xd4\xfb\xe4\xc0\x3e\x39\x70\x93\xe2\xe9\x67\xf0\xf8\xb5\xa4\x0a\xd3\xfb\xe7\x21\x58\x98\xb9\xf4\xb2\xc5\xef\x46\xb3\x70\x1b\xbe\x17\x9a\x85\x39\x6b\xab\xcc\x0f\xa5\x1f\x1b\x42\xac\x5f\xdc\x24\xb1\x09\xd3\x28\xd9\x25\xce\xe0\xf5\x37\xc9\x3a\xaa\x43\xef\x6d\x14\x28\xd8\xba\xe7\xe3\x24\xb5\x23\xd0\x6d\xe2\xd6\x63\xf8\x76\xe7\xbd\x2f\x1c\xb4\x8d\xee\xf7\x95\x8f\x6e\x57\x5a\x7b\x0f\x2c\x36\x9f\x11\x8f\xec\xad\x37\xaf\x9c\x2b\x51\x63\x86\x6f\x76\xba\xbd\xb1\xaa\x37\x56\xf5\xc6\xaa\xde\x58\xd5\x1b\xab\x50\x6f\xac\x5a\xdb\x58\xf5\x19\xc9\x54\xbd\xe1\xaa\x17\xab\x76\x37\xdd\x7d\xd5\x32\xf7\xc9\x5a\xd7\x19\xf8\xb6\xc8\xa1\x5a\x19\x79\x6f\xa7\xfd\xcb\x8a\x90\xfb\x6b\x37\x82\xb7\xc3\xaf\xe4\x73\xb3\xa4\x6d\x02\x8b\xdd\x8e\x7e\xb6\x71\xc5\x7d\x35\xb8\xc6\xb5\xea\xc3\x9e\x97\x2c\x4e\x1f\xf6\xdc\x87\x3d\xef\x5d\xd8\xf3\xce\x95\x95\x8c\xcb\x65\x80\x44\xa6\x1a\xca\xd2\xfc\x67\x77\x67\x43\xa2\x11\x90\x82\x29\x84\x13\x93\x2c\xe1\x0b\xb0\xa4\x2c\xb9\xce\x5d\x17\xd7\x35\x89\x7a\xdf\x6f\x74\x37\xf2\x97\xd2\x39\xf6\x45\x26\x2d\xe6\xbd\x17\x52\xe8\xf1\x3f\x2b\xe9\xfc\x9d\xf0\x32\x19\x22\x9f\xa8\x84\x5b\x69\x35\x61\x8f\x58\xf3\x93\xa0\x1a\x95\xbd\x07\x27\xb9\x0a\x72\xf7\xa4\x16\xac\x32\x22\xd4\x22\x78\x93\xa4\x99\x5a\xfc\xd7\x88\x51\xe5\x3d\x6c\x74\xc6\xb8\x30\x5c\x4d\x7f\x3c\xc7\x2c\x4e\x88\xd0\x97\xaa\x6b\x27\xc2\x8c\x71\x05\xe2\x06\xcc\x20\x46\x8f\x14\x1b\xe1\x64\x70\x7d\xde\xd9\xcf\xfc\x86\x4e\xd7\x4b\xd7\x1f\x5a\x71\xd7\x7d\x48\xf8\x04\x8a\x92\xe5\x65\x9d\x5e\x37\xd0\x7b\x46\x4b\x3b\xf7\x5a\x0c\x41\x61\xf9\x50\x05\x0e\x29\x67\xa1\x8f\x97\x42\x89\xac\x78\xb7\x84\x31\xbf\xfc\xd5\x0a\xdc\x48\xf9\x99\x05\x20\x81\xc7\x30\xe4\xea\x38\xdc\x8f\x61\x87\xee\xb7\xa2\x65\xf7\x8b\xab\xc6\x0a\x3f\x0a\xa2\xc4\x62\x8c\x95\xd2\x4c\x66\x97\x18\x27\x77\x58\x3e\x74\xc6\x38\x29\xbd\xbc\xe7\x2c\xa7\x84\x71\x52\x1e\xf8\xb3\xb3\x9c\x8e\xd4\xb9\x82\x33\xbd\xbd\xfc\xf8\xae\x67\x6d\x8d\x89\xff\x5e\x72\xe5\xbb\xf1\x9e\x55\x66\xda\xb7\x98\x37\xbf\x8c\x99\xee\xcd\x08\x2b\xfc\xfc\x73\x3c\xb9\xe5\xdb\xa9\x3f\xa2\xcb\xd6\xe8\xb3\xab\x6d\x58\x11\x3a\x56\xcc\xed\x8d\xd4\x38\xac\xca\x4d\xbb\x1e\xd5\xf3\x98\xb9\x83\xdd\xe8\xeb\x4a\xf7\x75\xa5\xfb\xba\xd2\xcf\x5e\x57\xba\x9b\xd2\xd9\x59\xe3\xec\xaa\x6e\x76\xd3\x35\xdb\x15\xcd\x67\xf0\xd2\x76\xd7\x06\x2f\xa8\x2c\xab\x83\x6f\xc2\x65\x5b\x1a\xf1\x4b\xe0\xa3\xfd\x4e\x15\xc1\x5e\x0b\x7c\x96\x75\xfb\x5c\x55\xc0\x3d\xd7\xff\x7a\x64\xb7\x1e\xc5\xbe\x0f\xc0\xd8\xe1\xe2\xf4\x01\x18\x7d\x00\xc6\x67\x1b\x80\xd1\xae\x4d\xd0\x78\xeb\x74\xbd\x35\x2b\x48\x79\xa3\x80\xf8\x05\x44\x29\x2c\x1f\xba\xd6\x94\xd2\xa2\xf2\x79\xfc\x26\xa4\xfa\xc6\x09\xbf\x84\x74\xdf\xd7\x29\xda\x69\x9d\xa2\xbd\x9b\x76\x2f\xf8\xf5\x82\x5f\x2f\xdb\x74\x9c\x70\x2f\xdb\xec\xaf\x6c\xf3\x5a\x0a\xcb\xe7\x04\xa1\xab\x85\xa7\x52\x66\xcc\xd2\x00\x5b\x03\x47\x03\xee\x81\x3c\x4b\x38\x8e\x57\x05\xe1\xfc\x82\x0a\xb9\x66\x89\x68\x66\xda\xd5\x1f\xbc\x05\xc9\x4c\x8f\xd3\x8c\xf8\x77\x13\x4b\x1b\x4e\xf9\x55\xc3\x68\x81\x5e\x21\x78\xac\x14\x84\xf6\x5c\x5a\x47\x95\x86\x3b\x29\x18\xf2\xdb\xb7\x42\xc5\x2f\xa1\x4e\x7c\xc6\x0e\x81\xde\xe8\xff\xfb\x2c\x74\xbe\x37\x52\x6a\xaf\xca\xf5\x59\x94\xbd\x11\xbf\x57\x74\x7b\x45\x77\xe7\xcb\xb8\x4f\x8a\xee\x2b\x4a\xd4\x26\x2d\xe4\x59\xca\x16\x6e\x26\x5b\xf7\xa2\x75\x2f\x5a\xf7\xa2\xf5\x67\x2b\x5a\xef\xc7\x0a\xf7\x72\x75\x2f\x57\xf7\x72\x75\x2f\x57\xf7\x72\xf5\xce\x97\xb1\x97\xab\x2b\x72\x35\xfc\xe5\xd2\xa2\xd7\x15\xb2\x3b\x0b\xd7\x1d\x72\xa0\xdf\x8a\x64\xdd\x4b\xd5\xbd\x54\xbd\xdf\x52\xf5\xde\x4c\xe8\xf3\x4b\x7c\xec\x53\x07\xfb\xd4\xc1\x3e\x75\xf0\x35\x52\x07\x1d\x2f\x59\x26\xa1\xd4\x05\x8b\x1f\x6b\x1c\x68\x6f\x65\x8b\x62\xb4\x9b\x86\x75\xec\x6a\xa9\x1d\xb0\xfc\x26\x95\xa5\x4a\xbf\xb9\x86\xf6\xa8\xde\xd4\x81\x93\x16\x34\xa3\x70\xe3\x5b\x8d\x08\xf6\x93\x7d\xf3\x6d\x81\x7f\xd7\x47\xdd\xd7\x9b\x42\xc1\xae\xf5\xf5\xa6\x9e\x71\xde\xee\x70\xad\x98\xb9\xa3\x51\x63\xe3\x7d\xa3\xd3\x7e\xf5\x00\xb9\xf6\x93\xfe\xaa\xe1\x72\x8d\x37\x49\x2d\x59\xe7\xf8\x9f\x8d\x17\xc5\x2b\x94\xd9\x5a\xfb\x76\xf8\x40\xd4\xe7\x72\x35\xf4\x65\xb6\xfa\x7a\x10\x3b\x9a\xee\x46\xac\xff\xcd\xce\xb6\x2f\x2a\xd6\x17\x15\xeb\x8b\x8a\xf5\x45\xc5\xfa\xa2\x62\xe8\x77\x5e\x54\x6c\x6d\xf1\xd1\x8c\xe3\x73\x91\x20\xfb\xa2\x62\xbd\x10\xb9\xbb\xe9\xfe\xbe\x84\xc8\x3d\xb4\x20\xec\x45\xf5\x34\x6f\x41\x78\x75\x9c\x0f\x37\x92\xae\x58\x1f\x6e\x41\x7b\xbc\x0f\xfb\x7f\x3d\xde\x47\x8f\xf7\xd1\x32\xeb\x3e\x98\xb5\xc7\xfb\x40\x7d\xb8\x66\x1f\xae\xb9\xcf\xe1\x9a\x1d\xb6\xb1\xc7\xfb\xe8\x28\xce\x3d\x13\xe6\x87\x93\xb9\xd6\xc2\xfd\xf8\xa9\xae\x68\xec\xad\x94\xe6\xc6\xfa\x3b\xc3\xff\xa8\x4e\x7b\x2f\x54\x92\x17\xc4\x01\x69\xa2\xeb\xce\x0a\xc8\xdb\xc0\x03\x71\xa3\xed\x13\x17\xfb\x10\xeb\xfd\x0f\xb1\xde\xbb\xc4\xc5\xbd\x91\x64\x7b\x75\xaf\xcf\x5d\xec\x73\x17\x7b\x65\xb8\x57\x86\x77\xbe\x8c\xfb\xa4\x0c\xbf\xb2\x84\xfd\x8c\xb8\x20\xdb\xc9\xda\xbd\xa8\x6d\xde\xeb\x45\xed\x5e\xd4\xfe\x4c\x45\xed\xfd\x58\xe1\x5e\xce\xee\xe5\xec\x5e\xce\xee\xe5\xec\x5e\xce\xde\xf9\x32\xf6\x72\xf6\x8b\xe1\x84\x34\x09\xdb\x1d\xf3\x6d\xde\x92\xa4\xdd\x4b\xd9\xbd\x94\xbd\xdf\x52\xf6\xde\x4c\xa8\xc7\x0c\xe9\x31\x43\x7a\xcc\x90\x1e\x33\x64\x23\xf9\xe6\xdf\xec\xb1\x7c\x17\xdc\xc4\xfe\xca\x7e\xf7\x5d\xc2\x27\x77\x8b\x8c\xe8\xff\x9e\xd1\x94\x30\x09\xd2\x28\x55\x8b\x50\x9e\x69\x59\xf9\xfa\x9a\xbf\xbb\x3d\xbf\xfc\x70\x11\x66\xd3\xbc\xfb\x78\x7f\x71\x77\x7e\x3d\xb8\xf1\xeb\xe2\x67\x15\xae\x85\xfd\xae\x24\x92\x59\x92\xbf\x21\x5a\xf7\x84\x53\x73\xab\xb0\xca\xe5\x66\x23\xbb\x19\xde\x0e\x6f\x7e\x84\x6c\xa0\xf1\xd9\xf9\xed\xe0\xbb\x8b\x12\x41\x94\x9e\x0f\x4e\xff\x76\x7f\x7e\xd3\xfe\x7c\xf8\xdf\xe7\xb7\x77\xb7\x6d\x4f\x6f\x86\x17\xc3\xc1\x6d\xfb\xd7\xef\x07\xe7\x17\xf7\x37\xc3\xa5\xeb\xb1\x74\xb4\xcb\x95\x10\x09\x8b\x04\x71\xfe\x28\xb2\x5c\x43\x14\x6b\x88\xbc\xf8\xe8\xd8\x61\x53\x5f\x27\xe8\xde\xea\xf4\xd4\x36\x6e\x18\x6c\xd0\x90\x51\x46\x62\x2a\xf1\x24\x21\x71\xad\x25\xb7\x86\x6d\x2d\xe1\xd2\xa0\x9e\xb4\xf6\xec\x45\x4e\xcd\xf3\x22\xc3\x0b\x10\xe4\x28\x2a\xc2\xe2\x86\x3e\xcc\x3e\xb4\xf6\xc0\x34\xef\xa2\x8f\xa4\xd4\x53\x94\x0b\x41\x98\x4a\x16\x88\x7c\xa2\x52\xc9\x5a\xa3\x6e\xfb\xda\x9a\xb5\x77\xaa\x6f\x70\x8e\x25\x9a\x10\xc2\xca\xe3\x17\x24\x21\x58\x36\x8c\xd9\xee\x7e\xb7\x65\xf1\x7b\x65\xad\x31\xe6\x32\x9a\x62\x9a\xe4\x82\x54\x4e\x0b\x4f\x33\x2c\xa8\xe4\x6c\xf8\x49\xdf\x65\xfa\x20\x5f\xc1\xe7\x5c\x6c\x76\x62\x86\x7f\x0b\x29\xf8\xb2\xfc\xcf\x0f\x77\xe5\x7f\x95\xce\xfc\xc5\x5d\xf9\x5f\xcb\x69\x3d\x68\xb8\x4a\xd9\x87\xe8\xc3\xdd\x09\xfa\x00\x21\x4e\x02\xdd\xcd\xb1\xa1\xd8\x8b\xbb\x13\x74\x41\xa4\x84\x5f\x8a\x8f\x15\x55\x09\xcc\xed\x3b\xca\xb0\x58\x20\x37\x7d\x93\xe8\x8a\xa3\x39\x22\x7e\x69\xaa\x8b\xc7\xfe\x91\x33\x50\xdd\x8b\xd5\xbb\xe0\x33\x1a\xe1\x64\xbb\x45\x1c\x5c\x96\xf8\xc0\xd5\xcd\xd2\xa5\x08\xdf\xae\xaf\xc5\xe0\xf2\x0c\x92\x48\xdd\x50\x1b\x66\x7e\x49\xa4\x26\x92\x88\xb3\xd8\x7a\x69\xf4\xed\xbf\x08\x84\xfa\x7f\x70\x48\xc4\xcd\x25\x65\x33\xdd\x22\x3a\x46\x57\x37\x23\x76\x25\x62\x63\x08\x25\x5a\x1a\x36\x34\x47\x25\x62\x5c\x21\x9a\x66\x5c\x28\xcc\x94\x56\x04\x40\x0c\xb0\x2b\x62\x38\xc0\x29\x4f\xd3\x5c\x61\x7d\xd0\x6a\x8b\xca\x8c\x39\xe4\x96\xa8\xf3\x18\x5c\x2b\x0d\x6b\x68\xe4\x84\x62\x2e\x99\xd0\xed\x6b\x19\xa5\xac\x43\xd3\xb8\xa6\xca\xba\x26\xb0\x10\xb8\x2c\x4d\xbc\xa3\x8a\xa4\xd5\xf7\x3b\x06\x79\xfe\xab\xd1\x40\x70\x6a\x92\x2a\x88\x18\x88\x68\x4e\x15\x89\x94\x3e\x82\x1b\xd1\xc4\xfd\xe5\x0f\x97\x57\x3f\x85\x12\xc4\xbb\xc1\xc7\xb3\xbf\xfc\x7b\xe9\x87\x9b\x8f\xb5\x1f\xc6\x3f\xfe\xa5\xf6\xcb\xff\x6f\x29\x3d\x55\x7b\xaa\xe9\xf9\xc1\x5c\x0e\x41\xa4\x06\x9b\xb0\x9b\x2a\xa2\x29\x9e\x11\x24\xf3\x4c\x53\x80\x3c\x2a\xef\xaf\x16\x29\x2f\x38\x8e\x29\x9b\x99\x0c\xd0\x0b\xaa\x88\xc0\xc9\x47\x9c\xbd\x77\xf6\xeb\x0d\x56\xe7\xff\xde\x96\xf2\x75\xdf\xfd\x3c\xf8\x18\x66\xfc\xbe\xbb\xbe\xb9\xba\xbb\x5a\x3a\xeb\x52\x0b\xf5\x63\xa4\x1f\x9f\xc0\xff\xa2\x63\xa4\x5b\xf7\x92\x6f\x4a\x14\xd6\x1a\x01\xfa\xd2\x24\xcd\xf9\x44\x1a\xca\x12\x38\x35\x99\xa0\x29\x85\x2b\xc5\x58\xf0\xbe\x32\xc2\xb5\xd7\x1e\xfc\xb9\x31\x1f\x80\xb6\xec\x2e\x65\x16\x63\x11\xa3\x7f\xc8\x6a\xfa\x38\x18\x8e\xcd\x0f\x24\x46\x87\x68\xae\x54\x26\x4f\x8e\x8f\x9f\x9e\x9e\x8e\xf4\xdb\x47\x5c\xcc\x8e\xf5\x1f\x87\x84\x1d\xcd\x55\x9a\x98\x74\x79\xbd\x0a\x27\xe8\x5a\x70\x7d\x85\x80\x82\x4e\x04\xc5\x09\xfd\x8d\xc4\x68\x62\xf8\x1f\x9f\xa2\x5f\x22\x2e\xc8\x51\xb1\x31\xd6\xa8\x64\xef\x11\x6b\x78\x3a\xd6\x2f\x35\x30\x93\xea\x7e\xa2\x98\x44\x34\xb6\x62\x06\x61\x11\x07\xcb\xa3\xf1\x55\xe8\xf6\x5c\xa6\xa1\xd6\x68\xb2\x5c\x15\xcb\x19\x28\x2b\x38\x26\x41\xb6\xbb\xe2\x65\x82\xd3\x8a\xcf\xb9\x51\x5b\x73\xad\xa2\xeb\xbb\x15\xc3\xad\xea\x5e\xcd\xf4\x84\x23\x9e\xa0\x49\x3e\x9d\x12\x11\x3a\xa4\x0f\xb4\x36\x43\x25\x12\x24\xe2\x69\x0a\x12\x83\xfe\x2a\x97\x86\xaa\x61\xc5\xec\x68\x8f\x46\x0c\xf6\x5f\xab\x39\x40\x01\x31\x07\x56\xc7\x08\x89\x11\x66\x0b\xd3\xcd\x24\x9f\x86\xed\x1b\x18\x0a\x1c\x23\xaa\x46\x6c\x90\x24\x48\x90\x94\x2b\x12\xe4\x50\x82\xf3\xac\xbc\xe0\xc0\x22\x05\xc9\x12\x1c\x91\xd8\xd0\x43\xc2\x23\x9c\xa0\x29\x4d\x88\x5c\x48\x45\xd2\xb0\x81\x2f\xc1\x56\xa3\xd7\x8c\x4a\x14\xf3\x27\x96\x70\x6c\xe7\x51\xfd\xec\xab\xf2\x69\x1c\x3a\x88\x80\xa1\x10\x5c\xc0\xff\xfc\x40\x59\xbc\x33\x0e\x75\x7f\x3b\xbc\x09\xff\x7d\xfb\xf3\xed\xdd\xf0\xe3\x7a\xdc\xc7\x53\x16\x0c\x0f\x74\xf8\x13\x74\x6b\x16\x81\x0b\x2d\x11\x89\x96\x49\x7d\xb4\xa4\x54\xfc\xc0\xe3\x0d\xb9\xef\xc7\xc1\xe5\xfd\xa0\xc4\x51\x6e\x4f\xbf\x1f\x9e\xdd\x57\xf4\x01\x3b\xbf\x92\x0c\x6f\xd4\xbf\xf0\xb7\xd3\xef\xcf\x2f\xce\xc6\x0d\x0a\xe3\xbb\x9b\xe1\xe9\xd5\x8f\xc3\x9b\x42\xb7\x6b\x5c\xa2\xca\x60\xaa\xcc\xea\xce\x30\xa5\x39\x8f\xd1\x64\xd1\x0c\x08\xa1\x25\xe7\x04\x7c\xb1\x05\x24\x8a\x69\xf5\x04\x78\x93\xc3\xe6\x28\xbe\x48\x79\x4c\x0e\xec\x3b\x80\xa4\x61\x8c\x2b\x46\x62\x6e\x6e\x58\xf7\x8e\x59\x60\xa8\x30\x20\x17\x7e\xe1\x4e\xd0\x00\x49\xfd\x62\xae\x0f\xb5\xa0\xb3\x19\x18\x0e\x2b\x43\x35\xad\xd9\x4f\x61\x79\xe1\x3b\xb3\xff\x99\xe0\x70\xce\x75\xb7\xd6\xe2\xec\xad\x12\xe6\x43\x40\x5d\x29\xb7\x28\x30\x18\x1c\x1a\x86\xe6\x36\x4b\x2f\x42\xeb\x7a\x99\xf3\x68\xec\x45\xfa\x70\x01\xdb\x92\xc6\xde\x99\x09\xf2\x48\x79\x1e\x7c\x6a\x81\x3d\x4a\x3b\xde\xd8\x7c\xb1\x00\xb0\x6c\xc6\x28\x52\x69\xc6\x93\x47\x63\x0b\x9a\x85\x3d\x42\x0b\x53\xc1\xd3\x86\x36\xca\xc7\xe4\xfc\xea\x56\x09\xac\xc8\x6c\x71\x66\x59\xc6\xe6\xc7\xe3\xec\xea\xa7\xcb\x8b\xab\xc1\xd9\x78\x38\xf8\x50\x3e\xf1\xfe\xc9\xed\xdd\xcd\x70\xf0\xb1\xfc\x68\x7c\x79\x75\x37\x76\x6f\x2c\x25\xf9\x96\x0e\xea\xf7\x74\xf9\xc5\x13\xa4\x59\x2e\xb0\x46\x07\x78\x17\xf0\xc7\x09\x99\x72\x61\xf8\x7c\xea\x42\x17\xac\x08\xe3\xd6\xd6\xea\x62\x95\x59\x9c\x80\x65\xac\xa9\x49\x63\xf5\x56\x82\xe0\x14\xee\x09\xcc\xd0\x90\xc5\x87\x57\xd3\xc3\x5b\xf3\x63\x8a\xc5\x03\x11\xfe\xd3\x27\x41\x95\x22\xac\xa4\xd2\x61\x37\x64\xaf\x24\x16\x1d\x1c\xa1\x1b\xcd\xf7\xf5\xfb\xfe\x52\xd3\xc4\x1e\x13\x85\x69\x22\xed\x60\x4b\xeb\x7a\x82\x2e\xb0\x98\x15\x76\xb8\x2f\xf9\x74\x6a\x1a\xfb\xca\x0c\x43\xdf\x61\xa5\x59\x34\xf0\x5e\x4d\x1a\xee\x5e\x84\xfe\xec\xcb\x5e\x1e\xae\x53\xd5\x7d\xb6\x1d\x4d\xdd\x5f\xc3\x8a\x1b\x8d\xbd\xa4\x1b\xda\x27\x0d\xb4\x06\x13\x37\x8f\x97\x5f\x32\xcd\x6d\xd7\xc9\xa9\xfc\x62\x03\x39\x99\x5c\x2a\xbd\xf3\x53\xad\x6d\x36\xd0\x12\xf9\x44\xad\xc1\x20\x1c\x77\x85\x84\x8a\x66\xc0\xbc\x8a\xb3\x8c\x60\x21\x9b\x76\xbb\x2c\x06\xb6\xec\xbd\xe9\x29\xec\xc3\x6e\xb2\xeb\xe7\x00\x71\x06\x06\x07\x2f\x44\x54\x28\xb2\x03\x0d\x98\xb6\x6a\x14\x70\x0d\x68\x4b\x57\x16\xd9\xe8\x23\x95\x5a\x69\x34\x3f\x7e\x67\x21\x97\x36\x23\x88\xf7\x83\xf3\x8b\x8a\x70\x31\x3e\x1b\xbe\x1f\xdc\x5f\x2c\x37\x13\x96\xbe\xab\x6e\x31\x3a\x44\xfa\x79\xd9\x6f\x4e\xa7\xe6\xce\x70\xc0\x51\x46\xa5\x25\x0c\x8c\x56\x16\xaa\xc6\xd8\xab\x63\x92\x25\x7c\x91\x12\x06\x26\x9e\xd2\x4d\xa8\xd7\x73\x8a\xa9\xbd\x5a\x82\xc1\x82\x15\xc7\x9a\xdd\xe0\x1a\x3b\x74\x68\x55\x24\xf6\x37\x6f\x19\xac\xaa\xc2\xba\xaf\x8d\xf7\xcc\xfe\xe7\x56\x61\xb5\xe1\x19\x1b\x9c\xde\x9d\xff\x38\x2c\xeb\x87\xa7\xdf\x9f\xff\xd8\x24\xd5\x8c\x3f\x0c\x2f\x87\x37\x83\xbb\x15\xc2\x49\xa5\xc9\x26\xe1\x44\xea\x01\x57\xbd\xa7\x54\xfa\x88\xa0\xc8\x40\x5e\x21\xaa\x24\x7a\xa4\x92\x4e\x28\x00\x84\x59\x4f\xe4\xfd\x39\x70\xd6\x47\x9c\xd0\x98\xaa\x85\x13\x5f\x4c\xbf\xe5\x7d\xd4\x9c\xd4\xb6\x6f\xcc\x0e\xa1\x7f\x12\xac\x7c\x66\x73\xdc\xa4\x4f\x10\xe8\xb6\x8f\xa0\xb4\x05\x9f\x31\x2d\x48\xb3\x19\x11\x66\x38\xe0\x7d\x09\xc7\x12\x3c\xd7\xa3\x0a\x85\x95\x62\xd5\xbc\xd0\x3a\x23\x8c\x08\x00\x81\xf3\x9d\x18\x41\x4a\x10\xf6\x85\x96\xb9\xb2\x84\x46\x54\x25\x0b\x14\x81\x0d\x0b\xcc\x99\x29\x66\x78\x66\x85\x03\x50\x73\x2a\x24\xf1\x37\x83\xa2\x76\x35\xb5\xa6\xfd\x3b\x4a\x36\x3c\x66\xf7\x97\x67\xc3\xf7\xe7\x97\x65\x12\xf8\xfe\xfc\x43\x49\x84\xfd\x38\x3c\x3b\xbf\x2f\xdd\xe6\x5a\x92\x5d\x2e\xd7\x57\x9b\x6d\x38\x8a\xfe\xa5\x13\x74\x66\x3e\x3d\xd1\x8b\xdb\x00\x11\xe7\x95\xdf\xca\x3a\xdc\xb8\x90\x3c\xf7\xc7\x90\x29\xd1\xe8\x97\xe8\x6a\x42\xb2\x3e\xc8\x92\x0d\xa9\x39\x54\xa1\xd6\xf7\x65\xd5\xa9\x5c\x9d\xb2\x7b\x11\x82\x2e\x8f\x0a\xcb\x52\x18\xc3\x00\x46\x83\x36\x23\x56\x83\x5b\xab\x60\xd8\x3f\x82\x8b\x3a\xcd\xa5\x32\xae\x44\x20\x4e\xf4\xf0\x57\xa9\x17\x14\x5c\x8d\x47\xe8\x96\x90\x11\x73\xd6\x83\x19\x55\xf3\x7c\x72\x14\xf1\xf4\xb8\xc0\x27\x3c\xc6\x19\x4d\xb1\x96\xa4\x89\x58\x1c\x4f\x12\x3e\x39\x4e\xb1\x54\x44\x1c\x67\x0f\x33\x88\x80\x71\xee\xd4\x63\xdf\xec\x8c\xff\xe1\xe2\xcf\x5f\x1f\x5e\xfc\xf5\xeb\x77\x75\x0b\x59\xdb\xfe\x0f\x59\x84\x33\x99\x27\x36\x62\x4e\x84\x6b\xe3\x8e\x7c\x4e\x56\xed\xf7\x65\x79\xbb\xb6\xd3\x5f\x4f\xaf\xef\x4b\x16\xeb\xf2\x3f\x3f\x0e\x3f\x5e\xdd\xfc\x5c\xe2\x94\x77\x57\x37\x83\x0f\x25\x86\x3a\xbc\xfe\x7e\xf8\x71\x78\x33\xb8\x18\xbb\x87\xdb\xd8\xde\x7e\x60\xfc\x89\x95\x97\x46\x3a\x0e\x58\xeb\xe9\x04\xbd\xe7\x02\xfd\xe0\x77\xf2\x70\x82\x25\x5c\x31\xee\xce\x92\x07\x28\xe3\x31\x30\x5e\x44\xb2\x39\x49\x89\xc0\x89\xb5\x19\x48\xc5\x05\x9e\x99\x9b\x5e\x46\x02\xab\x68\x8e\x64\x86\x23\x72\x80\x22\xa0\x86\xd9\x01\x6c\x0a\xa8\x5a\x7c\x56\xb5\xf3\xdd\xe4\x4c\xd1\x94\x38\x15\xdc\xfe\xf3\xce\x6c\xc6\x06\x9b\x73\x75\xf7\x7d\x59\xd8\x7b\x7f\xf1\xf3\xdd\x70\x7c\x7b\xf6\xc3\xd2\xf5\x34\x9f\x95\x46\x76\x0b\x01\x48\xa7\x3c\xc9\x53\x16\xfe\xbd\xf9\xd8\xce\x2f\xef\x86\x1f\xaa\xa3\xbb\x1a\xdc\x95\x29\xe3\xa6\x1c\xe0\xf6\xee\xbb\xab\xab\x8b\x61\xc9\x25\xfc\xee\x6c\x70\x37\xbc\x3b\xff\x58\xa2\x9f\xb3\xfb\x1b\x83\x46\xb8\x6c\x9a\x6e\x04\x0d\x13\xd5\xd3\x0a\xa7\xb9\x6b\x56\xd8\x89\x13\x0d\x6c\x40\xb9\x39\xcb\x87\x01\xdc\x8e\x09\x07\x03\xab\xce\xa1\x37\xa9\x46\x66\xa4\x8d\xec\x50\x95\xb7\x09\xb5\xb3\xe3\xa5\x1b\xbd\x8c\x2b\xdf\xf9\x21\x18\x28\x50\xa3\x6c\xe3\x24\xe1\x4f\x26\x94\x37\xa5\xfa\x56\xb6\xc0\x68\xfa\x15\x59\x78\x08\x8f\x1a\x38\x5e\x79\x5b\x48\x24\x88\xfa\xc8\x73\xa6\x36\x27\xb9\xc1\x65\x89\xef\x0c\x2f\x7f\x1c\xff\x38\x28\x53\xe0\xf9\xc5\x72\x56\x13\x36\xd1\x70\x15\x0f\x2e\x7f\xf6\x97\x30\x04\x7c\x1f\x78\x0d\xd5\xc8\xae\x51\x42\xb5\xd8\x1b\x61\xad\xbd\x26\x20\xd1\x20\x42\xc1\xe4\x90\xea\xc9\x41\x80\x69\x66\xfc\x49\x86\x3f\x99\x41\x9e\xb8\x3f\x2a\xed\x49\x58\x17\xb0\xa6\xba\x78\x7a\x68\xc7\x6a\xd5\x0c\x11\xf6\x48\x05\x07\x3c\x5b\xf4\x88\x05\xd5\xd2\xb8\x69\x59\xcf\xf5\x04\xfe\x77\xbd\x36\xc1\x30\x5a\x61\x5c\xb7\x5c\xa8\x33\x1f\xc8\xbb\x99\x35\xa4\x29\xa0\xb5\x1e\xca\xda\x6c\xe8\xa8\x7f\xdb\xb0\x39\x5b\x06\xfc\x96\x27\xfc\x6b\x72\x46\x71\xa2\x19\xc0\xee\xe4\xc5\xc1\xe5\xed\x79\x59\x7e\x2c\xab\x19\x01\x5f\xde\x58\x5e\x04\x43\xa5\x19\xb9\x53\x26\x6e\xff\x76\x61\xb4\x0b\x00\x3d\x36\xe7\x36\x50\x2c\x40\x00\x72\x28\x28\x19\x16\xb2\xf2\x85\x44\x00\x84\x56\x04\x5c\xe9\x3b\x0b\xc2\x99\x1e\x39\x8d\x47\x8c\x7c\xca\x08\x93\x10\x1c\x60\xee\xb3\xc2\xd7\x2e\x8f\xd0\xf9\x14\x58\x82\x7e\x9d\xa1\x9c\x59\x07\x98\xbe\x70\xcd\x20\x0f\xb4\x28\x6b\x87\xe0\x35\x44\x30\xbc\x30\xe2\x82\xa5\x8a\xc1\x8f\xd8\x4f\xde\x89\x06\x8f\xa6\x5c\x33\x20\xbd\x8b\xb6\xbd\x13\x84\x99\xa4\x07\x48\x2b\x2c\xd5\x3d\x85\xd4\x01\xad\x50\xda\x10\x2e\xcd\x69\xec\x9f\x2f\x7f\x0d\xd4\xe2\x84\xc3\xcb\xa0\xf9\x2e\xa8\x5c\x05\x2d\xa2\x71\x62\x3c\x26\xe3\xee\x77\x42\xc4\x05\xb1\x7e\x96\xb5\xaf\x81\x55\x8c\xfd\x0e\xcb\x87\x9a\xef\xe1\x9c\x49\x85\x59\x44\x4e\x13\x2c\x37\x0c\x42\x72\x36\x8e\x83\xb2\xc4\x71\x73\x73\x7f\x7d\x77\xfe\xdd\x0a\x2e\x5f\xfd\xb8\x1e\x06\x14\x25\xb9\x73\xcf\x4d\x04\xc7\x31\xd2\xec\x73\xc6\x8d\x2b\xd0\x0a\xfe\x05\xf4\xb7\xc9\xeb\xf1\x01\x95\x25\xd8\xf1\x22\x1d\xc1\xda\x39\x42\x57\x02\xb5\x0b\x81\x22\xbd\x12\x28\x30\x79\xb8\xad\x06\xcf\xa2\x29\x48\x62\xad\x5b\x59\x82\xd5\x94\x8b\xd4\x70\xf9\xd2\xa4\x4d\xe3\xcb\x1b\xa5\x4c\x11\x21\xf2\x4c\x51\x87\xe5\x5e\x95\x52\xa1\xc2\x3b\x9f\x7d\x24\x52\xe2\x19\xd9\xc6\x01\xdd\xa4\x3c\xdc\xfe\x18\xfe\x13\x1c\xcc\x5d\x64\xff\xd2\x08\x5d\xe4\xbb\xa3\xa7\x2b\xf6\xde\x04\xf2\x5c\xf3\x84\x46\x1b\x06\xdc\xbd\x1f\x9c\x5f\x8c\xcf\x3f\x6a\x25\x7e\x70\x37\xbc\x28\x89\x12\xf0\x6c\xf0\xfe\x6e\x78\x63\x41\xac\x07\xdf\x5d\x0c\xc7\x97\x57\x67\xc3\xdb\xf1\xe9\xd5\xc7\xeb\x8b\xe1\x8a\xc8\x9c\xd6\xc6\xeb\xd6\xd5\xea\xab\x27\xb5\x5f\x60\x87\x35\x2f\x0b\xed\x65\x90\x35\x86\x69\x02\x4e\x70\x6e\x9c\xe1\x18\x31\x1e\x13\xf8\x59\x3a\xeb\x8c\x47\x8e\x46\xe7\xea\x8b\x24\x41\x38\x57\x3c\xc5\xe0\xb5\x49\x16\x23\x86\x27\x9a\xb5\xe2\x24\x09\xc2\xbb\x44\xce\x98\x66\xb1\xba\x31\x03\xd1\x1e\x25\x44\xb3\xf3\x2c\x48\xf6\xb3\x7e\x83\x29\x65\x10\x69\x9b\x62\xf1\x60\xdc\x4c\x45\x97\xc5\xa1\x90\x08\xcb\x11\xd3\xe3\x22\xd6\x30\xd4\x65\x85\x4f\x3a\xbd\xd5\xba\x3a\x29\x7e\x20\x7a\x55\xd2\x3c\x9a\xa3\x4c\xf0\x99\x20\x52\x5a\xdb\x72\x84\x99\x09\x40\xb0\xaf\xeb\x6b\x68\xc4\x18\xd7\x4b\xe1\x4c\xd8\x31\xc9\x08\x8b\x09\x8b\xa8\x49\xeb\x03\xdf\xbd\x37\x6d\xce\x04\xce\xe6\x48\x72\x70\x7a\xc3\xb2\x83\xfd\xca\x7c\xe4\x6e\x32\x33\x63\xf3\x38\xb4\x40\x8b\x5c\xf3\x89\x2b\x90\x13\xcd\x2a\xc3\xc7\xee\x32\x74\x6e\x17\x63\x07\x4c\xb3\x84\x28\x03\xd6\x0f\x4b\x0e\x9b\xa1\xd7\xba\xb4\x1f\x7a\x9b\x9a\x36\x41\x5f\xd8\x6e\xcc\x58\xda\x11\x1d\x35\x58\xb6\xed\x91\x42\xdf\x63\x16\x27\xba\x15\xe7\xc3\x28\x9f\x45\x48\x45\x19\x68\xaa\x71\xa7\x71\x9b\x5b\x34\xc2\xb9\xdc\xe6\x1a\xad\xe4\x62\x1a\xab\xe0\x61\x11\x14\x02\xe4\x6d\x13\x31\x61\x75\x33\xcd\x22\x71\xc2\xed\x2a\x99\xd7\x73\x53\xff\x09\xc1\x68\x5a\xae\xd9\x4c\x50\x16\xd1\x0c\x27\x1b\xe9\x7e\x95\x60\x7c\x1b\xe3\xfe\x25\x9d\x6a\xf2\xf9\xaa\xe6\xb6\x55\x44\xa4\x90\xa0\x6c\x87\xe9\xb7\x70\x0d\x4b\x92\xcd\x6a\x20\xb2\x88\x26\xc1\x82\xe7\xc6\x1f\x07\xeb\x42\xe2\x86\xa3\x7a\xd4\xb4\xdd\xfa\x64\xe0\x72\x00\xf4\x06\x9b\x6d\x22\x7f\xda\xd6\xaf\xd2\x8a\xed\xdd\x04\xe3\xe1\xe4\xba\xb9\xcd\xa6\x1d\x08\x1e\xfe\x6b\x19\xed\x7c\xc4\x99\xa6\x19\x0b\xdb\x8f\x8b\x39\x5a\x25\xc9\x56\x05\x73\xf1\x33\x81\xef\xdc\xe7\x85\x74\xdf\x8d\x62\x09\x6d\x00\x54\xbd\x93\x52\x0c\x41\x90\x63\x6e\x69\x7c\x9a\x6b\x59\x16\x61\x88\x42\x40\x5f\x92\xa3\xd9\x11\x72\x45\x18\x0e\xd0\xe0\xfa\x7a\x78\x79\x76\x80\x88\x8a\xbe\x72\x31\x8b\x36\x60\x69\xc4\x14\xb7\xd2\xca\xc2\x15\xd0\x48\x89\x98\x91\xd2\x9c\x5d\x74\x13\x84\x2a\xcf\xa8\x54\x36\x7c\x56\xf3\x95\xa0\xd4\x09\x4d\xab\x62\xb6\xa1\x90\x5c\xcd\xb7\x21\x0d\x2c\x65\x9e\x6a\x5d\x76\x4c\x71\x3a\x16\x3c\xd9\x86\x29\x9c\xc1\x54\x40\x5d\xf6\xe9\xf9\x14\xa7\x48\x37\x6b\x43\x41\xbc\xcb\xd1\x8b\x74\x5a\x30\xd2\x7c\x59\xdf\x9b\xc1\xbd\xe5\xbc\x0f\x36\x1e\x8d\xba\x10\x08\x48\xdf\x6f\x61\x15\x85\xd9\x78\x6c\x2d\xf5\x63\x1c\x45\x5a\xe5\xde\xf1\xa4\x82\xfa\x39\xce\x25\x60\x3b\x7a\xb6\x69\xae\xa2\x73\x37\xcc\x4c\x73\x30\x08\x06\xd6\x57\xae\xe4\x11\x2d\xda\x6f\xe8\x77\xb2\xa8\xf5\xea\x2a\xdc\xdc\x4b\x6f\x52\x31\x97\xb0\x24\xb0\x93\xd2\x54\xc8\x51\x73\xb2\x40\x73\xfc\x48\x4a\x5d\xba\x84\x18\xdd\xf0\x82\xe7\xa2\x89\xd1\x8d\xd8\x19\xc9\x04\xd1\x92\x7e\xd5\x81\xe2\x69\xfa\xa6\x4c\x89\x3d\x5d\xf7\x74\xfd\xe6\xe9\xfa\xd4\x14\x4a\x1a\xf8\xc2\x58\x5b\x09\x70\xa6\xb1\x71\xc6\x79\x32\xee\x60\x13\xe9\xbe\xe2\x25\x4f\x58\xa5\x6c\x14\x40\x02\xf0\x1c\xe4\xa3\xd2\xb5\xc9\xf5\x5d\x17\xa4\xd8\xda\xe1\x2d\x59\x06\xe7\x32\x0b\xea\xe5\x6c\x73\xde\x9b\x5a\x59\xd6\x12\x7a\x76\x31\xe7\xd4\xc8\x37\xde\x5d\x16\xd6\x3f\x2d\x1d\x26\x27\x8a\x50\x56\xab\xc6\x66\xe8\x59\x2f\xb0\x91\x3b\x7e\xcd\xb9\xc2\xf2\xab\xa3\x11\xd3\x42\xd4\x03\x59\x18\x73\xab\x16\x53\xfe\xa8\x65\xf1\x43\x49\x98\x84\x70\xef\x3f\x1a\xf7\x9c\x26\x71\x67\xae\x36\xaa\xa9\x29\x02\x07\x41\xd7\xbe\x17\x08\xd1\xb5\x8d\x5a\x29\xa9\x08\x80\x06\x39\xdf\xcc\xc5\x3e\x33\xc3\x9f\x11\x05\x29\xd6\x8a\x2a\xd0\x99\x62\x53\x65\xae\x36\xf4\x95\xa6\x2b\x43\x15\x82\x83\x9f\x24\xce\xb7\x63\xfc\xb2\xde\xc6\x4a\xce\xe8\xb5\x85\x5b\x1b\xf3\x7e\xec\xec\x46\x91\xe0\xb5\xd2\x6d\x58\x22\xb3\xd3\x13\xc3\x0e\x9c\xff\x9a\xb0\xa3\x27\xfa\x40\x33\x12\x53\x0c\x11\xf0\xfa\x5f\xc7\x7a\x5e\x7f\x38\xbd\xb9\xba\x1c\x17\x99\x3c\xff\x35\x62\x83\x44\x72\x9f\xa5\x80\x18\x67\x3e\xdc\x3e\x13\xc4\x89\x84\x76\x2e\x60\x75\x2d\xcc\x88\x23\xd6\x36\x82\x98\x47\xf2\x08\x3f\xc9\x23\x9c\xe2\xdf\x38\x03\x57\xfa\x00\xfe\x3c\x4d\x78\x1e\xff\x84\x55\x34\x3f\x86\x73\xad\x8e\xc9\x23\x61\xca\xb8\xa9\xf4\x72\xc5\x90\xbc\x2b\x21\x5a\xff\x0f\x7a\xcc\x45\x52\x91\xd4\x9a\x6c\x44\x32\x85\xfe\x1f\x41\x26\x9c\xab\xe6\x4b\x8a\x4f\xa7\x92\xac\x75\x21\x15\x4a\xda\xed\x15\xfa\xeb\x5f\xbe\xfe\x46\x93\xd0\x26\x6b\x7c\x7e\x7b\x35\xd6\xdf\xff\xe1\xcc\x7e\x2f\xd7\x60\x77\x57\x59\xc1\xda\x1c\xf1\x98\xc0\xf9\x9c\xc1\xed\x27\xc0\x79\x01\xec\x0d\xc8\xa1\xd8\xc7\x26\xee\x76\x56\x6a\x7d\x3b\x95\x6d\xa3\xc5\x04\x15\x3b\x98\x23\x3a\x44\x8c\xa3\xd4\xc4\x9a\x62\x86\xfe\xfd\x87\xef\x9a\x37\x30\x17\x74\xa3\x0e\xa9\x85\x6b\x08\xba\x94\xf4\x37\x22\x91\xa6\x1a\x4d\xc5\x3c\xd5\x5d\x0b\x22\xe7\x3c\x89\xd1\x13\x01\x35\xc9\xc6\x81\x7a\xad\x5c\x90\x11\x0b\x9b\x80\x90\x43\x84\x13\xc5\x67\x04\xee\x6a\xa7\xa8\x29\x22\xb4\xa8\x62\xb2\x34\x14\x17\xe4\xc0\x40\x7d\xdd\xfe\xd9\xc5\x56\xc3\x34\xe1\x91\x4b\x6a\xb1\x26\xb9\x78\xd2\x3c\xf3\x69\xd5\xf4\x8a\xda\x6d\xf8\xd5\x4d\xb6\x66\xdb\xe6\xa5\xb1\x49\x28\xd6\x86\x55\xdd\x99\xe6\xc1\xd0\x88\xb3\x71\x42\xd9\xc3\x46\x9b\x71\xe5\x44\x39\xdd\x82\x5d\x33\xdd\xa2\xb7\x73\x1b\x0b\xc8\x1a\xe7\xe3\x7d\x9e\x24\x26\xb5\x25\xdc\x1e\x90\xbb\xcc\xba\x81\x30\x90\x99\x1c\x50\x12\x5b\xbf\x97\xd5\x84\x05\x61\x10\xf0\x36\x62\x93\x85\xf5\xd9\xca\x03\x24\xf3\x68\xee\x32\xf3\x22\xce\xa4\x16\xa3\xb9\x40\x11\x4f\x53\x53\xdc\x94\x11\xa4\x38\x4f\xa4\x8d\x76\x67\x87\x0a\x47\x6a\xc4\x8a\xfe\x56\x9c\x3c\x53\x01\x69\xbb\xd4\xbd\xee\x2e\x9d\xa2\xd2\xd2\x52\x81\x9b\xc6\x21\x66\x03\x18\xc1\x8c\x27\x2a\x40\x7f\xe0\xf5\xb3\x64\x36\xac\x45\x33\x90\x73\x2e\xd4\x38\x6e\xe4\x39\x2b\x89\xa6\xca\x08\x19\x39\x4c\x20\x68\x98\x3f\x6a\xe1\x9f\x3c\x79\xe3\xeb\xb2\x21\x68\xaa\x5e\x36\x82\x6e\xc7\x68\xe9\xc8\xd6\x25\xc1\x96\xb5\x32\x08\x1e\x51\x39\x26\x7c\xd5\x18\x6f\xe1\xab\x53\xfd\xd1\xd2\xc5\xab\x9e\x3b\x27\x04\xf1\xb8\x00\x9b\x33\xf7\xba\xcd\x08\x59\xb6\xa6\x16\x3a\xe1\xf9\x32\x47\x97\x4d\xe5\xbe\x6c\xc9\xd5\x63\x01\x93\xbd\x24\x20\x6b\x62\x31\xa1\x4a\x60\x51\x42\x0a\xf1\xfa\xa0\x24\x58\x40\x7c\xd6\x88\x19\xdc\x38\xa3\x29\xc4\x28\xa6\x12\x12\x44\xe0\x2e\x0d\x9c\x61\xa8\x9b\x12\x58\x39\xda\x45\x9e\xa3\x89\x3f\x87\xc0\xb2\x82\x34\x1c\xb3\xd3\x1d\x79\x7c\x2c\xad\x9f\xf1\x28\x2f\x04\xb9\x08\x24\x5c\x8b\xa9\x83\x28\x93\x74\x36\x57\x88\x32\x6b\x77\xc4\xc9\x8c\x0b\xaa\xe6\xa9\x3c\x40\x93\x5c\x6a\x2d\xd4\x04\xab\x99\x78\x14\xa2\xa2\x4e\x5c\x68\xdb\x24\xe2\xb8\xd2\x60\x5d\x45\xd9\x80\x34\xba\x1d\xca\x61\xe5\xae\x58\x41\x38\x03\x8f\x33\x58\x6d\x83\x42\xdd\x46\x03\x4f\x89\x4c\x1c\x20\x77\xc8\x4e\x50\x05\xa4\xed\x1c\x00\x2a\xe4\xce\xbc\x14\x2f\x51\x88\x0b\x99\x64\x50\x41\x5c\xec\x36\x48\x5e\x65\x64\x4a\x83\xde\xe4\x9d\x4e\x69\xa6\x1a\x03\xb7\xea\xae\xa2\x9b\x00\xf3\xa7\xdb\x62\x43\x32\x16\x50\x33\x20\xb5\x8d\xd8\x2d\x21\xed\x40\x6e\xb5\xbd\x37\xa5\x71\x61\x0a\x36\xd1\x63\x39\xc9\x6f\xe3\xc4\x3e\x1b\xde\x9e\xde\x9c\x5f\x1b\xc8\x89\xab\x9b\x8f\x83\xbb\x71\x83\x5f\xbb\xe1\xad\x8f\x83\x9b\x1f\xce\x56\xbf\xf6\xfd\x5d\x39\x2b\xbb\xe1\x95\x9b\xdb\xe5\xc9\x1c\x1d\x86\xd8\x90\x14\xd6\xd8\xcf\x09\xca\x16\x6a\xce\x99\x0f\x51\x88\x4b\xbc\xe9\x10\x99\x8c\x60\x05\x21\x44\x42\xaa\x06\xc7\xe1\x1d\xc4\xe5\xac\x96\x30\xcb\x9b\x65\x60\xd8\x76\x2a\x1a\xad\x71\x22\x3f\x24\x7c\x02\x7e\xeb\xbc\x54\xe2\x76\x49\x04\xfa\x96\xf1\x3e\x67\x54\x66\x09\x5e\xd4\x7a\x58\x75\xe5\x5c\xe2\x94\x40\xc4\x71\x81\x1f\xe7\x92\x45\xf4\xce\x40\x02\x93\xbf\xd7\xe9\x14\x32\x99\x14\xc5\x8a\xa0\x09\x51\x4f\x90\x37\xe7\x7e\xf5\xb6\x54\x17\x30\x22\x8f\x46\x0c\xcc\x39\x23\xbd\xc8\x71\x0e\xd1\x7e\xa3\x77\x07\x68\xf4\x2e\x26\x8f\x24\xe1\x99\xde\x79\xfd\x43\xcb\x25\x33\x4c\x31\x4d\x2e\xb9\xf2\x96\xb9\x6d\xf6\x53\x90\x88\x66\x20\x99\x8f\x89\x6e\xf7\xe5\x04\x8f\x12\x25\x3b\x76\x06\x63\x40\x38\x8e\xb5\x92\x0d\xac\xcc\x0d\xaf\x08\x01\x62\xc1\xd4\x4b\xb5\x32\xd7\x11\x29\xbc\xf9\xdb\xf4\x18\xb6\x59\x36\x7b\x36\xee\x80\x77\x0c\xbf\x90\x92\xe1\x42\x71\x7c\xc7\x1d\xb5\x8e\xfb\x36\x1d\xa3\xd5\x03\x5d\x3d\x80\x7a\x2d\xd6\x10\x98\xfd\x00\x6f\xf5\x77\x2b\x05\x4d\x7f\xdb\x46\x61\x49\x76\x10\x19\x6d\x6e\x73\x35\x9d\x9a\xac\x1c\x71\x94\x70\x59\x86\x3a\xe9\x3c\xe8\x53\xfb\xe9\xb2\x71\x0f\x43\x67\xb1\xbe\xd6\xd7\xf2\x47\x37\x2c\x7c\x05\xcb\xcf\xb0\x09\x65\x1d\x1c\xf6\xed\x03\x44\x21\x58\x0e\xe4\xe9\xa4\x48\xfc\x66\x31\x2a\xac\xd8\x23\x56\x84\x1c\x48\xf4\x44\x12\x88\x52\x8a\x78\x9a\x81\x85\xd6\x0e\xd7\xb6\x44\x62\x13\xf0\x79\x80\x78\xae\x74\x63\x26\xa5\xc2\xd9\xe0\x6c\xbe\x46\x61\xb5\x36\xae\x13\x1b\xbb\xec\x71\x81\x0d\xad\x1b\x56\x48\x19\xfa\x40\x14\xb4\x02\xb8\xeb\xe1\x04\x41\xcc\xab\x46\xc0\x35\xaf\xfd\x16\x27\xca\xce\x64\x8d\x9d\x2f\x70\x2f\xbe\x4b\xf8\x64\xb9\x8e\x07\x8d\xa3\xfb\x9b\x73\x67\x50\x2a\xc2\x5f\x02\xf0\xd9\x92\x43\x68\x78\x7d\x33\x3c\x1d\xdc\x0d\xcf\x8e\xd0\xbd\x24\x7a\x79\xfc\x74\x21\x3d\xd6\x4b\x94\x66\xe4\x16\x48\x83\x49\x45\x70\x9b\x1e\x4b\x84\x28\x25\xb1\xae\x60\x1c\x65\x94\x8d\xe5\x84\x0d\x18\x17\xd4\xda\x59\x00\x17\xa6\x3a\x4f\x1b\x58\xb5\xea\x04\x42\x98\xcb\xf8\xed\x04\x19\x99\xf1\xa6\xf5\xc0\xaa\x55\xe4\x53\x0e\xc8\x7a\xee\xc9\xc0\xd1\x52\x73\x42\x05\xea\x34\x2d\x43\x54\xe3\xee\x73\x0a\x22\x94\x3f\xe2\x6c\x79\xf6\x20\x7e\x2a\x11\xad\x91\x64\x02\xd7\xeb\x73\x9f\x03\xc7\xd6\xc6\x86\x15\x6e\x3f\xc1\xc2\x1f\x61\x78\xab\xe7\x9b\x26\x60\x5f\x3a\x1b\x47\x38\xb1\xca\x20\x6c\x18\xa2\x44\x70\x76\xe0\x17\xca\x50\xe9\x4a\x3c\x40\x53\xfa\xc9\x36\x5a\x84\x27\xbb\x57\x03\x7f\x75\x4b\x38\xdc\x1c\xd7\xcf\xd4\x1a\x62\xc3\x35\x7c\xbf\x34\x3c\x8b\x4b\xa5\xa5\x2e\x2d\xb9\x0a\x12\x71\xa1\x6f\x0a\xe8\xb6\x30\x22\xaf\x12\x19\x14\x16\x7a\x51\xea\x46\xf5\x65\xa7\xbf\x28\x21\x11\x63\x45\x0e\x15\x5d\x99\xbf\x6a\x53\x1c\x20\x19\x02\xab\x00\xcd\xa9\xb8\x79\x26\x64\x86\x99\x8b\xac\x6d\x19\xae\xbb\xf2\xb6\x60\x55\x5a\x82\xc5\x90\xdd\x03\xf2\x15\x64\x6e\x94\xc6\x21\x33\x58\xcf\xa5\xe3\xb0\xc1\x0b\xfb\xb0\x6c\x4f\xd8\xc7\x52\xb4\x0c\x36\xcf\xe2\x7d\x1a\x6c\x82\xa5\x42\x76\x4c\x6d\x9a\x64\x20\xe1\x3f\xaf\x0d\xad\xa4\x9a\x75\x35\x9f\x69\x12\x2a\x2b\x21\x04\x0c\xdb\xd2\xc1\x5e\x18\x90\x8f\x94\x88\x99\x13\x84\x4d\x25\x5d\x7f\xb6\x6d\x49\x5d\x77\x4b\x84\xcc\x04\x62\xac\xeb\x4d\x1f\xa1\x01\xab\xc1\x1d\xb9\xb0\x9a\xd2\x7a\x99\x3b\x09\x27\x4f\x78\x21\x51\x26\x0c\x32\x88\x09\xbc\x76\x93\x87\x78\xc7\xf2\x47\xde\x93\xad\x5c\xe4\x3b\x02\x55\x7a\x75\xcc\x93\x93\x7b\xc7\xcf\xe0\x89\xa9\x04\x05\x7b\x81\xbc\x68\xae\x50\x35\x3b\xb0\x3a\x45\xc6\xd1\x1c\xb3\x19\x19\x3b\x1b\xd9\x26\xda\x92\x6e\xe7\x14\x9a\x39\xb3\xad\x34\x5f\x4e\xd7\x46\x61\xb2\xe5\x3b\xcc\xab\xde\xfe\xa3\x0f\x81\x54\x78\x46\x90\x19\x51\x27\xab\x62\x29\xe0\xc7\x62\xc5\x82\x9e\x60\x5b\x1d\x96\x83\xa0\xdb\x84\x77\x88\x5c\xb9\xc0\x13\x92\xbc\x8e\xe3\x1b\xba\xb6\xb6\x55\x70\xb6\x98\x60\x6e\x82\x9e\xc0\x1c\x5b\x61\x19\xd6\xf8\x2a\xf2\xa6\xd0\xee\x65\xf3\x2c\x15\xaf\xde\x62\xa2\xae\xd4\xc3\x26\x53\x6d\x2b\x00\x11\x5e\x7b\x41\xa1\x84\x26\xfb\x48\x78\xfd\x55\x4d\x82\x9b\x0d\x24\xa8\xd7\xd0\x32\x8e\xad\x0b\x36\xac\x9c\xca\xc6\x39\xe2\x1d\x8b\x98\x9d\x4f\x11\xe3\x8c\x20\x2a\x8b\x97\x55\x39\x9b\xc5\x23\xac\x68\x11\xdf\x18\x5f\x7c\x91\x25\x5f\x3b\xe7\xb9\x2d\x2d\x45\xee\xbb\xb7\x0d\xb8\xf4\x5c\x46\xb4\xa2\x8a\xc5\x02\x10\x1a\x0d\x1f\x2e\xcb\x74\x2b\xc7\xb9\x73\x81\xfb\xce\x01\x70\x06\x81\x96\x8a\x23\x10\x23\x2b\x83\x43\x06\xc6\xd2\xbe\x64\x3f\xb2\x28\x23\x23\xe6\x2d\x1b\x40\x88\x54\xa2\x14\x67\xe0\x92\x61\x5c\x15\x5f\x19\xd4\x1c\xe5\xb7\xf0\xc0\x09\xe2\xd2\x94\x40\x6a\x59\x81\x55\xa6\x1d\x77\xfd\x16\xeb\x5a\x46\x27\x74\xc8\xaa\x33\xfa\x48\x98\xa3\xe9\x03\x77\x26\xf4\xa0\x5c\xa7\xc9\xe2\x10\x43\x94\x28\x89\x43\xc3\xf5\x72\x8e\x64\x0c\x32\xfb\x60\x8f\xec\xbe\x64\x77\x8d\x51\x10\x06\xe3\xaa\x04\x4e\xee\xe2\x7a\x43\x2a\xb5\xb0\xab\x26\x91\x17\x4b\xf4\x47\xc6\xd5\x1f\x03\x60\x5a\x67\xbc\x80\x4f\x9d\x09\xea\xa0\x56\x71\x03\x0e\xad\x25\x1c\x84\x03\x80\xa4\x95\x2b\xbf\xad\x6b\xb7\x88\x5b\x7e\x56\x69\x74\x58\x4f\x62\x6a\x2b\x59\xd4\x3b\x5c\x51\xf5\x5a\xa8\x1a\x3c\x4d\x55\xb4\xe2\xa4\x97\x0c\x9d\x72\x95\x87\xd5\xef\x45\x27\xcf\x6a\x2d\xa1\x7b\x1b\x6a\x4b\x3b\x07\xbe\xac\xc0\xb0\x6d\xb6\x4b\x6c\x92\xa6\xd7\x26\x97\x8b\x72\xe4\x91\xad\x62\xd0\x02\xd2\x7a\x34\x62\xef\xb9\xb0\x57\xb0\xb4\x30\xf1\x13\x1c\x3d\x1c\x12\x16\x23\x9c\xab\xb9\x01\x4b\xb5\x7e\x85\x85\xa5\x06\x2d\x69\x00\xd9\x78\x24\x04\x2a\x23\x2c\x62\x57\xb0\xe0\x91\xbb\x51\x8c\x58\xd0\x08\x00\xd1\x43\x9d\x1e\xa8\x34\xda\xa6\x6a\x12\xa9\xf5\xab\xb6\xb5\x68\xaa\xa1\x59\xab\xa0\xb9\xfc\x9c\x95\x6a\x82\x02\x84\x3e\xc4\xa7\xf0\x69\x7d\x75\xce\x9d\xb5\xd1\xe9\x77\x9a\x9e\xeb\x5e\x88\x03\xab\x51\x18\x93\x94\x9d\x81\x96\x74\xbe\x76\xbc\xb6\x04\xfa\x3a\xcd\x05\x44\x5b\x36\xb5\xf9\x65\x34\xa7\x49\xe1\xbb\xf8\xea\xc0\x0f\x53\x37\x99\x90\x47\x92\x18\xc8\xf1\x48\x40\x60\xb5\xb1\x1a\x7e\x8d\xfe\x8f\xa9\x2b\x89\xbe\x19\xb1\x0f\xc0\x86\x93\x64\x01\x80\x88\xbe\x65\xac\x2a\xcd\x3c\x34\x0e\x40\xd9\x4c\x0e\x54\x1e\x88\xd9\xeb\x39\x7e\x24\x23\xe6\x9a\xf9\x3f\xe8\x01\xfd\x09\x7d\xd3\xa6\xde\xb9\xf8\xe8\x67\xb6\x73\xbc\x0f\xa2\x8f\x83\x5b\xce\x32\x4a\xcb\x6f\x9c\x19\xa4\x64\x84\x6c\x00\x46\xf0\xb8\xc6\x94\x3d\xf2\xa8\x16\x84\x1f\x9e\x5a\x2c\x08\x53\x63\xc6\x63\x32\x26\x0d\x2e\xcd\x25\x4c\x42\x0b\x01\x97\x3c\x26\x2b\x1d\x92\x9e\x99\xfe\x04\xa6\x1b\x99\x4f\xfc\x76\x40\x7e\xb6\x4f\xc6\xf5\xd6\x87\x32\xa5\x35\x8f\xdc\x83\x87\x6e\x32\xee\x4d\x9d\xa9\x2e\xca\xef\x00\x2e\x04\x3b\x80\x66\x87\x5e\x82\x95\x4b\x61\xad\x1e\xc7\xaa\x23\x40\xbf\xac\x67\x6e\x2f\xab\x00\x16\x15\x4a\x57\x08\x3a\xa3\x5a\x7e\xef\xee\xb0\x05\x4e\xb8\x89\x37\xc3\x60\x44\x76\x72\x67\x14\x4b\xe1\x70\x32\x0e\x3d\xfd\x15\x4e\xc8\x09\xcf\xab\x02\xbc\x5d\x00\x2a\xc3\xe4\x5a\x2b\xab\x2f\x34\x1f\x9e\x99\x04\x2e\x32\xa7\x26\x65\x7a\x70\x7a\x81\xf4\xe9\xe0\xa9\xc1\x15\x82\x45\xcb\xd5\x9c\x0b\xfa\x5b\x6b\x82\x49\xbb\x8c\x5e\x78\x5a\x8b\x7c\x1c\x33\xce\xb2\xb4\x0e\xc4\x6a\x44\x0a\x55\xd2\x4a\x9a\x74\x26\x34\xc9\x01\x42\x53\xb3\xd9\x69\x9e\x18\xdc\xfd\x88\x8b\xd8\x14\xbe\x96\xa5\xec\x1f\x88\xa2\x74\xe2\x3d\x56\xbe\x41\x6a\x91\x06\x2d\xb2\xbf\xb1\xe0\x2c\x15\x40\xff\x96\x93\x7c\x47\x09\x54\xaf\x1a\x72\x7a\x87\x67\xb2\x88\x21\x35\x6b\xa3\x79\x73\xb1\xbe\xbf\xea\x99\xca\x20\xe5\xd0\x59\x16\x3d\x82\x8f\x51\xc9\x4d\x5d\xc7\xb5\x2c\x3a\x37\x06\xb9\x7c\x07\x26\x9d\x97\x88\xe7\xa8\xcb\x48\x0d\xec\xc7\x92\xdf\xa3\x4f\xc0\xab\xb2\x88\x67\xb2\x93\x38\x08\xf8\x8a\xf4\xf1\x8c\x26\x93\x0d\x98\x5c\x5d\xa8\x5e\x1a\xd4\x5a\x18\x50\x3c\x5b\x6b\xc8\x85\x55\x1c\xa2\xe6\x9f\x04\x05\x80\xaf\x45\xf1\xb2\x2f\x61\xea\xae\x8b\x90\xc7\x68\x29\xc5\x88\xb5\x10\xd7\xe1\x96\x70\xd1\xcc\xe3\xd7\x30\x40\xd8\x86\xca\x5d\xd7\xfd\xf6\x6d\x27\xc2\xb0\xa4\x7d\x3d\x12\x75\x74\x8f\x95\x87\xc1\x17\x72\x78\x1d\x03\xa2\x17\x6d\x5e\xee\x64\x78\x72\x1c\x47\x38\x9a\xb7\x4e\x6a\xc2\x79\x42\x30\x6b\x93\x5e\x1b\x1f\x57\x8f\x88\xc1\xa6\x04\xd6\x9d\x24\x00\xd0\xea\x96\xc0\x16\xf5\x2b\xc4\x77\x16\x03\xb0\xb6\xe1\xe1\x06\x89\xc3\x0d\x54\x11\xe6\x2c\x3f\x94\xcd\x12\x52\x5d\x2b\x8b\x80\x7e\x60\x3b\x49\xa2\x3c\x09\xaa\xfa\x65\x44\xe8\x51\xeb\x25\x7e\x24\x4c\xeb\x0c\x76\x1c\xce\x99\xf1\xe4\xf2\x59\x7d\x2d\x9f\x03\xdf\xb5\xf3\xa7\x41\xd2\x58\x3c\x62\x70\x70\x79\xf9\xb0\x6a\x5a\x95\x5a\xcd\x08\xed\x52\x1b\x9f\xce\x40\x88\x58\xfb\x78\xde\x96\xcd\xc4\x6b\x9f\x49\xd3\xf7\x18\x62\x0c\xb6\x76\xad\x05\xee\x97\x22\xd3\xde\x6c\xac\x43\x53\x7a\x21\x23\x32\x44\x6d\x94\x41\x5e\x82\xa0\x8d\x36\x34\x9f\x67\xbd\x4b\x8a\xea\x05\xee\x36\xe8\x38\x94\xa5\xae\xea\x8e\x8e\x67\xb0\x4e\x2e\x3b\xb7\x17\x36\xe2\xb6\xec\xb2\xf5\xe9\x19\x45\x98\xa3\xad\xcf\xa9\x04\x86\xe4\x72\x48\x09\xfe\xc9\x68\xd8\x54\x1a\x0b\x98\xab\x52\x90\x66\x6a\x61\x8b\x5a\xc1\xbd\x18\xa6\x64\x1a\xc0\xae\x26\xf7\x70\xf5\x8e\x8c\x4b\x0e\xe2\xa6\xce\xa0\x23\x6b\x56\x68\x6c\xd2\x2d\x74\x08\x00\x51\x49\xb8\x6f\x8b\x06\x31\xf5\x41\xc7\x38\x69\xb5\x65\xed\x80\x69\x42\x96\x64\x91\x64\x6f\xb1\x3b\x95\xc8\x89\xe6\x5d\x38\x49\x2a\xf3\xc2\x90\xcd\xaa\x7c\x8d\xb0\x49\x51\xc8\xb4\xbb\xb3\x3a\xc1\x13\xb2\x96\x7b\xfa\xc2\x7c\xb0\x94\x8a\xe0\x15\x48\x35\xcd\xb2\x64\xd1\x0d\xb5\x29\x0c\xbd\x6b\xc4\xb8\x5a\x35\xb0\x10\x19\x6b\xe9\xdd\x54\x46\x97\xda\x6c\x88\x92\x44\xb9\xa0\x6a\x31\xb6\x46\xbf\xee\x4c\xeb\xd6\x7e\x79\x6a\x3f\xec\xa2\x51\x9f\x20\xd7\x9f\x33\x32\xc2\x3d\x25\xa8\x29\x80\x62\xa7\xd0\x65\xbb\xb5\x96\xdc\x88\x7d\xb3\x6c\x61\x1d\xf8\x4e\xb7\xa1\xea\x2e\x36\x1d\x9e\x2d\xac\x30\xe6\x53\x07\x6b\xd3\x7d\x61\xab\x15\x27\xd6\xb0\x96\x3a\xf4\xdc\x4c\x50\x2e\x6c\x61\x87\x2e\x41\x6d\x29\xfe\x34\xce\xb0\xc0\x49\x42\x12\x2a\xd3\xcd\x6d\xbb\x7f\xfe\x76\xe9\x68\x4f\x4d\x01\x12\x69\xcb\xf9\x7c\xa2\x69\x9e\x22\x96\xa7\x13\x2b\xe5\x62\xf9\x10\x62\x17\xba\x4c\x6b\x03\xc1\xe3\x06\x58\xca\xf7\x16\x01\x1a\xe5\x88\x05\xb8\xc4\xd6\x54\x81\xa3\x39\x25\x8f\x80\x9a\x28\x18\x91\xf2\x08\x5d\x72\x45\x4e\xd0\x47\x9c\xdd\x81\xa0\x66\x2a\x02\xce\x8c\x75\x1c\x4b\xa4\xa5\xd6\x9c\x51\x75\x30\x62\x16\xcc\xd8\xad\xca\x71\xc4\x99\x01\xb4\x8c\x60\x61\x7d\x13\x60\xee\x75\xc8\x8e\xca\xe5\xa5\x51\xd9\xb2\xd8\x02\x3f\x8d\x83\xe8\xd5\xb1\xc9\x0e\x58\x83\x8e\x6f\xf0\x93\x89\xd7\x86\x0a\xf8\xe6\xeb\x25\x92\xbb\x0d\x88\xb2\x05\x60\x0c\x8e\xab\x0b\x1c\xe1\x16\x4c\xc0\x97\xae\x32\xd1\xa9\x5f\xd2\x23\x72\x84\xbe\x4b\xf8\x44\x1e\x20\xe9\x31\x8f\x5d\x81\x7e\x79\x60\x1c\x54\xf0\x6f\x93\xc9\xf3\x95\x5b\xfd\x82\xef\x43\xd5\xb6\x29\xfd\x64\x30\x0c\xe4\x9f\x4f\x8e\x8f\xd3\xc5\xe1\x24\x8f\x1e\x88\xd2\x7f\x81\x4c\xd1\xb8\x42\x0e\x00\x08\x37\xc1\x09\xad\x5a\x9d\x3a\x14\x51\x27\x8a\xb4\x20\x76\x92\x00\xec\xb5\xbe\xd2\x7d\x5d\x4c\x87\x5c\xc3\x59\x73\xd1\x3f\x3b\x65\x91\xb7\x1d\xaf\x12\x5e\xee\xcb\x68\x2b\xa6\xee\x67\x08\xd3\x3b\x4d\xf0\xac\xa2\xb2\xac\xa1\xa4\x5c\xa5\xd4\x52\x91\x9e\x3b\xc4\x5b\xe8\x53\x56\x8e\x32\xfb\xc2\xb9\x23\xc1\xad\x68\xdd\x2d\x47\x23\x36\x90\xe8\x89\x98\x72\x9e\x90\x52\x06\xde\x89\x9c\xca\xb9\x4f\x28\x03\x7b\x29\x34\x6a\xd0\x4c\x4d\xd2\xbb\x55\x1c\x9d\x66\xe5\xfc\x37\x56\x03\xc5\x89\x24\x07\xba\x61\x40\xb4\x72\x81\x84\xe8\x49\xe0\x2c\x23\x62\xc4\x2c\x32\x25\xe0\x2f\x73\x6e\x83\x44\xda\xa2\xc9\x7b\x8d\x72\xbf\x34\xca\x41\x25\xb4\x1c\x2a\xdc\xa6\xa0\xf4\xc8\xa2\x90\x9f\xb3\x4f\x79\x95\xb3\x74\x35\x03\x18\x2f\x7c\x1c\x73\x22\x03\xc3\x33\xf2\xf6\xa3\x84\x4e\x89\xbe\x31\x47\x4c\x2f\x7d\x68\x24\x37\x98\xbe\x0e\xe2\x57\x77\x1a\x09\x2e\xa5\x8d\x16\x37\xed\x2c\xcf\xf9\xd9\xa2\x7c\x98\x01\x26\x36\x85\xfb\xab\x85\xc4\x82\x67\xae\xa4\x98\x7d\xd8\x5c\xcf\xbd\xad\xa9\x95\x05\xc4\x8a\xb5\x58\xa3\x84\xd8\xf1\xe9\xc5\xb9\xaf\x9b\x53\xe9\xba\x5e\x43\x2c\x04\x73\x6e\xaf\x22\x56\x9f\x71\x50\x4f\xac\xd2\xc4\x92\x8a\x62\xab\x37\xab\x1c\xa3\xba\x0d\x52\x57\x65\xeb\x57\xdd\x59\x15\x9a\x59\x15\x4a\xbd\xa3\x6d\x6a\x61\x85\x11\x08\x39\xcf\xed\x15\x06\x61\x41\xbf\x25\x15\x4e\xb3\x30\x4d\xd0\x41\x15\xda\x69\x9a\xa3\xd6\xc6\xb8\x5f\x14\x42\x39\xc2\x26\x02\xa3\x3a\xb8\xda\x56\xac\xe7\xa5\xb9\xb3\xc8\xcc\xbb\x08\xbd\x7d\xb9\xbc\xdb\x64\x51\x44\x9a\x49\x2b\x6f\xb8\xaa\xbf\x2d\xb6\xea\x09\xf1\x28\xd4\xad\x1b\xba\x6d\x62\x9d\x47\xab\x11\x04\x4b\x1b\x42\x00\xf9\x67\x95\xdc\x94\x35\x4c\x9a\x7e\xcc\x26\x83\xf5\xd0\xe3\xbe\x07\x57\x8d\x2d\x65\x14\xb9\x83\x48\x85\x20\x8f\x44\x00\xed\xd8\x38\x15\x56\x3e\xaa\x38\x11\x04\xc7\x8b\x60\x45\xbc\x93\xdc\xf4\x0c\x26\x1d\x49\x53\xad\x74\x82\x38\xcd\xf8\x21\xcf\x9c\x9c\x5d\x7a\x0b\x40\xfb\xe9\x54\xdf\x58\x81\x8b\x5d\x7f\xc1\x0e\xc9\x27\x2a\x95\xd6\x4b\x1a\xe2\x0b\x5d\x23\x70\x4b\x43\x29\x9f\x39\xb1\x37\xdc\xe8\xdd\xe0\xbb\xab\x9b\xbb\xe1\xd9\xe8\x5d\x11\x51\xee\x52\xa6\x3c\x08\x8d\xc3\x14\xe7\x6c\xc4\x7c\x10\xa8\xc7\x5c\x85\xbd\x44\x38\x8e\x0b\xc4\x6b\xab\xf8\x18\x39\x63\x29\x47\x0e\x4e\xc5\xca\xf0\xcf\x25\xcd\xdc\x43\xde\xcc\xbe\x9e\xac\x25\xee\x9e\xd2\xc9\x31\xd9\x3f\x4b\xd2\x34\x76\x74\xd9\x84\x70\x91\xca\xe8\x87\x44\x39\x3c\x33\x46\x9e\x9c\x7c\x0f\xb7\xf3\x31\x36\x97\xf0\x7a\xdc\xce\x6d\xc8\x06\x9b\xfa\x9e\x7e\x22\xf1\x4d\x8b\x54\xb5\x93\x2c\x8c\x4e\xd1\x6b\x8d\xbb\x90\x33\xba\x8e\x96\xea\xa7\x72\xaf\xbf\xeb\xce\x96\xae\x0a\x14\xa8\x02\xd1\x11\xe0\x1c\x15\xc2\x28\x22\x42\x61\xca\xd0\x14\x0e\x36\x8b\x16\x08\xb0\x38\x08\xf8\x5d\xbf\x45\x29\x65\x90\xed\xbe\x6c\x69\xef\xcb\xf3\x58\xa7\x94\xff\xf9\xe5\xfd\x5d\x49\x54\xfd\xfe\xea\xbe\x5c\x47\x7a\xf0\xf3\x52\x59\xb5\xd2\xc2\xb2\x00\x97\x60\x8a\x45\xe6\x9c\x05\xb6\xf4\x2b\xd3\x34\xd1\x0f\x44\xfd\xa8\xf9\x32\x67\xbb\x08\x2b\xb7\x72\x16\x38\x9c\xc8\xf8\xd1\x34\xbc\x06\x19\xd8\xa1\x2c\xc9\x1d\x70\x92\x1c\xf4\x80\x6c\x0f\x61\x22\xfb\x91\xa9\x98\x3c\xd0\xcd\x81\xca\xe8\x02\xb4\xb4\xbe\xc4\x99\x5e\x2e\x03\x2f\xe8\x30\x09\x83\xe6\xf8\xd4\x7c\xdc\x11\xa1\x29\x08\x13\xd6\x6d\x15\x4b\x89\x06\xd7\xe7\x0d\x6b\x7d\x51\xb5\xc9\x7f\x5e\xe5\x1d\x12\xef\x1e\xd8\x75\x65\x87\x20\xdf\x6b\x2f\x8a\x3a\xd8\x99\x6e\x57\xcf\xc1\x78\x51\xaf\xcb\xae\xd9\x7d\x40\xaf\x6c\x92\x67\x4b\x79\x9c\x2b\x80\x2a\xd7\x4b\x6d\x2a\x96\x61\x4d\x14\x99\x70\x40\x36\xae\x3e\x44\x4e\xa9\x07\x6d\x1e\x84\x48\x2a\xdc\x14\x90\xb4\xce\xda\x9d\xa1\xcb\x14\xb3\xe9\x02\x2f\xf3\xa3\xa1\x68\x8f\x3e\x00\x78\x0a\xae\x40\x99\x0b\xb6\xb4\xc9\xc0\xe1\x74\x43\x6a\x5b\x0f\x91\xa6\x18\x9f\xb3\x27\x5a\x6c\x56\x9c\x61\xab\x14\x83\x84\xef\x90\xc3\x9b\x0a\x4d\x1d\x8d\x58\x10\x01\x20\x8d\x4c\xae\xcf\x88\x03\xeb\x87\x0a\x90\x0c\x80\x5e\x21\xeb\xc1\xdf\xcc\xa5\x1d\xa8\xe6\x1c\xab\x79\x19\x6e\xbf\xd6\x8f\x3d\x9d\x72\x8e\x5d\x66\x97\x53\xef\x6d\x60\x55\x68\xfc\x80\xf6\x02\x80\x6d\xdb\x31\xd8\xf7\x40\xa3\xc6\x41\xf9\xa6\x20\x1b\x38\xe6\x44\xb2\x2f\x94\xcf\x9d\xa3\x89\x2d\x11\x80\xab\xf6\x56\x2d\x72\x60\x6a\x5b\x5e\x7e\xc0\x77\x00\x77\xb3\xae\x54\x1b\x1c\xab\x95\x36\x14\xe7\x34\x03\x4a\x08\x83\x3b\xa0\xd3\x36\x6c\x9a\x4f\x19\x89\x36\xc1\xe4\xb8\xc6\x02\xa7\x44\x11\xb1\x2c\xbe\xa3\x5c\x5c\x15\x62\x17\xdc\x0e\xda\x7e\xcd\x2e\x1a\xe4\xf9\x6a\x89\x02\xaf\x7a\x5d\xac\xc2\xd8\xf0\xb3\x58\x0b\x4e\x48\x4f\xe3\x47\x0b\xb5\xbf\xe6\x2c\x6c\x3f\xc5\x34\x6c\xf8\x4a\x00\xa9\xb2\xed\x9c\x5e\x06\x5b\xe2\xae\x86\xd2\x50\x8a\xbf\xd8\x13\x50\x89\xd5\xa3\x6c\x43\x93\x58\xc5\x4b\x77\xc2\xbb\x5d\xc8\xb8\xcb\x49\xac\x1c\xaa\x52\x30\x3a\x50\x09\xc8\xfb\x06\x58\xa1\x19\x11\x02\x84\x96\xa6\x90\xb3\xc0\x8f\x62\xf1\xc2\x0a\x6b\xa3\x95\xac\xaa\xc5\x56\x2a\xcb\xb5\x82\xc7\xed\x2a\x5b\xbe\x97\x68\x76\x2d\xd1\xac\x61\xdb\x33\xd4\x49\x44\x05\xb8\xc3\x16\x41\xb5\x19\xd7\xe5\x09\x42\x32\x87\xbd\x22\x6d\x25\x45\xb8\xfa\x29\xf3\xff\x2a\x73\x70\x47\xd4\x21\xa9\x36\x65\xa9\x1d\x05\xfe\x11\x70\x8f\x24\xa1\x34\x60\x03\x15\x60\xb4\x26\xae\xcc\x98\xa0\xcf\x2f\x8d\x77\x05\xb2\x45\x17\x3c\x47\x4f\x54\x6a\x5d\x78\xc4\x20\xf0\xca\x9b\xaa\x15\x47\xe6\xc5\x03\x78\x0b\xf2\xca\x65\x3e\x49\xa9\x42\x38\x98\x61\xc9\x5e\x76\x60\xcf\xb3\xfe\x00\x66\xdc\x98\xb8\xdc\x84\x79\xb2\xe2\xd0\x6c\x60\xfc\x29\x1a\xd9\x36\x37\x39\x08\x12\x7d\xde\xec\xe4\x40\xe3\x09\x35\xcc\xc6\x33\xd7\xa7\x27\xa3\x66\x6b\x83\x45\x61\x04\xa8\x4c\x2a\x55\xe5\x6e\xb1\xd8\x8b\x2b\x52\x93\x8b\x8d\xe8\x94\x9b\x5c\xbc\xbe\x8b\xe4\xe4\xb6\xb2\x3d\xcb\x92\xd5\xdc\x27\x2d\xc6\x59\x97\x04\xa9\xb8\x8b\x44\x0e\x25\xa5\xeb\x56\x49\x69\xdf\x60\xa2\x8a\x08\xeb\xcd\xe3\x75\xd7\x51\x07\x8b\x84\x97\x90\x8a\x82\xfc\xb5\x32\xc8\x06\xa9\x72\x7e\xc6\x15\x24\x29\x44\x50\xd2\xb8\x96\x38\x37\x62\xcd\x12\xc8\x72\x9e\xb8\x6d\xcc\xfb\x4e\xe1\xa4\x82\xf3\xe7\x66\x61\x2d\x5a\x3f\xf9\xa8\x21\xa3\x2c\xdb\xe2\xc4\x55\x11\xb3\xf0\x3f\xb5\x28\x20\x20\x78\x6c\x92\xc1\xd9\x70\x2a\x3b\x46\xa4\xaf\x3c\x17\xf6\xd2\xdd\xa1\x6a\x57\xe3\xce\x9d\x03\xf8\xbd\x8c\x6c\xb9\xb1\x8b\x40\x75\x6a\x7c\xc5\x8d\xb8\x49\xd1\x45\x40\x69\xdc\x19\xb6\x64\x35\xdd\x5b\x37\x7e\x00\xae\x47\x3b\x74\x6c\xc2\x30\x3c\xe2\x71\x65\x4b\x4a\x13\xb6\xc5\xac\x9f\x61\xd2\xeb\x16\xca\x0c\x5c\x61\xc2\x86\x4f\xd2\xd0\x6e\x00\x15\x32\x6d\xd4\x59\x85\x0f\x7b\xd1\x2e\x67\x31\x11\x8c\x60\x35\x7f\xb9\xa0\xf5\xd3\x6d\x8d\xd3\x2f\x16\xc0\x7e\xba\x93\x2a\xc9\x95\xa0\xf0\x35\xe3\xc1\xd7\x08\xae\x2e\x6a\x66\xd6\x14\xc7\xa6\xea\xf4\x05\xa6\xc7\x3a\x54\xba\x55\x5c\x7b\xb3\x32\xf7\x3c\x11\xfe\x0d\x56\x9f\x5a\x6c\xbf\x3e\xec\x61\xa5\xd1\x15\x4b\xf2\x59\x84\xd2\x3f\x7f\x74\xf7\xb2\x9a\xa6\x79\x10\xf0\x0d\x85\x65\x15\xa6\xcc\x72\xaf\x65\x31\xde\x5a\xa2\x4c\x71\x53\x58\xf7\xde\x27\x0c\x7c\xf6\xf9\x02\x7d\xf4\x78\x1f\x3d\xde\x47\x8f\xaf\x15\x3d\xbe\xcc\xcc\xe8\x3d\x5f\x50\xe3\xad\x54\x99\xc3\xac\xe3\x0a\x6d\x6d\xf3\xa8\x6e\x67\xa9\x0b\x43\x62\xec\x2f\xf6\x87\xc6\xa8\x98\xda\x67\xd5\xd9\x86\x56\x43\xb6\xa8\x1a\xdf\xb1\x88\x13\x0b\x9f\x65\x63\x56\xcb\x56\x9e\x65\x06\xc9\x11\xfb\x9e\x3f\x91\x47\x22\x0e\x10\x56\x28\xe5\x5a\x49\x0f\xa2\x50\x80\xe0\x4a\x48\xcc\x26\xda\x00\xa3\x4b\x9c\x92\xd8\xd4\xd9\x0a\x22\xdb\xac\x59\xd4\x3a\x34\x9b\x50\x22\x01\xf0\xd0\x6c\x83\x8b\x4e\x18\x31\x13\x6d\x66\x22\x9c\xe0\x4e\xa6\x6e\x62\x40\xd7\x7f\xf4\xee\xd6\x3f\x1e\xa1\x3b\x7d\x0f\x50\x59\x1e\x6f\x00\x1a\xd5\x36\xb6\x11\x9b\x09\x9e\x67\xde\x52\xc5\x27\xa6\xe0\xa2\x01\x9c\xae\xbb\x5b\x61\x30\xce\xd7\x1a\xe1\x58\x6b\xbc\xcb\x09\xe7\x55\x02\x11\x37\x42\x5e\x09\x09\x48\x73\x09\x1f\x5d\x65\xa3\x9d\x8d\x97\x34\xc0\x9b\x58\x86\x1f\xfd\x4c\x2e\xdc\x33\x22\xc1\xf6\xe2\x6d\xdb\xa5\xf4\xd7\x72\x8a\x75\xe3\x38\x97\x59\x1e\xbd\x77\xc0\x59\xd0\x9b\xb3\xb7\x8b\xce\x6d\x64\x95\xc9\xad\xb3\xfc\xf8\xd9\x6c\x92\x9d\x03\x28\xdb\xf8\xc5\x75\x2e\x32\x0e\x12\x4f\xb2\x70\xd9\xe6\x16\xa0\x2a\xe3\x59\x6e\xa2\xc7\x68\x18\x4c\xd4\x48\xd9\x54\xaa\x8f\x58\x45\x73\xcd\xdf\x0b\xa0\xa6\x1d\x45\xd5\x15\x5c\xf9\x79\xed\x94\x0d\x33\x38\x0d\x7b\x6f\x31\xdc\x77\xb0\x5b\x9b\xfb\xd5\x45\x58\xbb\x1b\x3b\xd5\xfd\x95\x6a\xc9\x07\xd6\x47\xf7\x89\x7d\xa2\x27\xba\x8a\x8a\x56\x8d\xbf\x1b\x6d\x95\x0b\x05\xed\x3c\x5e\x6f\x0b\xe4\x8b\x33\x8b\x33\x54\xbc\x68\xeb\x02\xb6\x38\xd9\x37\x2c\xf4\x6d\xbd\x27\x50\x39\xbe\xb0\x6b\xa6\x38\xd3\xc2\xba\xe2\xfa\x96\x14\x33\x23\x2f\x9a\xfa\x93\x08\xa3\x5c\x50\x77\xf6\x2b\xa9\xac\xed\xd4\x01\x76\xc0\xe3\xb0\x10\x4c\x84\x83\x1a\x59\xc6\xad\x8e\x23\x95\x63\x1f\xfe\x07\x34\xe1\x4a\xef\x9a\xb4\x5d\xe7\xbe\x16\x4e\x8c\x6a\xd8\xd3\x95\x84\xbd\xc5\x2e\xe3\x26\x58\xb6\x4e\x27\x8d\xb2\x59\x80\xe9\xd6\x6c\x8b\xed\x02\xd9\xde\xf8\x65\x37\xd8\xf9\xc6\x4f\x9d\xec\xb3\xc9\xb7\x4b\x30\x67\x5a\x3f\x5f\x25\xc0\x96\x42\x9d\x6d\xb8\xa9\x95\x9e\x42\xb4\x3d\x6b\x27\x03\xd0\x4c\x0a\xee\x70\x6c\xa5\xa9\xff\xf2\x7f\x99\x12\x3f\x66\x69\xfe\x0b\x71\x31\x62\xe6\xf7\x03\x0f\xaf\xaf\x5f\x28\x70\x2b\x71\x4a\x0a\x64\x3f\x51\xc6\x00\x03\x24\x04\x8b\xe1\x64\x30\x4a\x3d\xba\xb8\x1e\xc3\x43\x3e\x21\x82\x11\x3d\x34\x97\x33\xed\x99\x59\x8a\x19\x9e\x01\x22\xea\x01\xc4\x9f\x81\xb8\x5a\x88\xfc\x86\xa4\x4d\x99\x36\xe0\x56\x9a\x59\xda\x94\xcb\xa2\xda\x24\xf4\x69\x44\x59\x0b\xc8\x58\x04\x31\x34\x53\xff\x8d\xed\x7f\x33\x89\xfd\x6e\x70\xfb\xc3\xf8\x66\x78\x7b\x75\x7f\x73\x5a\x12\xdb\x4f\x2f\xee\x6f\xef\x86\x37\x8d\xcf\x8a\x74\xc5\xbf\xdd\x0f\xef\x5b\x1e\xb9\x06\x2e\x06\xdf\x0d\x4b\xa5\x5b\xff\x76\x3f\xb8\x38\xbf\xfb\x79\x7c\xf5\x7e\x7c\x3b\xbc\xf9\xf1\xfc\x74\x38\xbe\xbd\x1e\x9e\x9e\xbf\x3f\x3f\x1d\xe8\x2f\xc3\x77\xaf\x2f\xee\x3f\x9c\x5f\x8e\x5d\x70\x6f\xf8\xe8\xa7\xab\x9b\x1f\xde\x5f\x5c\xfd\x34\x0e\xba\xbc\xba\x7c\x7f\xfe\xa1\x69\x16\x83\xdb\xdb\xf3\x0f\x97\x1f\x87\x97\xcb\x4b\xc4\x36\xaf\x46\x6b\xf5\xc9\xe0\x22\x0b\x8c\x33\x81\x98\x34\x59\x58\xd2\xa6\xbf\x81\x8b\xe0\xda\xd0\xe3\xe1\x81\xfb\xcb\x14\x74\x3d\xd4\x2c\xd0\x79\x9f\x0a\xee\x31\x62\xde\x3d\xe8\x2f\x55\x28\xe8\x6d\xb3\x4f\x4b\xa3\x3d\x41\x03\x38\x2b\xa0\x30\x94\x3a\x05\xcc\x09\x3f\x52\xe7\x50\x46\xa6\x58\x7f\x4a\xc1\xb7\x8c\x0e\x51\x75\xc3\xcb\x0d\xda\x39\xc1\x10\xac\x77\x2c\x5e\x76\x1a\x64\x35\xb1\x15\x28\xe5\x04\x39\x0e\x4d\x8c\xda\x6e\x20\x33\x17\x0c\xa7\x34\x32\x3f\x54\x50\x23\x51\x81\x90\x50\x6d\xb1\x44\x60\xe5\x96\xe7\x04\xfd\xf0\xd7\x62\x50\xe0\x29\xb0\x06\x82\xbc\x56\x08\xcc\x3e\x10\xb9\x59\xd5\x55\xe4\x59\xea\xc9\x1d\x73\x6b\xc2\x85\x73\x6b\xeb\xc5\x82\x5b\x27\x67\x01\x4a\x52\xc9\xc7\xa3\x8f\xb7\x99\x51\x85\xc6\x4f\xd0\x2d\x20\x34\xc8\x42\x75\xd7\xbb\x98\x25\xf9\x8c\x32\x44\xd3\x2c\x21\x45\xa5\xe1\x09\x99\xe3\x47\xca\x1d\xea\xbe\x29\x4e\x00\xeb\x68\x45\x2b\x74\x88\x5a\x0f\xca\x09\x1a\xc4\xb1\x2c\x33\xb8\x12\xe5\x38\x96\x79\x58\x1e\x76\x08\x6c\xc4\x62\xcf\x36\x2b\x74\x54\x1c\x39\x58\xb1\xdd\x63\x50\xd4\xd9\x61\xf9\xee\xdd\x0a\x4f\x55\x3e\x8c\x1d\x29\x8f\x37\x12\x06\xee\xb0\x7c\x70\xac\x79\x95\x40\xe0\xd0\x40\xb6\xeb\xd1\xc2\x82\x74\xed\xd4\xaf\xec\x18\x0e\xda\x66\x7d\xb6\x82\xd9\xae\xe8\xd2\xcd\x38\xa9\x54\x1c\xea\xdc\x5f\xa9\x62\x51\x63\x67\x3b\xf5\xaa\x34\x4b\x63\x70\x24\xc7\x9e\xfe\xd7\x98\xc7\x35\x7c\x7a\xe5\xbf\x5c\x2a\xb2\x8d\x83\x75\x5b\xd7\xd7\x52\xcb\xd3\xb4\xfe\x96\xa5\x74\xb8\x23\x54\x9a\xee\xc2\x20\xe0\xc5\xd3\x08\xdc\x6a\x98\x32\x5b\x45\x84\x78\xbf\x8f\xab\x9b\xab\xcf\xb1\xaf\x6c\x85\x27\xfc\xb1\xa4\x5c\xa6\x44\x4a\xdc\x82\x59\x11\x98\xc4\xb6\x61\x0c\xfe\x84\xda\x0f\x3b\xd2\x93\x3b\x93\x77\xfa\xab\x65\x46\x9f\x9b\x50\x33\x76\x13\xd5\x02\x6b\xec\xe2\x59\xd1\x95\xc9\x6a\xd3\xfc\xe5\xa0\x08\x59\xe1\x22\x88\xe4\x69\x73\xb3\x74\x34\xab\x55\x17\xac\xb1\x38\x4c\xe8\x2a\x5b\x3f\xd2\x25\x68\x7d\x63\x20\x5f\xeb\xbf\xc0\xe5\xf5\x59\x83\xea\x4a\x7e\xc5\xb0\x70\xae\xa9\x11\x0f\x36\xb7\xd0\x96\x7a\x80\xb0\x49\x26\x2c\xa4\x29\x99\x47\x73\xe3\xcd\xd1\x57\xc6\xc1\x88\x3d\x05\x1b\x52\x0a\xb7\x1d\x84\x2d\x01\x08\xe2\x27\x7d\xdc\xe8\x63\x29\x88\x19\x44\x46\x0a\x11\xb5\x01\x21\x18\xc7\x5b\x51\xf5\x66\x05\x81\x07\xfb\xb5\x05\xa9\x6f\x50\xe2\xac\xa1\x0a\x7f\x53\xa1\x33\x3f\xb7\xa0\xbe\xd8\x16\x9a\x72\xd7\x21\x04\x25\xce\x9a\x46\xb0\x83\x0a\x67\x2f\x8a\x4a\xec\x93\x22\x4d\x0e\x6d\x3a\xb1\x30\x05\x7a\xba\x6e\xb5\xff\xe4\x66\xf4\x27\xe3\x77\xc8\x5b\x70\x2d\x82\xd6\x3c\x30\x31\x3a\xd4\x32\xab\xcb\xb7\xb6\x01\x0f\x12\x1d\x1a\xb0\xb3\x2f\x20\x9e\x71\x70\x7d\xfe\xc5\x01\xfa\x22\xcc\xe9\xfa\x62\xa3\x03\x68\xc7\x6d\xab\x9c\x81\x36\x55\x0a\xec\x2f\x1f\x3b\xd8\xab\xca\x49\xb4\x7b\x66\x0f\x22\x6a\x3b\x87\xfa\xcb\xd2\x37\xe0\x04\x86\xaa\x5d\xc6\x4f\xea\xc3\x8a\xad\x0b\xc8\xc8\xb8\x54\x36\xac\x5d\x3c\x62\x93\x45\xd5\xc9\x73\xe0\xbd\x3c\x9d\x4f\xe9\xd6\x95\xa8\x74\x7b\xf5\x24\xe0\x1d\x87\xbb\x2e\xbf\x0f\x56\xa4\x15\x0f\x4c\x64\x33\x9f\x06\x5c\xac\x2d\x1a\xa0\x8f\x13\x6f\x9a\x55\xc9\x5e\xe6\x16\xb3\x71\x53\x56\xc9\x3f\x6f\x8d\xdc\x3a\x04\x57\x0f\x9a\x56\xc4\xc6\xd5\xb7\x08\xd7\x3d\x95\x3d\x2f\x95\xed\x22\xaf\xa0\x3c\xb8\xf5\x2f\xd0\x53\x23\xc7\x05\xcd\x38\x83\xab\x56\x26\x3c\x83\x2f\x95\x2b\x5b\x5d\xe7\x73\x4d\x9f\x6f\xb0\x26\xab\x9d\xbe\xb7\x26\x70\xc0\xb8\x5d\xeb\x63\xad\x0e\x75\xa0\x6c\xed\x14\x4e\x4d\x0e\xa1\xa2\x29\x39\x40\x9c\x25\x8b\x20\xd8\xc1\x9e\x57\x20\x37\x13\x0b\x34\x27\x54\xb8\x4e\x2c\xcc\xdc\x5a\x49\xe7\x6b\x4a\xe3\x6d\x34\xb2\x45\xa4\xc9\xe5\xe0\xe3\xf0\x6c\x3c\xbc\xbc\x3b\xbf\xfb\xb9\x01\x42\xb0\xfc\xd8\xa1\x08\x06\x2f\xdc\xfe\x7c\x7b\x37\xfc\x38\xfe\x30\xbc\x1c\xde\x0c\xee\x56\x20\x0c\x2e\xeb\xac\x0d\xbd\x2e\x97\x4d\xea\xdb\x3a\x08\x76\xce\xcc\xdb\xd0\x7b\x1d\x67\x30\xe8\x84\x92\x16\xac\x41\x93\x60\xcf\x62\x22\x50\x4c\x1e\x49\xc2\xb3\xc2\xac\xda\xb8\x60\x01\x08\x61\x43\xfb\xcb\x80\x08\xa1\xcd\xea\x1a\x9f\x20\x53\xa2\x2a\xa8\xd2\xe9\x1b\x04\x91\x0f\x0b\xc2\xbe\x50\x88\x7c\xca\x12\x1a\x51\x15\x24\xe0\x71\x61\xdd\x2b\xc6\x7d\x08\x51\xa0\x2b\x88\x6b\x67\xd1\x28\x3b\xd7\xf9\x43\x4f\x7a\x5d\xdb\xf7\x27\xca\x83\x62\xad\xac\x7b\xb2\x03\xc5\xbe\xc5\x69\x5c\xc3\xec\xda\x60\x74\xcf\x61\x1e\xa8\x67\xc2\xd8\x24\xba\x16\x3c\xaf\xe6\x41\xae\xbe\x0d\x97\xc5\xc9\x94\xce\xf5\xf2\x40\x99\x6e\x94\xfa\xca\xe1\x2e\xa5\x7a\x80\x3b\xc0\xb7\xb0\x31\xe2\x6b\x06\x2c\xd4\xca\x5c\x30\x13\xdb\x89\x91\x20\x29\x57\x5a\x01\x33\x11\x01\x07\x5a\xa8\xa2\x38\xa1\xbf\x01\x12\x94\x20\x47\x41\x04\x05\x24\xda\xc5\x61\xc4\xa5\x45\x69\x38\x1a\xb1\xb3\xe1\xf5\xcd\xf0\x54\x33\xa4\x23\x74\x2f\x01\xe4\xa9\x34\xf5\x33\x4b\xde\x46\x1c\x0b\x23\x19\x28\x93\x8a\xe0\xb6\x60\x30\x22\x04\x17\xdd\xf9\x83\xef\x6f\x08\xdf\x35\x93\x37\x3c\x2b\xd9\xa6\x9c\x01\xe0\xb2\xb5\x98\x6b\x10\x9b\xbf\xf3\xd4\xa7\x1b\xfc\x54\x5a\x91\x10\xe4\x02\x24\x91\xf2\xaa\x3f\xe3\x6a\x03\x86\x63\xf7\xf9\x95\xfa\xbc\x86\x6f\x97\xcd\xf3\x0e\x42\xec\xa4\x2a\x00\x21\x0d\x66\xa4\x2f\xd6\x51\x99\x67\xab\xa8\x28\x5e\x03\x10\xa3\x42\xfa\x13\x32\xc3\x0c\x89\x9c\xb1\x0a\x42\x68\x68\x69\xab\x07\xcd\xac\x7b\x54\xf5\x9a\xe1\x94\xe7\x0c\x94\x06\x08\x63\x6d\x18\x8c\xcc\x08\x53\x2b\x06\xf3\x5a\x70\x27\x95\xa1\xee\x2f\xe2\x49\xc3\x40\xdb\x40\x4f\x9a\xfc\x49\x50\x31\x76\xbd\x6b\xd9\x05\xe5\x95\x9c\x4a\xfa\x50\xf9\xfb\xb9\x59\xcb\xc6\xf2\x61\xeb\xee\xee\xb0\x7c\x58\xdd\x55\x4c\xa2\x87\x75\x2f\x9b\x6a\x06\x64\x62\x0b\xee\xd6\x8c\x7d\x0b\xfd\xd4\x56\x94\x80\x3a\xcb\xd1\x03\xfa\xfe\xee\xe3\x05\x9a\x52\x2d\xf7\xea\x6b\xe5\x12\x6b\x19\xfb\x5e\x24\xbe\x88\xbd\x91\x41\x72\x91\xf8\xbb\x17\x36\xde\x89\x52\x81\x94\xa0\x6f\x34\x3c\x23\xce\xd8\x2b\x2c\xa6\x5d\xa5\xa2\x84\xc0\x2c\xe6\xa9\x99\xc7\xb1\xcc\xa7\x53\xfa\xe9\x48\x61\xf1\xd5\x1a\x12\xcd\x69\xc9\xc1\x56\x21\x23\x1b\x3e\x69\x21\x16\xc1\xaa\xb0\x52\x4e\x18\x3e\x12\xa6\x76\x22\x64\x43\x13\x0d\x19\xde\xdd\x4c\xe5\xa6\xbc\xde\xf9\x59\xc1\xa1\x7d\x99\xf7\x20\x34\x47\x09\x0c\x97\x95\xcd\xaa\xb1\x7e\xe1\x36\x6f\xf5\x63\x67\x07\x28\xbc\x5a\x5f\x97\x15\xf1\xdd\x76\xb5\x8b\x32\xbb\x45\x6c\xa6\x83\x28\xdf\x10\xf3\x45\x12\xa3\x8a\x07\x58\x03\x56\xc3\xaa\xee\xb9\xe9\x73\x8e\x65\xb5\xcb\x95\x5b\xbe\x01\xc0\x49\xa9\x99\x0f\x04\xf2\xff\x76\x11\x4d\xbd\x4e\x9e\x37\x0c\xe4\x5e\x24\x10\x07\xbc\xd4\x14\x63\x4a\xfc\xea\xe3\xeb\xc5\x13\xdc\x41\xd0\x34\x83\xd1\x92\x0f\xc9\x04\x81\xa2\xf3\x27\xe8\x3a\x21\x5a\x7c\xc8\xb5\x08\x91\x27\x89\x03\x83\x5a\x2e\xe2\xac\x05\x60\xf6\xec\xf3\x0a\x04\xe8\x25\x13\x73\x60\x68\xcb\x67\x16\xac\xc1\xee\xb3\xf3\x83\xf5\x05\x3b\x28\x58\xc3\xca\xaa\x10\x30\xe0\x85\x09\xfe\x04\x7b\x08\x2e\x71\x63\xfa\x9b\x66\xf3\x82\xc8\x39\x6f\xcd\x88\x0b\x67\xfb\x3c\x73\x70\x4b\xf9\x8c\x93\xb0\x91\x77\xe3\xb6\xe0\xe0\x0e\x97\xf3\x99\x69\xa2\x51\x24\x58\x36\x45\x8f\x62\xef\x43\x18\x2c\x34\xa7\x0d\x65\xb3\x43\x03\xc7\x5c\x61\x2f\x0a\x61\xb2\x0a\xfb\x7b\x21\x91\x2f\x8c\x03\xd1\x7f\x5e\x58\x41\x8b\xb8\x76\xaa\x64\x51\xf1\x09\xe9\x3b\x7d\x3d\x2e\x6b\xb3\x1f\x8a\x26\xf4\x80\x9b\x59\x9b\x05\xb0\x07\xb9\xcd\xc6\xb6\xc8\x12\xc0\x97\xdd\x62\x33\xe5\x46\x9d\xa2\x9d\x81\x6e\xeb\xc7\x01\xb1\xac\x48\xf8\x7a\x2e\x77\x4e\x89\x5a\x4a\x13\xe8\x21\xa3\xd6\x87\x8c\xb2\xd5\x0c\x3c\xed\x01\xc0\x9b\x12\x90\xd1\x5d\x78\x6c\xaa\x97\xbc\xb5\xb2\xae\x4a\xb5\x29\xed\x4e\xa7\xbc\x9a\xd2\x17\xfa\xdc\x9f\x6d\xe9\xf2\xd1\x93\x59\x8c\x21\x53\x71\x9b\xb0\x8f\xd2\xfc\x8d\xb9\x1a\xda\x24\x31\x32\x69\xe9\x06\xd0\xd6\xae\x9d\x37\xd5\x67\x58\x10\xa6\x46\xec\x46\x8f\xc2\x7c\x51\xb8\xfe\x8b\x6a\xf5\xa4\xa8\xed\x38\x45\xd8\x7e\x05\x8b\xde\x16\x79\x25\xc7\xe6\x25\xd0\x85\x9e\x31\x7b\xfa\x3b\xf3\x8e\x49\x66\xb7\x60\x2e\x7a\xaa\x74\x5a\xe8\x8d\x5a\xd8\x8b\xe6\x14\x72\xc9\x63\x22\xed\xe5\x41\x95\x05\x0b\xf0\xa2\x72\x4e\x1c\xac\x2e\x7c\xe6\xf9\x57\x13\x73\x75\x9a\x29\x73\x16\x21\x39\x62\x41\x1f\x4b\x50\x18\x8d\x76\xb8\xa1\xd8\x0f\xfb\x4c\x63\xef\x69\x81\x7f\x9a\x1d\xe2\x82\xce\x28\x0b\x0a\xb5\xd8\xe9\xa5\x38\x03\x7b\xa2\x39\x83\x7c\xea\xef\x9f\x3b\x1b\xd6\x7e\x04\x23\xfe\x9f\xff\xfe\xfb\x11\x6d\x33\xb7\xcb\xb1\x5d\x81\x7d\xd8\xc9\xf5\xb6\x25\xdc\xf9\x00\x1e\xa2\x05\x76\x40\xe6\x13\x8f\xdd\x5c\x0a\xd5\x2f\x7e\xb5\x97\x9b\x26\x1a\xae\xe6\xc6\xbf\x58\x26\x77\x30\xc6\x8b\x7c\xf9\x2d\x1b\xb0\xb8\xc2\x03\x5d\xb8\x19\x83\x28\x4f\x07\xfe\x6f\xa2\xf3\x74\xfb\x95\x0b\xa5\xc2\xa0\x02\x94\xb6\x6d\xa2\xe1\xe6\x58\x3e\x5f\xc8\x43\x63\x45\x15\x63\xa5\x0c\xef\xc8\x55\xc1\x0f\x66\x90\x26\x8b\x4e\xef\x4a\x2e\x89\x30\x07\xda\xc3\xf9\xa0\x7a\xd1\x65\x88\x7d\x5b\xe1\xc3\x21\x29\xa6\x6b\xc5\x69\xeb\xf7\x9b\x11\xf2\x4a\x46\x5c\x3c\x23\x62\x1c\xe7\xa5\xa0\xdc\x55\x6d\x5f\xeb\x8f\xce\x72\xb5\x58\xdd\xbe\x4c\x70\xf4\xb0\x0e\x2a\xa1\x7e\xbf\xa5\xd9\xd5\x82\x61\x10\x3a\x51\x16\x0e\x5b\x30\xff\x48\x05\xf3\xcf\xc6\xf2\x95\xb4\x76\xb8\x68\x18\x54\xcd\x0e\x84\x7b\x7b\x13\x19\x64\x62\x18\x39\x9a\xe4\x85\x95\xc3\x63\xbd\xc7\x47\x23\xf6\xde\x14\x4b\x00\xc5\xc3\x0c\x20\x82\x44\x0a\xf2\x29\xe3\x92\x94\x32\x7b\x1a\xf0\xdb\x6d\x66\x9e\x1d\x46\xb3\x4c\x5a\xa9\x5a\xbe\x95\x48\xfa\xea\xe8\x8d\xf5\x0d\xaf\x4f\xb9\x99\x02\xb7\x92\x7a\x22\x9a\x51\x4d\x3b\xe3\xc6\x93\xb6\xfe\xd4\xbb\x96\xff\x28\x62\x65\x00\xc7\x47\x25\x8b\x03\xe4\xa7\x57\x21\x88\x84\x3c\x12\x30\x53\xc2\x18\x43\x94\xfe\xb2\xa9\xa9\x85\x9d\xac\x3a\x40\x45\x5a\x1d\xb0\x05\x14\x57\x47\x50\x4e\x3e\x6a\xa2\xc5\x72\x5a\xc5\xd6\x19\x40\x4d\x0e\xff\x35\xa4\xd0\x41\x58\xad\x60\x41\x14\x22\x9f\x14\xb1\xc5\xf6\xee\x5c\x8e\x56\x3d\xac\x1b\x35\xa7\x99\xb4\x8b\x48\xbb\xa7\x8a\xda\x44\x6c\x66\xae\x4b\x42\x8b\xdd\xbd\x6f\x93\xb2\xe6\x98\xc5\x36\xd3\xd0\xca\xd2\x5a\xa6\x80\xd9\x19\x3b\x90\x8f\xc1\xb6\xf9\x72\x01\xcc\xb3\x69\xd3\xe0\x51\xc3\x45\xe6\xf4\x22\x2d\x99\x83\xdb\x9a\x0b\x2d\xa0\xe6\x4c\xd1\x44\x13\x87\x1d\x83\xd6\x9a\x73\xe6\x81\xd6\x20\x62\xb8\x0d\xcb\x8b\x4a\x49\xd9\x6c\x6c\x57\xd2\x25\xcd\x75\xbb\x18\xca\x34\xf5\xd1\x34\x65\x7e\xfc\xce\x35\xb4\xdc\xce\x6b\xc8\x1a\x70\x96\x5c\xba\x1e\x08\xd6\x8c\xbb\xc9\x58\x80\x2c\x97\xe5\x37\xa6\xb1\x59\x0a\x6a\x6a\xba\xc2\x44\xd7\x31\x52\x80\x58\x57\xcf\x8f\x2f\xae\x10\x69\x53\xf0\x4c\x62\x0d\x44\x40\xab\x96\x1c\x43\xd9\x9a\x5b\x78\xce\xbc\x88\x66\x8b\xf6\xf8\x0c\xea\x4a\x9a\x22\x76\xdd\xd9\x30\x6f\x9c\x24\x13\x1c\x3d\x78\x65\xc3\xab\xdc\x5c\x38\xd0\x73\x2d\xa0\x42\x55\x27\x43\x5c\x7a\xa0\x11\x48\x37\xa1\x17\xc6\x20\xa4\xd8\x61\x17\x9d\x9b\x55\xb3\x10\x4f\x06\x12\xc7\x8c\xde\xc4\x8c\xc7\x24\x4b\xf8\x22\x6d\xb9\xcf\xaa\xa9\x59\xdb\x44\x40\xb4\x65\x86\xed\xf4\x2a\xab\x30\xbd\xb5\x2f\xb3\x5a\x9e\xc7\x0e\xf0\x7a\xd6\xe0\x92\x1f\x12\x3e\x01\x2b\x9f\xd5\xb2\x5d\xee\x42\x10\x42\x5f\x3d\xcf\xeb\x66\x54\x54\x4f\x24\x95\x59\x82\x17\xcb\x7a\x30\xb1\xfc\xcf\xbb\x6f\x26\xf7\x7b\xb5\x11\xac\x7b\x14\x6c\xe3\xe7\xcf\x81\xc0\x7a\xe1\x24\x01\xf3\xae\xe1\x5f\x15\x63\x92\x49\xa2\x3a\xca\x04\xd7\x82\x02\x1f\x31\x85\x67\x6e\x73\xad\x70\xc9\x9f\x18\x11\x72\x4e\xb3\x52\xb5\xb7\xad\xc3\x6e\x2d\x45\xdb\xff\x98\x20\xd3\x35\x78\x27\xcf\x0e\x0d\xf2\x83\xa6\x0f\x99\xe1\xa8\x30\xfe\x45\x09\x96\x92\x4e\x17\x01\x60\x83\x8f\x60\x84\xb4\x98\xb2\xb6\x1c\x14\x58\x6a\x62\x34\x66\x7c\xbb\xc9\x58\xde\x3e\x5b\xeb\xbe\x7c\xfc\x68\x1c\x22\x63\xe9\xfb\xa4\x8e\xce\xe1\x6e\x6a\x8b\xd2\xd1\x8a\xa4\x69\x52\xb3\x37\xcb\x30\x5e\x0a\xaa\xd2\x6e\x46\x28\x84\x49\x3b\x6c\xab\xc8\x78\x20\x85\x10\x64\x44\x95\x52\xd4\x60\xf3\xb5\xe2\xe4\xcc\x9f\x9a\x38\x3d\x08\x03\xe4\xaa\x17\x1f\x1f\x20\xb9\x15\x78\x51\x17\xba\x38\x23\x09\xd9\x49\x24\xeb\x06\x44\x52\xf5\xb0\x07\xe4\xb1\x94\x34\x0a\x90\xf4\xd5\xc6\x85\x0d\x02\x6c\x5b\x20\x50\x9a\x87\xfe\x93\x19\xa8\x8d\xb1\x6d\xda\x45\xb0\x7f\xc1\x2a\x77\xd5\x5d\x9a\xb0\xd4\x4c\x0b\x96\xe4\x8a\x6e\x4a\x74\x55\x74\xea\xe5\x95\x7d\x24\xb5\x57\x0e\x45\xad\x8d\xeb\x03\xe9\x12\x71\xb0\xf2\x00\x6c\xc4\x81\xea\x7c\xba\x1b\x5d\x58\x3f\xa1\xe2\x68\x46\x94\x29\xac\xed\xab\x87\xbf\x25\x9a\xd8\x59\x20\xfd\x8e\x56\xbf\xf9\x90\xaf\x77\x6a\x6f\x89\x92\xee\x4a\xa8\xc1\xd3\xd9\xcd\xd9\xc3\x2d\xd8\x8f\x63\x69\x04\xd7\xcf\x5e\x6e\xd9\x3a\xf9\xdc\x8e\xcc\xa6\x60\xff\x8e\x04\x2a\x33\xc7\xd8\x7e\xe1\xd3\xad\x4b\x40\x43\xb8\x04\xce\x66\xd6\xe8\xf5\xb9\x5e\x95\xb4\x3f\x77\xd1\x6b\x7d\x1a\xaf\x8e\xaa\xa0\xee\x5e\x1e\x5c\x4f\x1e\x74\xe0\x85\x7b\x78\xf9\xb7\x1d\x83\xfd\xbc\x7f\xf6\x40\x38\xac\x5d\x89\xbb\x13\x11\xdf\x10\x99\xec\x85\xa4\x58\xdb\x8a\x97\x92\x17\x0f\x1d\x7a\x4c\x81\xc5\xb2\xbf\x5b\xb4\x1f\x27\xf9\xc6\xba\x81\x9e\xef\x82\x5d\x4d\x2f\x3b\xa1\x0f\x00\x52\xc4\x90\x6f\x9a\xdb\xca\x0c\x70\x78\x83\x90\xb1\x9a\xef\x61\x45\x30\x9e\x1d\x5e\xa7\x30\xbc\xda\x72\x3e\xc7\xf6\xda\xe4\xa2\xce\x9b\xfb\x9c\xa4\xb6\xee\x58\x76\xa1\xa3\x3c\xb3\x17\xc7\x52\x63\xf0\x41\x1f\x13\xdb\xed\x16\x6d\x80\x2c\x71\x5b\xb6\xcb\x43\xd6\x54\xb6\x6a\xfb\xf4\x68\x97\x72\x36\xce\x04\x99\xd2\x4f\x1b\x89\xe2\xd7\xf0\xa9\x55\x2f\xf5\x32\x57\x0a\x61\x81\x7b\x06\x0a\x67\x05\x71\x7b\x76\xa5\x6d\xb1\x9c\x11\x2b\x32\xce\x6c\xba\xd9\x03\x59\x20\x2e\x4a\x3f\x6d\x0a\xae\xb7\xfb\xa2\x5d\x66\x5f\xe7\x4a\x65\xf2\xe4\xf8\x78\x46\xd5\x3c\x9f\x1c\x45\x3c\x35\xe1\xe6\x5c\xcc\xcc\x1f\xc7\x54\xca\x9c\xc8\xe3\x6f\xbf\xf9\xa6\xd8\xe2\x09\x8e\x1e\x66\x06\xae\xa4\xee\x77\x2a\x6d\xf9\x6d\xbd\xb0\xed\xfa\xa5\x1e\x04\x67\x63\xf2\x49\x13\xa9\xdc\x14\xc8\xe6\x5e\x12\x89\x06\x3f\xdd\x22\xb9\x60\x0a\x7f\x3a\x41\x1f\x29\x03\x01\xe4\x7b\x9e\x0b\x89\xce\xf0\xe2\x90\x4f\x0f\x53\xce\xd4\x1c\x7d\x84\xff\xb5\x3f\x3d\x11\xf2\x80\x7e\x26\x58\xd8\xfd\xb5\x25\x91\x7c\x75\xdd\x39\x86\x5c\x5c\x89\xc8\xa3\x5e\xe1\x6f\xfe\x03\xa5\xa6\xe5\x13\xf4\xf5\xf1\x37\xff\x81\xfe\x08\xff\xff\xff\x47\x7f\x6c\xd1\xd4\xd6\x83\xc2\x81\xc2\x99\x37\x65\x77\xdc\x41\x65\xa5\x36\xa8\x25\x7c\x2a\x78\xb1\x53\x8d\x2d\x3f\xd0\xe8\x81\x4f\xa7\x63\x45\x53\x62\x72\x83\xc6\x58\xd4\x60\x54\x37\xc4\x15\xa4\xb6\xf2\xa9\xa0\x06\x6e\xdb\xd5\x56\xb0\x9d\x9a\x4c\x68\x77\xdc\x64\x5e\x54\x7e\x84\x20\x90\x52\x35\x4d\x2a\xe1\x2b\x12\xeb\x53\xb1\x4e\xc0\x87\xb3\xce\xd4\xeb\xb3\x17\xc8\x01\x61\x35\x5f\x1f\xb8\x15\x46\x21\x9a\x40\x0d\xbb\x90\x8d\xc7\xa1\x16\x1e\xf9\xd9\xc4\xbc\xc1\xd4\x5e\x2b\xde\x4d\xd6\x3a\x5f\x1d\xea\x76\xcb\xc5\x56\xf2\xf2\x03\xa9\xc5\xdc\x76\xac\x23\xe2\x6a\x48\x86\x75\xa5\x21\xe9\x94\x0b\x8f\xef\x69\xf4\x5a\x5b\x6d\x6c\xb5\x15\x8a\x0a\x13\x1c\xd4\xed\xd0\xeb\xa9\x9f\xf9\x4f\x56\x0d\x13\x22\x85\xdc\xdb\x45\x1d\x25\x18\xad\xbe\xe2\x34\x4b\x6c\x18\x71\x03\x08\xd8\xaa\x0d\xbd\xf5\x79\xdf\xd0\x38\x84\xad\x41\xc8\x3e\x73\x92\x89\xcd\x49\x6e\xde\xcf\x5c\x44\xe4\x94\x6f\x17\xb6\x98\x50\x56\x8b\x77\xee\x5e\xa2\x23\x28\x56\x6e\x8a\xb1\x38\x9c\x4c\x1e\x17\xc2\x9e\x31\xeb\x5a\x74\xf6\x00\xa0\xaf\x3c\x1b\x00\x7a\xda\x05\x06\x5c\x0d\x33\x7c\x0b\xae\x6d\x0c\x7f\x05\xc3\x73\x90\xf3\x15\xa4\x79\x81\x35\x2f\xdc\x10\x36\xcf\xd4\x0e\x39\x40\x02\x43\x1c\x9b\x9a\x63\x66\x54\xc2\x29\x8e\x28\x9b\x1d\x04\x88\x69\x90\xf8\x1d\x72\xe0\x26\xba\xb8\xc3\xf2\x61\xb7\xb1\x59\x5b\xd7\x52\xa3\x71\x51\xcf\xc7\x62\x1c\x18\x5b\x30\xad\xc1\x45\x29\x2c\x1f\xda\x40\x3e\x6a\x08\x43\x4b\x46\xe7\x97\xc2\xe1\x12\x2d\x1b\x9f\x4b\x24\x25\xa1\x08\x0a\xf0\xe1\xae\x8a\xa6\xc5\x1b\x73\xb9\x40\x18\xee\x4d\x9a\x90\xb8\x0a\xb4\xb7\x64\xfc\x72\xce\x85\x1a\x6f\x08\x51\x58\x4d\x86\x65\xe4\x30\x01\x58\x06\xfe\x48\xc4\x23\x25\x4f\x65\xa4\xbf\x75\x68\xd1\xd8\x19\x82\x40\x24\x80\x82\x4b\xb5\x26\x1d\x1b\x7b\x37\x5b\x18\xde\xa4\xcf\x33\x96\x0f\xd2\xd7\x14\x44\x32\xc5\x49\x72\x80\x04\xc9\xa5\xa9\x69\x29\x49\x32\x3d\x74\xa8\xec\x31\x4a\xf8\x8c\x46\x38\x41\x93\x84\x47\x0f\x72\xc4\xf4\xdd\xcc\x66\x86\x2f\x64\x82\x47\x44\xca\x40\x98\x29\xf2\x5c\x6d\xf6\x11\x14\x14\x54\x44\xa4\x94\x51\xa9\x68\xe4\xa4\x94\x22\xb5\xdc\x94\x8f\xd5\xea\x65\xc4\x4d\x19\x44\x18\xae\x16\xae\x88\xc1\x89\xcb\x99\xad\xdf\x01\x37\xa4\x85\x7f\x72\x71\xb5\x6d\x07\x68\x07\x68\x56\x8e\x42\xc6\xaa\x7c\x20\x57\x1c\xa9\x53\xfb\x19\x1c\xe3\x65\x24\x70\x53\x3e\x51\x9e\x20\xfd\x49\xf3\x20\xc9\x8e\x2e\x8b\xa8\xe1\x92\xb0\xe0\x83\x69\xf7\x0c\x5c\x07\x86\xdc\x02\xa9\xb3\x8a\xa6\xf5\x2a\x82\x94\x01\x25\x63\xaa\x8e\x46\xca\xa2\x24\x8f\x7d\xd1\x30\x7d\xeb\x3e\x6a\x22\x71\xcb\xa3\xd7\x5e\xdf\xcd\x07\x08\x4b\xf4\x44\x92\x44\xff\xd7\x04\x0d\x1f\x7a\x0c\x6f\xcd\x92\x0d\xce\x3a\x74\xe2\xb8\x74\x2b\x45\xc1\x24\xf6\xa4\xd6\xa5\xbf\xb7\xd7\xe5\xcc\x2b\x25\x33\xbd\x3c\x6b\x72\x68\xbd\xd2\xad\x78\x87\xa5\xb1\x95\xc9\x16\x80\x5b\xda\x07\xd5\xd1\x00\x24\x9a\x32\xa4\x0d\xc5\xc1\xd3\x47\x5a\xd4\x75\xb5\xbd\x2d\x35\x10\xe9\x19\x75\xb2\x0e\x85\x44\xb1\xb1\xc5\xb3\x32\x95\x1a\xd2\x00\x35\x05\xc1\xcd\x84\x40\x4d\xc8\xa3\x88\x90\xb8\x31\xbe\x54\x8f\x68\xef\xf0\xfc\xae\xb1\x9a\x9b\xa4\xf5\x94\x2b\x53\x56\xd0\xe0\xf9\x39\xcb\x95\x01\x80\x9b\x24\x7c\x02\x17\x12\x40\xfd\xb9\xa4\xd7\x20\x61\xce\xcc\x9b\xc4\xe8\xcb\xe0\x7e\xf1\x80\x0a\x5f\x35\x03\xcf\x95\x56\x64\x0f\x60\xfe\xaa\x26\xb3\x56\xb0\xbf\x72\x65\xac\x23\x74\x5d\x41\x01\x09\x2b\x4b\x63\x7d\x6d\x2c\x45\x94\x79\x25\x68\xc0\xca\x24\x9e\x6f\x87\xd6\x84\x06\x2c\xf5\xb9\x03\x68\xc0\xca\x3c\x5b\xa2\xf2\xf9\xec\x59\xb3\x89\xf5\xa4\x2e\x78\xf7\x14\x2f\x83\x46\x65\x44\xbc\x12\x09\xba\x03\xb9\x68\x22\xc4\xfd\x82\x3d\xac\xd4\x8f\x7b\x5d\xd8\xc3\xca\x60\xf6\x19\xf6\xb0\x32\xd4\xfd\x85\x3d\x6c\x18\x68\x07\xd8\x43\xe3\xb6\x1f\x6b\xa2\xee\xc6\x14\x20\x65\x65\x92\x4f\x6f\xe1\xde\x5d\x3a\xc6\x53\x13\x12\x60\xae\x31\x27\x4a\x5a\x14\x60\x18\xad\xcd\x6e\x6c\x0b\x74\xc2\x72\x2b\xda\xf3\x7e\x35\x2a\x8d\x21\x21\x4b\x30\x2b\x5f\x1d\x50\x22\x5e\x90\x48\x93\x9f\x61\x54\x4a\x60\x26\x61\xaa\x07\xd6\x5c\xa7\x47\x61\x2c\xd4\x11\xce\x6c\xb6\x78\x5b\x71\x8e\xfd\xc9\x8b\x5d\x0f\x51\x12\x80\xee\x4a\xac\xbe\x13\x4c\xd5\xc7\x0a\xbe\xfd\x9c\x3f\x59\xc9\x11\xc8\xcf\x10\x63\x2b\xe9\x41\xa7\x63\x6b\x53\x68\x5b\x31\xca\x14\x99\x55\x45\xfa\xe2\xb0\x50\xa6\xfe\xfc\xed\x4a\x0e\x64\x70\xfc\x9c\xf5\x22\x40\x99\xb7\xd0\x21\xbe\x9e\x0d\x89\x6d\x91\x7b\xa9\xb5\x6b\x3d\x1d\x73\xa3\x4a\x94\x62\xea\xf4\xfc\x5c\x82\x73\x6e\x4e\xe5\x88\x99\x04\x2e\x5b\x5b\xed\x08\xbd\x87\xd2\x99\x38\xcd\x12\x72\x80\xfc\xfc\xa8\xa6\xa0\x51\xfe\xf5\xd7\x7f\x26\xe8\x6b\x94\x12\xcc\x4a\x26\x16\xd0\xea\xf5\x95\x07\x40\x71\x6a\x4e\x46\xac\x71\x2b\xd0\xf0\x93\xa9\xc6\xe3\x22\xf8\xce\xd9\x94\x3b\x93\x0d\x94\x84\xc3\xd1\x1c\xc9\x7c\x62\x6a\x9a\x06\x26\x36\xa7\xe7\x5d\xf0\x19\xb8\x9e\xe1\x26\x76\x83\xde\x18\x20\xb3\xc2\x70\x3a\x02\x64\x96\xa6\xd6\x03\x64\x36\x9f\xbe\xbd\x05\xc8\xac\xec\x79\x37\x80\xcc\xa6\x2d\xdf\x00\x20\xb3\xd4\xcc\x67\x03\x90\x59\x59\xd1\xcf\x06\x20\xb3\x32\xaf\x1e\x20\xf3\x33\x01\xc8\x5c\xcd\x47\x1a\x21\x20\x9b\x0f\xef\x7a\x10\x90\x8d\xfa\x55\x3b\x8b\xd8\x16\x6f\x07\xa4\xb9\x17\x86\x80\x2c\x4d\xa0\x0f\x77\x5b\x3f\xdc\xad\x91\xf8\x6c\xdf\x7a\x78\x2e\x06\xae\x7a\x91\x75\x04\x81\x2c\xed\x4f\x67\xd3\xe7\x2e\x28\xf1\x79\x03\x2c\xc1\x03\xd3\xd5\x1c\x32\x28\xad\xa2\xb4\xd0\xb1\x5a\x32\x72\xe0\x5d\x46\x73\x0a\xdd\xf9\x3d\xe5\x6e\x10\xa8\x59\x59\x5e\xef\xb3\x31\xb4\xb8\x4b\xe3\x7c\x43\x5d\xf4\x2d\xe8\xd5\xe5\xb2\xad\xe9\x1c\x71\x83\x00\x27\x49\xb3\x61\x90\xa6\x74\x57\xcd\xae\xba\xc8\x3c\x34\x11\x68\x53\xb5\x34\x3d\x7d\x3d\x99\xe1\x18\xd9\xb8\x92\x9d\x08\xb8\x09\xe6\xcb\x19\x95\x4a\xb4\x86\x2a\xd5\x46\xb8\x8d\x1b\x36\xcb\x37\x01\x41\x99\x6d\xf6\x59\x4a\x52\x2e\x56\xc5\x49\x35\x7e\x69\x2b\x3a\x6c\xf2\x29\xc9\xe6\x24\xd5\x42\xd0\x78\xdd\x46\xba\xee\xb7\xcf\xe1\xb4\xa9\x44\x26\x6e\xb1\x44\x04\x81\x93\x55\xbf\x1b\x1b\x80\xc0\xce\xdb\xbd\xed\x36\x5b\x08\xc3\x35\xad\xf8\x0e\xc2\x75\xb9\xb5\xc4\xbe\x54\x72\xa5\x03\x7d\x37\xc6\x8b\xf8\x70\x9d\xd5\x11\x21\x4b\x62\x41\x96\xc1\x00\x15\x5f\xd9\x7a\xa7\x6b\x84\x09\xd4\x5d\xa8\x61\xb1\xcb\xf5\x83\x47\x5a\x40\x2c\xeb\xcb\x03\xbe\x65\x49\xc4\x61\x28\x51\x97\x06\x53\x5f\xaf\x12\x95\x38\x4d\x6c\x0b\x22\xc9\x45\x6b\xd0\x68\x17\x2b\x64\xa4\x72\x9c\x80\x9a\x17\x16\x69\xab\x6e\xea\x64\xd1\x90\x85\xd6\xcd\xcc\x4d\x99\xfa\xcb\xbf\xaf\xb5\x9b\x5a\x25\xb1\xeb\x06\x85\x65\x70\x14\x11\x69\x0c\xa3\x36\xa8\x18\x4f\xf8\x23\xd4\x94\xd9\x66\x57\xf5\x51\xd6\xf3\xd6\x0c\xde\x23\xc3\xc6\x05\xa9\x1b\x71\x61\x2e\x78\x3e\x9b\x3b\xdb\x8b\x3e\x33\x7a\x6a\x4d\x7b\xf9\x63\xcd\xc0\xb9\xf6\x5e\x7e\x97\xd3\x64\x33\xcb\xd6\x6d\xa9\xda\xce\x87\xf3\x3b\x24\xe7\xfe\xb4\x4e\xa0\xd9\xc6\x8d\xad\x0f\xba\x7b\x9f\xf6\x5b\x6f\x64\x87\x6e\x0e\x1c\x1a\xe2\x94\x27\x09\x98\x89\x25\x49\x1f\xc3\x22\xd9\x61\xf7\x30\xe1\x3b\xba\x61\x69\x78\xf8\x1a\x9c\x4d\x52\xe1\x34\xeb\x24\x7f\x5d\x1b\xd1\x50\x22\x37\xfa\xaa\xa7\xd9\x84\xc1\x71\x46\x58\x93\x6d\xea\xa7\x7a\x8d\x88\x37\x16\x8c\xe8\x22\xd3\x76\x16\x90\xe8\x96\xe4\x85\x83\x12\x57\xcc\x63\x5f\x03\x13\x2b\xcc\xce\xc7\x09\x16\xd7\x8c\x8b\xf6\x30\x8a\xcf\x40\x2f\xf1\x88\x0d\x4a\xe9\x11\xae\x20\xec\x64\x51\xc4\x57\x1b\x1d\x22\x64\x66\x80\xee\x6f\x0d\x2b\xe0\x03\xd1\x7f\x81\xa6\x63\xb0\x44\x4d\xb8\xa2\x0b\x49\x84\xe0\x70\x12\x1f\xe2\x68\x11\x25\x34\x0a\x74\xe6\x99\xc0\xd9\xbc\x89\xe3\xb9\x9d\xef\x41\x50\x5e\x0b\x04\xa5\xad\x64\xcd\x3a\xe1\xe0\x8e\xae\x18\x4e\x49\x0f\xce\xd2\x04\xce\x72\xe0\xe1\x07\x58\x51\x7c\xe7\x15\xb3\xda\xeb\xe7\xae\x47\x68\x79\x05\x84\x96\x4d\x0e\x5f\x01\xbf\x52\x3a\x76\x3d\x6a\xcc\xbb\x4e\xa8\x31\xfe\x12\xdc\x2b\x20\x90\xf6\xf3\xf8\xca\x00\x13\xf5\x81\xbd\x26\x4a\x4c\x83\xb8\xb0\x8e\xdc\xb4\x0c\x26\x66\x19\x5d\x74\x5a\x97\xd7\x05\x6d\x59\x6f\x65\xd6\xc2\x63\x69\xbc\xbb\xf6\x04\x9d\xa5\x7d\x1b\xf6\xe4\xdc\xec\x32\x63\x66\xbd\xea\x82\x61\xd6\xcc\x3a\x0a\xd6\x7a\x09\x34\x9e\x1e\xde\x56\x12\x4d\x51\xda\x69\xb3\x44\x9a\x81\xf3\x41\x13\x81\xe6\x3c\x89\x4d\x98\x57\xb0\x5a\xbe\x03\x1f\xbe\xed\x17\xc8\x6d\xc6\x6d\x46\x22\xa3\x6d\x15\xf5\x99\x96\xa5\xcb\xf8\x4d\x7c\xeb\x29\x33\x81\xfc\xbb\xdb\xb4\x99\x70\x65\x37\x4d\x9d\x59\x31\xb8\x65\xa2\xc7\x86\xe9\x33\x41\x8f\x4b\xbd\x74\x6e\x76\x9d\x3c\x75\x55\x62\xd9\x20\x88\xaa\x56\x48\x6b\x7b\xac\x96\x14\x7f\x1a\x67\x58\xe0\x24\x21\x09\x95\xe9\xb3\x45\x72\x9e\x96\xdd\xb5\xfa\xac\x0a\x6e\x4c\x44\x2c\x4f\x27\x86\x14\xdd\x40\x6c\xf9\x3e\xc5\x91\xc8\x59\x88\x34\xe5\x37\x06\xb9\xf2\x6e\x39\xdc\x0b\x60\x55\x8a\xe6\x50\x2b\x72\x8a\xa9\x60\x44\xb6\x56\xe6\x23\x51\x2e\xa8\x5a\x8c\x6d\xa1\xc3\xee\x07\xee\xd6\x7e\x79\x6a\x3f\x5c\xee\xe1\x76\x49\xfa\xae\x3f\x5f\x58\x31\x23\x02\xaa\xb6\xb8\xfa\x23\x41\x31\x47\x0b\xc2\x40\x7c\xe9\x17\x88\x5d\xad\x5d\xdb\x6d\x31\xd7\xf8\x69\x1c\xa4\xc1\x8c\xa3\x2a\x71\xac\x3a\xac\x4d\x30\x40\xcb\x26\xf9\xcc\x40\x38\x2d\x5e\xe4\x67\x28\xfa\x60\x63\xdd\x4d\xd3\x7a\xc0\x81\x2b\x18\xec\x95\xc5\xc6\x04\xb9\xf4\x56\xa9\x6a\x19\x27\x66\x8c\xab\xe6\x72\x5f\x4b\x06\x3b\x08\xbe\xea\x30\xe2\xa0\x93\x1d\x0d\x5b\x1f\x74\x21\xf2\x4c\xd1\x49\x1d\xa9\x46\xed\xae\x08\xe4\x20\x81\x14\x6e\xe7\x66\x28\x75\x6b\x2a\x43\x96\x38\xb1\x9d\x9d\x96\xff\x2d\xac\x93\x03\xfc\xa1\x6c\x96\x90\x52\xf2\xd5\x55\x4a\x81\x0a\xcd\xf9\x01\x03\xb4\xa6\xce\xb2\x6d\xf6\x0b\x17\xee\x81\xa1\xbe\xa4\x31\x11\x1d\x8d\xd8\x40\xa2\x27\x82\x18\xb1\x88\x10\x0d\x95\x23\xbd\x55\x1b\x4a\xf1\x4c\x88\xee\xc9\xc7\xa6\x68\xe1\x81\x2a\xe9\xab\x41\x99\x3e\xa6\x38\x91\xe4\x40\x37\x0c\x45\x24\x15\x87\xa0\x49\x8c\x9e\x04\xce\x32\x22\x46\xcc\x86\xe0\x83\xc3\x85\xf3\xc4\xb4\xdf\x16\x1a\x6a\xd7\x80\x8c\x23\x1c\xcd\x5f\x68\x8f\x30\x64\x50\x44\x73\x12\xbb\x5c\xe4\xf2\xf6\xb8\x79\x1b\x83\xf5\x1a\x9b\x75\x3e\x75\xd5\x8c\x0e\x6c\x27\x49\xa4\x39\x8a\x2f\x6e\x9b\x11\xa1\x47\xad\x69\xf8\x91\x30\x44\xa7\x6e\x1c\x36\x76\x07\x3d\x81\x67\x4a\x93\xfe\x23\xa6\x89\x49\xee\x77\x5d\x3b\x21\xd0\x98\xdf\x47\xcc\xb8\xbb\x59\x54\x4a\x2b\xa4\x8c\xca\xb9\xe6\xd4\x39\xf8\x24\x41\xcd\x58\x4b\xf2\x8c\x63\x59\x36\x32\x1a\xf5\x8d\xfe\x56\x32\x6f\x1c\x96\x52\xa6\xa2\x00\x8d\x07\x82\x25\x5d\x41\xa5\x65\x72\x66\x1f\x7a\x5f\x0f\xbd\x6f\x5e\x9b\x7d\x0c\xbf\xf7\x87\x65\xdd\x10\xfc\xb6\xed\xdf\x85\x04\xb9\xc3\x50\xfc\x57\x8e\x59\x7f\x9e\x70\xf5\xd7\xcd\x2f\x78\x8e\xd4\x82\x3e\x00\xff\xed\x05\xe0\xb7\x1f\xdb\xb5\x82\xf0\x57\x00\x32\xb9\x5e\xb6\x8d\x78\xf6\x08\x3d\xcf\x1a\xf5\xec\xa3\x36\x82\x2f\x3a\x46\x3e\x17\x10\x42\x7d\xf4\xf3\x33\x45\x3f\x37\x2c\xf1\x7a\x11\xd0\x1b\xd9\x56\x5e\x3e\x38\xb3\x5a\x63\xff\x39\x03\x34\x57\x45\xc7\xe4\x93\xf1\xb3\x1f\xbd\xc6\x39\x77\x3d\x81\x3f\x79\xa2\x30\x22\x91\xd0\x74\x36\x21\x71\x0c\xf6\x7b\xc5\x6d\x85\xd4\x82\x76\x9c\x1e\xa6\x99\x2f\x96\x9a\xd8\x71\xc2\xd9\x4c\xd2\xd8\x40\x11\x98\x5a\xfc\x25\x2d\x11\x52\x70\x61\x7f\x93\x84\x08\x67\xfe\x15\xe8\x4b\x49\xb5\xdc\x1f\x98\x84\x05\x8a\x39\x91\xec\x0b\x65\xb4\x32\xcc\x16\xe8\x81\xf1\xa7\x84\xc4\x33\xd8\xa1\xea\x60\x0e\x11\x25\x07\x88\x2a\xff\x99\x80\x9c\x5d\x9e\xab\x91\x1e\x3b\x04\xf5\x18\x11\x90\xd8\x6f\x83\x5a\xc0\xbe\x99\xaf\x8e\x10\x3a\x67\x68\x8a\x23\x75\x80\x64\x3e\x29\xda\x8f\xb9\x29\xee\xaa\xd5\x9c\x60\xe2\x45\x23\x7d\x70\x6e\x43\xe7\xcd\x67\xc3\x71\x07\x4d\xae\x83\x84\xe2\xad\x82\x98\x1e\xf1\x36\xd0\x8c\x1f\x73\x69\xbd\xdd\x88\x33\x7f\xf4\x2d\xf8\x88\xc7\xd6\x85\x8a\x9c\x06\xa7\x96\xf1\xb8\xd5\xa8\x54\x99\xca\xba\x63\x29\x22\xce\x6c\x21\x50\xeb\x11\x80\x76\xcd\x72\xc7\xfc\x89\x49\x25\x08\x4e\xad\x15\x56\x5f\x35\x10\xad\x60\xe2\xcd\xf4\xe8\xa9\x30\x22\xc6\x3a\x5b\x7c\x41\xd9\x83\xde\xdd\x02\x4d\x18\xea\x2a\x43\xcf\x4d\x9b\x96\xe9\x1b\x8f\x9c\x72\x66\x3c\x31\xdb\xec\x9f\xa4\x33\x86\x93\x35\x95\xdc\xda\xca\xd5\x9d\x27\xce\x78\x65\xc5\x05\x2d\x45\x18\xab\x0a\x32\x3d\xae\x65\x44\xa8\xcc\x37\x74\xdd\x60\x14\x93\x8c\xb0\x98\xb0\x68\x01\x24\xc2\x00\x57\x42\x30\x9c\x20\x0c\xdf\xe1\xe4\x08\x9d\x99\x44\x06\x2f\xe1\xd9\x6b\x1d\x2e\xf4\x14\x33\x3a\xd5\x82\x22\x58\xbb\xec\x28\x47\xcc\x0c\xd3\x19\x9b\x83\x62\xd5\x7e\xc5\x1a\x76\xe6\x3b\xca\x70\x29\x73\x64\x83\xf3\x94\xe4\x6b\x05\x07\x07\x66\xab\x45\x1b\xc4\xb6\xc2\xab\x50\xaf\xd7\xd8\x0c\x24\xa1\xcc\x37\xd2\xdd\x21\xb8\x32\xcd\x22\x61\xa4\x30\x58\xb4\xe7\x24\xc9\x82\x52\xb9\x19\x16\x4a\xba\xa3\x6d\x70\x52\xf5\x2d\x93\xe6\xcc\x20\x54\x18\x4b\xc3\x93\xc5\xa2\xb4\xce\x8c\xa2\xf1\xa3\x11\x3b\x57\x5f\x48\xcd\xf9\x38\x9b\x25\x0b\x84\xe3\x47\x2a\x0b\xcc\xed\x88\x33\x99\xa7\x44\x54\x2a\xd0\x5b\xbc\x5a\xec\x48\x53\x8f\x4d\xcb\xfc\x8f\x38\xa1\xb1\xee\xd6\xc8\x18\x33\x34\x21\x53\x2d\x3f\x65\x58\x48\x67\x11\x6b\x70\x69\xda\xcd\x8d\xf5\x5a\xbd\x1a\xb7\xfc\x31\x64\x88\x28\x2d\x78\x27\xb6\x3a\xf0\x71\x95\x73\xda\x55\x5f\xc2\x35\x27\xb5\x49\xa1\xe5\x02\x8e\x5d\x85\xb3\x55\x10\x2a\x0e\xc6\x2b\x37\x21\x2c\xba\x1f\x27\x4b\x9b\xc1\xad\xc5\x01\x2a\x13\xb4\xa3\x36\x86\xd6\x90\x6b\x12\x0a\xc2\x85\x54\x58\xd1\xc8\x8a\xed\x5c\xd8\x8b\xc3\x5e\x2c\xed\x5b\x7b\xb6\x25\x6a\xb1\x8c\x70\x52\xdf\xe1\x25\x5e\x33\xf3\xfe\x72\xde\x6a\x8f\x9b\x69\x7b\x69\xd2\x4a\xc4\x93\x64\x1d\x44\xed\xca\xcc\x4f\x8b\xcf\x97\x8f\xa8\xe8\x47\x6f\x80\xdb\x0b\x38\x35\xc6\xf7\x88\x13\x2b\xa1\x4a\x65\x77\x29\x7c\xc9\xdc\x6e\x0b\xeb\xdb\x1c\x31\x3e\x35\x05\x51\xdb\xbc\x92\x99\xe0\x29\x5d\x07\xda\xcd\x38\xea\x6e\x5c\x14\xe1\x0a\xe1\xcd\xc5\x1a\xea\x53\x64\xc9\xcb\xf6\x08\xf1\xe6\x98\x19\x79\x75\xc9\x19\x4a\x71\xb6\xd1\x82\xaf\xb2\xb6\x0c\x50\x6a\x4c\x5d\x76\xf5\x00\xb2\x97\x00\x7c\x39\x2c\xf2\x13\x5e\x14\xa9\x3d\x6d\xa0\x5d\x6c\x2d\x72\xb8\xd7\xaf\x9f\xb3\x29\x5f\xe3\x70\x16\xa9\x38\xf6\xf4\x61\x47\xb3\xc1\xf9\xf3\x31\x9d\x66\xf7\xcd\x9a\x76\x39\x8f\xa7\x4d\x44\xbd\xf6\xc9\x74\x2b\xf8\x9c\xaa\x5f\xc8\x44\x42\xad\x6f\x9d\xbb\xb5\x7c\xb4\x82\x16\x11\x0c\x67\xf9\x52\x7d\x2c\xd1\xe1\xce\xd7\xa8\xd2\x0e\x32\x16\x06\x17\x0c\x74\xdd\xdc\xea\x0b\xac\x99\x3d\x24\x9d\x16\x6b\xcb\xdc\xc3\xf5\xc0\xc7\x5c\x8f\x1e\x72\xac\xf9\x84\xae\x44\x56\x5d\x47\x57\x9c\x6a\x49\xc8\xa8\x0f\x45\x64\x81\x0d\xb1\x9e\xd2\x84\xc8\x23\x74\xde\xa0\x37\xba\x00\x67\xef\x10\x34\xa1\x5e\x4e\x7a\xca\x05\x0d\xea\x0c\x39\x19\x09\x51\x00\xef\x0e\x6d\x67\x82\xe8\x31\x47\xc6\x77\xc7\x0d\xd2\x18\x44\x57\x09\xaa\x79\x96\x11\x56\x15\x48\xd1\x9a\x17\x50\x9b\x5e\x6e\x64\x78\xff\x01\x37\x3e\x6f\x6c\x4b\xa9\x15\xa3\x6a\xd9\xd2\x5d\x54\x1c\xe8\x1e\x3f\xee\x7a\xbd\xd3\x5f\xd4\xf7\xa6\x71\x84\x77\xe5\xd6\xd7\x1e\x9d\x97\xf2\xd7\x77\x44\xbe\x87\x4f\x9d\x55\x14\xa3\xa9\x20\x60\x38\x4f\x7d\x4e\x28\x8b\x89\x90\x8a\x73\xb8\xef\x6e\xcf\x7e\x38\xbe\x3f\x47\x44\x45\x28\xa1\x0f\x64\xc4\x22\xf9\x78\xa0\xc5\xe3\x5f\x73\xa2\xf4\xcf\x2d\x86\x16\x9a\x12\x26\x81\x13\x50\x55\xcb\x9d\x6f\x5e\x48\xb7\x30\xfa\xbf\x67\xe5\xef\x97\x90\x7c\x2d\xfd\x05\x68\xd7\x61\xc1\x03\x99\x02\x8e\xb0\x59\x5a\xd9\x40\x31\x46\xc5\x1b\x36\x15\x67\xda\x20\xdc\x95\xfd\x23\x67\x6b\x0a\x5d\xa7\xc5\x47\xc1\x28\x5a\x64\xba\x34\xc3\x00\xb4\xb7\x5e\x1c\xad\xf9\xa6\xb1\xf5\x55\x4c\xa4\x48\x2b\x72\x2a\x7b\x51\xc7\x0a\x29\x41\x08\xb0\x10\x4f\x4f\xf6\xae\xb7\x99\xa4\x7e\x62\xc1\x47\x47\x23\xf6\xd1\x19\xf2\x8b\x5f\xa5\x6b\xc2\xc4\x66\x7b\xfc\xc1\x72\x2b\xd0\x6c\x4c\xa5\xff\x01\x50\xa4\x65\x9e\x28\x53\x60\x65\x4a\xb5\x96\xee\x06\x6a\x9e\x34\x71\x09\x81\x59\x34\xbf\xdc\xb2\xce\x0a\x9d\x8e\x49\xb2\x8e\x24\x7a\x3e\x1d\x26\x52\xd3\x77\xf4\xd0\x72\x3a\x37\x29\x21\x54\x4c\x06\xe4\x40\x57\x13\xc1\xe8\x38\xc6\x7a\x9c\x98\x02\x27\x04\x81\xe9\xb7\x1a\xfd\x6c\x12\x1c\xf5\x2e\x5a\x49\xdd\x58\x7e\x4d\xd8\xa1\x0f\x29\x82\x5e\x10\x56\x23\x26\x72\x06\x08\xb7\xde\x11\x84\x91\x24\x82\x1a\x8f\x4c\xe4\xcc\x32\xd6\x48\x36\xd3\x6c\x42\x4b\x7e\xe0\x0d\xe4\x0c\xf4\x33\x9e\x4b\x88\x60\x4c\x89\xd2\x17\xd4\x97\x50\x96\xcc\xb8\xe2\x0e\x50\x26\x68\x4a\x15\x7d\x24\xf2\xab\x86\xad\x3b\xc5\x0a\x27\x7c\x36\x10\x8a\x4e\x71\xa4\xee\xf0\x56\x1a\x38\xb6\xcd\x6c\x1a\xd6\xe1\x86\x81\xce\xcf\xf4\xe2\xcf\x08\x23\x02\x26\xaa\x75\xf2\xe6\x23\x0c\x4f\x36\xe2\xdc\x50\xd3\x23\x32\x55\x10\xa4\xb7\x58\xe0\x5c\xf1\x54\xeb\xb7\x38\x49\x16\x50\xdd\x40\x3f\x99\x63\x39\x77\x1b\x6d\xc2\x90\xba\xdc\x4d\x76\x71\x4f\x71\x34\x27\xb7\x0a\xab\xbc\xd1\x18\x5c\x19\xe5\x3b\xc2\xf2\xf4\xdd\x09\xfa\x9f\x62\x8e\xa7\x83\xd3\xef\x87\xe3\xb3\xf3\xdb\xc1\x77\x17\xc3\xb3\x60\x3e\xf6\xc9\xc7\xf3\xdb\xdb\xfa\xaf\xdf\x9f\xdf\xd5\x7f\xbc\xbe\xba\xbe\xbf\x18\xdc\x35\xb5\x72\x71\x75\xf5\xc3\xfd\xf5\xf8\xfd\xe0\xfc\xe2\xfe\x66\xd8\xf0\xe9\xfd\x5d\xfb\xc3\xdb\x1f\xce\xaf\xaf\x87\x67\x6e\x55\xfe\x1e\x9c\x2e\x08\x4f\x82\xd0\xc1\xe6\x69\x54\x0f\xe0\x21\x2a\xbf\x78\x82\xee\xab\xb8\xab\x36\xc6\xc7\xe4\x61\x3e\x61\xa9\x79\x18\x84\x72\x8d\x18\x72\x9f\xeb\x45\x69\xfb\xd4\x78\x41\xa3\x39\x41\x09\xe7\x0f\x79\x66\x59\x9b\x49\xe6\x60\xdc\x18\x7e\x88\x0c\x5a\xfb\xfe\xfc\xee\xa4\x8e\xff\xea\x1b\x0b\x10\x1f\xdc\x19\x80\x71\x61\xc7\x4e\xc1\x96\x92\x09\xf2\x08\x87\xd5\x9b\x4a\x83\x1e\xfc\xce\x2c\xeb\xc7\xb4\x86\x99\xaa\x74\x13\xc7\xb6\x06\x9d\x9b\x58\xd0\x70\x79\x5f\x97\xad\xa6\x5f\x0e\x03\x78\x8f\x26\x24\xc2\xb9\xf1\x15\xeb\x7b\x4a\x08\x2e\xc2\x01\x17\xf4\xb0\xbb\x46\x2d\x1d\x35\x36\x58\xd9\x33\x3d\x71\xf9\x40\xb3\x8c\xc4\xef\xea\xf2\x4b\xb9\x58\x99\x84\xd3\xa7\xfb\x0c\xce\xa4\xd6\xeb\x41\xe7\x77\x68\xcd\x73\x8b\xaa\x4f\xa5\xf1\x87\x15\x1e\x42\x00\x22\xd4\x77\x82\x47\xd5\xa5\xe0\xbd\xc6\x0a\x3d\x11\x48\x09\xca\x2d\x5c\xbd\xd1\xbd\xf5\xd9\x86\xee\x8c\x27\xc3\xd5\x48\x29\xa5\x0a\xb5\x32\xe3\x5d\x08\xdc\xfa\x7b\x49\x9a\x18\xf1\x16\x79\x1d\x67\xa6\x51\xe0\xce\x2e\x94\x00\x46\xdc\xe2\x33\x72\xb7\x41\x83\x85\x7c\x89\x7c\x55\xbf\x91\x56\x5c\x16\x9a\x6d\x77\x19\x8f\xcb\x65\x2d\x01\x34\x76\x1f\x58\x09\xc4\x6f\xe5\x5a\xdd\xf1\x18\x2f\x34\x71\x40\x0c\x8f\xcc\xb3\x8c\x0b\x85\x5a\xda\x30\xde\x11\x33\x3e\xb8\x73\xec\x3c\x3c\x8f\x83\x46\xb4\x84\x21\x1b\x30\x94\xbb\xa5\xf7\xd9\x75\x2d\x18\x47\x08\x55\x02\x8a\xa0\x07\x5b\x4f\x4b\x2a\x75\x89\x42\x9b\x84\xdf\x6d\x22\xf7\x32\x7d\xc1\x77\xad\xfd\xd1\xd4\xfb\x95\x6b\xa1\x71\xcb\x13\x32\x55\xe3\x46\xaf\xcf\x12\x03\xa7\x6e\x91\xb5\x65\x44\xd3\xd9\x7c\x07\x2d\x76\xd7\x12\xbe\xb5\xfe\x52\xad\x1a\x04\x16\x02\xc1\xb9\x32\xf2\x69\xa1\xc3\x20\xb7\x9a\x60\x5e\xb0\x9d\xda\x58\x66\x2f\x04\x6a\x99\xff\x81\xf1\x27\xe6\x2d\xfb\xf2\x68\xc4\x86\x18\x8a\xf8\x79\x45\xc4\x85\x38\x83\x16\xb0\x52\xfe\x2f\x15\xe4\x7a\xd1\x20\x98\x76\x84\xb2\x82\xee\x6d\xf9\xd6\x64\x81\x8a\xa2\x6b\xa5\xef\xba\x9c\x1e\x63\xf5\x76\x22\xa0\x99\xb0\x2d\x17\xa4\x48\x66\x2d\xf3\x66\x9e\x85\x03\x15\xdc\xee\xba\xab\x23\xf4\x93\xb3\xfc\x40\x3c\x51\x51\xaf\x50\x99\x1b\x27\xc1\x0b\x07\x6a\xd4\xb4\xb0\xbb\xc0\x09\xda\x75\x84\xd1\xf2\x05\xf6\x80\x04\x0d\xab\x5c\x52\xc0\x19\x33\x16\xd9\x35\xc2\x29\x4f\xfd\x47\xb7\x64\x79\xbc\xf5\x7b\xa8\xfd\x63\x1d\xd6\x20\x74\xb0\x64\xf1\xbf\xcc\x66\x99\x4c\x0a\x87\xea\x6f\x6b\xb1\x58\x0f\xaa\x3e\x3f\xe0\x01\x34\x89\x16\x68\x4a\x93\x04\xe4\x80\x23\x34\x80\xd2\x79\x90\x88\xa0\xaf\x42\x17\xb5\x46\x67\x8c\xaf\x8a\xdd\x6e\x21\xa6\x28\x20\xa6\xdb\x76\x62\x92\x40\x4d\x45\x1e\xda\x6e\x28\x6a\x07\x39\xc9\x9a\xb7\xe0\x3a\xa2\x63\xf7\x4c\xe4\x35\x94\xf7\xd7\x08\x3a\xab\x0d\x37\xf8\xf0\x5f\xcd\x43\xff\x90\x63\x81\x99\x82\x50\x2a\x2b\xba\x0b\x12\x84\xf4\x92\x4f\x10\xac\xc8\x8c\x21\x18\x7e\x0a\x37\xd7\xb9\xfc\x67\x14\x12\x4f\xe2\x03\x44\x8f\xc8\xd1\x81\x2d\x28\x2e\xf3\x49\xf1\xe6\x5c\x4b\x0e\x23\x56\x0b\x11\x39\x42\x83\x44\x72\xfb\x05\x61\x51\x02\xa5\x2a\x83\xa8\x2f\x4f\xf9\xd6\xad\x34\x59\x80\x82\x02\x5b\x59\x34\xcf\xed\x83\xe0\xc3\x11\xc3\xd2\xf8\xc4\x13\x38\xe9\xc5\xef\x4d\xf5\x7d\x4b\x71\x12\xcf\x08\x47\x5c\xbb\x86\x9e\x6d\x93\x4c\x9d\x92\x65\x1b\x04\x6f\xc0\xc6\x14\xa1\x3b\x41\x06\x31\xfa\x12\x2b\x94\x10\x2c\x15\xfa\xe6\xab\xb5\x62\x43\xdc\x04\x0b\xee\x6a\x8f\x6f\x11\x80\xed\x22\x38\xdb\x8a\x94\x43\x1d\x29\x84\x11\x23\x4f\x61\xc0\x0e\x87\x18\xab\x47\x2a\x73\xa8\xfe\x19\xe4\x8c\x98\xfa\x8d\x26\xb3\x0c\x82\x60\x8d\xca\xd4\xc2\x47\x1c\x5c\x9f\x75\x9f\xda\x61\x35\x50\x96\x55\x9e\xa8\x51\xcf\x00\x52\xa2\x88\xa5\x9c\x63\x35\x62\x96\xb3\xba\xb0\x91\xa0\x52\xdb\x20\x49\xca\xf1\x8b\x18\x42\x74\x99\x9e\x30\xd4\x2e\x3d\xf2\x0b\x74\x09\xea\x97\x0f\x22\x2b\x17\x86\xf7\x87\x45\x6b\x6a\x23\xe6\xf3\xf5\xc3\xb6\x1b\xa5\x9d\x26\xfb\xf2\x0b\x0a\xc1\x0d\xdd\x5f\x98\x22\xb2\x1d\x84\x61\xd2\x34\xe4\x15\x07\xab\x6e\xd3\x5f\x22\x1b\xef\xba\x83\xee\xa2\x72\xb3\x7d\x1c\xae\xd9\x27\xde\x60\x6e\x6f\xd9\xdc\x40\xb6\xd8\x46\x01\xf7\xd1\x8c\x2f\xe5\xf1\x2d\x0d\xfd\x3c\x86\x5c\x8a\xd5\x5c\xb0\xc8\x4d\x70\xac\x03\x0c\xdd\x34\x0e\x42\xa5\x83\xc8\x4c\x08\xa5\x77\x8c\xcf\xbe\xd9\xe2\x79\xcd\xde\xf6\xf4\x0f\x8a\xf9\xbb\xa9\xf8\x20\xb8\xfa\xc4\xdb\x85\xbd\x41\xfc\x0f\x1c\x41\x00\x25\xf4\xe4\x42\x37\xeb\x80\x02\x0e\x86\x11\x83\x31\xbf\x51\x3c\xb4\xf5\xa0\x8f\xd0\x10\x2e\x1a\x57\x1e\x1a\x4f\x9d\x43\x22\x78\x79\xc4\xb4\x66\xe2\xf2\x8f\x83\xf6\xcb\x24\xde\x74\x02\x0c\x98\xc9\x56\xbe\x9c\x74\x35\xc6\x76\x9b\x36\xe1\xb0\x54\xa0\x0d\x80\xe5\x45\xc3\xd9\x09\x8a\x79\xf4\x40\xc4\xb1\x20\x31\x95\x27\xe0\x5b\x57\xad\x4e\xbd\x54\x6b\xdb\x5b\x4b\x1a\x6d\x81\x02\x2b\x72\x0d\x4e\x4d\xff\x36\x88\xde\x55\x33\x3b\x40\x74\x0a\xea\x84\x0b\x75\x35\x49\x36\x2e\x5d\x9b\x30\x25\x16\x19\xa7\x4c\x79\x53\x56\x65\x21\x9c\xa6\xa1\x85\xb6\xb6\x20\x6d\xb1\x8b\x18\x9c\x0d\xa7\x7d\x37\x27\x92\xb8\x80\x03\x33\x29\xc5\x91\xf1\xb2\x18\x76\x91\x61\x35\x97\x90\x11\x54\x5e\x03\xab\x74\xc1\xa7\x7a\x85\x70\x06\xf1\x0a\xc6\x4a\x51\x7c\xe4\xf3\x56\xa4\xa2\x49\x32\x62\x8c\x90\x58\x22\x48\xde\xf9\xa2\x31\xf3\x4c\x7f\x7a\x80\x70\x1c\xa3\xff\xfd\xe5\xfb\x8b\x9f\xef\x86\xe3\xf3\x4b\x30\x5a\x9f\x5f\x0c\xbf\x3a\xf0\x3f\x5e\xdd\xdf\xf9\x5f\x8d\x85\xe5\x91\x08\x94\xe2\x07\x50\xf1\x98\x34\xf2\x1f\x64\x77\x84\x23\x75\x39\x79\xfa\x89\x24\x2e\xd2\xd5\x8a\x29\x1e\x02\xc8\xee\x61\x6b\xb1\x42\x63\xf3\x5b\x43\xf9\xbd\xf1\x9f\x2c\xa7\x41\x47\x3c\xbe\x0b\x27\x06\xa6\x84\x41\x34\xb6\xb5\xf6\x15\xba\x6f\x41\x70\x84\xcd\x28\x6b\x8b\xc7\x23\xec\xf1\x39\x85\xf8\x1f\xc8\xe2\x47\xad\x5e\x5f\x63\x2a\x3a\xd3\xde\x90\x3d\x52\xc1\x19\x4c\xcd\x9b\xb5\xfc\x89\xd1\x7a\x3a\x96\xd5\x43\x25\x8d\x2c\x0c\x31\x1a\x59\x6b\xcc\x67\x13\x90\xc9\xab\x4f\xd7\xc2\x23\x90\x4f\x4a\xb8\xec\x4f\x8f\xc2\xe1\xa0\x08\xfc\x45\x53\xd0\xe0\x88\xdd\x5d\x9d\x5d\x9d\x20\x92\xe0\x09\x17\x90\x0d\x66\x42\x82\x5c\x13\x76\xc1\x22\x9e\x06\x0d\x95\x32\x7f\x0f\x50\x56\x64\xfe\x86\x46\xb4\x23\xd3\xc6\xaa\x2a\xc2\x5c\xd4\xf3\x66\x77\xab\x02\xda\xc9\x5e\x73\xd1\xe5\xfa\xd7\xaf\xc1\xd2\xf1\x4c\x2b\x72\x15\xce\x6b\xef\xe6\x29\xc1\xa6\x80\xa7\x71\x0b\x59\x5b\xbe\x0d\x60\x4d\x92\x52\x3d\x20\x7d\x70\xe4\x91\x75\xc1\x17\x6f\x72\x86\x7e\xf8\xab\x44\x93\x5c\x8d\x58\xb9\x0d\xce\xd0\xe0\xa7\x5b\xf4\x1d\x56\xd1\xfc\xab\x11\xbb\xd2\x6a\xe6\x0f\x7f\x6d\x81\x28\x58\x1b\x5d\x47\xaf\xc9\x19\x56\xf8\x82\xe3\x98\xb2\x59\x13\xb4\x4e\x81\x7f\x3e\xbc\x1b\x9c\xa0\x2b\xab\xc3\xfb\xac\xe2\x22\xd3\x2a\x68\x08\x18\x32\x4c\xc4\x71\x11\x60\xe5\xac\x0c\x3f\x62\x34\x33\xb8\xb0\x46\xec\xce\x60\x0a\x69\xae\x4a\x15\xca\xb8\xc5\xe0\xd7\x5a\x99\x41\x5b\x32\xa6\x6c\x6b\x49\xd4\xab\x03\x64\xec\x37\xc3\xca\x63\x20\xcf\xd4\x99\xfd\x88\x81\x82\xee\x33\x3d\x13\x1e\xe1\x04\x62\xf2\x0e\x03\x9b\x9e\x56\xdb\x79\x0e\x69\x77\x10\x0c\xc3\x16\xe5\xd0\x59\x9f\x09\xea\x85\xb2\x70\xa3\xc0\x00\x00\xfb\x68\xbd\xb1\x29\xd7\x1c\xc7\x60\x89\x80\xf1\x2d\x31\xab\xa3\x3f\xf4\xd8\x22\x66\x59\xf4\x53\xc7\x8f\xa0\xb0\xb1\x71\x2b\xe2\x08\xcc\xf7\x6c\x01\xe1\xdb\x00\x9a\xcd\x21\xf4\xa3\xe0\xce\x96\x28\x6b\xbb\xe8\xef\xc4\xe0\xb3\x11\x33\x91\x82\xa5\x7d\x09\xb3\xe2\x83\xde\x39\x83\x40\xc6\xe2\xba\xf4\x02\x46\x66\x03\x1b\xad\xac\x9f\x09\x72\x18\x13\x45\x44\x0a\xf6\x9e\x70\x4d\xf5\x0d\x7b\x84\x6e\x42\xf5\x3a\xe6\x51\x9e\x3a\x64\x40\x48\x4f\xb4\x11\x70\xf6\x12\xf5\x14\x62\x2e\xf6\x55\x14\x8f\x45\x34\xa7\x8a\x40\x56\x5e\x67\xfd\xd8\x10\xcc\x20\xfc\xb4\x2e\xa9\xb7\x0b\xbe\xc0\x3b\xb6\x8b\x5a\x33\x0d\x8d\xb3\x72\x4b\xa5\xd6\x56\x03\x9b\xad\x28\x74\x71\x59\xa0\x97\x71\x01\xc2\x16\xf9\x94\x71\x30\x72\x9b\x9c\x2a\x1e\x7f\x21\xd1\xf9\xb5\x96\x80\xb4\xc6\xeb\xcf\x60\x2e\x95\x09\x2e\x83\x74\x1d\xf3\xb5\x49\x17\x38\x40\x5f\x9b\x8a\xb3\x11\xfa\xe4\xfe\xf8\xcb\x7f\xfc\xc7\x9f\xff\xb2\x4e\x3a\x89\x53\xc8\xa1\xdd\x62\x8d\x7c\x39\x84\xb2\x48\x14\xee\x40\x9d\x53\x6d\xb1\x0b\xf6\x00\xb6\x2d\xff\x26\x28\x45\x41\xec\x10\x9e\xd9\x13\x2e\xc3\x93\x89\x4a\x47\xb3\x88\x24\x90\x44\x1d\x94\x39\x84\x17\x76\xad\x44\xff\xbf\x96\x80\x80\x8c\xf5\x51\xd9\x2c\xc6\x89\x26\x5e\xbc\xd6\x8d\xa0\x2f\xad\xfd\x4f\x81\x03\xf1\x2b\x77\xc1\xf1\x24\x26\xc2\x56\xab\x76\x26\x3b\x6f\x48\x04\xe6\x40\x3e\x65\x09\x8f\x1d\xbc\x97\x24\x19\x06\x01\x42\x33\x83\xa3\x11\x1b\xba\xe2\xc5\x06\x9e\xc2\x7c\x64\x3c\x2f\x53\x1c\x19\x54\x2b\x89\xbe\xfc\x74\xa2\x7f\x3b\x40\x8b\x13\x08\x22\x3d\x40\xbf\x9d\x58\x10\x02\x2c\xd4\x58\xff\xf4\x95\x93\xb5\x6d\x13\x30\x68\x2a\xd1\x17\xc7\x8f\x58\x98\x9a\x87\xc7\x66\x44\x5f\x58\xce\xea\xeb\xba\x84\xb2\x79\xc2\xf9\x83\x0d\xb0\xad\x7d\x78\xec\x00\x4d\x80\xbc\xbd\xdf\xc4\x6c\xbd\xcf\x77\x54\xe8\xd0\x96\x5e\x3e\xca\x26\xe8\xe8\x1f\x92\x33\x74\xb4\xc0\x69\x62\x7f\x75\x4f\x6d\xfc\x2f\x96\xc8\x15\xdf\x76\x41\x3e\xc9\xc2\x58\x4a\xbf\x4b\xf8\x04\x66\xf5\xd1\xcd\xd4\x44\xd0\xc2\x40\x8b\xdb\xa7\xb8\xb0\xec\x44\xac\x24\x65\x60\x19\x52\xae\xcc\x2b\xc0\xe3\x9a\x66\xf5\xc9\x0f\xe9\xbf\x8d\x5f\x18\x16\xc5\x25\xf1\x19\xe3\xb0\x8f\x5e\xd3\x8d\x7e\x42\x5f\x5a\x16\xf4\x95\xbe\x63\x6c\xb8\xb2\x59\x86\xa6\x0e\x16\xbe\x83\x9f\x83\x0e\x28\x43\x26\x2d\x73\xc9\x97\xbf\x1d\x1f\x1d\x1d\xf9\xaf\x2f\xf5\x54\xfe\x5f\x44\x95\x24\xc9\xd4\xb4\xe4\x6e\xb0\xc5\x88\x7d\x74\xc0\xc1\xce\x78\x5d\x40\x25\x41\xd1\xec\x88\x27\xe8\xb0\x30\xe8\xc6\x3c\x92\xe8\x0f\x5a\xac\x0d\x96\x12\x7e\xd4\x7a\x5c\x0b\x8c\x99\x41\x2a\x7c\xa1\x43\x65\x0d\xe2\xd5\x63\x15\xa2\xa3\x78\xc5\x16\xcb\x10\x85\x1a\x68\x41\x53\xce\xb1\x45\x50\x11\x42\xbf\x4c\x3e\x29\x78\xd4\x02\x50\xd3\x18\xca\xde\x7c\x53\xd6\xd8\x6d\x81\x53\x63\xc8\xba\x65\x01\x2c\x8c\x88\xe5\x0c\x66\x9e\x07\xa1\xfb\x44\x5f\x2e\x2c\x84\xb2\x95\x79\x9a\x62\xb1\x38\x2e\x4e\x5b\x9d\x38\x0b\x5c\x7a\xe0\x31\x89\x5b\x00\x70\xe1\x26\xf6\x68\xd9\x28\x06\x2b\x5e\xba\x1b\xcd\x9f\xdd\x08\x6a\xf1\x40\x40\x9e\xa9\x44\x45\x58\xc4\x63\x4b\xd7\x45\xf6\x69\x59\x62\xf1\xef\xd4\x65\x15\x17\x11\x23\x0b\x63\x1c\x53\x26\x33\xda\xbe\xe1\x3e\x6e\x61\xdf\x7c\x0c\x55\xdd\xc8\x6c\x0d\xf7\xe8\xf9\xd5\xad\xfb\xa6\xfb\xa5\x0b\xeb\x50\x16\xd9\xb1\xd3\x12\x9d\x45\x42\xe0\xa7\xe2\xfa\x85\xd8\x0e\x63\x9d\xc9\x7d\x6e\xae\xf9\xf7\x29\xbf\xa6\x89\xbe\xb5\x80\xc6\x8f\x46\xac\xf4\xf3\x01\x22\x09\x4d\x29\xf3\xb1\x75\x86\xb9\xf3\xa9\x91\x9e\x1f\xa8\xd2\x5b\x26\xe3\x07\xcd\xc1\x1c\x5c\x46\xa0\x52\x0d\xd8\xc2\x91\x8e\x77\x4c\x59\x0b\x44\x2e\xf5\xb8\x0a\x1d\x5d\x0b\xb3\xba\x89\x43\x2b\x90\xd2\x80\xf0\xe0\xfc\x8e\x98\x6e\xcd\x9d\xa5\x22\x5c\x38\x68\x2f\x68\xee\xd0\x01\xba\x06\x1c\x00\xfa\x28\xc5\xfc\x7a\xf9\xb7\x41\x40\x19\xb2\x3c\xdd\x36\xd9\xc4\x86\x0f\xbf\x96\x99\xee\x5a\x10\x77\x53\xd9\xc4\x25\xc2\xf2\xd4\x1d\xa8\x35\x28\x6e\x68\xc5\x9f\x98\x44\x09\x36\x00\x00\xba\x21\x88\x7c\x3c\x30\x0e\xd2\x2c\xe8\xcb\x5c\x2f\xa6\x1b\x83\x11\x9f\x10\xf6\xa5\xf9\xf7\x57\xc8\xde\x0d\x5f\x1f\xd8\xfb\x5c\x48\x87\x60\x69\xf7\x1c\x6a\x0c\x91\xd8\xd8\xd0\x01\xed\x6f\x86\x45\x6c\xac\xe5\xa1\x56\x61\x32\x78\xb5\xfc\xb5\xe0\x39\x7a\xa2\x72\x3e\x62\x77\xdc\x19\x1c\x11\xe3\x1e\x2f\xf1\x00\x94\xd1\x5a\x7f\x58\x02\x13\x80\x51\x37\x51\x80\x66\xc2\x5b\xe5\x1a\x41\x14\xec\x98\xf1\x98\x6c\x87\x0b\x71\x57\xf8\x2a\x9c\xff\x5a\x10\x93\x0f\x06\x37\x45\x5b\x3a\x2d\x91\x72\x4d\xdb\x7c\x75\xe3\xe1\x1e\xb2\xed\x40\x49\xbb\x27\xb6\x29\xe4\x8a\xbf\xd5\xa0\x15\xa7\x71\x06\xd9\xc0\xa5\xb5\xf7\x28\x84\xdb\x6e\x42\x54\x4e\x55\x59\xb9\x02\xfe\xea\x33\x73\x8f\x60\xd9\x7d\x80\x31\x46\x33\xc1\xf3\xcc\xa7\xcc\xbb\x74\x3f\xb3\x0d\x56\xa6\x39\x67\x53\x7e\x62\x75\xaa\x0b\xca\x1e\x0c\xc5\x3f\xd7\x1e\x19\xa0\x49\x12\x97\xd0\x71\x5c\x95\x31\x98\xc3\x21\xa2\x2c\x4a\x72\xb8\xf8\xa4\xc2\xd1\x83\x01\xcb\x6c\x33\xfa\xea\x6f\xc6\xab\x93\x29\x5b\x24\xa6\x3c\x49\x6c\xb7\xc5\x05\x5a\x94\x61\x7c\xa4\x18\x61\x74\x7f\x73\xde\xdc\xf7\x03\xad\x3b\x73\x9a\x6f\xcf\x32\x81\xc0\xff\xfc\x40\xd7\x8a\xbb\xac\xa0\x0d\x91\x12\xa9\x7b\xe3\x52\x1b\x96\x9d\x26\xd2\x0f\x58\x91\x6d\x33\xa1\x0c\xb4\xca\x1a\x91\x7a\x35\xcc\x9a\xa5\xd6\xe3\x2d\x01\x5f\x0a\xb0\x16\x08\x0d\x6a\x47\x9e\x09\x83\xb5\xe0\xe1\x1a\xd8\x0d\xf0\x7e\xb7\xf9\x54\xde\x5d\x31\x9d\xe5\xc3\x4c\x08\x59\x03\x6d\xe0\x56\xbf\xde\x71\x90\xa5\x57\x97\x8d\xf1\x09\x1b\xf4\x60\x27\xb1\x16\x96\xc0\x38\x2f\x15\x08\xee\x44\xd0\x8e\x1c\x8d\x78\x2d\x7d\x8e\x88\x1f\x89\x0b\xc3\xf1\xb2\x98\xeb\x77\x06\xbe\x2d\x5e\x02\x27\xf6\x16\xda\x06\xc2\x0f\xc4\xd6\x2d\xc3\x26\xb4\xf8\x35\x4e\x1b\x58\x74\xf3\x4e\x14\x1d\x9f\xd9\x8f\x3f\xea\x6f\x9b\x59\xd1\x47\xc8\xe2\xf3\xc0\x29\x29\x66\xfa\x64\xbb\x5e\x5b\x8c\x90\x46\x22\xdc\x68\x48\xf7\xd9\x46\x03\x32\x3d\x76\xac\xdb\x63\xbb\x72\xad\x3c\x19\x3b\x3c\x4e\x8c\x9d\x49\xcd\xc1\x04\x51\xe0\xdd\x6b\x8e\x56\x36\x45\x18\x6c\xfc\x04\x8b\x99\x51\x90\x24\x51\xf2\xab\x86\x1d\x2e\x72\x1e\xb6\xd8\xe1\x0d\x6a\x8a\x85\x7e\x4f\x10\xbf\x97\x9d\x34\x3f\xca\x32\x66\x9b\xbf\x95\x7d\x75\x3e\x2b\x34\x51\x19\x22\x6b\x45\x5c\x08\x40\x42\x8d\xf5\x59\x69\xc7\x4c\xd9\xb2\xb6\xe4\x25\x4e\x3d\x22\x80\xab\x70\x67\xf3\xbb\xcc\xe0\x26\x04\xe0\x06\xdb\xc7\xb0\x75\x11\xc9\x70\x08\xb6\xa8\x53\xdb\x08\x46\x6c\xe0\x5e\xf1\x59\xc5\xa0\xdb\x09\x23\x80\x43\x7c\xa8\x89\x86\x06\xfd\x0a\x17\xab\x6e\x27\xd7\x32\x89\x75\x93\x37\xab\x75\x30\xb5\x7e\xe7\x6f\x23\x8b\x78\xef\xa1\xd1\x96\x56\x1b\x78\x5c\xbf\x52\x71\x33\x30\x4b\x54\xad\x24\xdb\xd4\xf1\x6a\x5d\xca\x21\x46\xd8\x86\xc2\xe2\xb5\x26\x86\x34\x59\x14\x64\xaa\x57\xdc\xe8\xe4\x95\xce\xea\xa7\x55\x6d\xc5\x8d\x29\x4e\xc7\x82\xb7\x97\x63\xe8\xb0\x4c\xae\x89\x92\x7d\x67\x6e\x60\xa3\x17\xe8\xd7\x1c\x27\xe6\x72\x63\x96\x1c\xdd\xb0\x41\x54\xfe\xf6\x2f\x68\x00\xb7\x0f\xfa\x08\x7c\x11\x1c\xfc\xd0\x9a\xe2\x88\xa6\x19\x11\x92\x33\xdc\x5a\x97\xe4\xe1\xaf\x72\x6c\x31\xdf\xc7\x38\x8a\x78\x5e\xc7\x77\x5f\x63\x26\x0d\xad\x85\x93\xc2\xe8\x21\x9f\x10\xc1\x88\xa9\xbd\x02\xef\x21\xf7\x5e\xa7\xe1\x72\x9c\xab\xf9\xb7\xe3\x28\xa1\x9d\x81\xe8\x21\xbb\x68\xa0\x3f\x3b\x35\x5f\x2d\x9b\x40\xa9\xfd\xd2\xd0\x19\x32\xcf\x90\x79\x76\x84\xbe\xc3\xd1\x03\x61\x31\xca\x92\x7c\x46\x2d\x98\x00\xdc\x50\xc0\x2e\x03\xf3\x6c\x79\x62\x46\xb6\x30\xed\xeb\x6b\x68\xc4\x52\xfc\x60\xb0\x01\xad\x10\x19\xe1\x24\x59\xcb\xcc\xe0\xe9\xa1\x86\xaa\xe2\x32\xdf\x7d\x9d\x1b\x73\x3e\x94\x39\x1f\x60\x50\x05\x04\xc9\x9c\x21\x0c\xc0\x2c\x5f\x48\x94\x67\x4e\x02\x02\x4b\x5f\x02\x7e\x57\x33\x49\x28\x60\x4c\xb5\x1e\x34\x27\x23\x06\xb1\xac\xae\xc5\x85\xe7\x2a\xa1\xab\xdf\x87\x9c\x34\x1d\xbe\xa9\x81\x25\xd8\xce\x8b\x58\x03\xa0\x5c\x41\x09\x1d\xe3\x74\xd5\x9c\x30\x30\x40\x74\x6f\x19\x34\x9a\xee\x9b\x56\x8a\xc9\xb5\x82\xa6\xb7\x98\xfa\x25\xcc\x19\xb5\xa5\x0f\xac\x91\x3c\x08\x97\x73\x9e\xa4\xe2\x7b\x2a\x91\xc4\x8a\xca\x29\x6d\x34\xcc\x84\x60\x10\xdb\xac\x3a\x5e\x0f\x81\xa2\x01\x7d\xa2\xb2\x16\x3e\xee\xff\x08\xbd\x07\x3b\x53\x20\x7b\x73\x8f\xe5\xd0\xc6\x12\xd4\x9c\xb4\x82\x1a\xee\x22\x60\xc6\xcd\x20\x78\x7f\xa9\xf9\xd0\xe7\x78\x1c\xa1\x41\x61\xdf\x37\x68\x16\xc6\x72\xbf\x62\x46\x24\x91\x64\x13\xe2\xeb\x64\x0a\x03\x1f\x38\x10\x10\x02\x59\x45\xea\xdf\x0b\xe8\x5b\x3f\xcc\x27\x48\xa3\xc4\x0f\x84\x2d\xb3\x77\x74\x1f\xa1\x31\x48\x2d\x55\xba\xbd\xa5\x8b\x1b\x63\xd7\x26\x03\xec\x7e\xec\x0a\x00\x11\x3a\x3d\xd6\x4b\xae\x05\xfd\xe8\xc1\x26\x6f\x18\x7b\xa7\x85\x20\x79\x9a\x73\x19\x9e\x33\xb7\x7f\x46\x57\x14\x39\x71\x49\x1a\x90\xfc\xe2\x17\xd8\x44\xbd\x30\x1e\x22\x94\xc0\xa8\xfd\x21\x35\xb6\x5c\xbf\xdf\xc8\xb1\x50\x58\x06\xf0\x13\xb9\xa6\xea\xa7\xf9\x87\xbf\xca\x2b\x38\xb1\xbb\xc8\x85\x6f\x2e\xdc\xb5\x7d\x1c\xfa\x86\x16\x78\x1f\x61\x55\x54\xfd\xc2\xb1\x47\x6f\xc8\x78\x8c\x0a\xf2\x5a\xbf\xc4\xd7\xeb\x4f\xab\x52\x1a\xac\xd3\xdc\x56\x51\xf6\xc7\xc0\x4d\x8f\x26\x39\x35\x55\x36\x4b\x22\x97\xcd\x97\x04\xed\xd7\x5e\xff\x54\xfa\xfb\xa4\x99\xc6\xae\x79\xbc\x0d\x61\xad\x0f\x58\x57\xa7\xeb\x0e\x51\xbc\xb2\xa9\x2a\xe8\x92\x95\xc8\x78\x7b\xfc\x65\x3c\xee\x5e\x47\x13\x1c\xee\x93\x7c\x7a\x0b\xb0\xe8\x6d\x98\x10\x0e\x27\x6c\x4e\x7c\x92\x97\xde\x67\xdd\x8d\x4f\x39\x68\xdb\x14\xeb\xbf\x2d\xae\x7f\x8c\xfe\xef\xed\xd5\xe5\x61\x8a\x85\x9c\x63\xc8\xb9\x75\x6d\x1d\xb8\x52\x23\x46\x01\x75\x7e\x25\xca\x46\xec\x10\xcd\xf8\x81\xf1\x62\x9e\xa0\xb9\x52\x99\x3c\x39\x3e\x9e\x51\x35\xcf\x27\x47\x11\x4f\x8f\x8b\xa5\x39\xc6\x19\x3d\x9e\x24\x7c\x72\x2c\x08\xc4\xb1\x1e\x7e\x73\xf4\xed\x37\xb0\x33\xc7\x8f\xdf\x1c\x83\xef\xea\x68\xc6\xff\x70\xf1\xed\x7f\xfe\xf9\x2f\xba\xe1\x6c\xa1\xe6\x9c\x9d\x58\x17\xe9\xd2\xb6\x0f\x8d\xdc\x7b\x6c\x3e\xa9\xf4\xf2\x9f\x47\x5f\x87\xc3\xb0\xaf\xa6\x3c\x26\x89\x3c\x7e\xfc\x66\xec\x36\xe6\x28\x5b\xc7\xe9\x5b\xf0\x7b\xbf\xe2\x95\x1a\xb2\xfa\x77\x4f\x31\xce\xd4\xb7\x6a\x57\x1a\x8e\x4a\x18\xa5\xbc\xc5\x81\x79\x20\x35\x3f\xf8\x1a\x0a\x98\x17\xa4\x5a\x54\xfa\x75\xc1\xbd\x5b\x45\x9b\xb5\x92\x32\xc1\xeb\x4c\x23\x00\x8e\x35\x26\x88\x0c\xd3\xa6\xe8\x36\x1b\x5d\xb1\xcd\xfa\x3d\x27\x04\xf2\xae\xb1\x8f\xed\x74\x37\xc4\x3d\x4e\xcc\xd7\x2e\x16\x84\x3f\x39\xbc\xe3\x5d\xa0\x04\x77\xac\xc7\xe4\xc1\x4f\x0d\xf1\xc0\x58\xdc\xb8\x5a\x86\x31\xc7\x72\xb3\xa0\xa2\x81\x81\x18\xf3\x7e\x01\x5f\x45\xd2\x76\xe8\x58\xa5\xcb\xda\x86\x62\x7f\x16\x1c\x26\x33\x55\xca\xe5\x11\x7a\x5f\x29\x58\x53\x04\x4a\xdd\xbc\x3f\x45\xdf\xfc\xf5\x3f\xff\x3c\x62\x5f\x36\x70\x31\x88\xdc\xe0\x62\x66\xe3\xb6\x80\x77\xa5\x58\x2a\x22\x8e\xc5\x34\x3a\x36\x81\x20\xc7\xfa\xfb\x43\xdb\xe9\x21\x9f\x1e\x7a\x08\xd4\x43\x8b\x06\x79\x94\xc6\xeb\x25\x34\x97\x48\xcf\x84\x4d\xd9\x80\x6b\x09\xc1\xd9\x06\xfa\x84\x4f\x3d\xd8\xb5\x89\xab\x37\xb8\xf8\x7c\xda\xf0\x07\xd4\x76\xfd\xca\x03\x2e\x61\xe9\xfa\x28\x10\x50\xda\x8f\xe6\x6e\xd0\x90\x1d\x89\x3c\xa7\xda\xe6\x78\x49\x28\x9c\xad\xb3\xf0\xcd\x87\xad\x08\x7b\x37\xf9\xdf\xb6\x38\xa8\x41\x93\xe5\x8c\xf0\x29\x44\x0d\x81\x5c\xe0\xbc\xa2\x60\x1b\x62\x5c\x05\xb9\xde\x82\x64\xe6\x82\x09\x8b\x89\x36\x2c\xf7\x96\x88\xca\xab\xd6\xf9\x39\x10\x95\xb7\x5d\x77\xcb\x50\x5e\x69\xc1\xb7\x0d\x5d\x32\x47\x69\x1d\x2f\xae\x7e\x7f\xa5\xc7\xc6\xf3\x01\x70\xd1\x84\xf5\x3b\x0d\xb6\x11\x24\x2b\x90\x43\xc5\x0f\x01\x24\x03\xa0\x17\x0c\xc6\x79\x9b\x1b\x17\x3c\x5d\xeb\x5c\x93\xfa\xfd\x0e\xe3\x34\xee\xcf\x4f\xc1\x40\xad\x4c\x62\xab\x65\xdb\x10\x10\xca\x18\x11\xd6\x86\xbf\xf2\x46\x5d\xd3\x0f\x16\x6e\xe5\xf2\x08\x90\x42\x2e\x0f\xf1\xa7\x7d\xfc\x2f\x0e\x98\xc0\x11\x82\x2c\x8c\x39\x4f\xb9\x16\x67\x78\x2e\x83\x87\x26\x8b\x07\x2e\xe1\x56\xd9\x2b\xc5\x99\x01\xc5\x7a\xbd\xd9\xe8\xa3\xa5\x1f\x19\x13\x47\xf8\xd2\x5a\x90\xfe\x93\x32\x88\xf9\x8a\xf1\x7b\xf4\xe9\xe5\x74\x03\x5e\xd6\x14\x4c\xca\x50\xf1\xcb\x62\xca\xd2\xdf\xb4\x06\xa3\x49\xca\x67\xcc\xf8\x9b\xdb\x04\x05\x18\xec\xb7\x10\x5e\xd2\x49\xf3\xad\xd9\x99\x79\xba\xe6\x1e\xf8\xa0\xc6\x2e\x1b\x80\x99\x09\xf3\x73\xf1\x7d\x87\x8d\x01\x7e\x6d\xe7\xd2\xd5\xd7\x8a\xc7\x0e\x9f\x70\xbd\xa1\xde\xfa\x06\x2c\x14\x61\x7d\xdc\x05\xbc\x0b\x44\x83\x9a\x35\x36\x0c\xc1\xc9\x16\x2d\x4e\x7e\xb6\xfe\x61\x84\x82\x0e\xeb\xac\x1d\x74\x62\x88\xb3\xb6\x82\xc1\x59\x68\x5b\xc0\xf5\x0c\x0e\xcb\xf4\xf7\xa6\xf0\x61\x83\x88\x55\x64\x0b\xe8\x51\xd6\x94\x47\xff\xe1\x63\x51\x4c\x70\x91\x91\x03\x34\xc9\xe1\xf9\xe5\xd5\x5d\xe8\x1d\xfe\xff\xd8\xfb\xb6\xe6\x36\x72\x24\xdd\xf7\xf9\x15\x88\x38\x0f\xb6\x4f\x50\xd2\x5c\x62\x23\x26\x1c\xb1\x0f\x6c\x49\x9e\xe6\xb4\x2c\x69\x74\x69\xf7\x9e\xe5\x06\x0d\x56\x81\x24\x56\x45\x80\xae\x8b\x64\xee\xce\xfc\xf7\x13\xc8\x4c\x5c\xea\xca\x2a\x92\x72\x7b\x67\xfb\x61\xa6\xbb\x45\x12\x85\xc2\x25\x91\xc8\xfc\xf2\xfb\x24\xbe\xed\x49\xb4\x12\xd1\x13\x14\x0e\xe2\x91\x87\x9b\xc1\x0a\x49\xce\xb7\x53\xe5\xa5\x86\x72\x6d\x53\x9d\x5b\xc7\xbe\xec\x18\xc8\x75\xca\x62\x99\x6d\x12\xbe\x85\xa4\x92\x42\x5c\xb0\x4f\x48\x39\x40\xbd\x31\x05\xbb\xa2\x67\xfd\x67\xda\xcc\x8a\x97\xc8\x1f\x3c\x96\x3c\x9d\xcb\x3c\xe5\xe9\x96\xf9\xc1\xac\xdb\x03\x96\x89\x35\x57\xb9\x8c\xa6\x6a\x2d\xb8\x0a\x51\x40\x94\x54\x33\x83\x1c\x6b\x41\xfc\xa4\x8b\x85\x88\x72\x4f\x70\x06\xce\xbb\x1b\xa9\x5d\x7b\x70\xd8\xbb\xbb\x9d\xd7\xf9\xea\x3f\x4a\x85\xe5\xb4\x72\x0d\x18\x33\x5a\x43\x74\x34\xee\x19\xca\x06\x69\x2a\x3a\x72\xed\x65\x10\xfe\xcb\xae\x29\xa7\xef\xed\x0a\x8e\x9a\x7c\xfc\x83\xe9\xc9\x0f\x13\x71\x6b\x96\xbf\x0b\x90\x27\xb8\xc1\x42\xf0\x8a\x23\x1a\x51\x15\xc6\x90\x37\x54\x02\x05\xd1\x9e\x37\x04\x7f\x7f\x03\xc7\xb4\xb9\x3d\xa6\xcf\x22\x9e\xaa\x32\x8d\x0b\xf9\x8c\x7e\xc3\x31\x2f\xbc\x73\x1c\x6b\x63\xc7\xb8\x57\x64\xf3\x12\x4a\xd7\x3d\x69\x9d\x2b\xf2\xe9\x10\x02\x6a\x56\x8e\x7e\x05\x8d\x99\xde\x21\x6f\xaf\xcd\x43\xc2\x1a\xa4\xc3\x55\xca\x2e\xbb\x45\xe9\x48\x2a\x90\xc1\xca\x01\xee\xa8\x18\xa2\x56\xf1\xdb\xd4\xc6\x54\xd9\xea\xcd\x45\x91\x20\x2b\x61\x9b\x34\x11\x71\xd6\x58\xa4\xf9\xaf\x57\x71\xe0\xe2\x6a\x2c\xd0\x32\x72\x49\xe0\x00\xfc\xe8\xa4\xfc\x61\xe9\x0a\x95\xa1\xae\xa0\x95\x31\x81\x02\xec\xa5\xc8\xe1\x34\x8f\x8b\x04\x8b\x11\x21\xbd\x0f\xfc\x37\x3c\x49\x98\xcc\xb3\xa9\x72\x74\x3d\x48\xbe\x0c\x16\xd6\x02\x17\x63\xba\x72\xc1\x23\xa0\x59\x92\x60\x05\x3f\x4c\x46\x32\xaf\x41\x46\xb7\x21\xf5\xff\x66\x23\x38\xd6\xce\xe0\xb4\x4d\x55\x78\xe7\xaa\x4e\x02\x15\x9a\x80\xd4\xe4\x31\x6a\x3e\x3a\x10\xc0\xa0\xcf\x39\x78\x4a\x4e\xd9\x18\xdf\xce\x5c\xb8\xac\xaa\x1f\xf6\x96\xea\x75\x09\xd9\x65\x6e\x35\x79\xe6\x04\xee\xdd\xbd\x75\xc3\xd3\x5c\x46\x45\xc2\xd3\x04\x38\xb0\x17\x45\xc2\xe4\x22\x10\x28\x84\x39\x40\xb2\x16\x33\x5d\x91\x86\xb3\xda\x66\x84\x32\xbe\x16\x41\x9d\x28\x85\x77\x92\x20\xa3\x8c\x0c\xb4\x98\xaa\x34\x6d\xbd\x3b\x65\x17\x55\xa1\x50\xd8\x13\x01\xc9\x9b\xcc\xd0\xfc\xb9\xfe\x06\x25\x4e\x28\x38\x2a\x17\xe6\x4a\xf9\x26\xd8\x75\x6d\x92\xdb\x3c\x7b\x1a\x98\xae\xb6\x54\xe1\xdd\x28\xc5\xc6\x12\xc7\x07\x90\x65\x2e\x25\xb1\xdd\x86\x68\xe9\xa0\x3d\x15\x06\x76\x32\x24\xc8\xdb\xa3\xa3\x9f\x02\xdd\xe3\x6a\x67\xd7\x1d\x7a\x88\x30\x8f\x03\xbb\x1a\xa8\x8b\x0c\xef\x68\xb0\x72\x42\x70\x42\x9f\x91\x5d\xf2\x7c\x28\x52\xc1\x81\xff\x87\x77\xb4\x11\x15\xd2\xda\xcd\xdd\x91\xa6\x4f\x25\x39\x12\x66\x7a\x65\x6e\xf9\x02\x51\x37\x7a\x11\x98\x60\x3a\x6f\x48\xb7\x04\xa8\xa0\x9d\x4d\x98\x0b\x96\x48\xf5\x64\x0b\xbf\xcd\x02\x1d\x31\xee\x5b\x07\x1b\x81\x83\x8c\x7b\xae\xc5\xf3\x6a\x22\x4e\x3f\xc0\x19\xeb\x57\x3e\xd5\x7c\x43\xb6\x3d\x19\xc4\x8d\x6f\x5f\xb8\xe9\x3d\xfa\x4f\x4b\x27\xce\xd3\xdd\x79\x2c\xb8\x13\x8f\xc1\x00\x71\x16\x88\x5b\xb7\x8e\xef\xed\xaa\x8c\x60\x1a\x20\x33\xf2\x78\x7d\x71\xf9\x61\x72\x5d\xd6\x06\xf9\xdb\xe3\xe5\x63\xf9\x2f\x77\x8f\xd7\xd7\x93\xeb\xbf\x84\x7f\xba\x7f\x3c\x3f\xbf\xbc\xbc\x28\x7f\xef\xc3\x78\x72\x55\xf9\x9e\xf9\x53\xf9\x4b\xe3\x1f\x6e\xee\x2a\x6a\x24\x56\x4a\x24\xf8\xd3\xc3\xe4\xe3\xe5\xc5\xec\xe6\xb1\x24\x68\x72\xf1\x6f\xd7\xe3\x8f\x93\xf3\x59\x43\x7f\xee\x2e\xcf\x6f\x7e\xbe\xbc\xdb\xa1\x47\xe2\xdf\xb7\x71\x48\x8f\x01\x3d\xd9\x5b\x9d\x66\xcc\x16\xa9\x14\x2a\x4e\xb6\x88\x8c\xb5\xf7\xc0\x0a\x10\x2f\x3c\xa9\xe4\x5a\xe8\xe2\x10\x80\xeb\xc3\x4a\x30\xfd\x2c\x52\xa8\x51\xc7\xd6\xa8\xa0\x8d\x67\x4f\xad\x0c\x66\x79\x5a\x8f\xa1\x77\xe2\xf8\xf3\x74\xeb\x2a\x45\xba\xba\xe3\xf9\x4d\xe8\x21\x6c\x23\xd2\xae\xbe\x80\x1f\x91\x16\x9b\x5c\xce\xdb\x21\xcb\x3d\x79\x3f\x86\xdf\x54\x91\x8d\xab\x99\xba\xe0\xba\xd9\x30\x96\x90\xbb\x87\x80\x16\xa1\x85\x7d\x45\x97\xdc\xaf\x2d\xd0\x6b\x53\xcc\x13\x19\x31\x19\x57\xa3\x0f\x58\x60\x82\x01\xd6\x2a\x69\xdf\x46\xa4\xe0\xd8\x19\x7f\x79\x93\x8a\x13\x5e\xe4\x2b\xab\x07\xed\xea\x8c\x90\x44\x4f\x44\xa9\xc8\x03\xed\x72\x52\xdb\x09\x9e\x04\x9d\xa1\xfa\xca\x18\xa8\x1c\x4e\x03\x02\xe5\x96\x88\x3a\xfe\x12\x5b\x1f\x10\x52\xc4\xef\x77\x0e\x0d\xf5\x58\x66\x55\xa9\x55\x70\x61\xf1\x43\xab\xd9\x63\xde\xdb\x58\x6a\xa7\x59\x83\x93\x6c\x91\xd5\xcd\xaf\xb1\x6b\x8d\x85\x0b\xa5\x0c\x84\xa6\xd6\xe9\xa3\xf3\x54\xc0\x21\x42\x89\x73\x7b\xdb\x07\xa0\x07\x21\xb1\x01\x80\x6d\x2e\x36\x73\xb1\xe2\xc9\x02\x63\x78\x66\x6a\xfc\xbe\xaa\x2f\xd1\x07\xfd\x24\xd4\x1d\x4e\xd8\xaf\x62\x0e\x15\xde\x13\x7c\xc5\xad\x8b\x9f\xf8\x80\x9f\xe9\xa3\x5d\x55\xb6\x12\x05\x25\xcb\xd1\xab\x0e\x3e\x46\x38\xb8\xe7\xd3\xb4\x45\x2c\x8b\x85\xfc\x6a\x1a\x9c\x2a\xd1\xc8\x28\x08\xe8\x1a\xcb\x7d\xe2\xec\x32\x30\x6a\x21\x81\xc4\x93\x50\xa0\xf6\x83\x62\xa0\x3b\xd7\xec\xb0\x68\x73\x7d\x2e\x3a\xc2\xdf\x10\x21\x93\x25\x11\xa4\x30\x27\x62\xc7\x09\x4a\xce\x9e\xc4\x29\xbb\xa0\xb2\x78\xf3\x97\xf3\xab\xc9\xe5\xf5\xc3\xec\xfc\xee\xf2\xe2\xf2\xfa\x61\x32\xbe\xba\xef\xbb\xfd\x8e\x51\xb5\x50\xd9\x7d\xd5\xc2\x11\x67\x21\xce\x68\xe7\xf9\xe2\x39\xf7\x52\x7e\xdb\xc1\x94\xec\xee\xbd\x8c\x37\xb3\x58\x66\x91\x39\xfe\xb6\x33\xa1\x62\xa0\x62\xdd\x6b\xa9\x36\x37\x55\x7d\x0b\xf7\x0d\xe6\xbe\x61\x2d\x08\x9e\x76\xcf\x76\x45\xbb\xcf\x81\xab\x0d\x82\x76\xa9\x30\x9b\x3f\x9e\xaa\xe0\xb4\x39\xdd\xcd\xbf\x6f\x9a\x3b\xec\xdd\xca\x4d\x54\xdf\x09\xfb\x2b\xb3\xac\xe0\xc6\x3e\xda\xaf\x01\x1b\x43\xcb\xa8\x10\x3f\x56\xc8\x07\x2b\x03\x2d\x43\x66\x6e\xf2\x6b\xae\x62\x9e\xeb\x74\xdb\xf2\x8a\xfd\x8c\x67\xb8\x6d\xca\x26\x34\x3c\xb2\x95\x10\xb1\x9d\x05\xfc\x2a\x57\xd5\xa5\x84\xac\xb1\x0f\x37\x3f\x5d\x5e\xdf\xcf\x2e\xaf\x7f\x9e\xdd\xde\x5d\x7e\x98\xfc\xe2\xa8\x6f\x36\x3c\x6b\xd2\x2e\xdb\xa4\xc2\x58\x17\x5b\x84\xdf\x68\x5f\x50\x50\xcc\xb6\x43\x22\x32\x72\x31\x55\xd6\xb2\xa4\xbe\xf9\x55\xaa\x8b\xe5\xaa\xb9\xa1\x6a\x2f\x6f\xc7\x0f\x3f\xee\xd5\x4d\xa0\x48\x41\xd5\x21\xdc\x6d\x75\x1e\x41\xb9\x20\xbb\x87\xe4\x83\x95\xee\x01\xd1\x0f\x7c\xb5\x29\x26\xdf\x62\xd1\xf6\xba\xbd\xd4\x8d\x56\xa7\xf3\xdf\xf0\xf5\xb6\x05\xf4\x10\xd8\xcd\xd2\x31\x02\x08\x56\x14\xaf\xab\xb5\xf6\xbe\xe1\x6f\xa5\x13\xec\x8f\x27\x89\x58\x2e\x45\x8c\xcb\xab\xda\x30\x45\xac\xc8\x04\x46\xfe\x5c\x6f\x1a\x45\x92\x97\x3a\xe0\x60\x76\xe8\xa8\xfe\x06\xfc\xd6\xfd\xa4\xd9\x56\x9c\x5b\x09\xdb\x48\xab\x2c\xe7\xaa\x25\xed\xfa\x5c\xc7\x33\xf6\x32\x45\x37\x29\x73\x85\x13\x14\x20\xb1\x01\x76\xbf\x0f\xf6\x49\x38\x91\x8c\x96\xa2\x88\x47\x20\xaf\x15\x68\xee\x36\x4c\x02\x44\x1a\xef\xac\x45\x7c\xfd\xe0\x46\xe7\xd5\x89\x78\x61\x20\x30\x8a\x3a\x26\x44\x59\x8a\xd1\x20\x10\x07\x6a\x85\xd1\x0e\x9a\x90\xca\x93\x7f\xa6\xa1\xc7\x5b\x6b\x39\x30\xcb\x2d\xf3\x92\x9b\x20\xe7\xbc\x0d\x8f\x6f\x95\xfc\x70\xdf\xf2\x26\xd5\x71\x11\x59\x6e\x0a\x68\xd6\xe3\x41\x28\xa0\x65\x0f\xd8\x98\x9d\x98\x69\xa6\x4b\x8a\x88\x4f\x80\xe1\x63\xaa\xda\x92\x2f\xd6\x06\xb4\x84\xb9\x6e\xed\xa9\x75\xc8\xdc\x37\x8c\x7e\xfb\x16\xb4\x83\xdd\xaf\xfe\x8c\xd9\xaf\x83\xb3\xd7\x02\xa7\xa1\x79\x99\x73\xcc\xac\x96\x8f\xe3\xb6\x52\x74\x67\x55\x87\xa1\x7e\xfa\x81\x26\xca\xd4\x4e\x78\x44\xae\x78\x86\x9e\x6b\x1e\xad\xca\x1d\x87\xb7\x29\xd3\x37\x55\xbb\xeb\x3c\xc1\xc3\x22\x04\xbd\xf2\x2b\x23\xbc\x53\xcb\x8c\x7a\x1f\x4a\xf1\x38\x5d\xb1\x61\x0b\x3f\x74\x8e\xdc\xe5\x05\xed\x1e\x18\xac\x84\x17\x2a\x5a\xb1\x4d\xc2\xb1\xe6\x72\xc5\x33\x5c\xd2\x16\x64\xc0\xe7\x32\x91\x39\xd0\x45\x60\xee\xab\x32\xc2\xe6\x46\xc3\xd3\x27\xcb\xd0\xc8\x3d\x37\x48\xd7\xa2\x3f\x10\xcc\xe9\xe5\xab\xbf\x25\x9c\xd3\x6f\xd9\xe0\x17\x9d\x99\x33\xbf\x2c\x09\xca\xe9\xa7\xc3\x58\x3c\x58\x96\xfe\x5d\x86\xcd\x2c\xb5\x78\x5b\xfd\x79\x69\xbc\x1b\x0e\xea\xe1\x50\x06\xa2\x1e\x1e\x60\xe6\xab\xc4\xc4\x8d\x3b\x6b\x91\x68\xde\x22\x8e\x69\xdb\x46\x9e\xe1\xb6\xb6\x63\x5d\xcc\xdb\x98\x2d\xb1\x57\xdd\xad\x77\xc5\xfd\xed\xbe\x3d\x56\x5c\x30\x34\x80\x3c\x17\xb9\x1c\x16\xda\x08\x5e\x9a\xe7\xe2\x04\x7e\xde\xdc\x38\xb1\xfe\xf4\x7e\xe7\xda\x42\xf3\x6c\xf7\x8e\x3f\x13\x40\x66\xf5\xd5\xf5\xb7\x82\x1b\xd3\x70\xb3\xb8\x47\xfe\x82\x43\x16\x59\x2e\xeb\x2b\xac\x79\x27\x56\x9f\xfa\x50\x4e\xaa\x84\x6b\xa0\x77\xed\x5a\xd3\xdb\xdc\x9b\x5f\xf7\xdf\x90\x65\x05\xe9\x4d\x2a\x35\xb0\x0c\x90\x6e\x75\x07\x05\x58\xe3\x73\x0f\x18\xc9\x2f\x85\x28\x84\x59\xfb\xf3\x22\x5e\xd6\x63\x9b\x03\xbc\x33\xff\x4a\x2b\xfd\xc2\xd6\x45\xb4\x62\xb6\x71\x16\x8b\x84\x6f\x4b\xaf\x06\xfe\x52\xae\x13\x20\xd5\xdc\x93\xe1\x2f\x2a\xb2\x5c\xaf\x01\x84\xe9\xdb\x4d\x0b\x05\x0b\x9e\xf1\x3c\x4f\xe5\xbc\xc8\x1b\x01\x5b\x25\xc6\x9f\x3d\x13\x5a\xf7\xb7\x97\xe7\x93\x0f\x93\x4a\x36\x69\x7c\xff\x53\xf8\xdf\x9f\x6e\xee\x7e\xfa\x70\x75\xf3\x29\xfc\xdb\xd5\xf8\xf1\xfa\xfc\xc7\xd9\xed\xd5\xf8\xba\x94\x73\x1a\x3f\x8c\xef\x2f\x1f\x76\xa4\x95\xea\x4f\x6d\x9f\x08\x1e\x10\x12\x59\x58\xa8\x65\x66\xb5\xb7\x4b\x7a\xea\x7b\x36\xb6\xf4\x4c\x25\x02\x31\x9b\x1a\x84\xcc\x3b\xea\x94\x52\x06\xf1\x82\xe7\x9c\x74\x9f\x4f\xd9\x98\x59\xfd\x6e\x00\x43\x67\xc6\x59\x20\xee\x1a\x33\x3b\xd8\x84\xf1\x18\x22\x7f\x73\xf3\xd2\x53\x7a\x41\xac\x51\x89\x08\x49\x8a\x6d\xe5\xcf\x54\x5d\x3e\x0b\x95\x17\xc0\xa0\xca\x93\xc4\xea\xac\xdb\x2f\x04\x35\x9e\xb6\x97\x99\x5c\xcb\x84\xa7\x5e\x25\xe8\x86\xda\x02\x87\xdd\xf6\xd5\x51\x7a\xd4\xa5\x23\xec\xe5\xe1\x71\xc2\xa0\xdf\xe7\x57\x13\x70\x81\xa2\xdc\x52\xe0\xdb\x87\x4f\x15\xb2\x12\xd1\x13\xd7\x1c\x00\xfa\xb9\xa6\x78\x1a\x3e\x9e\xbe\xdc\xbe\x10\xb3\x43\x36\xb1\x8d\x3c\xbf\x16\x08\xc8\x75\xd2\xfe\xcb\xa5\xca\xd3\x6d\x6f\xbf\xe6\x01\x38\x54\x33\xf0\x4d\x09\xef\x53\x56\x0e\xc2\x70\x07\xb3\xad\x5f\x83\xb3\x63\xc1\x68\x14\x8d\x77\x41\x77\x01\x3c\xad\x2d\xfe\x77\x62\x0e\xa1\xef\x75\x1c\x42\x0a\x05\x18\x85\xb9\x2e\x54\x9c\x11\x32\x69\x2d\xd5\xd9\x9a\x7f\x7d\x67\xdf\x14\x4b\x92\x1d\x7f\x37\xd0\xcd\x88\xc4\xdc\x44\xb6\xc6\xc8\x75\x0f\xd7\x54\x75\x8c\xd7\x6e\x6f\xd1\x5a\x56\xb8\xf6\xf8\x3b\x2a\x62\xac\x9e\xc5\xb6\x69\xfe\x6a\x1a\x0c\x88\xe3\xa2\x0d\x0f\x8d\x6c\x52\x61\xbe\xe8\x00\x5c\x09\xe2\xf2\xdc\x7f\x03\x50\xbb\xa4\x13\xd5\x6c\xbb\xc3\x2c\xef\x41\xdb\xa6\x31\xbf\xfc\x0a\x22\x1a\xf4\x24\x33\x67\x98\x6d\xb6\x81\x4e\x02\xa6\x53\x1a\xcd\x4c\xd6\x7f\xea\x39\x5b\x40\x95\x06\xe9\xc0\xa6\x02\x02\xdb\x30\x15\x96\xf5\x15\x48\x49\x6a\x29\x6c\xbb\x04\x12\x91\x41\xb8\x57\x99\xeb\x96\xf8\x52\x50\xc6\xee\x0f\xbf\x1f\x76\xce\xe6\xe9\x96\x59\x86\xf1\xb0\x4a\x84\x8a\xa4\xe8\xcc\x85\x7e\x15\x4a\x36\x31\x15\xdd\x15\xca\x1c\xc5\xc7\x00\x3b\xf4\xcf\x66\x55\x1e\x4a\xff\xb9\xb3\x90\xc2\x06\x62\x53\xfc\xfe\xab\x51\xbb\xfd\x5c\x61\x74\xa3\xc7\x01\x6c\x97\x5a\x0f\x0f\xb4\x39\x8f\x9e\x5e\x78\x1a\x63\xac\x10\xd0\x07\xa7\xec\x47\xfd\x22\x9e\x45\x3a\x62\x91\x48\x73\x4e\x64\x2f\x19\xa4\x5f\x61\x43\x51\x3b\x53\x05\x28\x76\x64\xce\x51\x20\xa1\x9b\xcb\xe5\xca\xdc\x27\x83\xe4\xb9\x4e\x8d\x39\xca\x91\x49\x6b\x23\x22\xa2\xd7\x68\x19\x80\x45\xc2\x9f\xeb\xec\x35\xfb\x54\xc2\xb3\x89\x2b\xc5\xb3\xd9\x29\xcb\xa4\xdd\x05\x77\xa0\x01\x23\xa3\x89\x84\x08\x23\xb6\xd4\x09\x57\xcb\xd3\xd3\x53\x26\xf2\xe8\xf4\xdd\xa0\x85\x4e\x0d\x86\xf9\x2e\x07\x41\x4d\xb4\xce\x44\xb2\x75\x94\x10\xae\x48\xc0\x0c\x33\xd4\x88\x64\x12\x43\x1e\x0d\xcb\xff\xbe\x5a\x51\xff\x6d\x43\xe7\xcd\x37\xd5\xc1\x25\x68\x2d\xed\x80\x30\xc7\x80\x96\xf0\xfb\xcd\x37\xaf\xbd\x4a\x2a\x5b\x58\x1f\xb5\x1a\x5a\x27\xf8\xb3\x6e\x93\x99\xdd\x8b\xa9\xa9\xb1\x25\x22\x72\xd8\xab\xb6\xaa\x2d\x62\x51\x29\x77\x3b\xa0\xd2\xad\xa3\x68\x6d\x60\xbd\x5a\xc3\xbe\x6b\xd8\x16\x95\xe9\x1e\xbc\x2d\x76\x73\x85\x37\xbe\xd0\xc0\x7a\x40\x5f\xb8\x3b\xc4\x75\xc2\x92\xa2\x64\x0b\x37\x2e\x57\x1d\x08\x91\xe5\x38\x88\x8c\x97\x02\xff\x50\xa7\xe2\x33\x07\x8e\x0b\x3c\x48\x14\x64\xb9\x4e\xf9\x52\xb0\xb5\x88\x65\xb1\x6e\x34\x36\xae\xbb\x87\xa0\xbd\x74\x52\xac\xdb\x89\x9f\x0e\x75\xa0\x7d\x27\xf1\xdf\xce\xe1\x71\xbd\x1d\x68\x2f\xa8\x6c\x25\x1b\xa8\xbf\x18\x06\xa7\xb1\x36\x27\x65\x2a\x33\xa0\x28\xdb\xa7\x2c\xcc\x35\x83\x4d\x43\xb6\x6e\xbb\xc1\xf0\x6b\x69\x76\x4f\x6c\x76\x87\x7e\x92\xe1\xac\x42\x8a\xaf\xfd\x50\xa8\x62\xc8\x06\xcf\x11\x08\x02\xec\x95\xd7\x04\xb7\x31\xa0\xe6\x25\x90\x0b\x34\x48\x99\xf8\x5c\xb3\x85\x2d\x34\x7a\x12\x81\x84\x61\x0c\xa4\xbd\x2f\xc8\x03\xf2\xd3\x9f\x33\x9b\xb3\x27\x58\x85\xf7\x58\x72\xff\x10\xcc\x0d\x3c\xff\xc1\xa2\x69\xf0\x0d\xb1\x09\x50\x05\x8a\xb9\xca\x1b\x1b\xf0\x60\x33\x68\x0b\x7f\xf2\x33\x2f\x92\xe6\xaf\x53\xfb\xf0\x55\x14\x00\x19\x7f\xba\x67\x38\xd4\x44\xef\x9a\x76\x75\x34\x68\x64\x37\x9e\x07\x86\x6b\xb6\x87\x27\x58\x9a\x07\x1c\x74\xcb\xef\x6b\x86\x5d\xe4\xd1\xca\x7b\x1e\x65\x25\x4f\x52\x77\xa2\xf7\x5c\x7b\xc2\x5a\x84\x4a\x86\x98\x33\xb9\x54\x3a\xe4\x5a\xd7\x4a\x40\x92\xc6\x18\x20\x1d\x36\xcb\x64\xbe\x1b\xd8\x33\x90\x55\x69\xd7\x52\xcb\x35\x02\x36\xe8\x3d\x4b\xb9\x36\xb8\x52\x48\xe4\x62\xb1\xa8\x48\xbc\x13\x91\x58\x50\x95\x66\xb5\x5c\xdd\x3e\x55\xe5\x47\xd5\x06\xc9\x22\x6f\x64\x2a\x90\x1d\x31\x33\xde\x5b\x2e\x9f\xcd\x46\xad\x2f\x6b\xb7\x40\xc1\x02\xd4\xd7\xde\x54\x61\xb7\x03\x8a\xc5\x27\xb1\xcd\x42\x65\x22\x5a\x51\xac\x6d\x41\x4a\xf3\x3e\x34\x5f\xbb\xa7\x02\x06\x6e\x16\x28\x2d\xf7\x3b\xcb\xf0\xa1\x1f\xcd\x8f\x3b\x20\x7d\xb5\xc6\xcd\x1a\xf4\x95\x5c\x3e\xa6\x48\x66\xc2\x8f\x33\xcd\xa1\x47\xed\x34\xa8\x70\xfb\xf0\x2c\x5c\x7c\xcd\xfd\x76\xaa\x88\x85\x35\x38\xe4\x8c\xc1\xa9\x4f\x1b\x95\x97\x22\xf7\xe3\xb6\x44\x8d\x01\x0c\xb9\x56\x2e\xb6\x59\xfc\xdc\x0a\xdb\x4d\x15\xc9\x87\x83\xfe\x37\xc5\xf0\x1a\x1f\xb8\x27\x14\x8c\x26\xb7\x15\xfe\xe5\xaf\x30\x34\x70\xc4\x8e\x86\x12\x57\x78\xfb\x89\x84\x19\xbe\xb1\x6a\x44\x5e\x59\xdc\xd5\xfd\xe5\xf9\xdd\xe5\xc3\x37\x83\x87\x59\x6c\xd6\x60\x7c\x98\xed\xe7\xc5\xe5\x87\xf1\xe3\xd5\xc3\xec\x62\x72\xf7\x1a\x00\x31\xfa\x68\x0f\x84\xd8\x3d\x91\x3b\x9f\x6b\x95\x8b\xaf\x07\x9d\xc9\x69\xa1\x66\x7c\x40\xa5\x82\x23\x50\xef\x72\x77\xb0\xd1\x3a\x39\xb5\x63\x8e\x26\x6e\x3e\x3c\xd1\x1c\x17\x75\xa0\x66\xbf\x90\x49\x02\x65\x8e\x2e\xbc\x4e\x45\x41\x66\x50\xc1\xfe\x58\x59\x5e\xb2\xa9\x53\x35\x2f\xb1\x73\x43\xc8\x6f\x65\x2e\xc1\x58\xe0\xb8\x31\x03\x90\x4a\x28\x1f\xeb\xe2\xaf\x5e\x4a\x25\x7c\x37\x50\x8e\xb2\x50\xac\x95\x74\x94\x26\xf1\x35\xab\x58\xc9\xf1\xea\xeb\x6b\xda\x15\x57\x5a\x9f\xd6\xfd\xb4\x1f\xba\x37\xc4\x4d\x2c\x15\x3a\xa6\xa5\xdd\x7c\xdf\xbc\x74\xcf\xfc\x16\x80\x71\x37\x33\xc9\x21\x07\x01\x8a\x8f\x7e\x22\x69\x22\x50\x39\xc2\x27\x27\x9e\x24\xa2\x68\xf4\xa2\x32\xce\xc6\x14\x9a\xb1\x96\x90\xa9\xe0\xc4\xdc\x10\x25\x45\x96\x8b\x94\xc2\x26\xe3\x4f\xf7\x53\x85\xb2\xe0\x74\x0a\x91\xba\x00\x3e\x02\x31\x1c\xba\xf4\x7c\xeb\xa1\x84\x16\xec\x2d\xc6\xa8\xd7\x82\xab\x0c\xd5\x78\x93\x44\xa4\x7e\x65\x60\x7f\x84\x88\x49\x91\x09\x24\x9b\xfd\xef\x49\x90\x55\xc3\xae\x35\xfd\xa5\x4f\x49\x92\xb4\xba\x9e\xda\xaa\x68\x01\x20\xfa\x9a\x2b\xa7\xa1\x4e\xa1\xef\x2a\x22\x6c\x6d\xe3\x22\x2a\x57\x0d\xf4\x5a\x4b\x0f\xd8\xdc\x6f\x4b\xe9\x88\x4b\xa9\xc7\xb9\x1e\x9e\x12\x6c\xa5\x8d\x01\x75\xc2\x00\x3e\xcd\xec\xaa\xf8\x13\xc0\x3f\x99\x61\x6c\x3c\x75\x2a\xf2\x53\x07\x9c\x3a\xa8\x37\x75\x18\x9c\x73\xdc\x40\x17\xe2\x75\x4e\x6c\x6e\xa7\x53\xd9\xea\x75\x68\xb9\xc6\x16\x6f\xa7\x74\x6e\x0b\xec\x1d\xc4\x8d\xf0\x7a\xe6\x0b\x8e\xd9\xa1\xb3\x8f\xc4\x96\x60\xbd\x94\xd9\x81\xea\x30\x0f\x21\x2e\xb0\x54\x44\x89\xbd\x08\x05\x26\x09\x41\xec\x09\x0e\x86\x2c\xbe\xfd\xf5\xc7\xca\x6b\xce\x91\xe5\xed\x05\x76\xb8\xbe\xb9\xbe\x0c\xa1\x0a\x93\xeb\x87\xcb\xbf\x5c\xde\x95\xca\x6f\xaf\x6e\xc6\xa5\x12\xda\xfb\x87\xbb\x4a\xe5\xec\x0f\x37\x37\x57\x97\x35\xcc\xc3\xe5\xc3\xe4\x63\xa9\xf1\x8b\xc7\xbb\xf1\xc3\xe4\xa6\xf4\xbd\x1f\x26\xd7\xe3\xbb\x7f\x0b\xff\x72\x79\x77\x77\x73\x57\x79\xde\xe3\x79\x37\x7a\xa2\xf4\x1a\xcd\xe1\x1f\x9f\x9c\x0d\x78\x03\x1b\xb7\x71\x59\x9f\xed\x80\x5d\xdc\x13\x84\xb5\x6b\x39\xda\xea\x5a\xdb\x5c\xb0\x31\x4c\x57\x07\xad\xba\xe3\x0b\xca\x95\x86\xee\xcb\x61\x44\xc5\x39\xcf\x1b\xef\xbf\xbd\x03\x13\x24\xe0\xfc\xa5\x10\xe9\x96\x78\x5e\xf0\xd2\x88\x7f\x89\xb8\x42\xf4\x6a\x2e\xd6\x1b\xa8\x86\x0a\x61\x97\x53\xf5\x09\x32\x56\x88\xec\x78\x93\xb1\xbf\x40\xee\xc9\x7e\xd9\x0b\x9d\xc3\xa0\xfc\x0d\x9f\xe1\x3e\x3b\x9d\xaa\x92\x40\x74\xf0\xab\x58\x47\x85\x8b\x66\x9c\x4e\x95\xe5\xd2\x8d\x75\x94\x9d\xc2\xd1\x7b\xaa\xd3\xe5\x19\xa9\x5e\x19\x63\xaa\x9f\xe6\x5a\x3f\x9d\x09\x75\x06\x97\x83\xfc\x8c\x17\xb9\x3e\x83\xbc\x35\x0e\x7e\x76\x66\xc5\x71\xac\xba\x50\x76\xb6\x92\xcf\x02\xfe\xef\x74\x95\xaf\x93\xff\x93\x6d\x56\x5f\x4f\x96\x49\x7a\x62\x7e\x7b\x12\xfe\xf6\xc4\xfe\xf6\xc4\xfe\xf6\xc4\xfc\x0c\xff\x6f\xb3\xc5\x38\x9b\x20\x75\xfe\xa9\x92\x2a\x13\x69\x0e\xcb\xf0\x25\x95\xb9\xf0\xca\xeb\xec\xcd\x7f\xff\x37\x3b\x4d\xf9\x0b\xd6\x31\x5c\xf0\x9c\xdf\xe2\x45\xef\x1f\xff\x78\x03\x91\x6d\x04\x1a\x6f\x78\xfa\xa5\x10\xb9\xb9\x72\x26\x22\xca\xd9\xff\x9d\x2a\x08\x85\xaf\xb7\xb3\x1c\x2f\xc0\x78\x19\x8c\x33\xf6\xaf\xd8\xe6\x04\x39\x8f\xe2\xcc\xb4\xd4\x02\x71\x94\x3c\x69\xd0\x53\x6b\x89\x95\x7c\x49\x2e\xe8\xfb\x03\x76\xcb\x97\xa4\xbc\x45\x2c\x6b\x77\xf6\x25\x01\x62\xad\x44\x73\x9b\x35\x67\x6e\xf1\x82\xc3\x42\x9d\x6b\xda\x23\xb5\x1c\xcd\xab\xe6\x4b\x9a\xf7\xca\x3d\xf2\x2e\xda\x10\x4a\x4d\x2d\x0c\x82\x36\x3e\x20\x04\x69\x0c\x69\x76\xc8\x3d\x5e\x49\x51\xbb\x1e\xde\x1c\x8c\x03\xe5\x30\x5c\x7b\xe8\x41\x66\x7f\x7a\x7f\x76\x36\x62\xcb\x0c\xfe\x31\xff\x02\xff\x80\x34\xee\xb1\xa8\xc3\x6a\x83\xe9\x10\x09\xf5\x59\xde\x3d\x13\xc7\x80\x33\x7c\x0b\xb6\xca\xca\x32\xfd\xa1\x50\x71\x22\x7c\x59\x46\x29\x36\x95\x68\xab\xe7\x88\x37\x94\x2a\x2f\x38\xcc\xf1\x5c\x44\xdc\x18\xbe\xda\xb3\x11\xe5\xa3\x17\xb9\x50\x78\x2d\x49\xbd\x88\x02\xc7\x2b\x04\xa4\xd8\x01\x93\x02\xba\xfc\xeb\x0d\x88\xf4\x4b\x88\xd7\x3f\x20\xfd\xe3\xa8\xfa\x11\xc8\x6c\x23\x93\x21\xf0\x73\xa1\x1a\xb8\xb0\x81\x33\x2c\x67\x2d\x52\x73\x33\xd9\x70\x15\xf3\x0c\x56\xe0\x22\x85\xb0\x73\xca\x78\xbd\xa3\x23\xc4\x45\xe9\x22\x07\x2e\x01\x4c\xf1\x84\x23\x81\x54\x93\x41\x9f\x47\x41\x27\xf0\x4c\x00\xc6\xbb\xda\x0f\x4f\xa7\xca\x49\xd4\x23\x28\x01\xaf\x2c\x91\xde\x6c\xa9\x52\xbc\x3a\xe8\xd2\x5e\x61\x68\xb8\x47\x3e\xf1\x57\xfd\xee\x88\xc9\x72\x8c\x13\x58\x2d\xf3\x40\xa8\xcc\x8a\xa9\xbd\x15\x2a\xd2\xb1\x48\xb3\x77\x66\x1b\x02\xd7\x73\xee\x39\x23\x65\xe6\x27\xc3\x29\xda\xd3\xb5\xcd\x34\xef\xe8\xdf\xcd\xe8\x94\x78\x10\x9b\xdc\x87\xdd\x5b\xe5\x7b\x4f\x47\x36\xf5\x97\xfe\xf5\x9b\xa6\x26\x43\x80\x8d\x05\x98\xed\xef\x0b\xe2\x96\x0d\x2d\x2e\x36\x4a\x02\xf8\xe8\x9c\x58\x55\x28\x69\x8e\xac\xdc\x5c\xd8\xf3\xa9\xa2\x13\x78\xc4\x16\x82\xe7\x2b\x40\x18\x65\xcf\x68\x8c\xf1\xb8\xcf\x5f\xb4\x4f\x86\x5a\x12\x6d\x40\x25\x95\x1a\xf7\xb7\x75\xfc\x1a\xa4\x76\x78\x94\x63\xa6\xa7\x8d\x5e\xd8\xb9\x2a\x30\x58\x8d\x06\x71\x8f\x71\xb0\x9c\xcc\x55\xfd\x83\x90\x12\x1c\x46\x62\x8b\x11\x7b\x56\xed\x07\x7e\x60\x0c\x0f\xbe\x1d\xe6\xe3\x02\xe3\x08\x65\x9d\x04\x6a\xc2\x7d\xe6\x83\xe9\x21\x31\x26\x38\xc9\x6d\x9b\xaa\x63\x20\xa0\x03\xfb\xd5\x7f\x98\x9f\xee\xbc\x39\x64\x22\xb5\x84\xd1\xf8\xae\x48\xcc\xb3\x92\x69\x7c\xb2\xe1\x69\xbe\xb5\xcb\x37\x91\x73\xe0\x99\x4d\xe4\x93\x60\xe3\x34\xd5\x2f\xc7\x1e\x85\x56\xd3\xf2\xc0\xb3\xa7\x23\xf3\x7c\x01\xfd\xde\x10\x9e\xae\x46\x5a\xae\x12\xf6\x28\x16\xb3\xfd\x28\xc0\xda\x68\xcc\x1a\x9f\x93\x8a\x3c\xdd\xce\xcc\x42\x5c\x6f\x5a\x2d\x45\x2f\xf4\x6a\x7f\x27\x77\x18\xbb\x18\x9c\xcf\x3d\xd8\xc5\x4a\xb3\xfa\xfd\xb0\x8b\x35\x10\x87\xd5\xd9\xc5\x26\xd7\x93\x87\xc9\xf8\x6a\xf2\xff\x2a\x2d\x7e\x1a\x4f\x1e\x26\xd7\x7f\x99\x7d\xb8\xb9\x9b\xdd\x5d\xde\xdf\x3c\xde\x9d\x5f\x76\xd3\x05\xd4\x7b\xef\x5d\xf0\x13\x16\x3e\xe7\x3d\x7b\x08\x32\x66\x88\xfa\x24\xff\x9b\x84\x96\x60\x55\x99\xcd\x2c\xd5\x72\x04\x1b\xf5\x3d\xbb\x4c\xd3\xc9\x9a\x2f\xc5\x6d\x91\x24\x90\xd7\x46\x88\xf5\x79\x2a\xe0\xe2\x39\x62\xb7\x3a\x9e\x04\xbf\x83\xba\x90\xc6\xd7\x80\xe7\xf3\x38\x4e\x45\x96\xe1\xe3\x47\xf4\xfc\x20\x8b\xeb\x6a\x4e\x08\xc5\xc0\x9f\xb9\x4c\xcc\xfd\xed\x3d\x48\xbf\xea\xc5\x02\x71\xcc\x23\x87\x60\x67\x5f\x0a\x9d\x73\x26\xbe\x46\x40\x91\xd1\xbc\x4e\xae\xf4\xf2\x57\xc0\x8c\xf5\x88\x13\xb6\x5c\x52\x40\x50\x63\xd6\x7c\x9c\x37\x1b\x02\x7a\xcb\x8f\xf8\xd3\x0f\xf8\xcb\xc6\xd6\xf3\x3c\x39\x42\xc9\xde\x95\x5e\x36\xd3\x9b\x83\x77\x4d\x9c\xec\x5e\xe3\x1c\x0a\x80\xf5\x92\x65\x52\x3d\x4d\xd5\xa7\x95\x50\x4c\x17\x29\xfe\x09\xae\xf9\xc6\xcd\x4c\x8a\x6c\x25\x62\xa6\x8b\x7c\xc4\x5e\x04\x5b\xf3\x2d\xba\xcd\x70\x27\x70\x9c\xcc\xb0\x64\xe0\x14\x31\xbf\x4e\xa4\x32\xd6\x62\x23\x2d\x40\xb4\x3a\xf5\xc7\xb8\x71\x59\x82\x18\x7e\x38\x7f\x5b\xd7\x79\x5a\x02\x4a\x40\x01\x90\x07\xb0\xd8\x4c\x2d\x59\x6e\x90\x7c\xd2\xfa\xa9\xd8\x78\x2a\xa9\x37\x36\x4a\x0c\xc3\xfd\xac\x65\xcc\xe2\x62\x93\xc8\xc8\xd9\xdd\x17\x9d\xb6\xf2\xe5\x21\x92\xb9\xff\xa9\x53\xc5\xe7\x77\xbd\x58\x03\x4c\x3a\x80\x34\x74\x30\xe7\xbd\x32\x77\x20\x93\x2a\x4a\x0a\x10\xb3\x28\x32\x91\x9e\xe4\xa9\x5c\x2e\xc1\x01\xb7\x45\x17\xdf\x3f\xb9\xa0\x27\x2f\x3a\xbc\xbe\x20\xac\xfe\x4b\xf4\x52\x46\x3c\x09\x51\x66\x3e\x3d\xe5\xd8\xcb\xec\xb6\x27\xa9\x2f\x00\xa4\xda\x0e\xb5\xb2\x32\x6c\x52\x01\x04\x7a\x33\x30\xe5\x33\x32\x77\x87\xf4\x7b\xc1\xcc\x05\xdd\xaa\x80\xfb\xf2\x58\x70\xcf\x6d\x5f\x41\x24\xc2\x3e\xdb\xea\x3d\xa0\xde\xab\x82\x5c\x8c\x7e\x51\x22\x05\x0f\x16\xf2\x6f\xe6\x4d\x95\x06\xdf\xc4\x69\x40\x38\xa0\x98\xd5\x40\x59\x38\x44\x1c\x96\x30\x2d\xe5\xb3\x50\xdf\x9e\x0c\x32\x78\x40\xc4\xa3\x95\x98\x59\xbf\xfc\xd8\x26\xcb\x1d\x00\x03\x8d\x95\x25\x63\x0e\x4d\x29\x93\x40\xc0\x13\xe1\xd5\x09\x7b\x5c\xb7\x5d\x28\x30\xd0\x01\x8d\x37\x9d\x98\xc5\xa2\xa4\xaf\x7d\xf0\x7b\xf6\x32\xcd\x3e\xdb\x6d\x3b\xc2\x38\xbb\x10\xd1\x13\x7b\xbc\x9b\x60\x59\x96\xcc\x99\x31\x05\xd9\xca\x93\xcb\xb7\xde\xdd\x72\xbe\xfc\x15\x65\x73\x3d\xc5\xab\xd3\x04\x31\x1d\xa2\xcc\x34\x14\xae\x18\x23\x99\x39\xc1\xf4\x4d\xc2\x73\xcb\x99\x0e\x81\x78\x96\xad\x81\x22\xbd\xc8\x03\x5d\x11\x12\x39\x6e\x7c\xe1\x8d\x8e\x67\x36\x4f\x72\x68\x56\xb5\xd6\x96\x8d\x63\x50\x8a\xda\x02\x4a\xb9\xf1\x58\x1f\xe8\x8b\xec\xe9\xcf\x59\x50\xe7\xac\x43\xde\x45\xb8\xd7\x73\x94\xa0\x5e\xc8\xa5\xcd\x8c\xc9\x05\x11\xb9\x63\x65\x25\x48\x96\x1a\x7b\x69\x5a\xba\xd5\x31\xe1\x25\x1c\xb1\x8a\xf1\x82\x04\x45\x4f\x7c\x82\x2b\xec\x82\x05\x64\xc0\x73\xcd\x8e\x10\x3c\x66\x7a\x41\xd1\xc4\xcd\x26\x91\xc0\xa8\x17\x23\x79\x27\x94\x31\x67\x65\x98\x62\xd8\x9a\xed\x6c\x50\x6d\x7d\x6b\x11\x11\x9d\x69\x3c\x9f\xe4\x32\xef\x55\x0e\x72\x57\x7d\xaa\x43\x25\x4b\x1c\x30\x7c\xdf\x2b\x74\x77\x34\x6d\x99\xe8\x39\x0c\x54\x3b\x3a\xa1\xc3\x40\x1b\xeb\x94\xca\x78\xc8\xf1\x6e\xc7\xe4\xc6\xfd\xb4\xab\x83\x4e\x90\xda\x3d\xc9\x4e\x33\x23\xbe\xd3\xe0\xfa\x5b\xad\x27\xdc\x75\xd7\x86\x04\x61\xe6\x32\x84\xce\x1b\xb7\x6c\xbf\xb0\x2b\x74\x87\xc2\x79\xfd\x5d\x0e\x9a\xe8\x7a\x85\xfa\x8e\xb1\xf4\x45\xed\xdd\x93\x7c\x40\x99\x31\xee\x5c\x57\x6b\x3c\x84\xb2\xd1\x4e\x1d\x82\xad\x40\x3d\xde\x4d\x62\x09\x05\xdb\x6b\x46\xab\xe3\x6e\x77\xf1\x41\x1c\x3a\xaf\xb0\xa3\x8a\x5c\xfb\x90\x3f\xbc\xcf\x04\x88\xcc\x42\x7c\x3d\x98\x8d\x49\x5c\xcb\xf3\x39\xc9\x20\x18\x06\xbb\x35\x07\xa0\x81\x06\xe1\x91\x36\xa9\xb0\xc9\xa3\xad\xc8\x5d\x95\x65\x62\x25\x2c\x20\x37\xe2\xde\xba\x5c\x66\x6e\x2b\x49\x1d\x35\x08\x64\x32\xc8\xdf\x8b\xf4\x7a\xa3\x95\x50\x84\x88\x53\x7a\xaa\xa8\x71\x2b\x44\xe8\xd2\x2b\xa5\xc2\x83\x11\x45\xb5\x10\xc6\x2a\x32\x9d\x3c\x53\x1e\x2d\x60\x00\x06\x09\x13\xd3\xc1\x73\x73\x41\x30\xd7\x61\x48\xf0\x92\x79\x07\x5c\x5e\x45\x8d\x2f\x15\x4b\x99\xe5\x22\xac\xd5\x08\x7f\x7f\x34\xe1\xa4\xd2\x0d\xba\x6b\xe8\x5b\x85\x93\x76\xb9\xc2\x66\xd7\x0e\xe8\xcf\x76\x23\xe2\x89\xfb\x5d\xf7\x62\xa8\x94\xd3\x79\x23\x51\x3a\x05\x70\x0d\xe0\x15\x20\x43\xe2\x8d\xcc\x71\xf7\xba\x49\x22\x4a\x04\xee\xd4\xae\x60\x8a\x96\x05\x4f\xb9\xca\x85\xc8\xa6\x8a\xb2\x8f\x48\x20\x13\xd6\x48\xe3\x02\x7a\x09\x94\x49\xd0\xc1\x8d\x74\x96\x23\x1f\x03\xfc\x64\xc1\x65\x52\xa4\xad\x77\x4e\x5c\x95\x7b\x15\x81\x76\x8d\xd2\x39\x34\xcb\x9a\x26\xcd\x95\x13\x05\xbb\xc8\xd5\x30\x57\x73\x87\xe5\x6a\x9b\x96\x57\xb0\x26\xb7\xff\x7c\xbb\x80\x63\x4b\x85\xd1\x9f\xb3\xd9\x46\x0f\xb0\x78\x3f\xfd\x39\xbb\xd5\x2d\xb5\x59\xd9\x97\x5a\x60\xac\x23\x87\xfe\xa5\x8d\xcd\x98\x67\x4f\x90\x7e\xda\x75\x1f\xdf\x1d\x64\xff\xd3\x1f\x77\x27\xa9\x5a\x6d\x17\xac\xda\x15\x57\x71\x62\xee\xa9\x3c\xaf\x9c\x40\x1e\x75\x65\xfc\xe2\xdc\x1a\xc7\x76\x88\x3d\x20\x56\x67\x51\xad\xdc\x61\xd7\x38\x55\xea\x24\xba\x5e\xa8\xfa\x94\x72\xf5\x42\x13\x6a\xd6\x9f\xec\xa4\xb8\xe5\x36\x6c\xfb\x12\x5c\xc8\xe5\x77\x70\xc9\xfa\x58\xb7\x94\x11\x6d\x45\x3a\xbf\x1c\x04\xef\xc0\xcd\x08\x68\x67\x63\xcc\x42\xc2\xc4\xa9\x22\x41\x3e\xcc\xbc\x42\xca\x0d\x49\x41\x32\xf6\x07\x57\x02\xf3\x87\x7f\xb1\x94\x10\x5b\xb6\x80\xb1\x06\xde\x15\x1d\x45\x45\x0a\x69\x51\x0a\xdd\x30\x81\x67\xd3\x10\x5e\xdb\x31\x9e\xc8\x0e\xcc\x82\xee\x53\x93\xf7\xe0\x62\x75\xa5\x97\x7a\x80\x10\x0d\x4a\x0b\xba\xb3\x90\x38\xf0\xd3\x2c\x67\x59\x2e\x36\x8d\x56\xa9\xe4\x74\x95\xd5\x33\x0f\x70\xbb\xbc\x76\x67\x4f\x5f\x77\x80\x8d\x1e\x07\xd7\xe9\xbf\xde\xdf\x5c\xb3\x0d\xdf\x02\x2e\x2c\xd7\x24\x7b\x0a\xac\x58\xd5\xfd\xbb\x6b\x06\xca\x2f\x5f\xde\x6c\x38\xa6\x74\xe5\x6d\x89\xdd\x72\x27\x6b\x5c\xb1\x43\xb0\x66\x68\x49\x9a\xad\x9c\xea\xe4\x64\x93\x70\x25\x90\xc1\x18\xde\xff\x94\x55\x1e\x1f\xe6\x7a\x5d\xd6\x87\xd0\x34\xd0\x01\x08\xa7\xd0\x5a\x48\x0b\xd5\x84\xab\x2d\x0b\x82\x1e\x94\xde\x6d\xb5\x11\x9d\xa0\xb7\x8f\xc8\x6b\xcc\x23\xb3\x4d\xb0\xc4\xd3\xa6\xac\x1d\xea\x81\x67\x00\x48\x1c\x30\x51\xdd\xea\xa5\x53\x65\xc5\xe9\xf4\x4b\xc6\x62\x2c\x82\x2d\x64\x86\xa2\xdf\x98\x10\x00\x70\x10\xd9\x17\x44\x2e\xa4\x5c\x65\x66\x42\x21\xa6\x29\x9e\x05\x05\x36\x4a\xc9\xb8\xc9\xc5\x95\xcb\xef\xe3\x24\x91\x22\x4a\xcb\xd0\x07\x8e\xd9\x21\x17\x98\x46\x39\xcd\xdd\x64\xc3\x1f\xf9\xa6\x0b\xbe\x7f\x70\x8b\xbb\x66\xc9\x51\x00\x54\xbd\x4e\x10\xfa\x03\x91\x84\x12\x86\x3f\x1c\xbd\x47\x75\xa0\xf9\x69\x64\x1f\xdd\x4d\x74\xdc\xfb\x12\xd6\xaf\x24\x63\x80\xed\x09\xd8\x78\x1c\xb6\xc6\xf9\xcb\x66\x97\x03\x05\x3d\xca\x52\xc3\xcb\x9d\xb2\x7b\x21\xd8\x67\xa7\x6c\xfd\x99\x24\x4e\x00\x2e\x08\xd2\xe4\x6d\xe3\x3a\x51\x0b\x7d\x98\x31\x48\x97\x35\x38\xda\x41\xa3\xd2\xdc\xcf\x43\x01\x6f\x50\x53\xa2\x5e\xb7\x10\xb2\xf1\xbd\x76\xc0\xdb\x6e\xfd\x9d\x9c\xca\x23\x6c\x4f\xcd\xf9\x0c\x53\xbc\x9f\x02\x73\x69\x91\xe4\x20\xf6\x0d\xf4\x91\x4f\x4a\xbf\x28\xf4\x05\xe8\x49\xec\xad\xd9\x7f\x70\x80\x61\x00\x15\xdd\x82\x02\xad\xe1\x3b\xe0\xb3\x1c\xbb\xff\x66\xf7\x98\x2b\xc2\x3e\x03\x61\x7b\x06\xce\x0f\x51\xad\x83\x35\x7f\x3b\x1e\xb1\x1f\x46\xec\x7c\xc4\x4e\x4f\x4f\xdf\x8d\x98\xe0\xd1\xca\xf6\x08\x7f\x82\xc8\xb1\x9c\x2f\x4d\xdb\x44\x61\xbd\x08\x1e\x00\xfa\x03\xe6\xb0\xb2\xb4\x2d\xdc\x7f\x2b\x88\x3c\xd8\x57\xc0\x62\x12\xd4\xb8\xb2\x79\xf5\x68\xa5\xa5\xef\x14\x40\x34\x45\xa4\x53\x0b\xf2\xcc\x72\x9d\x5a\xc0\xda\x33\x4f\xb9\x54\x50\x63\xc7\xeb\x70\x5d\x7a\x72\xc0\xb2\x29\xbe\xf2\x35\xbc\xbf\x54\x8e\x68\xcc\x0c\xd3\x83\xeb\x7f\xbe\xdd\x50\x40\xfa\x25\x95\x79\x6e\x4e\xe7\x6c\xaa\xee\xd9\xfb\x7f\x65\xe3\xcd\x26\x11\x6c\xcc\xfe\xce\x7e\xe0\x8a\x2b\xce\x7e\x60\x7f\x67\xe7\x5c\xe5\x3c\xd1\xc5\x46\xb0\x73\xf6\x77\x33\x6c\xa6\xbd\x6b\x6d\x8e\xc3\xed\x88\x71\xa6\x8a\x04\x4f\xfd\xb7\x16\x0c\xf6\xce\xbd\x17\xf7\xb3\x63\x55\xb5\x33\xbd\xa6\xa3\xf0\x17\x97\x93\xc8\xa4\x5a\x26\x22\xb7\x5a\xf6\x25\xd8\x1e\x3e\xe0\x04\xde\xf4\xfd\x54\xb9\x58\xde\x2f\xa6\xc7\xbf\xb0\xbf\xb3\xeb\x22\x49\x4c\x97\x8c\xa1\x31\x0b\xe9\x3d\xb3\x65\x14\x42\x9d\xbe\xc8\x27\xb9\x11\xb1\xe4\x50\x48\x61\xfe\xeb\xec\x01\x66\x7b\x56\x78\xf2\xa2\x70\x4f\x3b\x12\xfc\x43\x4c\xcf\xab\x54\xc7\x39\x2d\x04\x3b\xf9\x1d\x37\xbf\xf2\x4f\x87\x7b\x44\x9e\xb2\x8d\xf6\x03\x39\xac\x28\x60\x10\x6a\x2e\xec\x65\x02\x2a\x87\xad\x6d\xab\xe1\x28\x08\x0f\xf5\x43\x8d\x2c\x48\x78\x1c\xfd\x0e\xd9\x43\x4f\xa1\xaf\xc9\xad\xb1\xc1\x97\xea\x0d\xc1\x97\xf4\x9c\x0b\xbd\xb2\x42\x8e\x05\xfe\xe7\xb2\x86\x49\x69\x88\xb5\xec\x25\xf6\x52\xe9\xec\x23\xc5\x2e\xa0\x5a\xd3\x5c\x64\x94\x4c\xce\xcc\x56\x3d\xbb\xd6\xca\x5c\x5b\x33\xb9\x44\x9e\x08\x80\x11\x65\xc0\x8c\x67\x9d\x82\x87\xb2\xcb\x1a\x6c\x01\xf0\x0f\x4c\x97\x10\xda\x96\x1b\x2b\x60\xa6\x20\xd9\x4e\x95\xf9\x05\x9d\x48\x00\x73\x97\x8e\x4e\x10\x9f\x66\x65\x65\xe9\x59\x64\x90\x83\xc6\x1b\x16\x58\x97\x12\xeb\x01\x0b\x8e\x4a\xb6\x0e\x88\x8a\x5f\x07\x54\x3a\xd4\x9a\xad\xb3\xc6\xbc\xe7\x5c\x24\x5a\x2d\xcd\xaa\x68\x33\x02\x7a\xcd\xe5\x21\xc0\x92\xb0\x0b\xd8\x58\x6b\x0f\xcc\x61\x49\x5f\xa1\x29\x31\xe7\xa4\x8c\xfd\xfd\x9e\x94\xbf\x5d\x44\xd6\x9d\x86\xf4\x72\x2d\x2f\x71\x60\x7e\xf9\x31\x13\x29\xf0\x5d\x22\xc2\xc1\x45\xfb\xf1\xe0\xf4\x55\xcf\xf8\x46\xfd\x36\x55\x27\x30\xb6\x39\x14\x42\xd9\x04\x1b\x4c\x76\x41\xbd\x1e\xeb\xf1\xd7\xc4\xc8\xbe\xa6\x2e\x6f\xa3\x08\x2f\x7c\xcf\xb4\x46\x7f\x1a\x2a\xb4\x6b\x47\xef\x18\xf0\xc1\x2f\xc8\xbb\x3f\xd3\x0b\x5b\x49\xd9\xff\x4c\xaf\x29\x1f\xf4\x43\xa9\x84\x6c\xa7\xa1\x42\x40\x7d\xe1\xb4\xe5\x1b\xb4\x9a\x51\x46\xa2\x5f\x67\xab\x03\x76\xa3\x3e\xe0\xcf\x6f\x75\x22\xa3\x6e\xd0\x9b\x3d\xae\x56\xfa\xa5\x01\x45\x34\x17\x80\x02\xa5\xf8\x0f\x75\x0a\x3d\xf4\x5c\x44\xb9\xcf\xb8\xd5\x5f\xee\x7f\x35\xd0\x66\xf7\x1d\x1c\x23\xca\x6e\xd8\x40\x7d\xcb\xe5\xf0\xe0\x6c\x05\xa6\x33\x20\xf8\xc5\x58\x2b\xd4\xd2\x41\x6e\x3b\xe2\x14\x82\x2e\x8d\x3c\x18\xe8\x97\x95\x4e\xcc\x5d\x4c\xc5\xc4\x1a\x37\x55\x1b\x91\x46\x1a\x00\x2a\xb1\xb9\x9b\x01\x33\x90\x4c\x62\xcf\xa2\xff\x16\x10\xbd\x80\xbb\x7b\x47\x52\x41\xc2\xe5\x98\x6d\xf3\x1d\xa7\xae\x5d\x76\x56\x2e\xf4\xb0\x08\xd4\xf1\x20\x7a\x5d\xcb\xfe\x13\x41\xc9\x70\x28\x88\xe7\xa1\x92\x2d\x34\x83\x5e\xea\xcf\xa0\x08\x2f\x08\x7a\x2e\xac\x20\x99\xbd\x38\xe5\x95\x79\xa5\x65\x56\x1d\x4a\x60\xff\x43\x14\x15\x02\x48\x32\x01\xdd\x59\x0b\x8e\xbe\x98\xe7\xe2\xa2\x49\x9d\x2a\x9f\x1f\x7d\x93\x85\x7e\x59\xe3\x3c\x23\xb9\x9d\x05\x01\x8e\xd8\x9b\xd2\x8b\xbe\x01\x76\x38\xa5\xe1\x79\x94\xc3\x2a\x0d\x0d\x2c\xd7\x11\x93\xf9\x54\xc9\x0c\x57\x66\x2a\x12\xf1\x6c\x7a\x17\x06\x8b\x09\xeb\x62\xef\xce\xf6\xb5\x01\x47\xce\x6d\xf9\xb1\x53\x99\x85\x4d\x98\x86\x2c\x63\x1c\x02\xd3\xb1\xc8\x8c\xdf\x08\xfc\xe8\xe2\xab\xd9\x00\x12\x72\x21\x08\xff\x88\x85\xb2\xfd\x03\x54\x08\x0a\xd9\x4d\xd5\x64\x01\x35\xa0\x50\x79\x1a\xc7\x78\x0b\xb5\x8c\xd9\x8e\xf2\x45\x52\x70\x58\xd3\x9d\xdc\x4e\x04\x29\x5d\xe1\x4e\x12\xcf\x22\xdd\xe6\x10\xd4\x85\x71\x55\x82\xe7\x2b\x26\xf3\x11\x70\xf5\x58\x4b\x39\x55\x3c\x26\xa1\x50\x6a\xce\x0c\x0d\xac\xfb\x8e\x79\xa6\xcf\xe7\xfa\xb9\xcb\xb1\x3d\x14\xf5\x85\xbb\x7a\x93\x70\x35\xc3\x13\xe4\x57\xc0\x7d\x05\x22\x64\x6d\xa9\xce\x62\x3e\xb3\x4b\xec\x38\xfd\x74\xf6\xfe\xae\x24\x0d\x68\xfc\x58\xfb\xa0\x11\x2e\x06\xcf\x2f\x6a\xaf\x27\x2e\x4e\x43\xe8\x82\x94\xd9\x0c\x6c\x7f\x2b\xe0\x21\x61\xbc\x82\x44\xb0\xab\x75\x17\x26\xcc\xae\x80\xef\x15\x9f\xd4\x67\xe6\x2b\x67\x48\x75\xda\x87\x43\x63\x6a\x1e\xe2\x5e\xf0\x98\x1d\xdd\x7a\x5d\x88\x4c\x6b\x1c\xa5\x0e\x95\xb1\x6f\x1b\xa4\xfb\xb0\x78\x42\x60\x1c\xce\x85\x79\x9a\x45\xe6\xc2\x7b\x98\x6e\xc0\x56\x1e\x33\x46\x0d\x76\xaa\x6f\xa4\xc4\xd7\x5e\x43\xbf\x4e\xd9\x44\x31\xeb\xee\x8d\xd8\x1b\x5c\x58\xd9\x1b\x0a\x41\x92\x52\x21\xe5\xce\x63\xda\x3d\x54\xad\x5a\x85\x62\x60\xcd\x80\xdf\x6e\x98\x09\xea\xe4\x98\x7a\xd5\x71\xf9\x41\x42\xcd\xc2\x3e\x65\xe9\x98\x45\x9c\x63\x03\x74\x48\xe2\xb5\x7b\x8b\x4e\xbb\xf6\xd1\x6c\xff\xc2\x36\xdf\xc5\x7e\xb0\x3f\x34\x43\xb4\x29\xe8\x3c\xb5\x9f\x33\x9d\x4e\x95\x6d\x8d\x42\x92\x19\x8a\x5a\x54\x9b\x0a\x20\xd4\xe4\xf3\x07\x2b\x15\x40\x0c\x56\xc7\x04\xe4\x71\x3c\x11\x5e\xd5\x0a\x00\x28\x62\x2e\xbc\xc6\xea\x29\x1b\xfb\xa7\x19\xc7\xc3\x2c\xf0\x35\x1e\xf3\x55\xb2\xac\x24\x31\x83\x22\x73\xcb\xcd\x15\x94\x37\x64\x05\x30\xcc\x2d\x0a\x63\x8c\x02\x1a\xbe\xa9\x32\x83\xc7\x16\x12\x70\xbf\x34\x2e\x53\xf5\x51\x67\xb6\x9a\x3e\xf3\xe3\x61\x31\xa4\x34\x6c\x6f\x9c\x9c\x0b\xfd\xe1\x02\x0e\x6d\x8a\xf9\x57\xf4\x7d\xa1\xae\x85\x28\x31\xb6\xba\x48\xfd\x4b\x45\x5c\x4d\xd5\x7f\x9a\xe1\x41\x75\x4d\x27\x4d\xab\x17\xb8\x85\xad\x1e\x32\x7b\xfb\x19\x1b\x7d\xfb\x2f\xef\x3e\xbf\x43\x1c\x7a\x91\x81\x82\xd6\xa8\x7c\x80\x38\x46\xd6\x22\x49\x20\x13\x6d\xdf\xc0\x91\x51\xf8\x47\xf0\x2e\x58\x0e\x5d\xea\x66\xaa\xec\x62\xf4\xd9\xe8\x5d\x2b\xd8\x07\x9f\xc7\x2c\xe2\x79\xb4\x3a\xb1\xbe\x1c\x99\x31\x7b\xfa\xd1\xf4\xa1\x94\x8e\xf1\xb4\x9a\x49\x49\xcd\x85\x33\x5d\x3b\x1e\xfe\xd2\x7a\x31\xaf\x00\xc0\x9a\x87\x2a\x43\xbf\x63\x71\xc3\xc5\xe9\xc5\x61\xbd\x9f\xe7\xbe\x6e\xf5\x71\xfc\x8d\x93\xa2\xe4\x8a\xaf\x45\xcc\xde\x40\xc5\xd4\x1b\x3b\xf9\x53\xb5\x99\x9f\x26\xdb\x45\x4e\x14\x4f\x66\x50\x4e\x41\x49\x62\xc7\x29\x37\x8b\xeb\xd7\xa4\x1d\x83\xdd\x7a\xd1\x6a\xf6\x75\xdc\xd8\xb8\x27\xf5\x77\x58\x30\xc6\xe5\x46\xe7\xbe\x0c\x11\x2a\x53\xda\xf2\xec\x69\xc4\xe6\x29\x57\x40\x02\x1e\x87\x4e\x95\xdf\x9d\x70\x79\x46\xfe\x24\x5b\x42\xa1\x78\xb2\x05\xec\xf8\x68\xaa\x90\x6c\x0a\xe8\x21\xb7\x51\x22\x23\x14\xa3\xae\xf8\x41\xe2\x59\xa8\xfc\x92\xd8\x15\x2c\x48\xfd\xd0\xd4\xb2\x63\x6b\x38\x88\x86\x71\x52\xf6\x76\xb8\xa7\xa1\xf0\x11\x56\x2c\x54\xa1\x1b\xb5\x05\xb5\xba\x05\x3e\x22\x4d\x1a\xe0\xe3\x62\x7f\x2b\xe6\x3a\xb1\x84\x66\x93\x0b\xa6\x53\x20\x75\xce\x35\xfd\x49\xc6\x6d\xa7\x98\x54\xb1\xf8\x7a\x10\xab\x40\xf7\x81\x64\xdd\x3b\xf3\x98\x80\x3b\xb8\xfa\xb2\xb0\x8b\x52\x61\x0e\x8b\xdc\xde\xe0\x6a\xdf\xca\xaa\x08\xbb\x71\x92\xaf\x00\xf6\x86\x80\x6b\x3f\xa8\x6b\xbe\x65\xd1\x8a\xab\x65\x70\x85\x06\x14\x92\xd8\xe8\x14\xc5\x8f\x9e\x81\xbe\x4b\xa7\xb6\x6a\x93\x6a\x11\x09\xf5\xed\x02\xde\x08\xb6\xd4\xb6\xe0\x90\x2f\x97\xa9\x58\x42\x21\xfd\x54\x95\xaa\xa9\x81\xba\xcc\xf2\x2e\xe3\x73\xba\x8a\x51\x8f\xc3\xe8\xd0\x76\x6b\xc9\xd3\xad\x2b\xe5\x23\xe5\x30\x37\x74\xb5\x61\x1d\x31\x29\x4e\x47\xec\x8f\x1e\x60\x2a\x22\xad\x5c\x2d\x60\x4b\x21\x58\x25\x34\xbd\xc3\x16\x35\x50\x3f\x34\xf7\x1d\x3e\xab\xe9\x8f\x35\x2e\x9a\xce\x62\xca\x9c\xe7\xc5\x00\x5b\x49\x1a\x93\xe7\xe6\xc7\xf7\xf8\xdb\x4e\x0c\x36\xdf\x18\xf3\x66\x69\x77\xcc\xf7\x8d\x85\x37\xcf\xf6\xfc\x88\x4d\x63\xbd\x33\xd0\x99\xe8\xf6\x40\xe7\x31\x5c\x4a\xcb\xad\xb0\x3b\xd6\x99\xb4\xf0\x05\x74\xbc\xd3\xd0\x50\xa6\x05\xa3\x12\xcc\x3c\xab\x5e\xb7\x1a\x2c\x80\x53\xe5\xd7\x29\xfa\xed\x88\xdc\x70\xb4\x05\x25\x23\xd9\x74\x20\x94\xb8\x57\x40\x69\xf4\x5b\xdd\x8d\xdb\x58\x5f\x9a\x87\xff\xb1\xe5\x5e\x6c\x3d\x93\xa6\x41\x0f\xf7\x27\x8e\x53\x3a\xf0\x9c\x72\x8f\x47\xe6\x79\x1b\xdc\xd4\xa9\x5c\x4a\xc5\x73\x9d\xb2\xb7\xae\x38\xf1\x9d\x93\x18\x80\x51\x3c\x86\x99\x28\x0d\x11\x9a\x89\xe6\xbb\x17\xe0\x99\x45\x3c\x1b\xc6\x9d\xd5\xa4\x94\xbd\x13\xaf\x6f\xbe\x95\xe5\x7c\xbd\x09\x69\x1f\x9d\x80\x23\x8d\x4c\x82\x83\xc0\x6c\xc7\x20\xc6\x27\x33\x5f\x83\x35\x55\x14\x19\xc7\x79\xd3\xa9\x1d\x3c\xf0\x6d\xdb\xce\xe6\x4d\x91\xcf\xf6\xa4\x32\xc1\x1f\x0f\x0b\x90\x50\xba\xfc\x23\xdf\x74\x93\x43\x70\xba\x1a\x63\x11\x8a\x53\xb5\xb4\x9e\x4a\x79\x7d\x76\x53\x34\x0f\x24\xab\xac\xa6\x78\xef\xae\x6c\x42\xc3\xdf\x5b\x4a\x17\x01\x98\x08\x64\xc9\xcb\xc0\xab\xc0\x2b\xa8\x33\x6b\xe6\x14\xb7\x8c\x12\xe7\x89\x2e\x62\x46\x46\x8d\xd2\xc5\xe9\x29\x9e\x8e\x40\x5b\x79\x7a\xda\xc6\xe1\x35\x50\x3a\xce\xd9\x1f\xf8\x5d\xf3\x0e\x84\xcf\x5a\x2c\x70\xe7\xd6\xa7\x91\x7d\xb5\xa9\xa7\x91\x86\xb9\x77\xe6\x78\xd0\xdc\xbb\x68\x2d\x70\x68\x0d\x0b\xe4\xc1\xbd\x49\xc6\x09\xec\xb7\x30\xd0\xdd\xc0\xf2\x59\x4a\x20\x66\x4f\x07\x3f\xce\x56\xda\x76\x3f\x6a\xc3\x53\xa1\xf2\x19\x3c\x71\xd8\xc3\xe0\x21\xb7\xf0\xf3\x92\xc3\xd4\x2b\x60\xf9\xef\x0f\x1a\xe3\xd0\x96\x30\xe3\x3f\xd8\x3d\xc5\x5e\x32\x2b\x2f\x6c\x4e\xc7\xb7\x12\xb0\x31\x41\xce\xce\x4d\x5c\xcb\x74\xd1\x0b\xed\x31\x7a\xc1\x0b\x95\x4c\x7b\xaf\x17\xf2\xbd\x47\x79\x18\xd3\x0a\x85\xa1\xa8\xc2\xd3\x98\x5a\xfb\x37\xbf\xe6\xb0\x6a\xda\xa7\xcb\x19\xcf\x99\x99\xbf\x84\xfd\x97\x48\xb5\x2f\x5b\xc0\xa0\x4a\xd8\x70\xa7\xbf\xbe\xbf\x10\x1b\xfa\xe3\x28\x01\x16\x6a\xe0\xc0\x5f\x88\x93\x04\x6f\xbe\xf3\xad\xbd\x8e\xb4\xa4\x3a\x36\x22\xc2\x79\xd8\xf3\x58\x0f\x2e\x9e\xc1\xf9\x63\x43\x73\xee\x30\xb3\x1b\xf4\x0c\xee\xd5\xc4\xfa\xb7\xe6\x1b\xc2\xa1\x11\xe4\xb5\x9a\x64\x38\x85\x97\xf8\xf7\x5f\xfe\xe3\xb4\x4d\x62\x13\xba\x3e\x14\xd6\xe3\x3a\xff\x21\x95\x42\xc5\x90\x34\xe4\x71\x9d\x8b\x5f\x95\xa2\xc8\x25\xf3\x6c\x96\xe1\x51\xaa\xfb\x9a\x8f\xda\x6c\x86\x8b\xe8\x1b\x64\x9e\xbd\x91\x75\xdb\xb7\x94\x97\x6a\x73\x25\xb2\x59\xbc\x55\x7c\x5d\x17\x25\x7d\xd5\x3e\x6e\xa5\x48\x62\xe8\x22\x3d\x7d\x57\xf6\x24\x16\xd1\xd3\x50\x9f\x60\x6f\x02\x6b\x11\x3d\xb1\x1f\x1f\x3e\x5e\xa1\x70\x94\xcc\xa6\xea\x9a\xe7\xf2\x59\x3c\xa6\x89\x0b\x5b\x13\x23\x49\x9a\xd8\x3d\x52\x26\x54\x0d\xc8\x3b\x2c\xfb\xaa\x75\x1c\x42\xbe\xeb\xf5\xf6\x64\x5e\x44\x4f\x22\x3f\x4b\xb9\x8a\xf5\x1a\x5f\xe3\x2c\x2b\x16\x0b\xf9\xf5\x34\xe7\xe9\xbb\x5d\x35\x07\x3b\x2d\xe9\x01\x97\x98\x43\x0c\x4a\xfd\x9a\xe2\xe4\xbc\xbc\x6d\x96\x71\x28\xe8\xef\x2c\xb3\x67\x13\x75\x26\x05\xe2\xa1\x2d\x17\xa5\x53\xea\x67\xc3\x13\x06\x8c\x5e\xf3\xc1\xfa\x8d\xae\x80\x6d\xbc\xa6\x7d\xba\x6f\x23\x98\xb7\x5a\x27\x87\x46\x31\x79\x62\x37\xc9\x0c\x74\x89\x0e\x71\xc1\x71\x01\xb8\x60\xc0\xe4\xc2\xe5\xd3\x1c\x51\x28\xc5\x42\x9c\x2a\x20\x40\x3d\xa8\x0b\x00\xb0\x80\x4e\x74\xa0\x40\xb3\x4d\x43\x42\x75\x20\x9a\x15\xda\x40\x24\x86\x75\x87\xea\x61\xd5\xa0\x3e\x99\xfb\x3e\x02\x99\x5a\xa5\x87\x83\x02\x1c\xa8\x22\x54\x79\x94\x0b\x76\x84\xa4\x8b\x6e\x1c\x83\x67\xdb\xf1\x44\xed\x42\x63\x73\xc8\xf3\x99\xaa\xc0\xcb\x41\xa6\x14\x0b\x17\x76\xa3\xd6\x14\x03\x29\x2d\xc3\x83\x63\x20\x87\x30\xeb\x76\x06\xc9\x2f\x42\x8d\x2a\xc8\xf3\x46\x7a\x3d\x97\xca\x96\x9f\x52\x60\x10\xdc\xb3\xb1\x25\x2e\x73\x41\x5c\xeb\x66\x21\x73\x7a\x65\xec\xdd\xd1\x10\x72\xc0\x85\x26\x6b\xd7\x15\x26\xf4\x89\x8f\x4b\x02\xdc\x82\x3c\xac\xbe\x81\x34\xd7\xd9\x17\xbe\xcd\x40\xd0\x4b\x18\xab\xb8\xc0\x60\x58\xb9\xff\x23\x1f\xa2\x71\xa4\x78\xa4\x8e\x59\x90\xce\x1f\xbd\x8b\xc4\x9a\x7c\x91\x58\xe9\x32\xcf\x75\xf2\x26\x6b\x1e\x9c\x5f\x27\xbe\x9d\x76\xc6\xb7\x31\xc1\xf4\x3f\x23\xa4\xdd\x11\x38\x3b\x30\x7e\x17\x1c\x93\xa9\x8e\x44\x66\x21\x00\x50\x94\x01\xe6\xd8\x3c\x7b\xc4\xd6\x5c\x2a\xda\x06\x79\x6a\x0c\x64\x2c\xe6\xc5\x72\xd9\x1a\x56\xfa\xfe\xe3\xd3\xe5\x7d\xf2\x4f\x1f\x3f\xec\x64\xeb\x39\x46\x84\x6d\x62\x9f\x84\x21\x3f\xe3\x2b\x7f\x9b\xa0\xda\xaf\x18\xc1\x6c\x4c\x23\xd4\x16\xd1\x71\x22\x98\x93\x3e\x11\x4c\x8b\xdb\x80\xf2\x19\xba\x82\xd8\xdc\xfa\x6f\xa1\xcd\x6f\x13\xda\xec\xb5\x28\x90\xb2\x61\x26\xcb\x0e\x7a\x47\x0f\xf7\x64\x7e\x72\x14\x81\xd0\x2b\x92\xda\xcc\x84\x8a\x33\x36\xe7\xd1\x2b\x50\x41\xc1\xe9\x78\x78\x0c\x65\x07\x60\xe0\x5e\xaf\x05\x83\x47\x65\xc8\x67\xcf\xa8\x42\x69\x04\x48\x34\xf3\x82\x3e\xcb\x4e\x39\x7c\x38\x4e\x31\xdb\x1f\x7b\xa7\xfa\xad\x12\x2f\xcc\x9c\x56\xa3\x10\x9a\x13\x4c\x0f\x08\x9d\xbc\x23\xad\x7c\x8f\xe3\x75\xe5\xd8\xa9\x58\xf2\x34\x06\xf4\x38\x6d\xc9\x84\x47\x4f\xe6\xdf\xa1\x7f\xf4\x44\x82\x0f\x59\xce\x65\x84\xb4\xf9\xd6\xa4\x8a\x50\xb7\x9c\x90\x4a\xbe\x7f\xf8\xf3\x8c\xf1\x28\xd5\x19\x46\x19\x9c\x96\x1f\x54\x2f\x82\x03\xfb\x2c\xe3\x82\x27\xf8\xc4\xd6\xe8\x24\xcf\x0e\xe2\x90\x1e\x07\x52\x1e\xe2\xeb\x26\xe1\xaa\xbc\x27\xf1\x75\x81\x7f\x44\x76\xac\x7c\x47\xa3\x75\x48\x57\x06\xd3\x01\x86\xfa\xd7\x7e\x5b\xa1\x77\x9c\x0a\x1e\x6f\x43\xb2\x21\xa9\x48\xd4\x96\xc7\x6b\xa9\xcc\xd4\x5b\xa5\x26\x67\x5f\x2d\x69\x2b\x82\xe8\x40\xd0\x20\x49\x2a\x5b\x3f\x63\x4a\x18\x97\x8a\xa7\x32\xd9\x82\x17\xbd\x49\xc5\x49\xf0\x9c\x60\x7f\x13\x86\x1f\xe8\x67\xa9\x30\xbe\xc8\xc4\xa2\x48\xd0\xd7\x86\xdb\xa8\x7b\x01\xda\x87\x8f\x93\x91\x39\x66\x73\xa2\x11\x0f\x1e\x8c\xe2\x3c\xc7\xc0\x43\xd7\xef\x81\xbd\x62\xf2\x9e\x04\x2b\x05\xb8\xe6\x4a\xbf\xd8\xa2\x8d\x17\xee\x51\x79\x6d\x67\xc9\xd1\xe2\xb0\xdd\x5e\x97\xbd\xef\xd8\x5d\x89\x83\x5e\x16\xa0\xa7\xcf\x44\xec\x76\xa2\x54\xf0\x3a\xa4\x6b\x47\x18\x1e\x11\xb3\x22\xc3\xda\x0f\x33\x87\x60\xad\xed\xb5\x1e\xab\x61\xac\x26\x22\x73\x6f\x27\x33\xad\xd8\xb4\xf8\xfd\xef\xff\x24\xd8\xef\x49\xe4\x18\xac\x0c\x46\xd0\x81\x06\x0b\x5b\x07\x03\xe5\x1e\x20\x90\x23\xab\x36\x23\xac\x09\xc4\x66\x2b\x4f\x01\x06\xc6\xa3\x15\xcb\x8a\x39\x62\x9c\x38\x05\x61\xb9\x72\x2c\x93\x57\x1a\xe0\x4a\x78\x8e\xd9\xde\x0f\x08\x66\xdc\xd2\xf9\x62\x03\x15\x01\xce\x12\x06\x3a\x94\x46\x83\x41\xc1\x97\x04\x03\x7e\x0b\xfa\x68\x23\xf6\xa3\x7c\x16\x23\x76\xbf\xe1\xe9\xd3\x88\x5d\x60\x38\xf8\xaf\x7a\xbe\x33\x3e\x71\x8c\x18\x9d\x73\xa3\x0f\xe5\xac\xc6\x68\xd7\x28\xe0\x56\x0d\x52\x10\xf5\x68\x92\x45\xa8\x20\x33\x35\x48\xed\xef\x52\x81\x6a\x25\xe0\x3d\xd6\x2d\xab\x1d\x16\xd9\x7a\xe7\xaa\x5a\x69\x7f\x9e\x52\xd5\x59\x13\x52\xc7\x9c\x63\xb0\x12\xcd\x8b\x9f\x80\x67\xa2\x53\x57\x19\x99\x51\x78\x1c\x57\x05\xe2\x17\xf1\x44\xae\xd4\x12\xf6\x75\xbc\xec\x83\x67\x1b\xad\x93\x46\xff\xeb\xa8\x03\x58\x8b\xc6\xf6\x1d\xbc\x09\xd6\x60\x64\xa1\x57\x62\x47\xd1\x47\xf6\x7c\x1c\x10\x83\x7e\x40\xa6\x00\xab\x29\x2e\x20\xc9\xe1\x87\x23\x14\xe5\x32\x66\x05\x51\xa3\xe8\x88\x58\x0d\x47\x6e\x3d\x44\xe3\x44\x51\x88\x33\x44\x2b\xd6\x62\x8e\x59\xfd\x39\x2d\x6e\x21\xb4\x3b\x93\x4d\xcc\x09\x43\x37\x17\xe0\xb0\xeb\x89\x04\xec\xb9\x35\xe0\x16\xb7\xbf\x8b\x37\xd2\x16\x29\xce\xa2\x84\x67\x3d\x91\x80\x8d\x76\x67\x42\x0d\x9d\x43\x3b\xfd\x6d\xe6\x8f\x10\xf3\x5d\xf7\x3c\x30\xa7\x6a\xec\x78\x13\xbd\xab\xe5\xdc\x43\x34\xb3\xe8\x18\xd7\xa6\x06\x8b\x01\x3c\xc9\xe6\x88\x65\x45\xb4\x82\x72\x87\xb2\x9d\x0a\xed\x56\x7d\xc7\x8e\xa6\xca\x38\x2b\xa8\xdd\xc3\x21\x61\xfd\x02\x32\x0f\xf2\xbf\x84\xf3\x86\x08\x55\x1b\x3a\x40\x73\x6e\xa6\x46\xab\x46\x67\xd1\x56\x9e\xf0\xf4\x49\xc4\x41\x28\xb2\xd8\xc4\x3c\x37\xde\xb3\x3b\xe4\x60\xfd\x3a\xc2\x59\xeb\x7d\x66\xe1\x8b\x85\xce\x72\xc5\xd2\x26\x72\x21\xa2\x6d\x54\x23\x92\x29\xc1\x44\x8e\x17\xf3\xde\x2f\xe4\xdb\x45\x38\xd2\x7c\x53\xfe\x54\x2b\x90\x67\x6d\xb9\xf5\xff\x99\x88\xbf\x16\xce\x8b\x7f\xf6\xa8\xdd\x8e\x34\xf8\x6f\xe0\xb8\x7f\xca\x08\x52\x37\xdd\xc5\xef\xc2\x7f\x5a\xfb\x65\xf1\x67\x70\x63\x25\xaf\xb9\x11\xf5\xf6\x7d\x15\xf8\xca\x38\xdc\x37\xb9\x17\x75\xa9\x9f\xef\x3b\xb6\x02\x95\x51\xc7\xae\xc4\x7b\x00\xa8\x9f\x7e\x6a\xc7\xeb\x3c\xd1\x59\x91\x76\x6f\xfe\xbb\x72\xaf\xed\xd3\x1b\x28\x2f\x61\xb1\xad\xe7\x02\xaa\xf7\xbb\xe0\x2d\xbb\x1c\x05\x73\x5f\xaa\xfe\x9e\xf0\x60\x2f\x82\x45\x58\x6a\xd0\xa2\xc4\x56\xfb\x5d\x10\x03\x81\x93\x77\x29\x42\x2f\xa0\x72\x38\x96\x16\x57\x29\x1f\xf9\x5d\x61\xe2\x1b\xef\x60\x15\x9a\xa5\x52\xb8\xac\x57\x06\xf7\x18\xd9\x91\x5b\x9e\xaf\x30\x90\xb3\xd6\x39\x49\xe2\x23\xdf\x0b\xc2\x8c\x30\xc7\x30\x4f\xf4\x1c\x64\x85\xcc\x27\x6d\x17\xc0\x88\x16\x67\xaf\xa1\xab\x4f\x58\x9f\xb5\x6d\xf6\x03\xd4\x4c\xa6\x22\x03\xea\x8c\x7a\x4e\xb2\x2f\x82\x77\x58\xb0\xa9\xde\x5d\x63\xb6\x2e\x6a\xc1\xa6\x3a\xd7\xba\xb1\xea\x00\xe7\xbc\xdc\xa3\xc6\xe4\x32\xac\x3b\x34\xc7\x1b\xd1\xce\x52\xd2\x1f\x99\x27\x2b\xef\x6b\xd5\x6b\xa7\x6a\x8c\x9f\x04\x66\x8c\x7b\x4d\x11\x87\x98\x24\xa1\x42\xb7\xff\xb0\x10\x91\x8d\x43\x8c\x1e\xf9\xf5\x23\x7f\xe3\x82\xf0\xc8\x08\xea\xfe\x54\x2e\x53\xe3\x4f\x67\xe0\x2e\x64\xc5\xfc\xc4\x53\x4c\xe8\x14\x1c\x0c\x60\x20\xd9\x70\x50\x2b\x03\xe6\x99\x93\x86\x83\x04\xe3\xd0\x5e\x1b\xc0\x52\xb1\xf1\x84\xcc\x17\xdc\x0b\xb1\xc6\xd9\xbd\xbb\x6b\xc7\xb8\xf7\x10\x45\xb2\xf5\xb5\x68\xae\xbb\xec\x45\xe9\xb2\xf4\x6b\x03\xa8\x7a\x20\x94\x5a\x34\xa5\xfe\xf9\xed\x44\x69\xcc\xfa\xd8\x89\x87\xf2\xd5\xca\xee\x1a\x73\x39\x24\xcb\xd1\x8e\x32\xfd\xb6\x40\x58\x98\xc0\x6c\xc3\x5f\x14\x51\x3b\x74\x73\x63\xee\x65\x1f\x9a\xd5\xad\x8d\x7d\xa8\x41\xc7\xbc\xa5\x50\x44\x92\x94\x4b\x27\xc0\x34\x0a\xb4\x4b\x79\x92\x84\x34\xe3\x3e\x14\x34\x55\x3e\x60\x60\x8e\xff\x24\x31\xff\x8c\xaa\x86\x9b\x88\x3c\x62\xa8\x3d\x14\x23\xcb\x43\x40\x0c\x5e\x94\x46\x3a\xc1\x8b\xb9\xbf\x3e\xef\xda\xcd\xc7\xf2\x27\xbf\xb3\x12\xcc\x1d\x09\x5b\x7c\xec\xec\x49\x6c\x07\xf7\xb5\x39\x65\xe2\x75\xf9\x56\xb0\x99\x6d\x2d\x7c\xc4\xd3\xd4\x02\x8a\xe9\xa9\x8c\xa7\xb9\x5c\xf0\xa8\x14\x41\x6f\xe9\xe7\x4a\x44\x4f\x1b\x2d\xd5\x60\x5b\x14\xf4\xc7\x9c\x48\xb9\xc8\x72\xe6\x5b\x73\x70\xe9\x5e\xfc\x97\xa5\x83\x19\x5f\x24\x03\x54\x82\x45\x54\x7a\x7e\x22\xce\x9c\xf0\x60\xfb\xb2\x3b\xf6\x55\x46\xf8\xb3\xe1\x15\xc2\x32\xdd\xf1\x4a\xb4\x1a\xf5\xa3\xb9\x14\xd0\xe6\xb5\x42\x93\x9e\x83\xcd\x59\x89\xd5\xab\x71\x48\x21\x1a\xf1\xdb\x25\xf1\x7f\xdf\x25\x11\x70\x11\xaf\x79\x43\x6c\x2e\x7f\xfb\xed\x8c\xf8\xbe\xce\x08\x64\xb9\x42\x5c\xff\x90\xa1\xa5\xae\xde\xf9\x9f\x1f\x36\xb8\x82\x05\x3d\xc9\x06\x8c\xf3\x37\x3c\xe3\x82\xc7\xd2\x16\x19\x68\x3c\x7a\x1b\xdd\xee\x6c\xa0\x3f\x45\xbd\x47\x1b\x94\x76\xd5\xb6\x6f\x18\x12\xca\xc3\xa5\x63\x2e\x12\xbd\xc3\x89\xed\xd5\xb3\xdf\x55\x52\xa4\xcf\x29\x69\x2c\xa3\x4b\x93\x5c\x5b\x8b\xa8\x04\xa6\x0b\x3b\x2c\x63\xc0\xaa\xc8\xf3\x37\x99\x1b\xf5\xb2\x05\xb4\xf8\xbc\x2b\x99\xe5\x3f\x57\x34\x7b\xf6\x13\xfd\x79\xb5\xcc\xbe\xed\x2a\x76\x33\xf8\x45\x67\x42\xfa\xae\x9c\x32\xd6\x0b\xbb\xe6\x80\x76\xc9\xaa\x34\x98\x7e\x0f\x39\xaf\x3e\xbb\xf1\xfa\x8c\xce\xe0\x4b\xca\x37\x1b\x91\xda\x3c\x68\x2d\x55\x0d\x92\x07\xf0\x14\xd0\x2c\x59\x09\x14\x4e\xab\x1c\xa9\xc6\x94\x54\x9a\x86\xaf\xc1\xd0\x9d\x36\xcf\xdc\x75\x91\x24\xad\x33\xb7\x9b\x49\xfd\xfa\xf1\xea\x6a\xf6\xf3\xf8\xea\xf1\xb2\x93\x99\x3c\xf8\x5a\xeb\x98\xb8\x9e\xd0\x98\x78\xed\x13\xf3\x58\x61\xc5\xdb\xb4\x7f\x6b\xf4\xa8\x8b\x24\x29\xb3\xd6\x4f\xd5\x67\x6a\x07\x40\x65\xa8\xc8\x63\xc6\x8d\x75\x0e\x5c\xf9\xf9\xf0\xb5\xcf\xa6\xf1\xcf\xf8\xdb\x13\xe6\x5f\xe2\x3d\x68\xab\x90\x66\x43\xf3\xb8\x12\x62\xf5\x80\xed\x80\x10\xa6\xb6\xed\x70\x6c\x5d\x8e\xfd\xb6\xc7\xa3\x02\x46\x40\x11\x5b\x39\x8d\xa3\xec\x0e\x1c\xbb\xcf\xe5\xe8\xa2\xb3\xe5\x31\x46\x88\xa0\xdd\x11\xaa\x29\x80\x46\x9c\x17\x1c\x98\x2a\xbc\x70\x99\x3e\xe5\xba\xbd\x4f\x6c\x42\xe8\x80\x84\xab\x65\xc1\x97\x22\x1b\x31\xfb\xf0\xa9\x5a\xcb\xe5\x0a\xb8\x17\xb3\x62\x43\x60\x37\xbc\xa2\x40\x19\x6c\x65\x09\x55\xd0\x6e\x52\x4d\x15\xbd\x93\x5a\xfa\xe6\x11\xf3\xf5\xd7\x7b\xf7\x3a\x04\xa5\xc3\x86\x48\x10\x42\x4d\x15\x4e\x2e\x12\x3c\xdb\xb0\x0b\xf8\xcb\x3c\xaf\x2e\x5d\x0e\x82\x61\x28\x9a\x68\x6c\xfa\x12\x02\x40\x53\xe5\xca\x68\x10\x94\x47\xef\x10\x10\x07\x63\x97\x76\xdb\x13\x3b\x19\x76\x4f\x50\xdf\x9a\x57\xfd\xc1\x67\x80\xd9\x70\xb3\x01\xea\x6f\x75\x33\xd6\xf3\x6a\xc2\x03\xc3\xd1\x56\x5b\x09\xb5\x53\xcd\xbd\xb1\xef\x85\xdf\x69\x4d\xa9\xeb\x62\x9e\x0c\xe8\x12\x7e\xbf\xb3\x53\x68\x92\xbb\x3b\xd5\x23\xe6\x7a\x57\xd9\x5a\x66\x99\x76\x3d\x76\xae\x75\xcb\xbc\x1c\x31\x7a\x59\xea\x14\xfd\x60\xd7\x60\x14\x51\xbe\xcf\x7a\xe9\x51\x50\x50\x1d\x22\x6b\x7d\xba\x3a\x94\xc8\x6c\xaf\xee\x78\xff\xa9\x77\x8f\x9c\x87\x40\x87\xdd\x20\x0b\x4b\xe7\x5c\xc9\xc0\xb6\x98\x49\x0a\x5e\x59\x19\x35\x89\xe6\xc5\x6c\x1e\xd4\x38\x33\xeb\x7f\xe4\x16\xd1\xc8\xcf\xdc\x08\x3a\x19\x15\x69\x66\xcc\x25\xd9\x3b\xb2\xda\x3a\x65\x7c\xaa\x2c\x1f\xaf\x35\xc7\x63\x0b\x0a\x48\xdd\x5f\xb1\x48\x63\x83\x7c\x96\xe0\xb1\xe6\x4c\x2b\x61\xad\xe1\x54\x59\xed\xbd\x11\xe3\xf3\xcc\x4a\xda\x71\xb5\x75\x3a\x73\xd2\x89\x88\x70\xc5\x00\x6d\xb1\xdb\xe6\x55\xdc\x80\xd2\x39\xff\x3b\xf3\xbf\x7f\xfc\xee\xff\x07\x00\x00\xff\xff\xbb\x0b\x7a\xc3\x60\x7a\x04\x00") +var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x79\x73\x23\x37\x96\x2f\x0c\xff\x3f\x9f\x02\xb7\xe6\x46\xd8\xee\xd1\xe2\x76\xcf\xf4\xdb\xa1\x89\x1b\xef\x43\x4b\xac\xb2\xae\xb5\xb5\x16\x7b\xfc\x0c\x27\x68\x30\x13\x24\xd1\xca\x04\xb2\x01\xa4\x54\x74\x47\x7f\xf7\x27\x70\xb0\x24\x72\x23\x93\x8b\x24\xaa\x9c\x33\x11\x6d\x15\x33\x13\xeb\xc1\xc1\x59\x7f\xe7\x1f\xff\x82\xd0\x07\xf9\x8c\x67\x33\x22\x3e\x9c\xa0\x0f\xdf\x1d\x7d\xfb\xe1\x40\xff\x46\xd9\x94\x7f\x38\x41\xfa\x39\x42\x1f\x14\x55\x09\xd1\xcf\xa7\xc9\x42\x11\x1a\x27\xc7\x92\x88\x27\x1a\x91\x63\x1c\xa7\x94\x1d\x65\x82\x2b\x0e\x1f\x22\xf4\xe1\x89\x08\x49\x39\xd3\xaf\xdb\x3f\x11\xe3\x0a\x49\xa2\x3e\xfc\x0b\x42\xff\x84\xe6\x65\x34\x27\x29\x91\x1f\x4e\xd0\x7f\x9b\x8f\xe6\x4a\x65\xae\x01\xfd\xb7\xd4\xef\xfe\x0f\xbc\x1b\x71\x26\xf3\xd2\xcb\x38\xcb\x12\x1a\x61\x45\x39\x3b\xfe\x9b\xe4\xac\x78\x37\x13\x3c\xce\xa3\x8e\xef\x62\x35\x97\xc5\x1c\x8f\x71\x46\x8f\x9f\xfe\x78\x8c\x23\x45\x9f\xc8\x38\xc1\x39\x8b\xe6\xe3\x2c\xc1\x4c\x1e\xff\x83\xc6\x7a\x8e\x7f\x23\x91\xfa\x27\xfc\x23\xe6\x29\xa6\xcc\xfc\xcd\x70\x4a\xfe\xe9\xdb\x41\xe8\xc3\x8c\xa8\xe0\x9f\x7a\xb6\x79\x9a\x62\xb1\xd0\x2b\xf2\x91\xa8\x68\x8e\xd4\x9c\x20\xd3\x0f\x72\x4b\xc4\xa7\x08\xa3\x13\x41\xa6\x27\xbf\x0a\x32\x1d\xbb\x85\x3e\x32\x0b\x7c\x01\xa3\xb9\x49\x30\xfb\xf5\xc8\x2e\x13\xb4\xcc\x33\x22\x60\x6e\xe7\xb1\x6e\xfd\x13\x51\x03\x68\xb6\x78\x3f\x7c\x5b\x10\x99\x71\x26\x89\x2c\x0d\x0f\xa1\x0f\xdf\x7d\xfb\x6d\xe5\x27\x84\x3e\xc4\x44\x46\x82\x66\xca\xee\xe5\x00\xc9\x3c\x8a\x88\x94\xd3\x3c\x41\xae\xa5\x70\x30\x66\xaa\x7a\x63\x71\xad\x31\x84\x3e\xfc\x6f\x41\xa6\xba\x9d\x7f\x3d\x8e\xc9\x94\x32\xaa\xdb\x95\x86\x7e\x82\xd1\x96\xbe\xfa\xe7\xbf\x34\xfd\xfd\xcf\x60\x46\x19\x16\x38\x25\x8a\x88\x62\xc7\xcd\xff\x55\xe6\xa2\xf7\x48\x77\x5e\xec\x63\x75\xe0\x95\xd9\x5e\xe1\x94\xe8\x3d\xd1\x3b\x65\xbf\x80\xbf\x05\x91\x3c\x17\x11\x41\x13\x92\x70\x36\x93\x48\xf1\xda\x1a\x50\x68\x41\x93\x57\xf5\x89\x20\x7f\xcf\xa9\x20\x7a\xaf\x94\xc8\x49\xe5\xa9\x5a\x64\x30\x48\xa9\x04\x65\xb3\x70\x29\xfe\x79\xd0\x69\x6a\x86\x2a\xd7\x98\x99\xf9\xa0\x75\x62\x23\x36\x70\xaf\x44\x98\xa1\x09\x41\xfa\x2c\xd2\x98\x08\x12\x23\x2c\x11\x46\x32\x9f\x48\xa2\xd0\x33\x55\x73\xca\xf4\xbf\x33\x12\xd1\x29\x8d\xdc\x9a\xed\xcf\xda\xc0\x9f\xcb\x57\xe6\x41\x12\xa1\x07\xfe\x44\x63\x12\xa3\x27\x9c\xe4\x04\x4d\xb9\x28\x2d\xcf\xd1\x88\xdd\xcf\xf5\x3a\xa4\x13\xca\xe0\xe4\xe9\xb5\x74\x14\xf2\x6f\x6e\xb9\xfe\x0d\xe9\xfe\x50\xce\xe8\xdf\x73\x92\x2c\x10\x8d\x09\x53\x74\x4a\x89\xac\xb6\xf6\x6f\x1c\xfa\xc7\x09\x3a\x44\x7a\x9d\x89\x50\xb0\xde\x9c\x29\xf2\x59\x49\x74\x88\x12\xfa\x48\xd0\x57\x17\x54\x2a\x34\xb8\x39\xff\xea\x00\x7d\x65\xce\x0b\x02\xde\xf4\xd5\x2b\xac\xb0\xff\xfb\x7f\x82\xa3\xa7\xf0\xac\x7a\xe8\x3e\x0c\xf4\x69\xbe\x33\x57\x43\xd1\xc2\xff\xfc\x4b\xd8\x8e\xdd\xaf\xe5\xfc\xb6\x60\xb6\x96\xd3\x76\xe5\xaf\xb0\x4c\x65\xd6\x2a\xf5\x0e\x6d\xcb\x59\x75\xbb\x55\xd6\x2a\xdf\x17\x6f\xd5\x53\x78\x69\xfe\xba\x0d\x73\xc5\x0a\xa8\x1e\x53\x66\x0e\x89\x3f\x33\x42\xea\x73\xe2\xa8\x77\x4f\x58\xca\x36\xbc\x36\x98\x59\xc0\x6e\x1d\x17\x0d\x56\x65\x0f\xe7\x9d\xd0\x94\xae\xda\xdf\x73\x16\x6b\x91\xcb\x32\x3b\x96\xa7\x13\x22\xf4\x32\x38\xb6\x07\xb3\x9d\x68\x36\xa8\x72\xc1\x48\xdc\x61\x9a\x7f\xcf\x89\x58\x2c\x99\xe7\x14\x27\xb2\x6d\xa2\x94\x29\xa2\xe5\xdb\xca\xe3\x29\x17\x29\x56\xf6\x85\x3f\xff\xfb\xba\x0b\xa1\xf8\x23\x59\xb5\xff\xe7\x66\x37\x23\x2c\x81\x0c\xd2\x3c\x51\x34\x4b\x08\xca\xf0\x8c\x48\xbb\x22\x79\xa2\xe4\x01\xbc\xa6\x65\x6a\x22\x0e\xfd\x0d\x04\x3d\xb8\x9b\x37\x97\xf0\x0b\x9a\x7a\x01\x92\x91\xcf\x0a\x5a\x1a\x31\xb8\x7b\x61\x89\xc2\x1b\xe5\x05\x96\x72\x33\x9a\x91\x5c\xa8\xf1\x64\x71\xf4\x48\x6a\xfd\xb6\x52\x0e\x66\x08\x2b\x25\xe8\x24\x57\x44\xcf\x5b\xb7\xe1\xee\x4e\x60\x8f\xe6\x82\xee\xc2\x1a\xde\x6e\xc2\x31\x15\x24\x82\xb9\xad\x73\x60\xfc\x57\x7a\xde\x5a\x7f\x59\x98\xd9\x3f\x92\x05\xc8\x23\x0d\x2b\xe0\xb7\x7c\xc4\x46\x0c\x1d\xa2\xb3\xe1\xdd\xe9\xf0\xea\xec\xfc\xea\xd3\x09\xfa\x7e\x81\x62\x32\xc5\x79\xa2\x0e\xd0\x94\x92\x24\x96\x08\x0b\x02\x4d\x92\x58\xcb\x1c\x7a\x30\x84\xc5\x94\xcd\x10\x17\x31\x11\x2f\xb7\x8c\x95\xa7\x84\xe5\x69\xe5\x5e\x81\xdf\x8b\xd1\x57\xbe\xd0\x22\x86\x7f\x54\x7a\xf2\x3f\xb5\x05\x86\x19\xeb\xbe\x83\xd6\x5e\x4d\xa8\x89\xe6\x34\x89\x05\x61\xc7\x0a\xcb\xc7\x31\xf9\x4c\xa2\xdc\xdc\xc9\xff\x28\xff\x30\xd6\x92\x29\x8f\x49\xf9\x97\xd2\x3f\x0a\x51\x68\xed\x4f\xbd\x96\xba\xf6\x97\xa0\xd3\x76\xfb\x0e\x7e\xa1\x71\xe3\xdb\xf0\xcb\x8a\x39\xb8\x77\x96\x0c\xd6\xbd\xd2\x3a\x2a\xf7\x82\x95\xf8\x1a\xdf\x11\x44\x89\xc5\x18\x2b\x45\xd2\x4c\xad\xa9\xaf\x63\x94\x68\xb9\x72\x99\x1c\x79\xc5\x63\x32\x74\xfd\xfd\x8a\x8c\x38\x4b\x62\x34\x59\x58\xae\x35\x25\x82\xb0\x88\xb4\xb7\x70\x8f\xe5\x63\xd1\xc2\x2a\x61\xb4\xd4\x9f\xfc\xc8\x85\xfe\xfc\x3d\x08\xa4\xa5\x81\xbf\x86\x4c\xba\xe9\x89\xfb\xe2\x2c\x04\x1b\xf2\x8f\xde\x9e\xb0\xfd\x4a\x76\xb5\x3e\x70\x81\xe4\x42\x2a\x92\xae\xb4\x43\xbc\x9f\x85\xb0\x17\xc4\xbe\x0e\xb8\x72\x47\xfd\x0e\x4e\x7d\xf9\xc6\xed\x8f\xf7\x1a\x4b\xb6\x2b\x2b\xe2\xbe\xcf\xd3\xf9\x70\x96\x4f\xf5\xce\x6d\x5f\xe0\xc4\x78\x17\xd3\x2c\xc9\x82\xbb\x1e\xe4\x0b\x99\x1b\x5a\xf7\xca\xad\xf6\x18\x06\xb0\x42\xd1\x2c\xdb\xa1\xfd\xf9\xd3\x9f\x86\x16\x1a\x63\x8e\x53\x73\x2a\x03\x63\x15\x8a\xb8\x30\xb2\x60\x6c\xcf\xbb\xd1\x35\x07\xf7\x83\xbb\xe1\xfd\x09\x1a\xa0\x18\x2b\xac\x0f\xb8\x20\x99\x20\x92\x30\x05\x7a\xbc\xfe\x5e\x2d\x50\xca\x63\x92\x18\x8d\xf3\xa3\x96\x7c\xd1\x19\x56\xf8\x14\x2b\x9c\xf0\xd9\x11\x1a\xc0\x3f\xf5\xc7\x54\x22\x9c\x48\x8e\xb0\x23\x2b\x12\xbb\x26\x30\x8b\x1d\x6b\xc1\x28\xe2\x69\x46\x13\x6f\x83\xf7\xc6\x15\xca\x62\xfa\x44\xe3\x1c\x27\x88\x4f\x34\x57\xd1\x1a\xf2\xf0\x89\x30\x95\xe3\x24\x59\x20\x9c\x24\xc8\x76\xeb\x5e\x40\x72\xce\xf3\x24\xd6\xed\xba\x51\x4a\x9a\xd2\x04\x0b\xad\x82\x9b\xd1\x5e\xdb\xb6\xd0\xfd\x9c\xf8\xb1\xc2\xb8\xf4\x6a\xa6\xf8\x91\x48\x44\x15\xca\xb8\x94\x74\x92\x14\x67\xfe\xe1\x1c\xc1\xb8\x4f\x2f\xce\x41\x9f\x8f\x14\xe2\x86\x87\xba\xce\xad\xfd\xc6\xf5\x98\x62\xc6\x08\x74\xcc\xd5\x9c\x08\xdb\xbd\x7d\xf9\xad\x55\xf3\x87\xab\xbb\x9b\xe1\xe9\xf9\xc7\xf3\xe1\x59\x5d\x37\xbf\x1f\xdc\xfd\x58\xff\xf5\xe7\xeb\xdb\x1f\x3f\x5e\x5c\xff\x5c\x7f\x72\x31\x78\xb8\x3a\xfd\x61\x7c\x73\x31\xb8\xaa\x3f\xb4\x64\xd5\x59\xcd\x0f\x47\xb6\xe6\xd9\xea\x6d\x9a\x2f\x65\xd3\x3c\xf8\x72\x8d\x9a\x53\x9a\x80\x0e\xda\xd9\xa0\xe9\x6d\x08\xf6\x4b\x94\x61\x29\x8d\x64\x64\x46\x70\x34\x62\x97\x5c\x68\x06\x36\xe5\x9a\x47\x68\xe9\x49\x89\x3c\x52\x94\xcd\xfc\x47\x27\x68\x94\x7f\xfb\xed\x9f\xa2\x0b\xca\x1e\xe1\x2f\xb2\x8f\x8b\xd3\x5b\x7c\x7b\x8b\xef\xef\xcb\xe2\xab\x45\x9f\xe3\xd0\xd0\xbb\xdb\x90\x21\x2d\x5c\xb0\x2c\x57\x20\x4a\xf0\x5c\xe9\x3f\x75\x97\x40\x1e\x4b\x02\x87\xba\x19\x14\x3f\x11\xe5\x5f\xd4\xa2\xcd\x7b\xb0\x23\xfe\xcc\xc5\xe3\x34\xe1\xcf\x7e\xe0\x9f\x88\xd2\x63\xbf\xb5\xbd\xf4\xa1\x44\x7d\x28\xd1\xdb\x86\x12\xed\x95\x31\xef\xe5\x99\x5f\xd9\xf2\x67\x38\x60\x8b\x27\xab\xd5\x51\xd5\xe2\x87\x0a\xdc\x4c\xaf\xc2\x35\xcb\xce\x9c\x15\x9c\xb3\xf4\xf2\x7b\xe1\x9e\xa5\x41\xbf\x3e\xe7\xfc\x5d\xf8\x5b\x7a\x77\xca\x86\x0b\xf5\x2e\x19\x6c\xc7\xbb\xe3\xd5\x9c\x21\x2f\xcf\xf0\x6b\xb1\x0d\xeb\x04\x33\xac\x11\xbd\xd0\x39\x5c\x61\x45\x7c\x42\x63\x40\x42\x53\x04\x42\x3d\xe4\xa0\x31\xc6\x60\xbb\xa0\x82\x4d\xef\xa6\xee\x61\x02\x9f\x88\x2a\xbd\xfc\x5e\xee\xa6\xd2\xa0\x5f\xff\x6e\xfa\x9d\x46\x07\xf4\xe1\x00\x2f\xb8\x74\x5f\xfa\x8d\xb6\xbf\x0e\xff\xdf\x81\x87\xbf\x77\xe9\xaf\xb5\x46\x5f\x96\x0f\xff\x4b\x75\xda\xbf\x4f\x2f\x7d\xef\x96\xef\xdd\xf2\x6f\xe1\x3f\x79\x7f\x6e\xf9\x97\x55\x4f\x8b\xe3\x35\x76\xb4\x60\xf5\xb5\xe0\x50\xfe\xb3\x83\x93\x06\xfe\x72\x2a\xdf\xba\x41\xe3\xad\x3a\xdc\x59\x31\xbe\x21\x1c\xa1\x5f\x2d\x21\xad\x50\xe7\x6a\xdf\xbd\x07\x75\xae\x3e\xe8\x97\xd7\xe1\xde\x8c\xf9\xbe\xd0\xe5\xf9\x4e\xd8\xc0\xfa\xb7\xe5\x17\x2c\x93\xf7\xb2\xf8\xcb\x67\xe3\xef\xcd\x84\xde\x8f\xec\xfd\x06\x17\x6f\xc7\x5b\x77\xe7\x39\x59\x0d\xd7\x6c\x70\x3b\xad\xca\xb0\xaa\x7e\x4d\x89\xfc\xee\x5d\xde\xb7\xaf\x91\x64\xd5\x5f\xb8\xfd\x85\x6b\x9b\xea\x2f\xdc\x2f\xf8\xc2\xdd\x3b\xf8\x9b\xbd\x89\x00\xed\x83\xc8\x7b\x60\x8c\x3e\x86\x7c\x87\x8b\xd3\xc7\x90\xf7\x31\xe4\xbf\xb3\x18\xf2\x6d\xb4\xa7\x4d\xb1\x28\xdf\x42\x8f\xea\xd5\xa8\x5e\x8d\x0a\x7f\xef\xd5\xa8\x5e\x8d\xea\xd5\xa8\x2f\x1c\x45\xb4\xd7\xa1\xba\x2f\x44\xaf\x43\x75\x5e\xaa\x5e\x87\x5a\xb2\x38\xbd\x0e\xd5\xeb\x50\xbf\x2f\x1d\x8a\x3c\x11\xa6\x24\x24\xa3\x85\x1a\xc5\x87\x8c\xcb\x76\x4d\x28\xe4\x0e\x0d\x5a\x10\xb4\x59\x4e\x0a\x83\xc0\xa5\x5f\xd1\x1c\x4b\xc4\xa3\x28\x17\x95\x33\x50\xd5\x83\x4e\x05\xc1\x8a\x40\x0b\xfa\xc3\xf7\xa0\xff\xd4\xa7\xfb\x5a\x31\xf8\x13\x1e\xd7\xa8\xdd\x1c\x84\xa6\x27\xcb\xe5\x91\x9d\x4d\xfd\xef\x39\xe9\xa6\xfe\xbd\x20\x51\x2b\x2c\x1f\x77\x4c\xd4\xa5\x5c\x8b\x8d\x88\x1a\x5a\x78\x2f\x44\x5d\x9f\xee\xef\x86\xa8\x9b\xa6\xbe\x0f\x44\xfd\x6c\xf3\xf8\x77\x4c\xd8\x35\x78\x80\x8d\x88\xdb\xb7\xf2\x5e\x08\xbc\x79\xda\xbf\x1b\x22\x6f\x9b\xfe\xdb\x12\xba\x4f\x91\xec\x4c\xe2\xf7\x82\xce\x66\x5a\xcd\x00\x0d\x4f\x93\xe2\xea\x1a\x41\x45\x52\xe0\x4a\xb2\xf6\xaf\xbe\x07\x92\xf6\x83\x35\x63\xff\xdd\xd0\x72\x6d\xde\x7b\x42\xc4\xc7\x82\x44\xfc\x09\xea\x85\x75\x23\xe6\x5b\x02\x14\x0c\xfc\x3a\x13\xe4\x89\xf2\x5c\x26\x8b\x43\x91\x33\xe4\x98\x3f\xf2\xcd\x1b\x6b\xf5\x33\x4d\x12\xc4\x99\xd6\xbf\x14\x16\xca\x3d\xd6\xfa\xb7\xe0\x29\x9c\x8a\x04\x4b\x85\x1e\x19\x7f\x66\x68\x8a\x69\x92\x0b\x82\x32\x4e\x99\x3a\x1a\xb1\x73\x86\x6e\xcd\x18\x21\x6f\xe0\x00\xe5\x52\x9f\xa5\x08\x33\xc6\x15\x8a\xe6\x98\xcd\x08\xc2\x6c\x61\x13\x70\x0b\xca\x40\x5c\xa0\x3c\x8b\xb1\x56\x7c\xe7\xa4\x1a\xa5\xe7\xc7\x08\xe6\x3b\x2a\x11\x95\x88\x7c\x56\x82\xa4\x24\x59\xe8\x3e\x34\xed\x2b\x8e\xec\xfa\x98\xa1\xda\x74\x3e\x22\x04\x17\x12\x32\x0e\x26\x8b\xdf\x30\x53\x94\x11\x04\x8a\x92\x34\xa6\xb9\x43\x74\xc1\x25\x98\x6d\x7e\xfc\x8b\x44\x51\x92\x4b\x45\xc4\x01\x9a\xe4\x33\xa9\x35\xc5\x2c\xc1\x6a\xca\x45\xaa\x47\x48\x99\x54\x78\x42\x13\xaa\x16\x07\x28\xc5\xd1\xdc\xb4\x05\x6b\x20\x0f\x46\x2c\xe6\xcf\x4c\x2a\x41\xb0\xef\xdd\x3d\x44\x5f\x87\xcf\x0c\x01\xc8\x6f\x0e\x20\xed\x90\xa6\x5a\xdd\x0d\x86\x5f\xec\xb8\xd9\x13\xdd\x08\x89\xd1\x84\x44\x38\x97\xd6\xc3\xa0\xc4\x02\x91\xcf\x73\x9c\x4b\xd8\x3b\x3d\x3d\x9b\xb3\x11\xf1\x34\x4b\x88\x22\x88\x4e\x91\x12\x94\xc4\x08\xcf\x30\xd5\x4b\x77\x47\x96\x80\xa0\x7b\xa2\xb7\x1b\x68\xa9\xfe\x57\x50\xbf\x53\x2e\x08\x8a\x89\xc2\x34\x59\xea\x75\xb2\xdf\xf6\x5c\xee\x3d\x71\xb9\xf2\x86\xef\x05\x9b\x33\x20\xfe\x3b\xb8\xb4\x99\x35\xdd\x47\x38\xd9\xf2\xfe\xbe\xb5\x83\xea\x69\xfb\x7d\xd1\xb6\xd9\xb5\xfd\x21\xee\x57\x8b\xc1\xee\x5e\xd1\xa2\xa8\x66\xf1\xae\x68\xfa\x35\xc2\x02\x7a\x87\x73\xef\x70\x6e\x5d\x99\xf7\xe9\x70\xde\x1b\x8f\x51\xef\x73\x7e\x21\x9f\x33\x95\xbd\xd3\xb9\x77\x3a\x77\x5d\xa0\xde\xe9\xdc\x3b\x9d\xdf\xaf\xd3\xf9\x25\x71\x9f\x77\x8a\xee\xfc\xae\x44\xeb\x5e\xac\xee\xc5\xea\x1e\xc2\xd9\x4f\x6d\x57\x2c\xcc\x7d\xfd\x21\x26\x09\x51\xa4\xdd\x9e\x45\x44\xaa\xb5\x05\x73\x3d\x53\xa6\xe5\xb8\x99\x20\x52\x6e\xcb\x90\x7c\xc3\xef\x93\x2d\xf9\xe1\xf7\x50\xf3\x3d\x9f\xea\xf9\xd4\x26\x53\xdb\x1f\xd3\x6c\x70\x98\x5f\xcb\x36\xeb\xf9\x6f\x96\xb7\x4b\x7f\x0f\xc6\x0d\x59\xf8\x45\x0d\x85\x6b\xa9\x5d\x71\x7f\xb8\x2d\x9d\x6f\xc9\x8f\x4d\x5f\xef\x93\x19\x9b\xb1\xf7\x9c\xb8\xe7\xc4\x3d\x27\x7e\xdf\x9c\xd8\x9d\xe4\x37\x75\x91\x19\x3f\xdd\x38\x4b\x30\x1b\xd3\x58\x1e\xff\xa3\xd0\xe5\x5f\xca\x43\xa6\x0f\x54\x6c\x52\x4c\x7d\x4a\xa7\xf8\x55\x7f\x92\x14\x06\x73\x8f\x99\xb9\xc2\x89\x66\x6c\xec\x37\x09\x66\xe7\xf1\xbb\xf0\xa3\x35\xce\xfe\x35\x7c\x6a\xdb\xf0\x71\xac\xc0\xd3\x81\x29\x33\x26\xbc\x22\xaf\xb6\x64\xa0\xdc\x8f\x13\xbe\x0d\x57\x0f\x26\x16\x30\x76\xc7\xaf\x83\x45\xd9\xbf\x69\xf7\x7e\x9d\x3e\x97\xb0\xf7\x5c\x74\x9c\x70\xef\xb9\xd8\x5f\xcf\xc5\x5b\xb9\x23\x5f\xf9\x78\xbe\x96\x58\xd7\x3d\x08\xdf\x44\xab\x41\x50\x6b\x9e\x25\x1c\xc7\xcb\x5c\x31\x85\xe0\x15\x82\xa3\xac\x8c\xc4\x2f\x3e\x7b\x0f\xc2\x5a\x31\xda\xdf\x59\x24\x5f\x7d\xe2\xfb\xa2\xa5\xbc\x62\x28\x5f\x33\x89\xaf\xa1\x92\xbc\x0f\xfc\xd4\x62\xbc\x7d\x68\x5f\x6f\x51\x7a\x7b\x8b\x52\x1f\xda\xd7\xab\x80\x7b\xa6\x02\xf6\xa1\x7d\x7d\x68\x5f\xaf\x20\x2f\x9f\x76\xaf\x20\x7f\x11\xa1\x7d\x9d\x44\xed\x17\xc4\xde\xdc\x5e\xe8\xee\x65\x6e\xf7\x5e\x2f\x73\xf7\x32\xf7\x17\x2a\x73\xef\xc7\x0a\xf7\x02\x77\x2f\x70\xf7\x02\x77\x2f\x70\xf7\x02\xf7\xce\x97\xb1\x17\xb8\x5f\xb3\x40\x67\xb3\xd4\xbd\x22\xc9\xe6\xbd\xfa\x72\x7a\x71\xbb\x17\xb7\xf7\x5b\xdc\xde\x9b\x09\xbd\x9f\x32\x8f\xdd\xe6\xd3\x17\x29\xef\x8b\x94\xf7\x45\xca\x5f\xbc\x48\xb9\xfb\xba\x43\xc6\x87\x3d\x5c\x0a\xab\x5c\x1a\xc0\x47\x41\x66\x54\x2a\x60\xff\x5d\xe4\x95\xd5\x89\x1e\xef\x55\x4e\xe9\x53\x3d\xfc\xd3\x5e\x6a\xe9\xa5\x96\xdf\xa9\xd4\xb2\x47\xb1\x60\x7b\x91\xb1\x92\x62\x15\xcd\xf1\x24\x21\x63\x6f\xf4\x91\x5d\xf5\xe0\x0b\x2a\x95\x44\x51\x2e\x15\x4f\xdb\x2f\x97\x4b\xd7\xc3\xc0\x77\x70\xca\xd9\x94\xce\x72\x73\xb7\x18\x70\xce\xe0\x44\x17\x92\xe0\x22\x23\xab\x3c\x55\x0d\xad\xbf\x8b\x6b\xa9\x79\xe8\xaf\x75\x3b\xad\x23\xb8\x17\x46\x3e\x2b\x75\x6b\x59\x6b\x7c\x3b\xbc\xbb\x7e\xb8\x3d\x1d\x9e\xa0\x41\x96\x25\xd4\xd8\xdd\x0d\x29\xd0\xdf\xf4\xa4\x90\xc2\xf2\xb1\xd8\x4b\x61\xc8\xdc\x60\xd8\x82\xa1\x5f\xcb\xc6\xe8\x10\x9d\x5e\x3c\xdc\xdd\x0f\x6f\x5b\x1a\xb4\x84\x02\x79\xab\x24\xcd\x12\xac\x48\x8c\x1e\xf3\x09\x11\x8c\x68\x69\xc7\x22\xdd\x16\xe6\x7f\xd3\xe8\xf0\xbf\x86\xa7\x0f\xf7\xe7\xd7\x57\xe3\xbf\x3e\x0c\x1f\x86\x27\xc8\x51\x9c\x6e\x56\x8f\x4b\x8f\x22\x5e\x30\x9c\x6a\x0d\x44\xff\x50\x64\xca\xfe\x3d\x27\x39\x41\x58\x4a\x3a\x63\x29\x01\x44\xe0\x52\x8b\x6e\xc0\x17\x83\xef\x87\x17\xe5\x96\xe7\x24\x84\xdf\x45\x09\x9e\x90\xc4\xfa\x23\xc0\xc4\xae\x09\x3d\x80\x2a\x36\x8e\x8a\xdc\xac\xea\x5f\x1f\x06\x17\xe7\xf7\xbf\x8c\xaf\x3f\x8e\xef\x86\xb7\x3f\x9d\x9f\x0e\xc7\x56\xaa\x3c\x1d\xe8\x7e\x4b\x3d\x59\xe1\x13\xfd\x3d\xc7\x89\xd6\x4e\xf8\xd4\xe1\xf1\xa2\xe7\x39\x61\x28\x67\x40\x71\x46\xe5\xd1\x7a\x90\xef\x54\x9f\x32\x33\xa3\x9b\x8b\x87\x4f\xe7\x57\xe3\xeb\x9f\x86\xb7\xb7\xe7\x67\xc3\x13\x74\x47\x12\x50\x0a\xdc\xa2\xc3\x2e\x66\x49\x3e\xa3\x0c\xd1\x34\x4b\x88\x5e\x0d\x6c\xb3\x89\xe7\xf8\x89\x72\x61\x8f\xee\x8c\x3e\x11\x66\xd6\x11\xce\x2c\xb4\xef\x84\xef\x71\xb0\x74\xd7\x57\x1f\xcf\x3f\x9d\xa0\x41\x1c\xfb\x39\x48\x68\xa3\x44\x39\x0e\xd6\xf9\xb0\x3c\x6c\xcd\x1c\xa0\x7b\x43\x44\xfc\x89\x08\x41\x63\x52\xa1\xa3\xc1\xdd\xdd\xf9\xa7\xab\xcb\xe1\xd5\x3d\xac\x98\x12\x3c\x91\x68\xce\x9f\xc1\x94\x0d\x33\x04\x0b\xf7\x13\xa6\x09\x74\xe6\x36\x8b\x33\xf4\x3c\xa7\xe0\xfe\x00\x60\x66\xdf\xb3\xd1\xcf\x44\xce\xde\xdc\x3a\x5b\x3a\x78\x75\xb5\xa5\x7a\x92\xea\x6f\x54\x8e\xc5\xb2\x17\x4a\x54\x5e\x7f\x71\x15\xb5\xd6\xbf\xa8\x90\x5b\xbb\xb2\x56\xa3\x97\xf6\x99\x16\x7b\xdd\x59\x57\x2b\xaf\xe1\xeb\x5d\xb3\x44\x09\x1a\xc9\x97\x85\x7a\x12\x39\x53\x34\x25\xc8\x76\x66\x0f\xe7\x0e\xe1\x9f\x2e\x4d\xc3\xef\xe1\x82\xad\x95\x72\xf8\x44\x94\x1d\x7e\xaf\x02\xf6\x2a\xe0\x7e\xa8\x80\xef\x2d\xdb\x3f\x26\x59\xbd\xc3\xca\xc4\xe0\x1d\xe3\xf5\xaa\x05\x69\x18\x7b\xa2\xb5\xa8\x26\xe4\x89\x24\x20\xe5\x29\x81\xb5\xd2\x68\x65\x97\x89\x20\xf8\x51\x0b\x7c\x31\x7f\x0e\x25\x97\x06\xe4\x7e\xb4\x9b\x5b\xb8\x4b\x10\xc7\x9f\xbe\x7b\xbd\xcb\x42\x2f\x77\xfc\x1a\x25\xbc\x6f\x21\x48\x66\x29\x46\x60\x90\x60\xff\xab\xb5\x04\xaf\xb8\x2d\x82\x2f\xde\xc3\x45\x11\x0e\x77\x8f\xb4\xae\xdb\x50\x09\x76\x2c\x34\x25\x0a\xc7\x58\x61\x7d\x68\x66\x44\x1d\xa1\x6b\x06\xcf\xee\xb1\x7c\x3c\x40\xee\xca\xd3\x6c\xa5\xb0\x32\xbc\x42\x6a\xfd\x3b\x31\xe0\xaf\xcf\xc7\xfb\xeb\xbb\xbf\xbe\x9b\x57\xa6\x0f\xf3\x6c\x59\xe1\x5d\x5d\x8c\x6b\xf9\xbc\x76\x77\x7f\x99\x16\xdf\xef\x15\xf6\xba\x4e\xae\x9d\x5e\x68\xa6\x72\x56\x7f\x5b\x99\xff\xeb\x6f\xab\xfe\xb6\xea\x6f\xab\x3d\x58\xe1\x37\x77\x18\x36\x70\xf7\x37\xf5\x18\xae\xd2\x4e\x37\x86\xbc\x2b\xb4\xd1\x75\x40\xef\x7e\xed\x8a\x6d\x57\x7c\x43\xdf\x87\x8f\x30\x98\xe4\x6b\xa4\xb5\xed\xf4\x32\x37\xf9\x22\xbd\x7e\xfa\x82\x37\x7e\x8f\x40\xb8\x53\x04\xc2\xfd\x98\xeb\x8b\xa4\xc0\xbd\x8d\xc5\xf4\xed\xd3\xde\x7a\xa8\xc1\x3e\xb1\xab\x4f\xec\x82\xdf\x7b\xa8\xc1\xdd\x51\xeb\xcb\x4a\xd7\x3c\x26\xe3\x4a\x94\x80\xff\xe7\xb8\xea\xf9\x29\x3d\x09\xdd\x40\xa5\x07\x45\xa6\x1b\xb4\x4e\xe3\x5d\x16\x91\xba\xe2\x31\xe9\x1c\x49\x50\x7a\x79\xcf\x65\x70\x37\x4f\x23\x8b\x97\x06\xfe\xc2\x92\x78\xcb\x96\x7f\x89\x86\x9d\x06\x02\xee\xad\x3c\x2b\x17\xea\x4b\x8d\x2f\x28\x38\xd4\x3b\xf2\x54\x74\x63\xe3\x2e\xa6\x71\xdc\xc2\xcc\x9b\x9f\x7b\x96\xde\xfc\xf8\x65\x30\x83\xba\x73\x74\x30\xab\x84\x6f\xbf\x0f\xbb\x4a\x38\xe2\xd7\xb0\xac\x2c\xdd\xfb\x2f\x8e\xab\x2f\xa3\xe4\x9e\xb7\x77\x5c\xae\x2f\x95\xc3\xf7\x10\x3f\xcb\x6c\x1d\x3d\x86\x4e\x6f\x6a\xd9\x9f\x09\xf7\xa6\x96\x77\x6d\x6a\x31\x2e\xda\x71\x86\x05\x61\xaa\x41\xa4\xae\x5e\x27\xf0\x7a\x88\xb9\xe0\xa4\x0e\x68\x00\x69\x89\x16\xd9\x0b\xd9\x5f\x55\x5f\x96\xed\xc5\x0a\x06\x41\x26\xe4\xf1\x3f\x8a\xbf\xbd\xb0\x5e\xaa\x00\xb1\x24\x3a\xc9\x60\xfd\x4b\x7d\x47\xe7\x36\x50\x69\xfb\x5c\x49\xac\x4a\xa2\x20\x04\x51\xaf\x8c\x67\xba\x31\x6f\xbf\xaf\x14\xc9\xda\xa0\x5f\x37\xb6\xa9\xbe\xf1\xdd\x0e\x90\xdb\x19\x6a\xd2\xfd\x82\x9c\x32\x2d\x8d\xf2\x69\x71\x31\x48\xf4\x4c\x93\x04\x10\x45\x20\xe3\xb1\xed\x06\xf8\xdd\x45\x3c\xb4\xee\xfc\x9b\xc6\x3d\x34\x71\x87\x26\x96\xd0\xc5\x9e\xba\xab\x9c\x69\x47\x6c\x90\xce\x0a\xda\xd0\x0a\x03\xec\x97\xc1\x09\x3e\x11\xf5\x5a\x6c\x60\xd3\xb3\xbf\xf4\xdc\x0b\x32\x25\x82\xb0\x88\xec\xa1\xb7\x7d\x9d\x30\x90\x9f\xcd\x24\x6d\x0c\x88\x87\x12\x08\xa7\xaa\xb8\xd5\xd3\x4a\xa2\x6e\x9f\x49\xde\x67\x92\xf7\x99\xe4\xd5\xa3\xde\x67\x92\xf7\x99\xe4\x8d\x39\x10\x31\x49\x88\x22\xad\x52\xc5\x19\x3c\x7e\x2b\xa9\xc2\xf4\xfe\x65\x08\x16\x66\x2e\xbd\x6c\xf1\xbb\xd1\x2c\xdc\x86\xef\x85\x66\x61\xce\xda\x2a\xf3\x43\xe9\xc7\x86\x10\xeb\x57\x37\x49\x6c\xc2\x34\x4a\x76\x89\x33\x78\xfd\x5d\xb2\x8e\xea\xd0\x7b\x1b\x05\x0a\xb6\xee\xe5\x38\x49\xed\x08\x74\x9b\xb8\xf5\x18\xbe\xdf\x79\xef\x0b\x07\x6d\xa3\xfb\x7d\xe5\xa3\x1b\x27\xa5\xec\x8b\xc5\xe6\x0b\xe2\x91\xbd\xf5\xe6\x8d\x73\x25\x6a\xcc\xf0\xdd\x4e\xb7\x37\x56\xf5\xc6\xaa\xde\x58\xd5\x1b\xab\x7a\x63\x15\xea\x8d\x55\x6b\x1b\xab\xbe\x20\x99\xaa\x37\x5c\xf5\x62\xd5\xee\xa6\xbb\xaf\x5a\xe6\x3e\x59\xeb\x3a\xa3\xa4\x17\x39\x54\x2b\x23\xef\xed\xb4\x7f\x5d\x11\x72\x7f\xe3\x46\xf0\x7e\xf8\x95\x7c\x69\x96\xb4\x4d\x60\xb1\xdb\xd1\x2f\x36\xae\xb8\x2f\x1d\xda\xb8\x56\x7d\xd8\xf3\x92\xc5\xe9\xc3\x9e\xfb\xb0\xe7\xbd\x0b\x7b\xde\xb9\xb2\x92\x71\xb9\x0c\x90\xc8\x94\xce\x5a\x9a\xff\xec\xee\x6c\x48\x34\x02\x52\x30\x28\xc7\x31\xc9\x12\xbe\x00\x4b\xca\x92\xeb\xdc\x75\x71\x53\x93\xa8\xf7\xfd\x46\x77\x23\x7f\x2d\x9d\x63\x5f\x64\xd2\x62\xde\x7b\x21\x85\x1e\xff\xa3\x92\xce\xdf\x09\x2f\x93\x21\xf2\x99\x4a\xb8\x95\x56\x13\xf6\x88\x35\x3f\x09\x4a\x17\xda\x7b\x70\x92\xab\x20\x77\x4f\x6a\xc1\x2a\x23\x42\x2d\x82\x37\x49\x9a\xa9\xc5\x7f\x8e\x18\x55\xde\xc3\x46\x67\x8c\x0b\xc3\xd5\xf4\xc7\x73\xcc\xe2\x84\x08\x7d\xa9\xba\x76\x22\xcc\x18\x57\x20\x6e\xc0\x0c\x62\xf4\x44\xb1\x11\x4e\x06\x37\xe7\x9d\xfd\xcc\xef\xe8\x74\xbd\x76\xb1\xba\x15\x77\xdd\xa7\x84\x4f\xa0\x82\x65\x5e\xd6\xe9\x75\x03\xbd\x67\xb4\xb4\x73\x6f\xc5\x10\x14\x96\x8f\x55\xe0\x90\x72\x16\xfa\x78\x29\x94\xc8\x8a\x77\x4b\x18\xf3\xcb\x5f\xad\xc0\x8d\x94\x9f\x59\x00\x12\x78\x0c\x43\xae\x8e\xc3\xfd\x18\x76\xe8\x7e\x2b\x5a\x76\xbf\xb8\xd2\xdd\xf0\xa3\x20\x4a\x2c\xc6\x58\x29\xcd\x64\x76\x89\x71\x72\x8f\xe5\x63\x67\x8c\x93\xd2\xcb\x7b\xce\x72\x4a\x18\x27\xe5\x81\xbf\x38\xcb\xe9\x48\x9d\x2b\x38\xd3\xfb\xcb\x8f\xef\x7a\xd6\xd6\x98\xf8\xef\x25\x57\xbe\x1b\xef\x59\x65\xa6\x7d\x8f\x79\xf3\xcb\x98\xe9\xde\x8c\xb0\xc2\xcf\xbf\xc4\x93\x5b\xbe\x9d\xfa\x23\xba\x6c\x8d\xbe\xb8\x42\xb8\x15\xa1\x63\xc5\xdc\xde\x49\x41\xdc\xaa\xdc\xb4\xeb\x51\xbd\x8c\x99\x3b\xd8\x8d\x75\x62\x80\xce\xcb\x68\xe5\xfe\x0c\xb9\xa8\xa0\xa2\xf4\xec\x1c\x12\xad\xa9\x0c\x13\xe2\x23\x2e\x8c\xe4\x15\xdb\x33\x6b\xcc\x76\x06\xcc\xf7\x04\x0d\x50\x6c\x6b\xf3\x0b\x92\x09\x22\x09\x53\x46\xd5\x36\xf5\xae\x5c\x79\x7f\xca\xac\x85\xe8\x0c\x2b\x7c\x8a\x15\x4e\xf8\xec\x08\x0d\x7c\x61\x7f\x2a\x11\x4e\x24\x47\xd8\x11\x0e\x89\x5d\x13\x98\xc5\x8e\x3d\x60\x14\xf1\x34\xa3\x89\x47\x6a\xf7\x56\x7c\xca\x62\xfa\x44\xe3\x1c\x27\x1e\x19\x7b\xc4\x86\x4f\x84\xa9\x1c\x54\x38\x9c\x24\xc8\x76\xeb\x5e\x08\xf4\x73\x37\x4a\x49\x53\x9a\x60\x81\x14\xb7\xa3\xbd\xb6\x6d\xa1\xfb\x39\xf1\x63\x75\x28\xe0\x28\xc5\x8f\x44\x22\xaa\x50\xc6\xa5\xa4\x93\xa4\x38\xc6\x0f\xe7\x08\xc6\x7d\x7a\x71\x0e\xa6\xd1\x48\x21\x6e\xf8\xa0\xeb\xdc\xfa\x09\x5c\x8f\x29\x66\x8c\x40\xc7\x5c\xcd\x89\xb0\xdd\xdb\x97\xdf\xda\xca\xf9\xd6\x18\xd1\xed\x16\xd3\x70\x64\x6f\xa7\x74\x76\xd6\x38\xbb\xaa\x9b\xdd\x74\xcd\x76\x45\xf3\x05\xbc\xb4\xdd\xb5\xc1\x0b\x2a\xcb\xea\xe0\xbb\x70\xd9\x96\x46\xfc\x1a\xf8\x68\xbf\x53\x45\xb0\xd7\x02\x5f\x64\xdd\xbe\x54\x15\x70\xcf\xf5\xbf\x1e\xd9\xad\x47\xb1\xef\x03\x30\x76\xb8\x38\x7d\x00\x46\x1f\x80\xf1\xc5\x06\x60\xb4\x6b\x13\x34\xde\x3a\x5d\x6f\xcd\x0a\x52\xde\x28\x20\x7e\x05\x51\x0a\xcb\xc7\xae\x35\xa5\xb4\xa8\x7c\x1e\xbf\x0b\xa9\xbe\x71\xc2\xaf\x21\xdd\xf7\x75\x8a\x76\x5a\xa7\x68\xef\xa6\xdd\x0b\x7e\xbd\xe0\xd7\xcb\x36\x1d\x27\xdc\xcb\x36\xfb\x2b\xdb\xbc\x95\xc2\xf2\x25\x41\xe8\x6a\xe1\xa9\x94\x19\xb3\x34\xc0\xd6\xc0\xd1\x80\x7b\x20\xcf\x12\x8e\xe3\x55\x41\x38\xbf\xa2\x42\xae\x59\x22\x9a\x99\x76\xf5\x07\x7b\x2e\x99\xd5\xe2\x6f\xcc\xc8\x7f\x0f\x31\xb5\xad\x53\x7f\xd3\xb0\x5a\xa0\x5f\x08\x26\x2b\x05\xa5\xbd\x94\x16\x52\xa5\xe9\x4e\x0a\x87\xfc\x6e\xcf\xa9\xda\x6f\xe9\x6b\xa8\x17\x5f\xb0\x83\xa0\x77\x02\xfc\x3e\x0b\x9f\xef\x8d\xd4\xda\xab\x76\x7d\x56\x65\x6f\xd4\xef\x15\xdf\x5e\xf1\xdd\xf9\x32\xee\x93\xe2\xfb\x86\x12\xb5\x49\x13\x79\x91\x32\x86\x9b\xc9\xd6\xbd\x68\xdd\x8b\xd6\xbd\x68\xfd\xc5\x8a\xd6\xfb\xb1\xc2\xbd\x5c\xdd\xcb\xd5\xbd\x5c\xdd\xcb\xd5\xbd\x5c\xbd\xf3\x65\xec\xe5\xea\x8a\x5c\x0d\x7f\xb9\x34\xe9\x75\x85\xec\xce\xc2\x75\x87\x9c\xe8\xf7\x22\x59\xf7\x52\x75\x2f\x55\xef\xb7\x54\xbd\x37\x13\xfa\xf2\x12\x21\xfb\x54\xc2\x3e\x95\xb0\x4f\x25\x7c\x8b\x54\x42\xc7\x4b\x96\x49\x28\x75\xc1\xe2\xa7\x1a\x07\xda\x5b\xd9\xa2\x18\xed\xa6\xe1\x1d\xbb\x5a\x6a\x07\x34\xbf\x49\xa5\xa9\xd2\x6f\xae\xa1\x3d\xaa\x3f\x75\xe0\xa4\x05\xcd\x28\xdc\xf8\x56\x23\x84\xfd\x6c\xdf\x7c\x5f\x60\xe0\xf5\x51\xf7\xf5\xa7\x50\xb0\x6b\x7d\xfd\xa9\x17\x9c\xb7\x3b\x5c\x2b\x66\xee\x68\xd4\xd8\x78\xdf\xe9\xb4\xdf\x1c\x5c\xae\xfd\xa4\xbf\x69\xb8\x5c\xe3\x4d\x52\x4b\xde\x39\xfe\x47\xe3\x45\xf1\x06\x65\xb7\xd6\xbe\x1d\x3e\x11\xf5\xa5\x5c\x0d\x7d\xd9\xad\xbe\x3e\xc4\x8e\xa6\xbb\x11\xeb\x7f\xb7\xb3\xed\x8b\x8c\xf5\x45\xc6\xfa\x22\x63\x7d\x91\xb1\xbe\xc8\x18\xfa\x9d\x17\x19\x5b\x5b\x7c\x34\xe3\xf8\x52\x24\xc8\xbe\xc8\x58\x2f\x44\xee\x6e\xba\xbf\x2f\x21\x72\x0f\x2d\x08\x7b\x51\x4d\xcd\x5b\x10\xde\x1c\xf7\xc3\x8d\xa4\x2b\xf6\x87\x5b\xd0\x1e\xff\xc3\xfe\x5f\x8f\xff\xd1\xe3\x7f\xb4\xcc\xba\x0f\x66\xed\xf1\x3f\x50\x1f\xae\xd9\x87\x6b\xee\x73\xb8\x66\x87\x6d\xec\xf1\x3f\x3a\x8a\x73\x2f\x84\x01\xe2\x64\xae\xb5\x70\x40\x7e\xae\x2b\x1a\x7b\x2b\xa5\xb9\xb1\xfe\x7e\x70\x40\x1a\xa7\xbd\x17\x2a\xc9\x2b\xe2\x80\x34\xd1\x75\x67\x05\xe4\x7d\xe0\x81\xb8\xd1\xf6\x89\x8b\x7d\x88\xf5\xfe\x87\x58\xef\x5d\xe2\xe2\xde\x48\xb2\xbd\xba\xd7\xe7\x2e\xf6\xb9\x8b\xbd\x32\xdc\x2b\xc3\x3b\x5f\xc6\x7d\x52\x86\xdf\x58\xc2\x7e\x41\x5c\x90\xed\x64\xed\x5e\xd4\x36\xef\xf5\xa2\x76\x2f\x6a\x7f\xa1\xa2\xf6\x7e\xac\x70\x2f\x67\xf7\x72\x76\x2f\x67\xf7\x72\x76\x2f\x67\xef\x7c\x19\x7b\x39\xfb\xd5\x70\x42\x9a\x84\xed\x8e\xf9\x36\xef\x49\xd2\xee\xa5\xec\x5e\xca\xde\x6f\x29\x7b\x6f\x26\xd4\x63\x86\xf4\x98\x21\x3d\x66\x48\x8f\x19\xb2\x91\x7c\xf3\x2f\xf6\x58\x7e\x08\x6e\x62\x7f\x65\x7f\xf8\x3e\xe1\x93\xfb\x45\x46\xf4\x7f\xcf\x68\x4a\x98\x04\x69\x94\xaa\x45\x28\xcf\xb4\xac\x7c\x7d\xcd\x3f\xdc\x9d\x5f\x7d\xba\x08\xb3\x69\x3e\x5c\x3e\x5c\xdc\x9f\xdf\x0c\x6e\xfd\xba\xf8\x59\x85\x6b\x61\xbf\x2b\x89\x64\x96\xe4\x6f\x89\xd6\x3d\xe1\xd4\xdc\x29\xac\x72\xb9\xd9\xc8\x6e\x87\x77\xc3\xdb\x9f\x20\x1b\x68\x7c\x76\x7e\x37\xf8\xfe\xa2\x44\x10\xa5\xe7\x83\xd3\xbf\x3e\x9c\xdf\xb6\x3f\x1f\xfe\xd7\xf9\xdd\xfd\x5d\xdb\xd3\xdb\xe1\xc5\x70\x70\xd7\xfe\xf5\xc7\xc1\xf9\xc5\xc3\xed\x70\xe9\x7a\x2c\x1d\xed\x72\x25\x44\xc2\x22\x41\x9c\x3f\x8a\x2c\xd7\x10\xc5\x1a\x22\x2f\x3e\x3a\x76\xd8\xd4\xd7\x09\x7a\xb0\x3a\x3d\xb5\x8d\x1b\x06\x1b\x34\x64\x94\x91\x98\x4a\x3c\x49\x48\x5c\x6b\xc9\xad\x61\x5b\x4b\xb8\x34\xa8\x67\xad\x3d\x7b\x91\x53\xf3\xbc\xc8\xf0\x02\x04\x39\x8a\x8a\xb0\xb8\xa1\x0f\xb3\x0f\xad\x3d\x30\xcd\xbb\xe8\x13\x29\xf5\x14\xe5\x42\x10\xa6\x92\x05\x22\x9f\xa9\x54\xb2\xd6\xa8\xdb\xbe\xb6\x66\xed\x9d\xea\x1b\x9c\x63\x89\x26\x84\xb0\xf2\xf8\x05\x49\x08\x96\x0d\x63\xb6\xbb\xdf\x6d\x59\xfc\x5e\x59\x6b\x8c\xb9\x8c\xa6\x98\x26\xb9\x20\x95\xd3\xc2\xd3\x0c\x0b\x2a\x39\x1b\x7e\xd6\x77\x99\x3e\xc8\xd7\xf0\x39\x17\x9b\x9d\x98\xe1\x5f\x43\x0a\xbe\x2a\xff\xf3\xd3\x7d\xf9\x5f\xa5\x33\x7f\x71\x5f\xfe\xd7\x72\x5a\x0f\x1a\xae\x52\xf6\x21\xfa\x74\x7f\x82\x3e\x41\x88\x93\x40\xf7\x73\x6c\x28\xf6\xe2\xfe\x04\x5d\x10\x29\xe1\x97\xe2\x63\x45\x55\x02\x73\xfb\x9e\x32\x2c\x16\xc8\x4d\xdf\x24\xba\xe2\x68\x8e\x88\x5f\x9a\xea\xe2\xb1\xbf\xe5\x0c\x54\xf7\x62\xf5\x2e\xf8\x8c\x46\x38\xd9\x6e\x11\x07\x57\x25\x3e\x70\x7d\xbb\x74\x29\xc2\xb7\xeb\x6b\x31\xb8\x3a\x83\x24\x52\x37\xd4\x86\x99\x5f\x11\xa9\x89\x24\xe2\x2c\xb6\x5e\x1a\x7d\xfb\x2f\x02\xa1\xfe\x6f\x1c\x12\x71\x73\x49\xd9\x4c\xb7\x88\x8e\xd1\xf5\xed\x88\x5d\x8b\xd8\x18\x42\x89\x96\x86\x0d\xcd\x51\x89\x18\x57\x88\xa6\x19\x17\x0a\x33\xa5\x15\x01\x10\x03\xec\x8a\x18\x0e\x70\xca\xd3\x34\x57\x58\x1f\xb4\xda\xa2\x32\x63\x0e\xb9\x23\xea\x3c\x06\xd7\x4a\xc3\x1a\x1a\x39\xa1\x98\x4b\x26\x74\xfb\x5a\x46\x29\xeb\xd0\x34\xae\xa9\xb2\xae\x09\x2c\x04\x2e\x4b\x13\x1f\xa8\x22\x69\xf5\xfd\x8e\x41\x9e\xff\x6c\x34\x10\x9c\x9a\xa4\x0a\x22\x06\x22\x9a\x53\x45\x22\xa5\x8f\xe0\x46\x34\xf1\x70\xf5\xe3\xd5\xf5\xcf\xa1\x04\xf1\x61\x70\x79\xf6\xe7\x7f\x2f\xfd\x70\x7b\x59\xfb\x61\xfc\xd3\x9f\x6b\xbf\xfc\xff\x96\xd2\x53\xb5\xa7\x9a\x9e\x1f\xcc\xe5\x10\x44\x6a\xb0\x09\xbb\xa9\x22\x9a\xe2\x19\x41\x32\xcf\x34\x05\xc8\xa3\xf2\xfe\x6a\x91\xf2\x82\xe3\x98\xb2\x99\xc9\x00\xbd\xa0\x8a\x08\x9c\x5c\xe2\xec\xa3\xb3\x5f\x6f\xb0\x3a\xff\xf7\xae\x94\xaf\xfb\xe1\x97\xc1\x65\x98\xf1\xfb\xe1\xe6\xf6\xfa\xfe\x7a\xe9\xac\x4b\x2d\xd4\x8f\x91\x7e\x7c\x02\xff\x8b\x8e\x91\x6e\xdd\x4b\xbe\x29\x51\x58\x6b\x04\xe8\x6b\x93\x34\xe7\x13\x69\x28\x4b\xe0\xd4\x64\x82\xa6\x14\xae\x14\x63\xc1\xfb\xc6\x08\xd7\x5e\x7b\xf0\xe7\xc6\x7c\x00\xda\xb2\xbb\x94\x59\x8c\x45\x8c\xfe\x26\xab\xe9\xe3\x60\x38\x36\x3f\x90\x18\x1d\xa2\xb9\x52\x99\x3c\x39\x3e\x7e\x7e\x7e\x3e\xd2\x6f\x1f\x71\x31\x3b\xd6\x7f\x1c\x12\x76\x34\x57\x69\x62\xd2\xe5\xf5\x2a\x9c\xa0\x1b\xc1\xf5\x15\x02\x0a\x3a\x11\x14\x27\xf4\x37\x12\xa3\x89\xe1\x7f\x7c\x8a\x7e\x8d\xb8\x20\x47\xc5\xc6\x58\xa3\x92\xbd\x47\xac\xe1\xe9\x58\xbf\xd4\xc0\x4c\xaa\xfb\x89\x62\x12\xd1\xd8\x8a\x19\x84\x45\x1c\x2c\x8f\xc6\x57\xa1\xdb\x73\x99\x86\x5a\xa3\xc9\x72\x55\x2c\x67\xa0\xac\xe0\x98\x04\xd9\xee\x8a\x97\x09\x4e\x2b\x3e\xe7\x46\x6d\xcd\xb5\x8a\xae\xef\x56\x0c\xb7\xaa\x7b\x35\xd3\x13\x8e\x78\x82\x26\xf9\x74\x4a\x44\xe8\x90\x3e\xd0\xda\x0c\x95\x48\x90\x88\xa7\x29\x48\x0c\xfa\xab\x5c\x1a\xaa\x86\x15\xb3\xa3\x3d\x1a\x31\xd8\x7f\xad\xe6\x00\x05\xc4\x1c\x58\x1d\x23\x24\x46\x98\x2d\x4c\x37\x93\x7c\x1a\xb6\x6f\x60\x28\x70\x8c\xa8\x1a\xb1\x41\x92\x20\x41\x52\xae\x48\x90\x43\x09\xce\xb3\xf2\x82\x03\x8b\x14\x24\x4b\x70\x44\x62\x43\x0f\x09\x8f\x70\x82\xa6\x34\x21\x72\x21\x15\x49\xc3\x06\xbe\x06\x5b\x8d\x5e\x33\x2a\x51\xcc\x9f\x59\xc2\xb1\x9d\x47\xf5\xb3\x6f\xca\xa7\x71\xe8\x20\x02\x86\x42\x70\x01\xff\xf3\x23\x65\xf1\xce\x38\xd4\xc3\xdd\xf0\x36\xfc\xf7\xdd\x2f\x77\xf7\xc3\xcb\xf5\xb8\x8f\xa7\x2c\x18\x1e\xe8\xf0\x27\xe8\xce\x2c\x02\x17\x5a\x22\x12\x2d\x93\xba\xb4\xa4\x54\xfc\xc0\xe3\x0d\xb9\xef\xe5\xe0\xea\x61\x50\xe2\x28\x77\xa7\x3f\x0c\xcf\x1e\x2a\xfa\x80\x9d\x5f\x49\x86\x37\xea\x5f\xf8\xdb\xe9\x0f\xe7\x17\x67\xe3\x06\x85\xf1\xc3\xed\xf0\xf4\xfa\xa7\xe1\x6d\xa1\xdb\x35\x2e\x51\x65\x30\x55\x66\x75\x6f\x98\xd2\x9c\xc7\x68\xb2\x68\x06\x84\xd0\x92\x73\x02\xbe\xd8\x02\x12\xc5\xb4\x7a\x02\xbc\xc9\x61\x73\x14\x5f\xa4\x3c\x26\x07\xf6\x1d\x40\xd2\x30\xc6\x15\x23\x31\x37\x37\xac\x7b\xc7\x2c\x30\x54\x18\x90\x0b\xbf\x70\x27\x68\x80\xa4\x7e\x31\xd7\x87\x5a\xd0\xd9\x0c\x0c\x87\x95\xa1\x9a\xd6\xec\xa7\xb0\xbc\xf0\x9d\xd9\xff\x4c\x70\x38\xe7\xba\x5b\x6b\x71\xf6\x56\x09\xf3\x21\xa0\xae\x94\x5b\x14\x18\x0c\x0e\x0d\x43\x73\x9b\xa5\x17\xa1\x75\xbd\xcc\x79\x34\xf6\x22\x7d\xb8\x80\x6d\x49\x63\xef\xcc\x04\x79\xa2\x3c\x0f\x3e\xb5\xc0\x1e\xa5\x1d\x6f\x6c\xbe\x58\x00\x58\x36\x63\x14\xa9\x34\xe3\xc9\xa3\xb1\x05\xcd\xc2\x9e\xa0\x85\xa9\xe0\x69\x43\x1b\xe5\x63\x72\x7e\x7d\xa7\x04\x56\x64\xb6\x38\xb3\x2c\x63\xf3\xe3\x71\x76\xfd\xf3\xd5\xc5\xf5\xe0\x6c\x3c\x1c\x7c\x2a\x9f\x78\xff\xe4\xee\xfe\x76\x38\xb8\x2c\x3f\x1a\x5f\x5d\xdf\x8f\xdd\x1b\x4b\x49\xbe\xa5\x83\xfa\x3d\x5d\x7e\xf1\x04\x69\x96\x0b\xac\xd1\x01\xde\x05\xfc\x71\x42\xa6\x5c\x18\x3e\x9f\xba\xd0\x05\x2b\xc2\xb8\xb5\xb5\xba\x58\x65\x16\x27\x60\x19\x6b\x6a\xd2\x58\xbd\x95\x20\x38\x85\x7b\x02\x33\x34\x64\xf1\xe1\xf5\xf4\xf0\xce\xfc\x98\x62\xf1\x48\x84\xff\xf4\x59\x50\xa5\x08\x2b\xa9\x74\xd8\x0d\xd9\x2b\x89\x45\x07\x47\xe8\x56\xf3\x7d\xfd\xbe\xbf\xd4\x34\xb1\xc7\x44\x61\x9a\x48\x3b\xd8\xd2\xba\x9e\xa0\x0b\x2c\x66\x85\x1d\xee\x6b\x3e\x9d\x9a\xc6\xbe\x31\xc3\xd0\x77\x58\x69\x16\x0d\xbc\x57\x93\x86\xbb\x17\xa1\x3f\xfb\xb2\x97\x87\xeb\x54\xf5\x90\x6d\x47\x53\x0f\x37\xb0\xe2\x46\x63\x2f\xe9\x86\xf6\x49\x03\xad\xc1\xc4\xcd\xe3\xe5\x97\x4c\x73\xdb\x75\x72\x2a\xbf\xd8\x40\x4e\x26\x97\x4a\xef\xfc\x54\x6b\x9b\x0d\xb4\x44\x3e\x53\x6b\x30\x08\xc7\x5d\x21\xa1\xa2\x19\x30\xaf\xe2\x2c\x23\x58\xc8\xa6\xdd\x2e\x8b\x81\x2d\x7b\x6f\x7a\x0a\xfb\xb0\x9b\xec\xfa\x39\x40\x9c\x81\xc1\xc1\x0b\x11\x15\x8a\xec\x40\x03\xa6\xad\x1a\x05\xdc\x00\xda\xd2\xb5\x45\x36\xba\xa4\x52\x2b\x8d\xe6\xc7\xef\x2d\xe4\xd2\x66\x04\xf1\x71\x70\x7e\x51\x11\x2e\xc6\x67\xc3\x8f\x83\x87\x8b\xe5\x66\xc2\xd2\x77\xd5\x2d\x46\x87\x48\x3f\x2f\xfb\xcd\xe9\xd4\xdc\x19\x0e\x38\xca\xa8\xb4\x84\x81\xd1\xca\x42\xd5\x18\x7b\x75\x4c\xb2\x84\x2f\x52\xc2\xc0\xc4\x53\xba\x09\xf5\x7a\x4e\x31\xb5\x57\x4b\x30\x58\xb0\xe2\x58\xb3\x1b\x5c\x63\x87\x0e\xad\x8a\xc4\xfe\xe6\x2d\x83\x55\x55\x58\xf7\x8d\xf1\x9e\xd9\xff\xdc\x29\xac\x36\x3c\x63\x83\xd3\xfb\xf3\x9f\x86\x65\xfd\xf0\xf4\x87\xf3\x9f\x9a\xa4\x9a\xf1\xa7\xe1\xd5\xf0\x76\x70\xbf\x42\x38\xa9\x34\xd9\x24\x9c\x48\x3d\xe0\xaa\xf7\x94\x4a\x1f\x11\x14\x19\xc8\x2b\x44\x95\x44\x4f\x54\xd2\x09\x05\x80\x30\xeb\x89\x7c\x38\x07\xce\xfa\x84\x13\x1a\x53\xb5\x70\xe2\x8b\xe9\xb7\xbc\x8f\x9a\x93\xda\xf6\x8d\xd9\x21\xf4\x4f\x82\x95\xcf\x6c\x8e\x9b\xf4\x09\x02\xdd\xf6\x09\x94\xb6\xe0\x33\xa6\x05\x69\x36\x23\xc2\x0c\x07\xbc\x2f\xe1\x58\x82\xe7\x7a\x54\xa1\xb0\x52\xac\x9a\x17\x5a\x67\x84\x11\x01\x20\x70\xbe\x13\x23\x48\x09\xc2\xbe\xd2\x32\x57\x96\xd0\x88\xaa\x64\x81\x22\xb0\x61\x81\x39\x33\xc5\x0c\xcf\xac\x70\x00\x6a\x4e\x85\x24\xfe\x6a\x50\xd4\xae\xa7\xd6\xb4\x7f\x4f\xc9\x86\xc7\xec\xe1\xea\x6c\xf8\xf1\xfc\xaa\x4c\x02\x3f\x9c\x7f\x2a\x89\xb0\x97\xc3\xb3\xf3\x87\xd2\x6d\xae\x25\xd9\xe5\x72\x7d\xb5\xd9\x86\xa3\xe8\x5f\x3a\x41\x67\xe6\xd3\x13\xbd\xb8\x0d\x10\x71\x5e\xf9\xad\xac\xc3\xad\x0b\xc9\x73\x7f\x0c\x99\x12\x8d\x7e\x89\xae\x26\x24\xeb\x83\x2c\xd9\x90\x9a\x43\x15\x6a\x7d\x5f\x55\x9d\xca\xd5\x29\xbb\x17\x21\xe8\xf2\xa8\xb0\x2c\x85\x31\x0c\x60\x34\x68\x33\x62\x35\xb8\xb5\x0a\x86\xfd\x13\xb8\xa8\xd3\x5c\x2a\xe3\x4a\x04\xe2\x44\x8f\x7f\x91\x7a\x41\xc1\xd5\x78\x84\xee\x08\x19\x31\x67\x3d\x98\x51\x35\xcf\x27\x47\x11\x4f\x8f\x0b\x7c\xc2\x63\x9c\xd1\x14\x6b\x49\x9a\x88\xc5\xf1\x24\xe1\x93\xe3\x14\x4b\x45\xc4\x71\xf6\x38\x83\x08\x18\xe7\x4e\x3d\xf6\xcd\xce\xf8\xbf\x5e\xfc\xe9\xdb\xc3\x8b\xbf\x7c\xfb\xa1\x6e\x21\x6b\xdb\xff\x21\x8b\x70\x26\xf3\xc4\x46\xcc\x89\x70\x6d\xdc\x91\xcf\xc9\xaa\xfd\xbe\x2a\x6f\xd7\x76\xfa\xeb\xe9\xcd\x43\xc9\x62\x5d\xfe\xe7\xe5\xf0\xf2\xfa\xf6\x97\x12\xa7\xbc\xbf\xbe\x1d\x7c\x2a\x31\xd4\xe1\xcd\x0f\xc3\xcb\xe1\xed\xe0\x62\xec\x1e\x6e\x63\x7b\xfb\x91\xf1\x67\x56\x5e\x1a\xe9\x38\x60\xad\xa7\x13\xf4\x91\x0b\xf4\xa3\xdf\xc9\xc3\x09\x96\x70\xc5\xb8\x3b\x4b\x1e\xa0\x8c\xc7\xc0\x78\x11\xc9\xe6\x24\x25\x02\x27\xd6\x66\x20\x15\x17\x78\x66\x6e\x7a\x19\x09\xac\xa2\x39\x92\x19\x8e\xc8\x01\x8a\x80\x1a\x66\x07\xb0\x29\xa0\x6a\xf1\x59\xd5\xce\x77\x9b\x33\x45\x53\xe2\x54\x70\xfb\xcf\x7b\xb3\x19\x1b\x6c\xce\xf5\xfd\x0f\x65\x61\xef\xe3\xc5\x2f\xf7\xc3\xf1\xdd\xd9\x8f\x4b\xd7\xd3\x7c\x56\x1a\xd9\x1d\x04\x20\x9d\xf2\x24\x4f\x59\xf8\xf7\xe6\x63\x3b\xbf\xba\x1f\x7e\xaa\x8e\xee\x7a\x70\x5f\xa6\x8c\xdb\x72\x80\xdb\x87\xef\xaf\xaf\x2f\x86\x25\x97\xf0\x87\xb3\xc1\xfd\xf0\xfe\xfc\xb2\x44\x3f\x67\x0f\xb7\x06\x8d\x70\xd9\x34\xdd\x08\x1a\x26\xaa\xa7\x15\x4e\x73\xd7\xac\xb0\x13\x27\x1a\xd8\x80\x72\x73\x96\x0f\x03\xb8\x1d\x13\x0e\x06\x56\x9d\x43\x6f\x52\x8d\xcc\x48\x1b\xd9\xa1\x2a\x6f\x13\x6a\x67\xc7\x4b\x37\x7a\x19\x57\xbe\xf7\x43\x30\x50\xa0\x46\xd9\xc6\x49\xc2\x9f\x4d\x28\x6f\x4a\xf5\xad\x6c\x81\xd1\xf4\x2b\xb2\xf0\x10\x1e\x35\x70\xbc\xf2\xb6\x90\x48\x10\x75\xc9\x73\xa6\x36\x27\xb9\xc1\x55\x89\xef\x0c\xaf\x7e\x1a\xff\x34\x28\x53\xe0\xf9\xc5\x72\x56\x13\x36\xd1\x70\x15\x0f\xae\x7e\xf1\x97\x30\x04\x7c\x1f\x78\x0d\xd5\xc8\xae\x51\x42\xb5\xd8\x1b\x61\xad\xbd\x26\x20\xd1\x20\x42\xc1\xe4\x90\xea\xc9\x41\x80\x69\x66\xfc\x49\x86\x3f\x99\x41\x9e\xb8\x3f\x2a\xed\x49\x58\x17\xb0\xa6\xba\x78\x7a\x68\xc7\x6a\xd5\x0c\x11\xf6\x44\x05\x07\x3c\x5b\xf4\x84\x05\xd5\xd2\xb8\x69\x59\xcf\xf5\x04\xfe\x77\xbd\x36\xc1\x30\x5a\x61\x5c\x77\x5c\xa8\x33\x1f\xc8\xbb\x99\x35\xa4\x29\xa0\xb5\x1e\xca\xda\x6c\xe8\xa8\x7f\xdb\xb0\x39\x5b\x06\xfc\x96\x27\xfc\xf7\xe4\x8c\xe2\x44\x33\x80\xdd\xc9\x8b\x83\xab\xbb\xf3\xb2\xfc\x58\x56\x33\x02\xbe\xbc\xb1\xbc\x08\x86\x4a\x33\x72\xa7\x4c\xdc\xfd\xf5\xc2\x68\x17\x00\x7a\x6c\xce\x6d\xa0\x58\x80\x00\xe4\x50\x50\x32\x2c\x64\xe5\x0b\x89\x00\x08\xad\x08\xb8\xd2\x77\x16\x84\x33\x3d\x71\x1a\x8f\x18\xf9\x9c\x11\x26\x21\x38\xc0\xdc\x67\x85\xaf\x5d\x1e\xa1\xf3\x29\xb0\x04\xfd\x3a\x43\x39\xb3\x0e\x30\x7d\xe1\x9a\x41\x1e\x68\x51\xd6\x0e\xc1\x6b\x88\x60\x78\x61\xc4\x05\x4b\x15\x83\x1f\xb1\x9f\xbd\x13\x0d\x1e\x4d\xb9\x66\x40\x7a\x17\x6d\x7b\x27\x08\x33\x49\x0f\x90\x56\x58\xaa\x7b\x0a\xa9\x03\x5a\xa1\xb4\x21\x5c\x9a\xd3\xd8\x3f\x5f\xff\x1a\xa8\xc5\x09\x87\x97\x41\xf3\x5d\x50\xb9\x0a\x5a\x44\xe3\xc4\x78\x4c\xc6\xdd\xef\x84\x88\x0b\x62\xfd\x2c\x6b\x5f\x03\xab\x18\xfb\x3d\x96\x8f\x35\xdf\xc3\x39\x93\x0a\xb3\x88\x9c\x26\x58\x6e\x18\x84\xe4\x6c\x1c\x07\x65\x89\xe3\xf6\xf6\xe1\xe6\xfe\xfc\xfb\x15\x5c\xbe\xfa\x71\x3d\x0c\x28\x4a\x72\xe7\x9e\x9b\x08\x8e\x63\xa4\xd9\xe7\x8c\x1b\x57\xa0\x15\xfc\x0b\xe8\x6f\x93\xd7\xe3\x03\x2a\x4b\xb0\xe3\x45\x3a\x82\xb5\x73\x84\xae\x04\x6a\x17\x02\x45\x7a\x25\x50\x60\xf2\x70\x5b\x0d\x9e\x45\x53\x90\xc4\x5a\xb7\xb2\x04\xab\x29\x17\xa9\xe1\xf2\xa5\x49\x9b\xc6\x97\x37\x4a\x99\x22\x42\xe4\x99\xa2\x0e\xcb\xbd\x2a\xa5\x42\x85\x77\x3e\xbb\x24\x52\xe2\x19\xd9\xc6\x01\xdd\xa4\x3c\xdc\xfd\x14\xfe\x13\x1c\xcc\x5d\x64\xff\xd2\x08\x5d\xe4\xbb\xa3\xa7\x6b\xf6\xd1\x04\xf2\xdc\xf0\x84\x46\x1b\x06\xdc\x7d\x1c\x9c\x5f\x8c\xcf\x2f\xb5\x12\x3f\xb8\x1f\x5e\x94\x44\x09\x78\x36\xf8\x78\x3f\xbc\xb5\x20\xd6\x83\xef\x2f\x86\xe3\xab\xeb\xb3\xe1\xdd\xf8\xf4\xfa\xf2\xe6\x62\xb8\x22\x32\xa7\xb5\xf1\xba\x75\xb5\xfa\xea\x49\xed\x17\xd8\x61\xcd\xcb\x42\x7b\x19\x64\x8d\x61\x9a\x80\x13\x9c\x1b\x67\x38\x46\x8c\xc7\x04\x7e\x96\xce\x3a\xe3\x91\xa3\xd1\xb9\xfa\x2a\x49\x10\xce\x15\x4f\x31\x78\x6d\x92\xc5\x88\xe1\x89\x66\xad\x38\x49\x82\xf0\x2e\x91\x33\xa6\x59\xac\x6e\xcc\x40\xb4\x47\x09\xd1\xec\x3c\x0b\x92\xfd\xac\xdf\x60\x4a\x19\x44\xda\xa6\x58\x3c\x1a\x37\x53\xd1\x65\x71\x28\x24\xc2\x72\xc4\xf4\xb8\x88\x35\x0c\x75\x59\xe1\x93\x4e\x6f\xb5\xae\x4e\x8a\x1f\x89\x5e\x95\x34\x8f\xe6\x28\x13\x7c\x26\x88\x94\xd6\xb6\x1c\x61\x66\x02\x10\xec\xeb\xfa\x1a\x1a\x31\xc6\xf5\x52\x38\x13\x76\x4c\x32\xc2\x62\xc2\x22\x6a\xd2\xfa\xc0\x77\xef\x4d\x9b\x33\x81\xb3\x39\x92\x1c\x9c\xde\xb0\xec\x60\xbf\x32\x1f\xb9\x9b\xcc\xcc\xd8\x3c\x0e\x2d\xd0\x22\xd7\x7c\xe2\x1a\xe4\x44\xb3\xca\xf0\xb1\xbb\x0c\x9d\xdb\xc5\xd8\x01\xd3\x2c\x21\xca\x80\xf5\xc3\x92\xc3\x66\xe8\xb5\x2e\xed\x87\xde\xa6\xa6\x4d\xd0\x17\xb6\x1b\x33\x96\x76\x44\x47\x0d\x96\x6d\x7b\xa4\xd0\x0f\x98\xc5\x89\x6e\xc5\xf9\x30\xca\x67\x11\x52\x51\x06\x9a\x6a\xdc\x69\xdc\xe6\x16\x8d\x70\x2e\xb7\xb9\x46\x2b\xb9\x98\xc6\x2a\x78\x58\x04\x85\x00\x79\xdb\x44\x4c\x58\xdd\x4c\xb3\x48\x9c\x70\xbb\x4a\xe6\xf5\xdc\xd4\x7f\x42\x30\x9a\x96\x6b\x36\x13\x94\x45\x34\xc3\xc9\x46\xba\x5f\x25\x18\xdf\xc6\xb8\x7f\x4d\xa7\x9a\x7c\xbe\xa9\xb9\x6d\x15\x11\x29\x24\x28\xdb\x61\xfa\x2d\x5c\xc3\x92\x64\xb3\x1a\x88\x2c\xa2\x49\xb0\xe0\xb9\xf1\xc7\xc1\xba\x90\xb8\xe1\xa8\x1e\x35\x6d\xb7\x3e\x19\xb8\x1c\x00\xbd\xc1\x66\x9b\xc8\x9f\xb6\xf5\xab\xb4\x62\x7b\x37\xc1\x78\x38\xb9\x69\x6e\xb3\x69\x07\x82\x87\xff\x5c\x46\x3b\x97\x38\xd3\x34\x63\x61\xfb\x71\x31\x47\xab\x24\xd9\xaa\x60\x2e\x7e\x26\xf0\x9d\xfb\xbc\x90\xee\xbb\x51\x2c\xa1\x0d\x80\xaa\x77\x52\x8a\x21\x08\x72\xcc\x2d\x8d\x4f\x73\x2d\xcb\x22\x0c\x51\x08\xe8\x6b\x72\x34\x3b\x42\xae\x08\xc3\x01\x1a\xdc\xdc\x0c\xaf\xce\x0e\x10\x51\xd1\x37\x2e\x66\xd1\x06\x2c\x8d\x98\xe2\x56\x5a\x59\xb8\x02\x1a\x29\x11\x33\x52\x9a\xb3\x8b\x6e\x82\x50\xe5\x19\x95\xca\x86\xcf\x6a\xbe\x12\x94\x3a\xa1\x69\x55\xcc\x36\x14\x92\xab\xf9\x36\xa4\x81\xa5\xcc\x53\xad\xcb\x8e\x29\x4e\xc7\x82\x27\xdb\x30\x85\x33\x98\x0a\xa8\xcb\x3e\x3d\x9f\xe2\x14\xe9\x66\x6d\x28\x88\x77\x39\x7a\x91\x4e\x0b\x46\x9a\x2f\xeb\x7b\x33\xb8\xb7\x9c\xf7\xc1\xc6\xa3\x51\x17\x02\x01\xe9\xfb\x2d\xac\xa2\x30\x1b\x8f\xad\xa5\x7e\x8c\xa3\x48\xab\xdc\x3b\x9e\x54\x50\x3f\xc7\xb9\x04\x6c\x47\x2f\x36\xcd\x55\x74\xee\x86\x99\x69\x0e\x06\xc1\xc0\xfa\xca\x95\x3c\xa2\x45\xfb\x0d\xfd\x4e\x16\xb5\x5e\x5d\x85\x9b\x07\xe9\x4d\x2a\xe6\x12\x96\x04\x76\x52\x9a\x0a\x39\x6a\x4e\x16\x68\x8e\x9f\x48\xa9\x4b\x97\x10\xa3\x1b\x5e\xf0\x5c\x34\x31\xba\x11\x3b\x23\x99\x20\x5a\xd2\xaf\x3a\x50\x3c\x4d\xdf\x96\x29\xb1\xa7\xeb\x9e\xae\xdf\x3d\x5d\x9f\x9a\x42\x49\x03\x5f\x18\x6b\x2b\x01\xce\x34\x36\xce\x38\x4f\xc6\x1d\x6c\x22\xdd\x57\xbc\xe4\x09\xab\x94\x8d\x02\x48\x00\x9e\x83\x7c\x54\xba\x36\xb9\xbe\xeb\x82\x14\x5b\x3b\xbc\x25\xcb\xe0\x5c\x66\x41\xbd\x9c\x6d\xce\x7b\x53\x2b\xcb\x5a\x42\x2f\x2e\xe6\x9c\x1a\xf9\xc6\xbb\xcb\xc2\xfa\xa7\xa5\xc3\xe4\x44\x11\xca\x6a\xd5\xd8\x0c\x3d\xeb\x05\x36\x72\xc7\xdf\x73\xae\xb0\xfc\xe6\x68\xc4\xb4\x10\xf5\x48\x16\xc6\xdc\xaa\xc5\x94\x3f\x68\x59\xfc\x50\x12\x26\x21\xdc\xfb\x0f\xc6\x3d\xa7\x49\xdc\x99\xab\x8d\x6a\x6a\x8a\xc0\x41\xd0\xb5\xef\x05\x42\x74\x6d\xa3\x56\x4a\x2a\x02\xa0\x41\xce\x37\x73\xb1\xcf\xcc\xf0\x67\x44\x41\x8a\xb5\xa2\x0a\x74\xa6\xd8\x54\x99\xab\x0d\x7d\xa5\xe9\xca\x50\x85\xe0\xe0\x27\x89\xf3\xed\x18\xbf\xac\xb7\xb1\x92\x33\x7a\x6d\xe1\xce\xc6\xbc\x1f\x3b\xbb\x51\x24\x78\xad\x74\x1b\x96\xc8\xec\xf4\xc4\xb0\x03\xe7\xbf\x26\xec\xe8\x99\x3e\xd2\x8c\xc4\x14\x43\x04\xbc\xfe\xd7\xb1\x9e\xd7\xbf\x9e\xde\x5e\x5f\x8d\x8b\x4c\x9e\xff\x1c\xb1\x41\x22\xb9\xcf\x52\x40\x8c\x33\x1f\x6e\x9f\x09\xe2\x44\x42\x3b\x17\xb0\xba\x16\x66\xc4\x11\x6b\x1b\x41\xcc\x23\x79\x84\x9f\xe5\x11\x4e\xf1\x6f\x9c\x81\x2b\x7d\x00\x7f\x9e\x26\x3c\x8f\x7f\xc6\x2a\x9a\x1f\xc3\xb9\x56\xc7\xe4\x89\x30\x65\xdc\x54\x7a\xb9\x62\x48\xde\x95\x10\xad\xff\xaf\x7a\xcc\x45\x52\x91\xd4\x9a\x6c\x44\x32\x85\xfe\x1f\x41\x26\x9c\xab\xe6\x4b\x8a\x4f\xa7\x92\xac\x75\x21\x15\x4a\xda\xdd\x35\xfa\xcb\x9f\xbf\xfd\xa3\x26\xa1\x4d\xd6\xf8\xfc\xee\x7a\xac\xbf\xff\xd7\x33\xfb\xbd\x5c\x83\xdd\x5d\x67\x05\x6b\x73\xc4\x63\x02\xe7\x73\x06\xb7\x9f\x00\xe7\x05\xb0\x37\x20\x87\x62\x1f\x9b\xb8\xdb\x59\xa9\xf5\xed\x54\xb6\x8d\x16\x13\x54\xec\x60\x8e\xe8\x10\x31\x8e\x52\x13\x6b\x8a\x19\xfa\xf7\x1f\xbf\x6f\xde\xc0\x5c\xd0\x8d\x3a\xa4\x16\xae\x21\xe8\x52\xd2\xdf\x88\x44\x9a\x6a\x34\x15\xf3\x54\x77\x2d\x88\x9c\xf3\x24\x46\xcf\x04\xd4\x24\x1b\x07\xea\xb5\x72\x41\x46\x2c\x6c\x02\x42\x0e\x11\x4e\x14\x9f\x11\xb8\xab\x9d\xa2\xa6\x88\xd0\xa2\x8a\xc9\xd2\x50\x5c\x90\x03\x03\xf5\x75\xf7\x27\x17\x5b\x0d\xd3\x84\x47\x2e\xa9\xc5\x9a\xe4\xe2\x49\xf3\xcc\xa7\x55\xd3\x2b\x6a\xb7\xe1\x57\x37\xd9\x9a\x6d\x9b\x97\xc6\x26\xa1\x58\x1b\x56\x75\x67\x9a\x07\x43\x23\xce\xc6\x09\x65\x8f\x1b\x6d\xc6\xb5\x13\xe5\x74\x0b\x76\xcd\x74\x8b\xde\xce\x6d\x2c\x20\x6b\x9c\x8f\x8f\x79\x92\x98\xd4\x96\x70\x7b\x40\xee\x32\xeb\x06\xc2\x40\x66\x72\x40\x49\x6c\xfd\x5e\x56\x13\x16\x84\x41\xc0\xdb\x88\x4d\x16\xd6\x67\x2b\x0f\x90\xcc\xa3\xb9\xcb\xcc\x8b\x38\x93\x5a\x8c\xe6\x02\x45\x3c\x4d\x4d\x71\x53\x46\x90\xe2\x3c\x91\x36\xda\x9d\x1d\x2a\x1c\xa9\x11\x2b\xfa\x5b\x71\xf2\x4c\x05\xa4\xed\x52\xf7\xba\xbb\x74\x8a\x4a\x4b\x4b\x05\x6e\x1a\x87\x98\x0d\x60\x04\x33\x9e\xa8\x00\xfd\x81\xd7\xcf\x92\xd9\xb0\x16\xcd\x40\xce\xb9\x50\xe3\xb8\x91\xe7\xac\x24\x9a\x2a\x23\x64\xe4\x30\x81\xa0\x61\xfe\xa4\x85\x7f\xf2\xec\x8d\xaf\xcb\x86\xa0\xa9\x7a\xd9\x08\xba\x1d\xa3\xa5\x23\x5b\x97\x04\x5b\xd6\xca\x20\x78\x44\xe5\x98\xf0\x55\x63\xbc\x83\xaf\x4e\xf5\x47\x4b\x17\xaf\x7a\xee\x9c\x10\xc4\xe3\x02\x6c\xce\xdc\xeb\x36\x23\x64\xd9\x9a\x5a\xe8\x84\x97\xcb\x1c\x5d\x36\x95\x87\xb2\x25\x57\x8f\x05\x4c\xf6\x92\x80\xac\x89\xc5\x84\x2a\x81\x45\x09\x29\xc4\xeb\x83\x92\x60\x01\xf1\x59\x23\x66\x70\xe3\x8c\xa6\x10\xa3\x98\x4a\x48\x10\x81\xbb\x34\x70\x86\xa1\x6e\x4a\x60\xe5\x68\x17\x79\x8e\x26\xfe\x1c\x02\xcb\x0a\xd2\x70\xcc\x4e\x77\xe4\xf1\xb1\xb4\x7e\xc6\xa3\xbc\x10\xe4\x22\x90\x70\x2d\xa6\x0e\xa2\x4c\xd2\xd9\x5c\x21\xca\xac\xdd\x11\x27\x33\x2e\xa8\x9a\xa7\xf2\x00\x4d\x72\xa9\xb5\x50\x13\xac\x66\xe2\x51\x88\x8a\x3a\x71\xa1\x6d\x93\x88\xe3\x4a\x83\x75\x15\x65\x03\xd2\xe8\x76\x28\x87\x95\xbb\x62\x05\xe1\x0c\x3c\xce\x60\xb5\x0d\x0a\x75\x1b\x0d\x3c\x25\x32\x71\x80\xdc\x21\x3b\x41\x15\x90\xb6\x73\x00\xa8\x90\x3b\xf3\x52\xbc\x46\x21\x2e\x64\x92\x41\x05\x71\xb1\xdb\x20\x79\x95\x91\x29\x0d\x7a\x93\x77\x3a\xa5\x99\x6a\x0c\xdc\xaa\xbb\x8a\x6e\x03\xcc\x9f\x6e\x8b\x0d\xc9\x58\x40\xcd\x80\xd4\x36\x62\x77\x84\xb4\x03\xb9\xd5\xf6\xde\x94\xc6\x85\x29\xd8\x44\x8f\xe5\x24\xbf\x8d\x13\xfb\x6c\x78\x77\x7a\x7b\x7e\x63\x20\x27\xae\x6f\x2f\x07\xf7\xe3\x06\xbf\x76\xc3\x5b\x97\x83\xdb\x1f\xcf\x56\xbf\xf6\xc3\x7d\x39\x2b\xbb\xe1\x95\xdb\xbb\xe5\xc9\x1c\x1d\x86\xd8\x90\x14\xd6\xd8\xcf\x09\xca\x16\x6a\xce\x99\x0f\x51\x88\x4b\xbc\xe9\x10\x99\x8c\x60\x05\x21\x44\x42\xaa\x06\xc7\xe1\x3d\xc4\xe5\xac\x96\x30\xcb\x9b\x65\x60\xd8\x76\x2a\x1a\xad\x71\x22\x3f\x25\x7c\x02\x7e\xeb\xbc\x54\xe2\x76\x49\x04\xfa\x96\xf1\x3e\x67\x54\x66\x09\x5e\xd4\x7a\x58\x75\xe5\x5c\xe1\x94\x40\xc4\x71\x81\x1f\xe7\x92\x45\xf4\xce\x40\x02\x93\xbf\xd7\xe9\x14\x32\x99\x14\xc5\x8a\xa0\x09\x51\xcf\x90\x37\xe7\x7e\xf5\xb6\x54\x17\x30\x22\x8f\x46\x0c\xcc\x39\x23\xbd\xc8\x71\x0e\xd1\x7e\xa3\x0f\x07\x68\xf4\x21\x26\x4f\x24\xe1\x99\xde\x79\xfd\x43\xcb\x25\x33\x4c\x31\x4d\xae\xb8\xf2\x96\xb9\x6d\xf6\x53\x90\x88\x66\x20\x99\x8f\x89\x6e\xf7\xf5\x04\x8f\x12\x25\x3b\x76\x06\x63\x40\x38\x8e\xb5\x92\x0d\xac\xcc\x0d\xaf\x08\x01\x62\xc1\xd4\x4b\xb5\x32\xd7\x11\x29\xbc\xf9\xdb\xf4\x18\xb6\x59\x36\x7b\x36\xee\x00\x7b\x7a\x41\x97\xec\xb6\x17\xb9\xd6\x4a\x7e\x24\x0b\x48\xc1\xb8\xc1\x54\x6c\xe8\x9a\x6d\x8a\x79\x7d\x11\x27\xed\xb0\xa1\xa3\x3d\x72\xd7\x36\xaf\xc3\x76\x8e\x5b\x1f\xab\xf7\x5a\x5a\xaa\x8b\xe5\xf2\x1d\x77\x54\x5b\x1f\xda\x94\xd4\xd6\x10\x06\x54\x55\xbc\x32\x12\xad\xa1\x71\xf9\x01\xde\xe9\xef\x56\x6a\x2a\x5e\x5c\x8b\xc2\x9a\xfe\xb0\x0b\x36\x39\xbe\x9a\x8f\x4f\x56\x8e\x38\x4a\xb8\x2c\x63\xe5\x74\x1e\xf4\xa9\xfd\x74\xd9\xb8\x87\x21\xf9\x6a\xb9\x70\xad\x80\x86\x86\x85\xaf\x80\x41\x9a\x7b\x46\x59\x0f\x99\x7d\xfb\x00\x51\x88\xb6\x04\x85\x2c\x29\x90\x03\x58\x8c\x0a\x37\xc8\x88\x15\x31\x2b\x12\x3d\x93\x04\xc2\xdc\x22\x9e\x66\x60\xe2\xb7\xc3\xb5\x2d\x91\xd8\x44\x0c\x1f\x20\x9e\x2b\xdd\x98\xc9\xc9\x71\x46\x5c\x9b\xf0\x53\xb8\x3d\x8c\xef\xcd\x06\xbf\x7b\x60\x69\x43\xeb\xe6\x2e\xa5\x0c\x7d\x22\x0a\x5a\x01\xe0\xfe\x70\x82\xa0\x27\x54\x43\x28\x9b\xd7\x7e\x8b\x13\x65\x67\xb2\xc6\xce\x17\xc0\x29\xdf\x27\x7c\xb2\xdc\x48\x00\x8d\xa3\x87\xdb\x73\x67\x91\x2c\xe2\xa7\x02\xf4\xe2\x92\x47\x71\x78\x73\x3b\x3c\x1d\xdc\x0f\xcf\x8e\xd0\x83\x24\x7a\x79\xfc\x74\x21\xbf\xda\xab\x24\x66\xe4\x16\x89\x85\x49\x45\x70\x9b\x21\x84\x08\x51\xca\x82\x5e\xc1\x38\xca\x30\x2d\xcb\x09\x1b\x40\x52\xa8\x35\xd4\x01\xb0\x50\x75\x9e\x36\x32\x6f\xd5\x09\x84\x38\xa9\xf1\xfb\x89\x52\x33\xe3\x4d\xeb\x91\x79\xab\xc8\xa7\x1c\xd1\xf7\xd2\x93\x81\xa3\xa5\xe6\x84\x0a\xd4\x69\x5a\x86\xa8\xc6\xdd\xe7\x14\x84\xb8\x5f\xe2\x6c\x79\xfa\x29\x7e\x2e\x11\xad\x11\x85\x03\xdf\xfd\x4b\x9f\x03\xc7\xd6\xc6\x86\x15\x6e\x3f\xc1\xc2\xa1\x65\x78\xab\xe7\x9b\x26\xe3\x43\x3a\x23\x59\x38\xb1\xca\x20\x6c\x1c\xab\x44\x70\x76\xe0\x17\xca\x50\xe9\x4a\x3c\x40\x53\xfa\xd9\x36\x5a\xc4\xb7\xbb\x57\x83\x80\x87\x96\x78\xca\x39\xae\x9f\xa9\x35\xc4\x86\x1b\xf8\x7e\xa9\x10\xc9\xa5\x16\x89\x22\x2d\x2e\x09\x12\x71\xa1\x6f\x0a\xe8\xb6\xf0\x42\xac\x12\x19\x14\x16\x7a\x51\xea\x5e\x99\x65\xa7\xbf\xa8\x41\x12\x63\x45\x0e\xb5\xe8\xb5\x22\x01\xda\xe6\xc8\x40\x36\x0d\x56\x01\x1c\x58\x71\xf3\x4c\xc8\x0c\x33\x17\x9a\xdd\x32\x5c\x77\xe5\x6d\xc1\xaa\xb4\x0a\x84\x21\x3d\x0c\xe4\x2b\x48\xfd\x29\x8d\x43\x66\xb0\x9e\x4b\xc7\x61\xa3\x5f\xf6\x61\xd9\x9e\xb1\x0f\xc6\x69\x19\x6c\x9e\xc5\xfb\x34\xd8\x04\x4b\x85\xec\x98\xda\x4c\x11\x81\x8a\xf8\xb2\x46\xd8\x92\x6e\xdf\x55\x79\xd3\x24\x54\xd6\x62\x09\x78\x46\xa4\xc3\x4d\x31\x28\x31\x5a\xa7\x71\x82\xb0\x29\xc5\xec\xcf\xb6\xad\xc9\xec\x6e\x89\x90\x99\x40\x90\x7e\xbd\xe9\x23\x34\x60\x35\xbc\x2c\x17\x97\x55\x5a\x2f\x73\x27\xe1\xe4\x19\x2f\x24\xca\x84\x81\x96\x31\x91\xfb\x6e\xf2\xa0\x81\x95\x3f\xf2\xa1\x10\xca\xa5\x4e\x20\xb0\xc5\xac\x0e\x9a\x73\x72\xef\xf8\x05\x5c\x79\x95\xa8\x72\x2f\x90\x17\xcd\x15\xb6\x8a\x0e\xac\x4e\x91\x71\x34\xc7\x6c\x46\xc6\xce\xc8\xba\x89\xb6\xa4\xdb\x39\x85\x66\xce\x6c\x2b\xcd\x97\xd3\x8d\x51\x98\x6c\xfd\x17\xf3\xaa\x37\x20\xea\x43\x20\x15\x9e\x11\x64\x46\xd4\xc9\x2c\x5d\x8a\x18\xb3\x60\xc3\xa0\x27\xd8\x56\x87\xe5\x28\xfa\x36\xe1\x1d\x42\x9f\x2e\xf0\x84\x24\x6f\x13\x39\x01\x5d\x5b\xe3\x3c\x78\xeb\x4c\x36\x00\x41\xcf\x60\xcf\xaf\xb0\x0c\x6b\xbd\x17\x79\x53\x6e\xc0\xb2\x79\x96\xaa\x9f\x6f\x31\x51\x57\x2b\x64\x93\xa9\xb6\x55\x10\x09\xaf\xbd\xa0\xd2\x46\x93\x81\x2d\xbc\xfe\xaa\x36\xe5\xcd\x06\x12\x14\xfc\x68\x19\xc7\xd6\x15\x3f\x56\x4e\x65\x63\x90\x81\x8e\x55\xf0\xce\xa7\x88\x71\x46\x10\x95\xc5\xcb\xaa\x9c\x0e\xe5\x21\x7a\xb4\x88\x6f\x8c\x2f\xbe\x4a\x97\x2f\xbe\xf4\xd2\x96\x96\x02\x3c\xc1\xdb\x06\x5c\x7e\x37\x23\x5a\x51\xc5\x62\x01\x10\x9f\x86\x0f\x97\x65\xba\x95\xe3\xdc\xb9\xc0\x7d\xef\x10\x5c\x83\x48\x5d\xc5\x11\x88\x91\x95\xc1\x21\x83\x83\x6a\x5f\xb2\x1f\x59\x98\x9a\x11\xf3\x96\x0d\x20\x44\x2a\x51\x8a\x33\xf0\xe9\x31\xae\x8a\xaf\x0c\xec\x92\xf2\x5b\x78\xe0\x04\x71\x69\x6a\x68\xb5\xac\xc0\x2a\xd3\x8e\xbb\x7e\x8b\x75\x2d\xc3\x5b\x3a\x68\xde\x19\x7d\x22\xcc\xd1\xf4\x81\x3b\x13\x7a\x50\xae\xd3\x64\x71\x88\x21\xcc\x98\xc4\xa1\xe7\x63\x39\x47\x32\x06\x99\x7d\xb0\x47\x76\x5f\xb2\xfb\xc6\x30\x1a\x03\x92\x56\x42\xb7\x77\x81\xe1\x21\x95\x5a\xdc\x5e\x93\x09\x8e\x25\xfa\x03\xe3\xea\x0f\x01\xb2\xb1\x33\x5e\xc0\xa7\xce\x04\x75\x50\x2b\xd9\x02\x87\xd6\x12\x0e\xc2\x01\xc2\xd6\xca\x95\xdf\x36\x36\xa0\x08\x7c\x7f\x51\x69\x74\x58\xcf\x82\x6b\xab\x79\xd5\x7b\xec\x51\xf5\x5a\xa8\x1a\x3c\x4d\x59\xbd\xe2\xa4\x97\x0c\x9d\x72\x95\x8b\xde\xef\x45\x27\xd7\x7c\x0d\x11\x60\x1b\x6a\x4b\x3b\x47\x4e\xad\x00\x41\x6e\xb6\x4b\x6c\x92\xe7\xd9\x26\x97\x8b\x72\xe8\x9a\x2d\x83\xd1\x82\xf2\x7b\x34\x62\x1f\xb9\xb0\x57\xb0\xb4\x75\x06\x26\x38\x7a\x3c\x24\x2c\x46\x38\x57\x73\x83\xb6\x6b\xfd\x0a\x0b\x4b\x0d\x5a\xd2\x00\xb2\xf1\x50\x1a\x54\x46\x58\xc4\xae\xe2\xc5\x13\x77\xa3\x18\xb1\xa0\x11\xa8\x64\x00\x85\x9e\xa0\x54\x6d\x9b\xaa\x49\xa4\xd6\xaf\xda\xd6\xa2\xa9\x08\x6b\xad\x04\xeb\xf2\x73\x56\x2a\x2a\x0b\x35\x18\x20\xc0\x89\x4f\xeb\xab\x73\xee\xac\x8d\x4e\xbf\xd3\xf4\x5c\xf7\x42\x1c\x58\x8d\xc2\x98\xa4\xec\x0c\xb4\xa4\xf3\xad\xe3\xb5\x25\xd4\xe0\x69\x2e\x20\x5c\xb7\xa9\xcd\xaf\xa3\x39\x4d\x0a\xdf\xc5\x37\x07\x7e\x98\xba\xc9\x84\x3c\x91\xc4\x60\xd6\x47\x02\x22\xf3\x8d\xd5\xf0\x5b\xf4\x7f\x4c\x61\x52\xf4\xc7\x11\xfb\x04\x6c\x38\x49\x16\x80\xa8\xe9\x5b\xc6\xaa\xd2\xcc\x63\xe3\x00\x94\x4d\x05\x42\xe5\x81\x98\xbd\x9e\xe3\x27\x32\x62\xae\x99\xff\x83\x1e\xd1\xbf\xa1\x3f\xb6\xa9\x77\x2e\xc0\xfe\x85\xed\x1c\x1f\x83\xf0\xf5\xe0\x96\xb3\x8c\xd2\xf2\x1b\x67\x06\x29\x19\x21\x1b\x90\x35\x3c\x30\x36\x65\x4f\x3c\xaa\x65\x71\x84\xa7\x16\x0b\xc2\xd4\x98\xf1\x98\x8c\x49\x83\x4b\x73\x09\x93\xd0\x42\xc0\x15\x8f\xc9\x4a\x87\xa4\x67\xa6\x3f\x83\xe9\x46\xe6\x13\xbf\x1d\x90\xe0\xef\xb3\xb9\xbd\xf5\xa1\x4c\x69\xcd\x23\xf7\xe8\xb3\x9b\x8c\x7b\x53\x67\xaa\x0b\x13\x3d\x80\x0b\xc1\x0e\xa0\xd9\xa1\x97\x60\xe5\xdc\xeb\xd5\xe3\x58\x75\x04\xe8\x97\xf5\xcc\xed\x65\x15\xe0\xea\x42\xed\x13\x41\x67\x54\xcb\xef\xdd\x1d\xb6\xc0\x09\x37\xf1\x66\x18\x90\xd1\x4e\xee\x8c\x62\x29\x1c\xd0\xca\xa1\xa7\xbf\xc2\x09\x39\xe1\x79\x55\x80\xb7\x0b\x40\x65\xe8\xee\xb7\xb2\xfa\x42\xf3\xe1\x99\xc9\x00\x24\x73\x6a\x72\xee\x07\xa7\x17\x48\x9f\x0e\x9e\x1a\x60\x2a\x58\xb4\x5c\xcd\xb9\xa0\xbf\xb5\x66\x28\xb5\xcb\xe8\x85\xa7\xb5\x48\xe8\x32\xe3\x2c\x4b\xeb\x40\xac\x46\xa4\x50\x25\xad\xa4\x49\x67\x42\x93\x1c\x30\x58\x35\x9b\x9d\xe6\x89\x29\xdc\x10\x71\x11\x9b\xca\xe9\xb2\x94\x3e\x06\x61\xb8\x4e\xbc\xc7\xca\x37\x48\x2d\x54\xa5\x2d\x0d\x61\x2c\x38\x4b\x05\xd0\xbf\xe6\x24\xdf\x51\x06\xde\x9b\xc6\x2c\xdf\xe3\x99\x2c\x82\x90\xcd\xda\x68\xde\x5c\xac\xef\xdf\xf5\x4c\x65\x90\xb3\xea\x2c\x8b\x1e\x02\xca\xa8\xe4\xa6\x30\xe8\x5a\x16\x9d\x5b\x03\x7d\xbf\x03\x93\xce\x6b\xc4\x73\xd4\x65\xa4\x06\xf6\x63\xc9\xef\xc9\x67\x70\x56\x59\xc4\x0b\xd9\x49\x5c\x0d\x81\x8a\xf4\xf1\x82\x26\x93\x0d\x98\x5c\x5d\xa8\x5e\x1a\x15\x5d\x18\x50\x3c\x5b\x6b\x48\xa6\x56\x1c\xd2\x2e\x9e\x05\x05\x84\xb8\x45\xf1\xb2\xaf\x81\xeb\xae\x8b\x90\xc7\x68\x29\xc5\x88\xb5\x10\xd7\xe1\x96\x70\xd1\xcc\xe3\xd7\x30\x40\xd8\x86\xca\x5d\xd7\xfd\xf6\x6d\x27\xc2\xb0\xa4\x7d\x3d\x12\x75\x78\x98\x95\x87\xc1\x57\x02\x79\x1b\x03\xa2\x17\x6d\x5e\xef\x64\x78\x72\x1c\x47\x38\x9a\xb7\x4e\x6a\xc2\x79\x42\x30\x6b\x93\x5e\x1b\x1f\x57\x8f\x88\x01\x37\x05\xd6\x9d\x24\x80\xf0\xeb\x96\xc0\x56\x85\x2c\xc4\x77\x16\x03\x32\xbb\xe1\xe1\x26\x36\xd0\x0d\x54\x11\xe6\x2c\x3f\x94\xcd\x12\x52\x5d\x2b\x0b\xa1\x7f\x60\x3b\x49\xa2\x3c\x09\xca\x42\x66\x44\xe8\x51\xeb\x25\x7e\x22\x4c\xeb\x0c\x76\x1c\xce\x99\xf1\xec\x12\xa2\x7d\x31\xa8\x03\xdf\xb5\xf3\xa7\x41\xd6\x61\x3c\x62\x70\x70\x79\xf9\xb0\x6a\x5a\x95\x5a\xcd\x08\xed\x52\x1b\x9f\xce\x40\x88\x58\xfb\x78\xde\x95\xcd\xc4\x6b\x9f\x49\xd3\xf7\x18\x62\x0c\xb6\x76\xad\x05\xee\x97\x02\xaa\xc1\x6c\xac\x83\xe3\x7a\x25\x23\x32\x44\x6d\x94\xc3\x4e\x83\xa0\x8d\x36\x38\xa8\x17\xbd\x4b\x8a\xf2\x17\xee\x36\xe8\x38\x94\xa5\xae\xea\x8e\x8e\x67\xb0\x4e\x2e\x3b\xb7\x17\x36\x64\xbb\xec\xb2\xf5\xf9\x3d\x45\x98\xa3\x2d\xf0\xaa\x04\x06\x74\x02\xc8\x29\xff\xd9\x68\xd8\x54\x1a\x0b\x98\x2b\x73\x91\x66\x6a\x61\xab\xa2\xc1\xbd\x18\xe6\xf4\x1a\xc4\xb7\x26\xf7\x70\xf5\x8e\x8c\x4b\x0e\xe2\xa6\xce\xa0\x23\x6b\x56\x68\x6c\xd2\x2d\x74\x88\x20\x52\x41\x6c\x68\x8b\x06\x31\x05\x66\xc7\x38\x69\xb5\x65\xed\x80\x69\x42\x9a\x6d\x81\xd2\x60\xc1\x5f\x95\xc8\x89\xe6\x5d\x38\x49\x2a\xf3\xc2\x90\x0e\xad\x7c\x91\xb9\x49\x51\x09\xb7\xbb\xb3\x3a\xc1\x13\xb2\x96\x7b\xfa\xc2\x7c\xb0\x94\x8a\xe0\x15\x88\xec\xce\xb2\x64\xd1\x2d\xa2\x3c\x0c\xbd\x6b\x04\x49\x5b\x35\xb0\x10\x5a\x6d\xe9\xdd\x54\x86\x27\xdb\x6c\x88\x92\x44\xb9\xa0\x6a\x31\xb6\x46\xbf\xee\x4c\xeb\xce\x7e\x79\x6a\x3f\xec\xa2\x51\x9f\x20\xd7\x9f\x33\x32\xc2\x3d\x25\xa8\xa9\xa0\x63\xa7\xd0\x65\xbb\xb5\x96\xdc\x08\x9e\xb4\x6c\x61\x1d\x7a\x53\xb7\xa1\xea\x2e\x36\x1d\x9e\xad\xcc\x31\xe6\x53\x87\x8b\xd4\x7d\x61\xab\x25\x4b\xd6\xb0\x96\x3a\xf8\xe5\x4c\x50\x2e\x6c\x65\x90\x2e\x41\x6d\x29\xfe\x3c\xce\xb0\xc0\x49\x42\x12\x2a\xd3\xcd\x6d\xbb\x7f\xfa\x6e\xe9\x68\x4f\x4d\x05\x1b\x69\xeb\x41\x7d\xa6\x69\x9e\x22\x96\xa7\x13\x2b\xe5\x62\xf9\x18\x82\x5f\xba\x54\x7d\x83\xe1\xe4\x06\x58\x02\x0c\x10\x01\x9c\xe9\x88\x05\xc0\xd6\xd6\x54\x81\xa3\x39\x25\x4f\x00\xbb\x29\x18\x91\xf2\x08\x5d\x71\x45\x4e\xd0\x25\xce\xee\x41\x50\x33\x25\x25\x67\xc6\x3a\x8e\x25\xd2\x52\x6b\xce\xa8\x3a\x18\x31\x8b\x86\xed\x56\xe5\x38\xe2\xcc\x20\xa2\x46\xb0\xb0\xbe\x09\x30\xf7\x3a\x68\x50\xe5\x12\x1b\xa9\x6c\x59\x6c\x81\x9f\xc7\x41\xf4\xea\xd8\x64\x07\xac\x41\xc7\xb7\xf8\xd9\xc4\x6b\x9f\x61\x85\x4d\xb5\xd8\x65\x92\xbb\x0d\x88\xb2\x15\x84\x0c\x10\xb0\x0b\x1c\xe1\x16\x8d\xc2\xd7\x3e\x33\xd1\xa9\x5f\xd3\x23\x72\x84\xbe\x4f\xf8\x44\x1e\x20\xe9\x41\xb3\xe1\xa1\x24\x4a\x1e\x18\x07\x15\xfc\xdb\xa4\x82\x7d\xe3\x56\xbf\xe0\xfb\x50\xf6\x6f\x4a\x3f\x1b\x10\x0c\xf9\xa7\x93\xe3\xe3\x74\x71\x38\xc9\xa3\x47\xa2\xf4\x5f\x20\x53\x34\xae\x90\x43\x90\xc2\x4d\x78\x54\xab\x56\xa7\x8e\x65\xd5\x89\x22\x6d\x5a\x8d\x24\x80\x9b\xae\xaf\x74\x5f\x58\xd5\x41\x1f\x71\xd6\x5c\x35\xd2\x4e\x59\xe4\x6d\xc7\xab\x04\xb8\xfc\x3a\xda\x8a\x29\x1c\x1b\xe2\x3c\x4f\x13\x3c\xab\xa8\x2c\x6b\x28\x29\xd7\x29\xb5\x54\xa4\xe7\x0e\xf1\x16\xfa\x94\x95\xa3\xcc\xbe\x72\xee\x48\x70\x2b\x5a\x77\xcb\xd1\x88\x0d\x24\x7a\x26\xa6\x1e\x2c\xe4\x24\x82\x77\x22\xa7\x72\xee\x33\x12\xc1\x5e\x0a\x8d\x1a\x38\x5c\x83\x9a\x60\x15\x47\xa7\x59\x39\xff\x8d\xd5\x40\x71\x22\xc9\x81\x6e\x18\x20\xd1\x5c\x20\x21\x7a\x16\x38\xcb\x88\x18\x31\x0b\x6d\x0a\x00\xde\x9c\xdb\x20\x91\xb6\x68\xf2\x5e\xa3\x7c\x5d\x8d\x32\x4c\xfa\x28\x27\x2c\xae\x3a\xdf\x90\xdf\xb8\x34\xd5\x63\x49\x6e\xa0\x96\x45\x97\x46\x7a\xaf\xd2\x74\x07\x95\x90\x77\x28\xdd\x9c\x82\x32\x26\x8b\x0a\x95\xce\x6e\xe6\x55\xe1\x92\xc8\x00\x28\xd3\xf0\x71\xcc\x89\x0c\x0c\xe2\xc8\xdb\xb5\x12\x3a\x25\xfa\x26\x1f\x31\x4d\x12\xa1\xf1\xde\x80\x55\x3b\xec\x6a\xdd\x69\x24\xb8\x94\x36\x8a\xdd\xb4\xb3\x3c\x17\x69\x8b\xba\x78\x06\x71\xfb\xfc\xfa\x6a\x5c\xaf\x90\x17\x3c\x73\xb5\xf2\xec\xc3\xc6\x84\xf5\xd6\xa6\x56\x56\xc6\x2b\xd6\x62\x8d\xda\x78\xc7\xa7\x17\xe7\xbe\x20\x54\xa5\xeb\x7a\x71\xbc\x10\xa5\xbc\xbd\x3c\x5e\x7d\xc6\x41\xa1\xbc\x4a\x13\x4b\x4a\xe5\xad\xde\xac\x72\xec\xec\x36\x10\x74\x95\xad\x5f\x79\xd6\xca\x34\xb3\x2a\xc4\x7b\x47\xdb\xd4\xc2\xa2\x23\x10\xbe\x5e\xda\x5b\x0d\x42\x8c\x7e\x4b\x2a\x9c\x66\x61\xfa\xa2\xc3\xe0\xb4\xd3\x34\x47\xad\xed\x42\x79\x55\x6c\xf0\x08\x9b\xc8\x90\xea\xe0\x6a\x5b\xb1\x9e\xf7\xe8\xde\x42\x8e\xef\x22\x24\xf8\xf5\xf2\x81\x93\x45\x11\x01\x27\xad\x1c\xe4\xca\x59\xb7\xd8\xd0\x27\xc4\xc3\xab\xb7\x6e\xe8\xb6\x09\x7f\x1e\x86\x49\x10\x2c\x6d\x68\x03\xe4\xc5\x55\x72\x66\xd6\x30\xb5\xfa\x31\x9b\xcc\xda\x43\x5f\xd0\x20\xb8\x6a\x6c\x8d\xae\xc8\x1d\x44\x2a\x04\x79\x22\x02\x68\xc7\xc6\xcf\xb0\xf2\x51\xc5\x89\x20\x38\x5e\x04\x2b\xe2\x9d\xf7\xa6\x67\x30\x35\x49\x9a\x6a\x65\x18\xc4\x7c\xc6\x0f\x79\xe6\xe4\xff\xd2\x5b\x50\x8d\x82\x4e\xf5\x8d\x15\xb8\xfe\xf5\x17\xec\x90\x7c\xa6\x52\xe9\x3b\xba\x21\xee\xd1\x35\x02\xd2\x03\xd4\xa8\x9a\x13\x7b\xc3\x8d\x3e\x0c\xbe\xbf\xbe\xbd\x1f\x9e\x8d\x3e\x14\x91\xee\x2e\x95\xcb\xa3\x2b\x39\xb0\x7c\xce\x46\xcc\x07\xa7\x7a\x30\x61\xd8\x4b\x84\xe3\xb8\x40\x09\xb0\x0a\x99\x91\x7f\x96\x72\xe4\xe0\x54\xac\x0c\x4b\x5d\xd2\xcc\x03\xe4\xf3\xec\xeb\xc9\x5a\xe2\x86\x2a\x9d\x1c\x93\x95\xb4\x24\x7d\x64\x47\x97\x4d\x88\x83\xaa\x8c\xde\x4a\x94\x03\xea\x63\xe4\xd9\xe9\x1d\x70\x3b\x1f\x63\x73\x09\xaf\xc7\xed\xdc\x86\x6c\xb0\xa9\x1f\xe9\x67\x12\xdf\xb6\x48\x55\x3b\xc9\x0e\xe9\x14\x55\xd7\xb8\x0b\x39\xa3\xeb\x68\xcf\x7e\x2a\x0f\xfa\xbb\xee\x6c\xe9\xba\x80\x37\x2b\xa0\x4a\x01\xa7\x54\x21\x8c\x22\x22\x14\xa6\x0c\x4d\xe1\x60\xb3\x68\x81\x00\xfc\x82\x80\x3f\xf8\x3b\x94\x52\x06\x59\xf8\xcb\x96\xf6\xa1\x3c\x8f\x35\x84\xd6\xcb\xf3\xab\x87\xfb\x92\xa8\xfa\xc3\xf5\x43\xb9\x40\xfa\xe0\x97\xa5\xb2\x6a\xa5\x85\x65\x81\x37\xc1\x14\x8b\x8c\x3e\x8b\xd8\xea\x57\xa6\x71\xa2\xc9\x42\x91\x87\xdb\x8b\xad\xe4\xbb\x66\xc7\x53\x2b\xde\x76\x28\x5d\x35\xa3\x0b\x74\xf9\x34\x26\xd1\x2a\x44\xd0\xee\x74\x64\x22\x8a\xf4\x3a\x58\xcb\x9c\x45\x0b\xc3\x12\x65\x58\x58\x9f\x4e\x6c\x82\x89\xca\x55\xb6\x8c\xe6\xb5\x0c\x8d\xe1\x13\x51\x3f\xe9\xab\x8f\xb3\x5d\x64\x14\x58\x51\x16\x7c\x8d\x64\xfc\x64\x1a\x5e\xe3\xa4\xd9\xa1\x2c\x49\x1b\x71\xc2\x32\xf4\x80\x6c\x0f\x21\x86\xc1\x91\xa9\xb6\x3e\xd0\xcd\xc1\x8a\xb8\xd8\x3c\xad\x92\x72\xa6\x29\xd2\x40\x93\x3a\x3c\xd3\xa0\x39\x3e\x35\x1f\x77\x44\x77\x0b\x22\xc4\x75\x5b\xc5\x52\xa2\xc1\xcd\x79\xc3\x5a\x5f\x54\xdd\x31\x5f\x56\x69\x98\xc4\x7b\x86\x76\x0d\x38\x14\xa4\xfa\xed\x05\xc2\x90\x9d\xe9\x76\x90\x42\xc6\x81\x7e\x53\xf6\xca\xef\x03\xf2\x6d\x93\xca\x50\x4a\xe1\x5d\x01\x72\xbb\x5e\x56\x5b\xb1\x0c\x6b\x02\x08\x85\x03\xb2\x29\x15\x21\x68\x4e\x3d\x5e\xf7\x20\x04\xd1\xe1\xa6\xf8\xac\xf5\xd3\xef\x0c\x58\xa8\x98\x4d\x17\x64\xa1\x9f\x0c\x45\x7b\xe0\x09\x80\xd2\x70\xc5\x0d\x5d\x9c\xad\xcd\x03\x0f\xa7\x1b\x52\xdb\x7a\x60\x44\xc5\xf8\x9c\x29\xd9\xe2\x3a\xe3\x0c\x5b\xbb\x03\x28\x51\xae\xea\x40\x53\x91\xba\xa3\x11\x0b\x82\x3f\xa4\x51\x7b\xf4\x19\x71\x85\x3e\xa0\x7a\x2c\x03\x90\x68\x48\x78\xf1\xc2\x4f\x69\x07\xaa\xe9\xe6\x6a\x5e\x2e\xd5\x51\xeb\xc7\x9e\x4e\x39\xc7\x2e\xa9\xcf\x59\x50\x6c\x4c\x5d\x68\x5f\x82\xf6\x02\x70\x7e\xdb\x31\x98\x76\xc1\x68\x81\x83\xd2\x6f\x41\x22\x78\xcc\x89\x64\x5f\x29\x9f\x36\x49\x13\x5b\x5e\x04\x57\x4d\xed\x5a\xaa\xc3\xd4\xb6\xbc\xfc\x80\xef\x00\xe9\x68\x5d\xc5\x21\x38\x56\x2b\xcd\x54\xce\x5f\x0a\x94\x10\xc6\xf5\x40\xa7\x6d\x16\xea\xcf\x19\x89\x36\x81\x63\xb9\xc1\x02\xa7\x44\x11\xb1\x2c\xb4\xa7\x5c\x98\x19\x44\x1c\xb7\x83\xb6\x5f\xb3\x8b\xa6\x6a\x45\xb5\xbc\x89\xd7\x6e\x2f\x56\xc1\xab\xf8\x59\xac\x85\x24\xa5\xa7\xf1\x93\xb5\xa2\xaf\x39\x0b\xdb\x4f\x31\x0d\x1b\xb9\x14\xa0\xe9\x6c\x3b\xa7\xd7\x81\x15\xb9\xaf\x01\x74\x94\x42\x6f\xf6\x04\x4f\x64\xf5\x28\xdb\x80\x44\x56\xf1\xd2\x9d\xf0\x6e\x97\x2d\xe0\xd2\x51\x2b\x87\xaa\x94\x87\x00\x54\x02\x2a\x95\xc1\xd4\x68\x06\x03\x01\xa1\xa5\x29\xda\x30\x70\xa1\x59\xa8\xb8\xc2\xa0\x6b\x25\xab\x6a\xa1\xa6\xca\x72\xad\xe0\x71\xbb\x02\x4a\xe8\x25\x9a\x5d\x4b\x34\xab\x48\xb9\x14\xa9\xaa\xa9\x93\x88\x0a\x66\x8b\x2d\xa0\x6c\x93\xed\xcb\x13\x84\x3c\x1e\x7b\x45\xda\x2a\xac\x70\xf5\x53\xe6\xff\x55\xe6\xe0\x8e\xa8\x43\x52\x6d\x4a\x50\x3c\x0a\x5c\x50\xe0\x81\x4a\x42\x69\xc0\xc6\xa8\xc0\x68\x4d\x48\xa1\xb1\xf2\x9f\x5f\x19\x07\x16\x24\x0a\x2f\x78\x8e\x9e\xa9\x9c\x23\xc5\x47\x0c\x62\xee\xbc\x37\x40\x71\x64\x5e\x3c\x80\xb7\x00\x52\x40\xe6\x93\x94\x2a\x84\x83\x19\x96\x4c\x92\x07\xf6\x3c\xeb\x0f\x60\xc6\x8d\x39\xeb\x4d\x70\x37\x2b\x0e\xcd\x06\xf6\xb5\xa2\x91\x6d\xd3\xd2\x83\xf8\xe0\x97\x4d\x4c\x0f\x34\x9e\x50\xc3\x6c\x3c\x73\x7d\x66\x3a\x6a\xb6\x36\x58\x00\x4e\x40\x49\xa5\x52\x55\xee\x16\x6b\xe8\x59\x91\x95\x5e\x6c\x44\xa7\xb4\xf4\xe2\xf5\x5d\xe4\xa5\xb7\x95\xfc\x5a\x96\xa7\xe8\x3e\x69\xb1\x7f\xbb\xfc\x57\xc5\x5d\x10\x7a\x28\x29\xdd\xb4\x4a\x4a\xfb\x86\x10\x56\x04\xd7\x6f\x1e\xaa\xbd\x8e\x3a\x58\xe4\x3a\x85\x54\x14\xa4\x2e\x96\xf1\x55\x48\x95\xf3\x33\xae\x20\x3f\x25\x82\x72\xe8\xb5\x9c\xc9\x11\x6b\x96\x40\x96\xf3\xc4\x6d\xd3\x1d\x76\x8a\x24\x16\x9c\x3f\x37\x0b\x6b\xd1\xfa\xd9\x07\x8c\x19\x65\xd9\x16\x36\xaf\x8a\x98\x85\x8b\xaf\x2d\xd0\x47\x0b\x1e\x9b\x24\xef\x36\x9c\xca\xe6\xa1\xd7\x92\x11\x56\x9e\x0b\x7b\xe9\xee\x50\xb5\xab\x71\xe7\xce\xb9\x1b\x5e\x46\xb6\xdc\xd8\x05\x1f\x3b\x35\xbe\xe2\xa9\xdd\xa4\x60\x2b\x00\x74\xee\x0c\x56\xb4\x9a\xe9\xaf\x1b\x3f\x00\xef\xae\x1d\x3a\x36\x91\x2e\x1e\xec\xba\xb2\x25\xa5\x09\xdb\x42\xf8\x2f\x30\xe9\x75\x8b\xec\x06\xde\x46\x61\x23\x67\x69\x68\x37\x80\xea\xba\x36\xe0\xb0\xc2\x87\xbd\x68\x97\xb3\x98\x08\x46\xb0\x9a\xbf\x5e\xbe\xc2\xe9\xb6\xc6\xe9\x30\xc0\xfe\x45\x73\x17\x4e\x77\x52\x61\xbd\x92\x0f\xb0\x66\x2a\xc0\x1a\x71\xf5\x45\xbd\xdd\x9a\xe2\xd8\x60\x34\x0c\xe0\x5c\xd6\xa1\xd2\xad\x52\x1a\x9a\x95\xb9\x97\x49\xee\x68\xb0\xfa\xd4\xd2\x3a\xf4\x61\x0f\xab\x14\xaf\x58\x92\x2f\x22\x8b\xe2\xe5\x03\xfb\x97\xd5\x43\xce\x83\x58\x7f\x28\x4a\xad\x30\x65\x96\x7b\x2d\x0b\xef\xd7\x12\x65\x8a\x9b\x22\xfa\xf7\x3e\x57\xe4\x8b\x4f\x15\xe9\x13\x07\xfa\xc4\x81\x86\x3d\xea\x13\x07\x10\x7a\x6f\x89\x03\xcb\xcc\x9f\xde\x23\x07\x75\x2b\x4b\xc5\x62\xcc\xfe\xae\xd0\x22\x37\x0f\xe8\x77\x16\xc4\x30\x1a\xca\xfe\x62\x7f\x68\x0c\x88\xaa\x7d\x56\x9d\x6d\x68\xcd\x64\x8b\xaa\x53\x00\x8b\x38\xb1\x88\x6e\x36\x5c\xb9\x6c\x7d\x5a\x66\x28\x1d\xb1\x1f\xf8\x33\x79\x22\xe2\x00\x61\x85\x52\x2e\x15\xf0\x61\x17\x1d\x03\x07\xa1\x04\x0e\x6e\xa2\x20\x30\xba\xc2\x29\x89\x4d\xed\xc0\x20\xa8\xd1\x9a\x6b\xad\xa3\xb5\x09\xb8\x14\x30\x38\xcd\x36\xb8\xa8\x89\x11\x33\x81\x86\x26\xb8\x0d\x64\x05\xea\x26\x06\x04\xf3\x07\xef\x06\xfe\xc3\x11\xba\xd7\xf7\x13\x95\xe5\xf1\x06\x38\x66\x6d\x63\x1b\xb1\x99\xe0\x79\xe6\x2d\x68\x7c\x62\x8a\xc8\x9a\xd8\xa7\xba\x1b\x18\x06\xe3\x7c\xc0\x11\x8e\xb5\x26\xbe\x9c\x70\xde\x24\x06\x75\x23\x30\xa0\x90\x80\xf4\x31\xf4\x81\x75\x36\xd0\xdd\x78\x6f\x03\x08\x94\x65\x90\xe6\x2f\xe4\x5a\x3e\x23\x12\x6c\x42\xde\xe6\x5e\xca\xc8\x2e\x67\xfd\x37\x8e\x73\x99\x45\xd4\x7b\x2d\x9c\x65\xbf\x19\x50\xa0\xe8\xdc\x46\x7c\x99\x74\x4f\x7b\x4f\xbc\x98\xad\xb4\x73\xec\x6c\x1b\xbf\xb8\xc9\x45\xc6\x41\x12\x4b\x16\x0e\x00\xc1\x62\xa6\x65\x3c\xcb\x4d\x54\x1b\x0d\x83\x9c\x1a\x29\x9b\x4a\x75\x89\x55\x34\xd7\x9c\xbb\xc0\x0e\xdb\x51\xb4\x5f\xc1\x95\x5f\xd6\x7e\xda\x30\x83\xd3\xb0\xf7\x16\x87\x42\x07\x7b\xba\xb9\xf7\x5d\x70\xbd\x93\x24\x52\xdd\x9f\x71\xba\xd9\xd2\xd0\x81\x55\xd4\x7d\x62\x9f\xe8\x89\xae\xa2\xa2\x55\xe3\xef\x46\x5b\xe5\xda\x55\x3b\x8f\x23\xdc\x02\x8c\xe5\xcc\x42\x5f\x15\x2f\xda\x5a\xa7\x2d\xce\x7f\x41\x37\xcb\x01\xb2\x78\xf3\x4f\x5a\x1c\xf1\xf6\xd6\x14\x67\x5a\x89\x50\x5c\xdf\x92\x62\x66\xe4\x58\x13\x25\x8b\x30\xca\x05\x75\x67\xbf\x92\x5d\xdd\x4e\x1d\x60\x9f\x3c\x0e\x6b\x13\x45\x38\x28\xdb\x66\xdc\xfd\x38\x52\x39\xf6\x61\x89\x40\x13\xae\x9c\xb8\xc9\x24\x77\x6e\x75\xe1\xc4\xbb\x86\x3d\x5d\x49\xd8\x5b\xec\x32\x6e\x42\x0a\xec\x74\xd2\x28\x9b\x05\x30\x83\xcd\x36\xe2\x2e\x55\x04\x1a\xbf\xec\x56\x09\xa1\xf1\x53\x27\xfb\x6c\xf2\xed\x12\x18\xa4\x8d\x23\xb3\x4b\x51\xee\x36\x0c\xd6\x4a\x4f\x21\x00\xa4\xb5\xdf\x01\x8e\x2b\x05\x37\x3d\xb6\xd2\xd4\x7f\xfa\xbf\x4c\xd5\x29\xb3\x34\xff\x89\xb8\x18\x31\xf3\xfb\x81\xaf\xf8\xa0\x5f\x28\xa0\x54\x71\x4a\x0a\xb0\x49\x51\x86\xa5\x03\x70\x0e\x0b\x2b\x66\x60\x73\x3d\xe0\xbd\x1e\xc3\x63\x3e\x21\x82\x11\x3d\x34\x97\xc6\xef\x99\x59\x8a\x19\x9e\x01\x48\xef\x01\xc4\xc5\x81\xb8\x5a\xa8\x22\x86\xa4\x4d\xe5\x40\xe0\x56\x9a\x59\xda\x6c\xdb\xa2\x82\x2e\xf4\x69\x44\x59\x8b\x11\x5a\x04\x57\x34\x53\xff\xad\xed\x7f\x33\x89\xfd\x7e\x70\xf7\xe3\xf8\x76\x78\x77\xfd\x70\x7b\x5a\x12\xdb\x4f\x2f\x1e\xee\xee\x87\xb7\x8d\xcf\x8a\x4c\xd5\xbf\x3e\x0c\x1f\x5a\x1e\xb9\x06\x2e\x06\xdf\x0f\x4b\xe5\xa8\xff\xfa\x30\xb8\x38\xbf\xff\x65\x7c\xfd\x71\x7c\x37\xbc\xfd\xe9\xfc\x74\x38\xbe\xbb\x19\x9e\x9e\x7f\x3c\x3f\x1d\xe8\x2f\xc3\x77\x6f\x2e\x1e\x3e\x9d\x5f\x8d\x5d\xd0\x71\xf8\xe8\xe7\xeb\xdb\x1f\x3f\x5e\x5c\xff\x3c\x0e\xba\xbc\xbe\xfa\x78\xfe\xa9\x69\x16\x83\xbb\xbb\xf3\x4f\x57\x97\xc3\xab\xe5\x65\xaf\x9b\x57\xa3\xb5\xa2\x6e\x70\x91\x05\x46\xa3\x40\x4c\x9a\x2c\x2c\x69\xd3\xdf\xc0\x75\x71\x63\xe8\xf1\xf0\xc0\xfd\x65\x8a\x54\x1f\x6a\x16\xe8\xbc\x62\x05\xf7\x18\x31\xef\xb6\xf4\x97\xaa\xc2\x33\xe9\x12\x8f\x4b\xa3\x3d\x41\x03\x38\x2b\xa0\x30\x94\x3a\x85\xbc\x06\x3f\x52\xe7\xe8\x06\x3a\x4c\x68\x4a\xc1\xe7\x8d\x0e\x51\x75\xc3\xcb\x0d\xda\x39\xc1\x10\xac\xd7\x2e\x5e\x76\x1a\x64\x35\xa7\x19\x28\xe5\x04\x39\x0e\x4d\x8c\x39\xc1\xa0\xb8\x2e\x18\x4e\x69\x54\x4d\xc0\x00\x20\x53\x54\x80\x76\x54\x5b\x2c\x11\x58\xb9\xe5\x39\x41\x3f\xfe\xa5\x18\x14\x78\x30\xac\xe6\x9d\xd7\x6a\xd3\xd9\x07\x22\x37\xab\xba\x8a\x3c\x4b\x3d\xb9\x63\x6e\x4d\xcb\x70\x6e\x6d\x0d\x6c\x70\x37\xe5\x2c\x00\xee\x2a\xf9\x9e\xf4\xf1\x36\x33\xaa\xd0\xf8\x09\xba\x03\xd0\x10\x59\xa8\xee\x7a\x17\xb3\x24\x9f\x51\x86\x68\x9a\x25\xa4\xa8\x9e\x3e\x21\x73\xfc\x44\xb9\x2b\x04\x61\xea\x65\xc0\x3a\x5a\xd1\x0a\x1d\xa2\xd6\x83\x72\x82\x06\x71\x2c\xcb\x0c\xae\x44\x39\x8e\x65\x1e\x96\x87\x1d\x62\x6d\xb1\xd8\xb3\xcd\x0a\x1d\x15\x47\x0e\x56\x6c\xf7\xb0\x28\x75\x76\x58\xbe\x7b\xb7\xb8\xfe\xf5\x0a\x8e\x1d\x29\x8f\x37\x12\x06\xee\xb1\x7c\x74\xac\x79\x95\x40\xe0\x00\x6a\xb6\xeb\xd1\x22\xd5\x74\xed\xd4\xaf\xec\x18\x0e\xda\x66\x7d\xb6\xe2\x2b\xaf\xe8\xd2\xcd\x38\xa9\x14\xc1\xea\xdc\x5f\xa9\x88\x56\x63\x67\x3b\xf5\xf6\x34\x4b\x63\x70\x24\xc7\x9e\xfe\xd7\x98\xc7\x0d\x7c\x7a\xed\xbf\x5c\x2a\xb2\x8d\x83\x75\x5b\xd7\x07\x54\x4b\xd1\xb5\x7e\xa0\xa5\x74\xb8\x23\xa0\xa4\xee\xc2\x20\x94\x30\xa0\x11\xb8\xfb\x30\x65\xb6\xb0\x0d\xf1\xfe\x28\x57\xca\x59\x9f\x63\x5f\x6c\x0d\x4f\xf8\x53\x49\xb9\x4c\x89\x94\xb8\x05\xae\x24\x30\x89\x6d\xc3\x18\xfc\x09\xb5\x1f\x76\xa4\x27\x77\x26\xef\xf5\x57\xcb\x8c\x3e\xb7\xa1\x66\xec\x26\xaa\x05\xd6\xd8\xc5\xd9\xa2\x6b\x93\x6d\xa7\xf9\xcb\x41\x11\x4a\xc3\x45\x10\x61\xd4\xe6\xfe\xe9\x68\x56\xab\x2e\x58\x63\xbd\xa2\xd0\x85\xb7\x7e\x04\x4e\xd0\xfa\xc6\xd8\xd2\xd6\xaf\x82\xcb\xeb\xb3\x06\xd5\x95\xfc\x9d\x61\x2d\xe7\x88\xa7\xa9\x91\x0b\x4a\xb6\xd4\x03\x84\x4d\x92\x63\x21\x4d\xc9\x3c\x9a\x1b\x2f\x93\xbe\x32\x0e\x46\xec\x39\xd8\x90\x52\x18\xf0\x20\x6c\x09\x70\x39\x3f\xeb\xe3\x46\x9f\x4a\xc1\xd5\x20\x32\x52\x88\xf4\x0d\x08\xc1\x38\x04\x8b\x42\x4c\x2b\x08\x3c\xd8\xaf\x2d\x48\x7d\x83\xaa\x7b\x95\xf5\x6d\xab\xbd\xe7\xe7\x16\x94\xbc\xdb\x42\x53\xee\x3a\x84\xa0\xea\x5e\xd3\x08\x76\x50\x74\xef\x55\x81\xb2\x7d\xb2\xa6\xc9\xed\x4d\x27\x16\xa1\x42\x4f\xd7\xad\xf6\xbf\xb9\x19\xfd\x9b\xf1\x3b\xe4\x2d\x90\x26\x41\x6b\x1e\x2b\x1b\x1d\x6a\x99\xd5\xa5\xda\xdb\x40\x0c\x89\x0e\x0d\xfe\xde\x57\x10\x67\x39\xb8\x39\xff\xea\x00\x7d\x15\xe6\x9a\x7d\xb5\xd1\x01\xb4\xe3\xb6\x85\xf7\x40\x9b\x2a\x25\x1c\x94\x8f\x1d\xec\x55\xe5\x24\xda\x3d\xb3\x07\x11\xb5\x9d\x43\xfd\x65\xe9\x1b\x70\x4e\x43\x21\x39\xe3\xbf\xf5\xe1\xce\xd6\x05\x64\x64\x5c\x2a\x1b\xd6\x2e\x1e\xb1\xc9\xa2\xea\xe4\x39\xf0\x5e\x9e\xce\xa7\x74\xeb\xe2\x68\xba\xbd\x7a\x72\xf2\x8e\xc3\x70\x97\xdf\x07\x2b\xd2\x9d\x07\x26\xe2\x9a\x4f\x03\x2e\xd6\x16\xa5\xd0\xc7\xaf\x37\xcd\xaa\x64\x2f\x73\x8b\xd9\xb8\x29\xab\xe4\x9f\xf7\x46\x6e\x1d\x82\xbe\x07\x4d\x2b\x62\xe3\xfd\x5b\x84\xeb\x9e\xca\x5e\x96\xca\x76\x91\xef\x50\x1e\xdc\xfa\x17\xe8\xa9\x91\xe3\x82\x66\x9c\xc1\x55\x2b\x13\x9e\xc1\x97\x2a\xe8\xad\x2e\x3d\xbb\xa6\xcf\x37\x58\x93\xd5\x4e\xdf\x3b\x13\x38\x60\xdc\xae\xf5\xb1\x56\x87\x3a\x50\xb6\x9c\x0f\xa7\x26\xb7\x51\xd1\x94\x1c\x20\xce\x92\x45\x10\xec\x60\xcf\x2b\x90\x9b\x89\x51\x9a\x13\x2a\x5c\x27\x16\x61\x70\xad\x64\xf8\x35\xa5\xf1\x36\x1a\xd9\x22\xd2\xe4\x6a\x70\x39\x3c\x1b\x0f\xaf\xee\xcf\xef\x7f\x69\x40\x8f\x2c\x3f\x76\x00\x92\xc1\x0b\x77\xbf\xdc\xdd\x0f\x2f\xc7\x9f\x86\x57\xc3\xdb\xc1\xfd\x0a\x70\xc9\x65\x9d\xb5\x01\x17\xe6\xb2\x49\x7d\x5b\x07\xbc\xd0\x99\x79\x1b\x7a\xaf\x43\x4c\x06\x9d\x50\xd2\x02\x33\x69\x12\xff\x59\x4c\x04\x8a\xc9\x13\x49\x78\x56\x98\x55\x1b\x17\x2c\xc0\x9f\x6c\x68\x7f\x19\x06\x25\xb4\x59\x5d\xe3\x13\x64\xaa\xa6\x05\x85\x63\x7d\x83\x20\xf2\x61\x41\xd8\x57\x0a\x91\xcf\x59\x42\x23\xaa\x82\xc4\x40\x2e\xac\x7b\xc5\xb8\x0f\x21\x3a\x75\x05\x71\xed\x2c\x1a\x65\xe7\x3a\x7f\xe8\x49\xaf\x6b\xfb\xfe\x44\x79\x3c\xb4\x95\xa5\x78\x76\xa0\xd8\xb7\x38\x8d\x6b\x70\x6d\x1b\x8c\xee\x25\xcc\x03\xf5\x0c\x1d\x9b\xdc\xd7\x02\xe5\xd6\x3c\xc8\xd5\xb7\xe1\xb2\x38\x99\xd2\xb9\x5e\x1e\x28\xd3\x8d\x52\xdf\x38\xdc\xa5\x54\xa2\x72\x07\xb8\x1b\x36\x76\x7d\xcd\x80\x85\x5a\xe5\x15\x66\x62\x4e\x31\x12\x24\xe5\x4a\x2b\x60\x26\x22\xe0\x40\x0b\x55\x14\x27\xf4\x37\x40\xa8\x12\xe4\x28\x88\xa0\x70\xb8\x5e\x85\xfb\xc0\xa2\x47\x1c\x8d\xd8\xd9\xf0\xe6\x76\x78\xaa\x19\xd2\x11\x7a\x90\x00\x3e\x55\x9a\xfa\x99\x25\x6f\x23\x8e\x85\x91\x0c\x94\x49\x45\x70\x5b\x30\x18\x11\x82\x8b\xee\xfc\xc1\xf7\x37\x84\xef\x9a\xc9\x1b\x9e\x95\x6c\x53\xce\x00\x70\xd5\x5a\x5f\x38\xc8\x19\xd8\x79\x4a\xd6\x2d\x7e\x2e\xad\x48\x08\xbe\x01\x92\x48\x79\xd5\x5f\x70\xb5\x01\xbe\xb3\xfb\xfc\x4a\x7d\xde\xc0\xb7\xcb\xe6\x79\x0f\x21\x76\x52\x15\x58\xa0\x06\x2e\xd4\xd7\x8f\xa9\xcc\xb3\x55\x54\x14\x6f\x01\xd4\x51\x21\xfd\x09\x99\x61\x86\x44\xce\x58\x05\x1c\x36\xb4\xb4\xd5\x83\x66\xd6\x3d\xaa\x7a\xcd\x70\xca\x73\x06\x4a\x03\x84\xb1\x36\x0c\x46\x66\x84\xa9\x15\x83\x79\x2b\x18\x96\xca\x50\xf7\x17\x89\xa5\x61\xa0\x6d\x60\x2c\x4d\xfe\x24\x28\x62\xbc\xde\xb5\xec\x82\xf2\x4a\x4e\x25\x7d\xa8\xfc\xfd\xdc\xac\x65\x63\xf9\xb8\x75\x77\xf7\x58\x3e\xae\xee\x2a\x26\xd1\xe3\xba\x97\x4d\x35\x33\x33\xb1\x35\xa0\x6b\xc6\xbe\x85\x7e\x6a\x8b\x9c\x40\xe9\xef\xe8\x11\xfd\x70\x7f\x79\x81\xa6\x54\xcb\xbd\xfa\x5a\xb9\xc2\x5a\xc6\x7e\x10\x89\xb3\x0b\x5b\xdb\x6a\x2e\x12\x7f\xf7\xc2\xc6\x3b\x51\x2a\x90\x12\xf4\x8d\x86\x67\xc4\x19\x7b\x85\xc5\xda\xab\x14\x39\x11\x98\xc5\x3c\x35\xf3\x38\x96\xf9\x74\x4a\x3f\x1f\x29\x2c\xbe\x69\x59\x0f\x13\x55\x31\xfe\x1b\x9f\x8c\xf5\x88\xb6\xbc\x88\x9b\x9a\x43\xb6\x34\xb1\x5f\x36\x3b\xb3\x33\xf3\xee\xff\xe5\x13\xc8\x75\xcf\x04\x07\xfc\x3f\xf0\xce\xd9\x48\x05\xfb\x8a\xa3\xa4\x23\xe4\x12\xa8\x4a\x10\x27\x11\x17\x82\xd8\x14\x79\x53\xa5\x33\xc3\x42\x51\xb0\xd6\x3a\x88\x94\x12\x36\x7e\xb1\x45\x61\xf1\xec\x39\x2e\x70\xa8\x27\x84\x80\x83\x27\xa3\xc9\x7a\x4a\xef\x69\xc9\x37\x59\x39\x81\x36\xf2\xd4\xa2\x66\x82\x41\x66\xa5\x88\x35\x7c\x22\x4c\xed\x44\x3f\x81\x26\x1a\x92\xf6\xbb\x79\x19\x4c\xb1\xcc\xf3\xb3\xe2\x72\x73\x21\xbd\x61\x54\x93\x12\x18\xee\x79\x9b\x28\x65\x5d\xea\x6d\x8e\xfe\xa7\xce\xbe\x63\x78\xb5\xbe\x2e\x2b\x42\xe3\xed\x6a\x17\x45\xb3\x8b\xb0\x56\x07\xec\xbf\x21\x8c\x8f\x24\xc6\x8a\x11\xc0\x47\x58\xe5\xb4\xba\xe7\xa6\x4f\x4d\x5b\x95\x2e\x57\x6e\xf9\x06\x98\x35\xa5\x66\x3e\x11\x48\xe9\xdc\x45\x20\xfa\x3a\xa9\xfb\x30\x90\x07\x91\x40\x08\xf5\x52\x2b\x96\x29\xd8\xad\x39\x9f\x97\xec\x70\x07\x19\xdd\x0c\x46\x0b\x8d\x24\x13\x24\xd2\x57\xd9\x09\xba\x49\x88\x96\xbc\x72\x2d\x7d\xe5\x49\xe2\xf0\xbd\x96\x4b\x87\x6b\x61\xd2\xbd\xf8\xbc\x02\xdd\x63\xc9\xc4\x1c\xbe\xdd\xf2\x99\x05\x6b\xb0\x7b\xc0\x85\x60\x7d\xc1\x84\x0c\x86\xc4\xb2\x16\x09\x1c\x7e\x61\xe2\x66\xc1\x94\x84\x4b\x17\x19\xfd\x4d\xb3\x5f\x41\xe4\x9c\xb7\x26\x39\x86\xb3\x7d\x99\x39\xb8\xa5\x7c\xc1\x49\xb8\xfb\xb0\x2d\xae\xba\x83\x5c\x53\xb9\x03\x4b\x22\xce\xb2\x29\xfa\xda\x0f\x3e\xfa\xc3\xa2\xad\xda\xbb\xd5\x0e\x0d\x6e\xc9\xc2\xd4\x16\x22\x9f\x15\xae\x8b\x42\x99\x59\x18\xdf\xab\xff\xbc\x30\x20\x17\x29\x01\x54\xc9\xa2\x7e\x1b\xd2\x77\x6d\xdb\x16\xeb\x79\x8e\x73\xb1\x16\x24\x45\x81\x59\xbe\x0e\xe7\xb6\xc9\x28\xc5\xb0\xf4\x22\x34\xb3\x4b\x5b\x4a\x02\xc4\x68\x1b\x6a\x24\x4b\x38\x70\x96\x6c\xcc\x32\x36\xaa\x78\xed\x4c\x79\x5b\xb7\x1a\x48\xc9\x85\x28\xf3\x52\xde\xb5\x12\x05\x96\x26\xd0\x23\x8b\xad\x8f\x2c\x66\xeb\x8a\x78\xda\x03\x1c\x40\x25\x20\xf1\xbf\x70\xa0\x55\x05\x07\x6b\xf4\x5e\x95\xf9\x54\xda\x9d\x4e\x69\x4e\xa5\x2f\x34\x2f\x39\xdb\xd2\x03\xa7\x27\xb3\x18\x43\xe2\xe8\x36\x51\x38\xa5\xf9\x1b\xef\x01\xb4\x49\x62\x64\xd0\x0b\x0c\xee\xb1\x5d\x3b\xef\x39\xc9\xb0\x20\x4c\x8d\xd8\xad\x1e\x85\xf9\xa2\x88\xc4\x70\x71\x38\x0e\x8b\x1e\xaa\xbf\x4e\x11\xb6\x5f\xc1\xa2\xb7\x05\xc2\xc9\xb1\x79\x09\x54\xd3\x17\x4c\xb2\xff\xde\xbc\x63\x30\x0f\x2c\xe6\x8f\x9e\x2a\x9d\x16\x6a\xbc\x16\x20\xa3\x39\x05\xc8\x81\x98\x48\x7b\x21\x51\x65\x31\x25\xbc\xf8\x9d\x13\x87\xbe\x0c\x9f\x79\xfe\xd5\xc4\xb0\x9d\xa1\x80\x39\x03\x9d\x1c\xb1\xa0\x8f\x25\x60\x9d\x46\x59\xdf\x50\x95\x80\x7d\xa6\xb1\x77\x7c\xc1\x3f\xcd\x0e\x71\x41\x67\x94\x05\x25\x93\xec\xf4\x52\x9c\x81\x79\xd7\x9c\x41\x3e\xf5\x77\xda\xbd\xcd\x32\x38\x82\x11\xff\xf7\x7f\xfd\xcf\x11\x6d\xf3\x7e\xc8\xb1\x5d\x81\x7d\xd8\xc9\xf5\xb6\x25\xdc\xf9\x00\x45\xa4\x05\x9d\x22\xd0\x69\x65\x29\x73\xa2\xf8\xd5\x5e\x6e\x9a\x68\xb8\x9a\x1b\x77\x6f\x99\xdc\xc1\x37\x22\xf2\xe5\x55\x04\x02\x16\x57\x04\x04\x14\x5e\xdf\x20\xe8\xd6\xd5\x88\x30\xc1\x92\xba\xfd\xca\x85\x52\x61\x50\x01\x98\xdf\x36\xc1\x89\x73\x2c\x5f\x2e\x02\xa5\xb1\xb6\x91\x31\x1a\x87\x77\xe4\xaa\x58\x14\x33\x48\x93\xd4\xa8\x77\x25\x97\x44\x98\x03\xed\x51\x9f\x2c\xf1\x84\x50\x85\x10\x8a\xb8\xc2\xa5\x46\x52\x4c\xd7\x0a\x9b\xd7\xef\x37\x03\x29\x96\x6c\xea\x78\x46\xc4\x38\xce\x4b\x31\xd2\xab\xda\xbe\xd1\x1f\x9d\xe5\x6a\xb1\xba\x7d\x99\xe0\x7a\x6d\x97\x65\xe0\x95\xfa\xfd\x96\x66\x57\x0b\x86\x41\x24\x4b\x59\x38\x6c\x81\x86\x24\x15\x68\x48\x1b\x5a\x59\xb2\x04\xc0\x45\xc3\xa0\xae\x7e\xa0\x30\xd8\x9b\xc8\x00\x58\xc3\xc8\xd1\x24\x2f\x2c\x27\xbe\x24\x40\x7c\x34\x62\x1f\x4d\x4d\x0d\x50\x66\xcc\x00\x22\xc8\x6b\x21\x9f\x33\x2e\x49\x29\xd1\xaa\x01\xe6\xdf\x26\x4a\xda\x61\x34\xcb\xa4\xc5\x47\xdb\x8b\xa4\x6f\x0e\xf2\x59\xdf\xf0\xfa\x94\x9b\x29\x70\x2b\xa9\x27\xa2\x19\xd5\xb4\x33\x6e\x3c\x69\xeb\x4f\xbd\x6b\x95\x98\x22\x74\x09\xe0\x9e\x54\xb2\x38\x40\x7e\x7a\x15\x82\x48\xc8\x13\x01\xab\x31\x8c\x31\x2c\xe6\x50\x36\x5f\xb5\xb0\x93\x55\x07\xa8\xc8\x72\x04\xb6\x80\xe2\xea\x08\xca\xb9\x60\x4d\xb4\x58\xce\x72\xd9\x3a\x21\xab\x29\xfe\x62\x0d\x29\x74\x10\x16\xb5\x58\x10\x85\xc8\x67\x45\x6c\xd9\xcb\x7b\x97\x32\x57\x8f\xb2\x47\xcd\x59\x3f\xed\x22\xd2\xee\xa9\xa2\x36\x11\x9b\x28\xed\x72\x02\x63\x77\xef\xdb\x1c\xb9\x39\x66\xb1\x4d\xfc\xb4\xb2\xb4\x96\x29\x60\x76\xc6\xb6\xe4\x43\xe2\x6d\xfa\x62\x80\x06\x6e\xda\x34\xb0\xe5\x70\x91\x39\xbd\x48\x4b\xe6\x10\x45\xc0\x85\x16\x50\x73\xa6\x68\xa2\x89\xc3\x8e\x41\x6b\xcd\x39\xf3\x78\x7c\x10\xc0\xdd\x06\xf9\x46\xa5\xa4\x6c\x36\xb6\x2b\xe9\x72\x18\xbb\x5d\x0c\x65\x9a\xba\x34\x4d\x99\x1f\xbf\x77\x0d\x2d\xb7\x1d\x1b\xb2\x06\x38\x2e\x97\x3d\x09\x82\x35\xe3\x6e\x32\x16\x47\xcd\x25\x5d\x8e\x69\x6c\x96\x82\x9a\xea\xca\x30\xd1\x75\xcc\xcb\x20\xd6\xd5\xe1\x0a\x8a\x2b\x44\xda\x8c\x48\x93\xe7\x04\x01\xe9\xaa\x25\xe5\x53\xb6\xa6\x7a\x9e\x33\x2f\xa2\xd9\xda\x4e\x3e\xa1\xbd\x92\x35\x8a\x5d\x77\x36\xea\x1e\x27\xc9\x04\x47\x8f\x5e\xd9\xf0\x2a\x37\x17\x0e\x1b\x5f\x0b\xa8\x50\xfc\xcb\x10\x97\x1e\x68\x04\xd2\x4d\xe8\x14\x33\x80\x35\x76\xd8\x45\xe7\x66\xd5\x2c\x12\x98\x41\x28\x32\xa3\x37\x21\xfc\x31\xc9\x12\xbe\x48\x5b\xee\xb3\x6a\xa6\xdc\x36\x01\x29\x6d\x89\x7a\x3b\xbd\xca\x2a\x4c\x6f\xed\xcb\xac\x96\x76\xb3\x03\xf8\xa4\x35\xb8\xe4\xa7\x84\x4f\xc0\x72\x68\xb5\x6c\x97\x4a\x12\x64\x34\x54\xcf\xf3\xba\x09\x2e\xd5\x13\x49\x65\x96\xe0\xc5\xb2\x1e\x4c\x6a\xc5\xcb\xee\x9b\x49\xc5\x5f\x6d\x04\xeb\x1e\x94\xdc\xf8\xf9\x4b\x00\xf5\x5e\x38\x49\xc0\xbc\x6b\xf8\x57\xc5\x98\x64\x72\xda\x8e\x8c\x2f\x56\xf1\x11\x53\x78\xe6\x36\xd7\x0a\x97\xfc\x99\x11\x21\xe7\x34\x2b\x15\x05\xdc\x3a\x0a\xda\x52\xb4\xfd\x8f\x89\xf9\x5d\x83\x77\xf2\xec\xd0\x00\x71\x68\xfa\x90\x19\x8e\x0a\xe3\x5f\x94\x60\x29\xe9\x74\x11\xe0\x67\xf8\x80\x52\xc8\x52\x2a\x6b\xcb\x41\x1d\xae\x26\x46\x63\xc6\xb7\x9b\x04\xf2\xed\x93\xe7\x1e\xca\xc7\x8f\xc6\x21\x50\x99\xbe\x4f\xea\x60\x29\xee\xa6\xb6\xa0\x29\xad\x80\xab\x26\x53\x7e\xb3\x84\xef\xa5\x18\x37\xed\x66\x84\x42\x98\xb4\xc3\xb6\x8a\x8c\xc7\xb5\x08\x31\x5f\x54\x29\x63\x10\x36\x5f\x2b\x4e\xce\xfc\xa9\x89\xd3\x63\x62\x00\x74\x40\xf1\xf1\x01\x92\x5b\x61\x49\x75\xa1\x8b\x33\x92\x90\x9d\x04\x16\x6f\x40\x24\x55\xaf\x7d\x40\x1e\x4b\x49\xa3\xc0\xd2\x5f\x6d\x5c\xd8\x20\xde\xb9\x05\x91\xa6\x79\xe8\x3f\x9b\x81\xda\x90\xe7\xa6\x5d\x04\xfb\x17\xac\x72\x57\xdd\xa5\x09\xda\xce\xb4\x60\x49\xae\xe8\xa6\x44\x57\x45\xa7\x5e\x5e\xd9\x47\x52\x7b\xe3\xc8\xe0\xda\xb8\x3e\x91\x2e\x51\x0c\x2b\x0f\xc0\x46\x1c\xa8\xce\xa7\xbb\xd1\x85\xf5\x13\x2a\x8e\x66\x44\x99\x12\xf7\xbe\x8e\xff\x7b\xa2\x89\x9d\xe5\x35\xec\x68\xf5\x9b\x0f\xf9\x7a\xa7\xf6\x8e\x28\xe9\xae\x84\x1a\x5a\xa0\xdd\x9c\x3d\xdc\x82\xfd\x38\x96\x46\x70\xfd\xe2\xe5\x96\xad\xb1\x00\xec\xc8\x6c\x46\xfc\xef\x48\xa0\x32\x73\x8c\xed\x17\x3e\xfb\xbd\x84\xfb\x84\x4b\x58\x79\x66\x8d\xde\x9e\xeb\x55\x49\xfb\x4b\x17\xbd\xd6\xa7\xf1\xea\xa8\x0a\xea\xee\xe5\xc1\xf5\xe4\x41\x87\x25\xb9\x87\x97\x7f\xdb\x31\xd8\xcf\xfb\x67\x0f\x84\xc3\xda\x95\xb8\x3b\x11\xf1\x1d\x91\xc9\x5e\x48\x8a\xb5\xad\x78\x2d\x79\xf1\xd0\x81\xf9\x14\xd0\x38\xfb\xbb\x45\xfb\x71\x92\x6f\xad\x1b\xe8\xe5\x2e\xd8\xd5\xf4\xb2\x13\xfa\x00\x5c\x4b\x0c\xe9\xbf\xb9\x2d\x94\x01\x87\x37\x08\x19\xab\xf9\x1e\x56\x04\xe3\xd9\xe1\x75\x0a\xc3\xab\x2d\xe7\x4b\x6c\xaf\xcd\xf5\xea\xbc\xb9\x2f\x49\x6a\xeb\x8e\x65\x17\x3a\xca\x0b\x7b\x71\x2c\x35\x06\x1f\xf4\x31\xb1\xdd\x6e\xd1\x06\x04\x19\xb7\x65\xbb\x3c\x64\x4d\xd5\xcd\xb6\xcf\x56\x77\xa9\x6c\xe3\x4c\x90\x29\xfd\xbc\x91\x28\x7e\x03\x9f\x5a\xf5\x52\x2f\x73\xa5\x5e\x1a\xb8\x67\xa0\xbe\x5a\x10\xb7\x67\x57\xda\xd6\x54\x1a\xb1\x22\x01\xd0\x66\xff\x3d\x92\x05\xe2\xa2\xf4\xd3\xa6\x58\x87\xbb\xaf\xed\x66\xf6\x75\xae\x54\x26\x4f\x8e\x8f\x67\x54\xcd\xf3\xc9\x51\xc4\x53\x13\x6e\xce\xc5\xcc\xfc\x71\x4c\xa5\xcc\x89\x3c\xfe\xee\x8f\x7f\x2c\xb6\x78\x82\xa3\xc7\x99\x41\x8f\xa9\xfb\x9d\xca\x5b\x4e\xb0\xdc\x2e\xb2\xc7\x65\x6a\xbd\x70\xc6\x6e\xd0\x8d\xcb\x91\xd4\xdf\x48\x85\xd3\x2c\x8c\x1e\x35\xd5\xd1\xa4\xc2\x45\x4d\x06\x48\xbf\xd3\xd3\x44\x73\x9c\x65\x84\xb5\x9b\x1d\x4c\x3e\xe5\x16\xac\xc7\x65\x64\xda\x11\x92\xcf\x59\x82\x59\x19\x65\x00\x0a\x0c\x09\x12\x11\xa6\x6c\x06\x7c\x51\x2f\x19\xa8\xd1\x20\xdd\x18\xfe\xbf\x5e\xc6\x1d\xcc\x91\xca\xa2\x72\x98\x1b\x8e\xad\xe2\xe9\x6a\x3b\xe2\x60\xe9\xaa\x95\x53\x8b\xb5\x23\x6e\xd5\x96\xe5\xe2\xdd\xd5\xeb\x67\xaf\x5f\xb9\x45\x70\x36\x26\x9f\x35\x93\x93\x9b\xe2\x52\x3d\x48\x22\xd1\xe0\xe7\x3b\x24\x17\x4c\xe1\xcf\x27\xe8\x92\x32\x10\x60\x7f\xe0\xb9\x90\xe8\x0c\x2f\x0e\xf9\xf4\x30\xe5\x4c\xcd\xd1\x25\xfc\xaf\xfd\xe9\x99\x90\x47\xf4\x0b\xc1\xc2\xf2\x07\x5b\x79\xcd\x17\xf1\xd6\x24\x24\x72\x26\x11\x79\xd2\x27\xf4\x8f\xff\x81\x52\xd3\xf2\x09\xfa\xf6\xf8\x8f\xff\x81\xfe\x00\xff\xff\xff\x47\x7f\x68\xd1\xf4\xd7\x43\xb6\x82\xfa\xbc\xb7\x65\x77\xee\x41\x65\xa5\x36\x28\x59\x7e\x2a\x78\xb1\x53\x8d\x2d\x3f\xd2\xe8\x91\x4f\xa7\x63\x4d\x18\x26\x5f\x6d\x8c\x45\x0d\x15\x79\x43\x98\x50\x6a\x0b\x2c\x9b\x82\x6d\x45\xa9\x14\xdb\xa9\x01\x36\x70\xec\x5a\xe6\x45\x81\x59\x08\x22\x2a\x15\xed\xa5\x12\xbe\x22\xb1\xe6\xaa\xeb\x9c\x0e\x67\xdd\x73\x39\xce\xce\x82\x13\x02\x81\x84\x45\xc3\x7d\xe0\x5f\x18\xc5\x6a\x02\x7d\xec\x42\x36\x1e\x87\x5a\x78\xed\x17\x13\x33\x09\x53\x7b\xab\x78\x49\x59\xeb\x7c\x75\xa8\xe4\x1d\x17\x5b\xe9\x5b\x8f\xa4\x16\xb3\xdd\xb1\x2c\x90\x2b\x55\x1b\x96\xaf\x87\x44\x68\x2e\x3c\x5c\xaf\xb1\x8b\xd8\xe2\x81\xab\xad\x98\x54\x98\xe0\xb2\x6e\x87\x5e\x4f\xfd\xcc\x7f\xb2\x6a\x98\x10\x69\xe6\xde\x2e\xca\xa2\xc1\x68\xb5\x88\xa4\x59\x62\xc3\x88\x1b\x30\xfd\x56\x6d\xe8\x9d\x87\x71\x80\xc6\x21\xec\x11\x52\x3e\x98\x93\x6c\x6d\x9e\x7c\xf3\x7e\xe6\x22\x22\xa7\x7c\xbb\xb0\xd7\x84\xb2\x5a\xbc\x7c\xf7\x8a\x3b\x7e\xf5\x2e\x6c\x6d\x25\x07\x7b\xcb\xe3\x42\x59\x30\x6e\x01\x5b\x6c\x21\xc0\xdb\x2c\xcf\x06\x70\xdb\x76\x01\xe9\x58\x2b\x01\xb0\x05\xd7\x36\x86\xe3\x82\xe1\xb9\x0a\x12\x95\xc2\x11\x02\x6b\x5e\xb8\x21\x0a\xa6\x29\x05\x74\x80\x04\x86\x38\x48\x35\xc7\xcc\x98\x14\xa6\x38\xa2\x6c\x76\x10\x00\x20\x02\x18\x41\xc8\x81\x9b\xe8\xe2\x1e\xcb\xc7\xdd\xc6\xf6\x6d\x5d\x1a\x91\xc6\x45\x79\x2e\x0b\x59\x62\x7c\x09\xb4\x86\xfe\xa6\xb0\x7c\x6c\xc3\xec\xa9\x01\x86\x2d\x19\x9d\x5f\x0a\x07\x33\xb6\x6c\x7c\x2e\xb9\x99\x84\x2a\x0c\x54\x03\x70\xc5\x7a\x2d\x7c\xa0\xcb\x25\xc3\x1e\xdf\xa3\x8a\x9b\xb9\x64\xfc\x72\xce\x85\x1a\x6f\x88\x38\x5a\x4d\xd0\x66\xe4\x30\x01\xa8\x10\xfe\x44\xc4\x13\x25\xcf\x65\xe0\xce\x75\x68\xd1\xd8\xa9\x82\x40\x36\x40\x76\x4c\x33\x0e\x59\x2b\x53\x94\x62\xb6\x30\xbc\x49\x9f\x67\x2c\x1f\xa5\x2f\x11\x8a\x64\x8a\x93\xe4\x00\x09\x92\x4b\x53\x3a\x57\x92\x64\x7a\xe8\x8a\x2c\xc4\x28\xe1\x33\x1a\xe1\x04\x4d\x12\x1e\x3d\xca\x11\xd3\x77\x33\x9b\x19\xbe\x90\x09\x1e\x11\x29\x03\x61\xa6\xc8\x93\xb6\xd9\x6b\x50\x1f\x54\x11\x91\x52\x46\xa5\xa2\x91\x93\x52\x0a\xb8\x03\x53\xa5\x3a\xc2\x60\x85\x85\x5c\x40\x18\xae\x16\xae\x88\x81\x7d\xcc\x99\x2d\xc7\x03\x37\xa4\x45\x73\x73\x71\xd9\x6d\x07\x68\x07\xe0\x74\x8e\x42\xc6\xaa\x7c\x20\x57\x1c\xa9\x53\xfb\x19\x1c\xe3\x65\x24\x70\x5b\x3e\x51\x9e\x20\xfd\x49\x2b\x01\xe6\x40\x18\xb7\x8f\x3a\x2f\x09\x0b\x3e\x18\x7b\xcf\xb0\xb2\x60\xc8\x2d\x08\x59\xab\x68\x5a\xaf\x22\x48\x19\x50\x01\xaa\xea\xa8\xa6\x2c\x4a\xf2\xd8\xd7\x00\xd4\xb7\xee\x93\x26\x12\xb7\x3c\x7a\xed\xf5\xdd\x7c\x80\xb0\x44\xcf\x24\x49\xf4\x7f\x4d\xd0\xf9\xa1\x87\xe4\xd7\x2c\xd9\x94\x4d\x80\x4e\x1c\x97\x6e\xa3\xa8\xbd\xc3\x3d\xbc\xc1\x6a\x6e\xb2\xc9\x53\xae\x4c\xf9\x45\x83\x7b\xe8\x4c\x4a\x06\x28\x6f\x92\xf0\x09\x9c\x74\x80\x44\x74\xd9\xa8\x41\x26\x5b\x1e\x45\x84\xc4\x24\x46\x5f\x07\x07\xd7\x23\x1d\x7c\xd3\x0c\xd0\x57\x5a\x91\x3d\x80\x43\xac\xda\xb2\x5a\x41\x11\xcb\x15\xc4\x8e\xd0\x4d\x05\xf2\x23\xac\x0c\x8e\xab\x00\x50\x07\xb5\x2d\x7c\x1b\x08\xc5\xca\x24\x5e\x6e\x87\xd6\x84\x50\x2c\xf5\xb9\x03\x08\xc5\xca\x3c\x5b\xc2\xe5\xf9\xec\x45\xd3\x7c\xf5\xa4\x2e\x78\xf7\xdc\x2b\x03\x3d\x65\xee\xce\x12\x09\xba\x03\xb9\x68\x22\xc4\xfd\x82\x87\xac\xd4\xd9\x7b\x5b\x78\xc8\xca\x60\xf6\x19\x1e\xb2\x32\xd4\xfd\x85\x87\x6c\x18\x68\x07\x78\x48\xe3\x4f\x1f\x6b\xa2\xee\xc6\x14\x20\x97\x64\x92\x4f\xef\x20\xbb\x7a\xe9\x18\x4f\x8d\xaf\xde\x5c\x63\xee\x8e\xb6\x68\xc9\x30\x5a\x9b\x76\xd8\x16\x81\x54\xb1\xfb\xaf\x4b\x7b\xde\xe1\x45\xa5\xd1\xd0\xd6\xb3\x74\x1f\x84\x06\x66\x30\xfd\x45\x38\xb3\x69\xdc\x6d\x45\x4c\xf6\x27\x61\x75\x3d\xe4\x4d\x40\xb5\x2b\xb1\xfa\x4e\x98\x54\x97\x95\x3a\x00\x73\xfe\x6c\x6b\xf1\x00\xf9\x19\x62\x6c\x25\x3d\xe8\x74\x6c\x95\xb5\xb6\x15\xa3\x4c\x91\x59\x55\x97\x2d\x0e\x0b\x65\xea\x4f\xdf\xad\xe4\x40\x06\xb4\xcf\xa9\x85\x01\x1a\xbf\xf7\x2b\xd8\x67\x24\x46\xd1\x5c\x6b\x43\x52\xab\x2d\x7a\x3a\xe6\x46\x95\x28\xc5\xd4\x29\x50\xb9\x34\x5e\x1c\x2a\x47\xac\x84\x72\x79\x84\x3e\x42\x89\x51\x9c\x66\x5a\xef\xf2\xf3\xa3\x9a\x82\x46\xf9\xb7\xdf\xfe\x89\xa0\x6f\x51\x4a\x30\x2b\xe9\xae\xa0\x2e\xe9\x2b\x0f\x50\xe1\xd4\x9c\x8c\x58\xe3\x56\xa0\xe1\x67\x53\xb5\xc8\x85\xd6\x9d\xb3\x29\x77\xba\x30\x94\xce\xc3\xd1\x1c\xc9\x7c\x62\x6a\xbf\x06\xb6\x0b\x27\x40\x5f\xf0\x19\xf8\x84\xe1\x26\x76\x83\x5e\x76\xfa\x5e\xd6\xdd\x6e\x3d\x7b\x5d\x6f\xe1\x01\xdc\x1f\x87\x92\x94\xd0\x82\x1a\xfc\x53\x86\xe3\x85\x07\x5e\x1a\xa8\xd1\x03\x63\xae\xd7\x7a\x19\xb6\x46\x74\x2d\x43\x43\xe4\x2c\x38\xa4\xf2\x04\x0b\x7b\xe4\x47\x4c\x2b\x18\x82\x3c\x51\x9e\xcb\x64\x81\x62\xce\xc8\x01\x50\x42\x1e\xcd\x8d\x0f\x53\xeb\x2a\xd8\x96\x40\x78\xa2\x32\xd7\x8a\x2c\xb4\xe5\x2a\x2e\x48\x85\x0d\xca\xd1\x9c\x42\x3f\x5a\xed\x26\xf0\x55\x98\x90\x86\xba\x69\x4f\x21\x10\x69\x85\xd7\x77\x04\x22\x2d\x51\x55\x0f\x44\xda\xcc\xf8\xf6\x16\x88\xb4\xb2\xe7\xdd\x80\x48\x9b\xb6\x7c\x03\x20\xd2\x52\x33\x5f\x0c\x10\x69\x65\x45\xbf\x18\x20\xd2\xca\xbc\x7a\x20\xd2\x2f\x0f\x88\x74\x4b\xa8\xcd\x66\x5e\x6c\xa0\x8c\x14\x65\x8b\xb5\x89\xec\x2b\x89\xce\xaf\x35\x81\x45\x8f\xe5\xf8\x31\x7f\x5d\x6d\x0f\xef\xd9\xcc\x84\xd6\x83\xf7\x6c\x54\xd1\xdb\x59\xdd\xb6\x58\x4a\xa0\x10\xbc\x32\xbc\x67\x69\x02\x7d\x28\xe3\xfa\xa1\x8c\x8d\xc4\x67\xfb\xd6\xc3\x73\xf1\x8d\xd5\x0b\xb9\x23\xc0\x67\x69\x7f\x3a\x05\x3d\x82\xe8\xbe\x03\x4a\x7c\x59\x69\xfe\xbe\x74\xc8\x57\xca\xf2\xe1\x2a\x4a\x0b\x35\xac\x25\x3c\x07\xcc\x66\x94\xef\xd0\xd5\xde\x53\xee\x06\x41\xb8\x95\xe5\xf5\xfe\x14\x43\x8b\x1d\x48\xb5\x33\x85\x3a\xad\x74\x37\x39\xa9\x2e\x4f\x71\x4d\xd7\xb2\x1b\xc4\x5d\x46\xa2\x16\xdb\x32\x4d\xe9\xae\x9a\x5d\x75\x91\x79\xd8\x29\x50\xc8\x6b\x29\x98\xfa\x7a\x32\xc3\x31\x32\x7e\x25\xf3\x14\x30\x31\xcc\x97\x33\x2a\x95\x68\x0d\x23\xaa\x8d\x70\x1b\x17\x69\x96\x77\x8e\x3d\x09\x56\x75\xb6\xd9\x67\x29\x49\xb9\x58\x15\xc3\xd4\xf8\xa5\x2d\x9e\xb2\xc9\xa7\x24\x9b\x93\x54\x4b\x32\xe3\x75\x1b\xe9\xba\xdf\x3e\x3f\xd7\xa6\x89\x99\x98\xc2\x12\x11\x04\x0e\x50\xfd\x6e\x6c\xc0\x1f\x3b\x6f\xf7\xb6\xdb\x6c\xe1\x29\xd7\x74\x04\x39\x78\xde\xe5\x06\x37\xfb\x52\xc9\xcd\x0d\xf4\xdd\x18\xcb\xe1\x43\x69\x56\x47\x6b\x2c\x89\xd3\x58\x06\xf1\x54\x7c\x65\x4b\x0b\xaf\xe1\xc2\x2f\x7b\xe5\x35\x27\x0c\xeb\xca\xae\x1f\xd8\xd1\x02\x50\x5a\x5f\x1e\x88\xc8\x91\x44\x1c\x86\x9a\x41\x69\x30\xf5\xf5\x2a\x51\x89\xd3\x28\xb7\x20\x92\x5c\xb4\x06\x74\x76\x31\x64\x47\x2a\xc7\x09\x68\x12\x61\x3d\xc4\xea\xa6\x4e\x16\x0d\x19\x86\xdd\x3c\x25\x94\xa9\x3f\xff\xfb\x5a\xbb\xa9\x55\x2b\xbb\x6e\x50\xc3\x09\x47\x11\x91\xc6\xb6\x6e\x03\x7e\xf1\x84\x3f\x41\xf9\xa6\x6d\x76\x55\x1f\x65\x3d\x6f\xcd\xe0\x3d\xea\x6f\x5c\x90\xba\x11\x17\xe6\x82\xe7\xb3\xb9\xb3\x21\xe9\x33\xa3\xa7\xd6\xb4\x97\x3f\xd5\x6c\xe4\x6b\xef\xe5\xf7\x39\x4d\x36\xb3\xd0\xdd\x95\x0a\x5b\x7d\x3a\xbf\x47\x72\xee\x4f\xeb\x04\x9a\x6d\xdc\xd8\xfa\xa0\xbb\xf7\x69\xbf\xf5\x7e\x1a\xe8\xe6\xc0\x21\x5d\x4e\x79\x92\x80\xa7\x41\x92\xf4\x29\xac\x47\x1f\x76\x0f\x13\xbe\xa7\xeb\x81\xd4\xf9\x01\xc0\xd7\x45\x0e\x42\x27\xf9\xeb\xc6\x88\x86\x12\xb9\xd1\x57\x83\x15\x4c\x88\x1a\x67\x84\x35\xd9\xd8\x7e\xae\xd7\x14\x79\x67\x81\x82\x2e\x6a\x6c\x67\xc1\x82\x6e\x49\x5e\x39\x60\x70\xc5\x3c\xf6\x35\x68\xb0\xc2\xec\x7c\x0c\x5f\x71\xcd\xb8\x80\x21\xa3\xf8\x0c\xf4\x12\x8f\xd8\xa0\x94\xba\xe0\x6a\x2f\x4f\x16\x45\xec\xb3\xd1\x21\x42\x66\x06\x95\x1b\xac\x61\x05\xdc\x68\xfa\x2f\xd0\x74\x0c\x4e\xac\x09\x25\x74\xe1\x82\x10\xb8\x4d\xe2\x43\x1c\x2d\xa2\x84\x46\x81\xce\x3c\x13\x38\x9b\x37\x71\x3c\xb7\xf3\x3d\xc0\xcd\x5b\x01\xdc\xb4\x95\x38\x5a\x27\x54\xdb\xd1\x15\xc3\x29\xe9\x81\x77\x9a\x80\x77\x0e\x3c\xb4\x04\x2b\x8a\x35\xbd\x21\x62\x41\xfd\xdc\xf5\xe8\x3b\x6f\x80\xbe\xb3\xc9\xe1\x2b\xa0\x75\x4a\xc7\xae\x47\x04\xfa\xd0\x09\x11\xc8\x5f\x82\x7b\x05\xf2\xd2\x7e\x1e\xdf\x18\x3c\xa4\x3e\xb0\xb7\x44\x00\x6a\x10\x17\xd6\x91\x9b\x96\x41\x00\x2d\xa3\x8b\x4e\xeb\xf2\xb6\x80\x3c\xeb\xad\xcc\x5a\x58\x3b\x8d\x77\xd7\x9e\x20\xef\xb4\x6f\xc3\x9e\x9c\x9b\x5d\x66\xb3\xac\x57\x8d\x32\xcc\x68\x59\x47\xc1\x5a\x2f\xb9\xc5\xd3\xc3\xfb\x4a\x70\x29\xca\x76\x6d\x96\xe4\x32\x70\x3e\x68\x22\xd0\x9c\x27\xb1\xc3\x7b\xf0\xab\xe5\x3b\xf0\x19\x00\x7e\x81\xdc\x66\x40\xf9\x6c\xd0\xb6\x8a\xda\x5b\xcb\x52\x59\xfc\x26\xc2\x70\x77\xc0\x68\x76\x61\x45\xf0\x9c\x64\x13\xfb\xc1\x4a\x59\x44\x96\xcd\xdf\x4b\xc6\x58\x5a\x21\xb0\x9a\x37\x0f\x73\xa5\xdd\x77\xc5\xe0\x96\x89\x1e\x81\x71\x50\x34\x15\x8f\x34\x74\x06\x4f\x9f\xa8\x33\x44\xe0\xb0\xc7\xa5\x5e\x3a\x37\xbb\x4e\x9e\xba\x2a\xb1\x6c\x10\x0c\x56\x2b\x92\xb6\x3d\x0e\x4f\x8a\x3f\x8f\x33\x2c\x70\x92\x90\x84\xca\xf4\xc5\x82\x81\x4f\xcb\xee\x5a\x7d\x56\x05\x37\x26\x22\x96\xa7\x13\x43\x8a\x6e\x20\xb6\x34\xa3\xe2\x48\xe4\x2c\x44\x11\x7b\xae\xd5\xaf\xcf\xe1\x5e\x00\xab\x52\x34\x87\x3a\xa0\x53\x4c\x05\x23\xb2\xb5\xea\x22\x89\x72\x41\xd5\x62\x6c\x8b\x58\x76\x3f\x70\x77\xf6\xcb\x53\xfb\xe1\x72\x0f\xb7\x4b\xa0\x77\xfd\xf9\xa2\x99\x19\x11\x50\x91\xc7\xd5\x96\x09\x0a\x75\x5a\x80\x04\xe2\xcb\xfa\x40\xf8\x73\xed\xda\x6e\x0b\x1c\xc6\xcf\xe3\x20\x93\x6a\x1c\x55\x89\x63\xd5\x61\x6d\x82\x78\x5a\x36\xc9\x17\x06\x39\x6a\xf1\x22\xbf\x40\x41\x0f\x9b\x2e\x61\x9a\xd6\x03\x0e\x5c\xc1\x60\xaf\x2c\x36\x26\xc8\x73\xb7\x4a\x55\xcb\x38\x2d\xac\x4e\x53\xf0\xd1\x92\xc1\x0e\x82\xaf\x3a\x8c\x38\xe8\x64\x47\xc3\xd6\x07\x5d\x88\x3c\x53\x74\x52\x47\x91\x51\xbb\x2b\xf0\x39\x48\x20\xbd\xda\xb9\x19\x4a\xdd\x9a\xaa\x9f\x25\x4e\x6c\x67\xa7\xe5\x7f\x0b\xd9\xe5\xc0\x78\x0c\x98\x51\x98\xbf\x77\x9d\x52\xa5\x5c\xa2\x80\x31\x40\x6b\xea\x2c\xdb\x66\xbf\x72\xe1\x1e\x18\x6a\x87\x1a\x13\xd1\xd1\x88\x0d\x24\x7a\x26\x88\x11\x8b\xd6\xd0\x50\x15\xd4\x5b\xb5\xa1\xcc\xd2\x84\xe8\x9e\x7c\x6c\x8a\x16\x1e\xa8\x92\xbe\xd2\x97\xe9\x63\x8a\x13\x49\x0e\x74\xc3\x50\x20\x54\x71\x08\xfe\xc4\xe8\x59\xe0\x2c\x23\x62\xc4\x6c\x16\x07\x38\x5c\x38\x4f\x4c\xfb\x6d\x21\xae\x76\x0d\xc8\x38\xc2\xd1\xfc\x95\xf6\x08\x43\x12\x4e\x34\x27\xb1\xcb\x13\x2e\x6f\x8f\x9b\xb7\x31\x58\xaf\xb1\x59\xe7\x53\x57\xa9\xea\xc0\x76\x92\x44\x9a\xa3\xf8\xc2\xc5\x19\x11\x7a\xd4\x9a\x86\x9f\x08\x43\x74\xea\xc6\x61\x63\x77\xd0\x33\x78\xa6\x34\xe9\x3f\x61\x9a\x98\xc4\x7b\xd7\xb5\x13\x02\x8d\xf9\x7d\xc4\x8c\xbb\x9b\x45\xa5\xcc\x54\xca\xa8\x9c\x6b\x4e\x9d\x83\x4f\x12\xd4\x8c\xb6\xc4\x19\xf6\xb4\xce\x69\x1e\xea\xd7\x97\x73\xd0\x27\x2a\x38\x4b\x21\x49\xc6\x42\x20\xb9\xe5\x93\x44\xf9\xe3\xd1\x98\xda\xb8\x52\x22\x8e\x63\x59\x36\x7e\x1a\xb5\x92\xfe\x56\x32\xbb\x1c\x96\xb2\x01\xa3\x00\xc1\x07\x82\x38\x5d\x11\xaf\x65\xf2\x6f\x9f\xda\x50\x4f\x6d\x68\x5e\x9b\x7d\x4c\x6f\xf0\x87\x78\xdd\x14\x87\xb6\xed\xdf\x85\x64\xbb\xc3\x54\x87\x37\xce\x09\x78\x99\x74\x80\xb7\xcd\xdf\x78\x89\xd4\x8d\x3e\xc1\xe1\x0d\x13\x1c\x3a\x5b\x6a\xcb\xb1\xd9\xed\xc7\x76\xad\xe4\x80\x15\x20\x4e\x4d\xbd\x5c\x12\x25\x68\x24\x77\xc1\x1f\x64\x86\x3b\x46\xb5\x81\x16\x98\xad\x90\x9a\xf4\x0b\xde\x09\x09\x71\x62\xbe\xa4\xde\x44\x10\xfc\x18\xf3\xe7\x9a\xad\x4e\x86\x28\x1a\x97\x5c\x8b\x3d\x82\x44\x54\x92\x52\x24\x0b\x95\x88\x11\x69\x8d\x9d\x78\xc4\xe6\x94\x08\x2c\xa2\x39\x64\x37\x16\x1b\x63\xb2\x64\x0d\x90\x91\x89\x65\x08\xbd\x4d\x6b\x6c\x7a\x87\x75\xaf\x5a\x98\x3c\x14\x9c\xdd\x73\x3d\x92\xd4\x7c\xe2\x85\x19\x2b\x65\x84\x26\xb9\x4e\xdb\xbf\x6d\x20\xbe\x5f\xec\x17\x0d\xc6\xf7\xc1\x44\xc1\x17\x1d\x03\xf2\x0b\x6a\xe8\x83\xf2\x5f\x28\x28\xbf\x61\x89\xd7\x0b\xcc\xdf\xc8\xe4\xf7\xfa\x31\xc3\xae\xe7\xd7\x88\x1b\x5e\x15\xb4\x95\x4f\xc6\x2f\x7e\xf4\x1a\xe7\xdc\xf5\x04\xfe\xec\x89\xc2\x48\xc4\x42\xd3\xd9\x84\xc4\x31\x70\x5a\xc5\x6d\x51\xe6\x82\x76\x9c\x79\x40\xdf\xbd\x58\x6a\x62\xc7\x09\x67\x33\x49\x63\x03\xb2\x92\x61\x28\x8e\x1a\x1a\x2f\x00\x5c\x00\xf6\x37\x49\x88\x70\x5e\x09\x81\xbe\x96\x54\xab\xa3\x81\xa7\x42\xa0\x98\x13\xc9\xbe\x52\xc6\x58\x80\xd9\x02\x3d\x32\xfe\x9c\x90\x78\x06\x3b\x54\x1d\xcc\x21\xa2\xe4\x00\x51\xe5\x3f\x13\x80\x46\xc0\x73\x35\xd2\x63\x87\x58\x33\xa3\x01\x10\xfb\x6d\x50\x7e\xdc\x37\xf3\xcd\x11\x42\xe7\x0c\x4d\x71\xa4\x0e\x90\xcc\x27\x45\xfb\x31\x37\xf5\xa4\xb5\xf6\x1d\x4c\xbc\x68\xa4\x8f\x19\x6f\xe8\xbc\xf9\x6c\x38\xee\xa0\xc9\x75\x90\x50\xbc\x55\x6c\xdd\x13\xde\x06\xcd\xf3\x32\x97\x36\x08\x03\x71\xe6\x8f\xbe\x85\x55\xf2\x70\xcc\x50\x04\xd8\x40\x1b\x33\x1e\xb7\xda\x3a\x2b\x53\x59\x77\x2c\x45\x20\xa4\x15\x94\xac\xa3\x0a\xda\x35\xcb\xad\xa5\x26\xa9\x04\xc1\xa9\x75\x0e\xe8\xab\x06\xc4\x1a\x13\x06\xa9\x47\x4f\x85\x91\x30\xd7\xd9\xe2\x0b\xca\x1e\xf5\xee\x16\x00\xd4\x50\xca\x1d\x7a\x6e\xda\xb4\x4c\xdf\x78\xe4\x94\x33\xe3\x20\xdc\x4a\xee\xa4\x33\x86\x93\x35\x6d\x1c\xb5\x95\xab\xfb\xf4\x9c\x9c\x65\xc5\x05\x2d\x45\x18\x63\x1f\x32\x3d\xae\x65\x43\xaa\xcc\x37\x94\xf7\x30\x8a\x49\x46\x58\x4c\x58\xb4\x00\x12\x61\x80\x98\x23\x18\x4e\x10\x86\xef\x70\x72\x84\xce\x4c\x7e\x8d\x97\xf0\xec\xb5\x0e\x17\x7a\x8a\x19\x9d\x6a\x3d\x01\x8c\xb0\x76\x94\x23\x66\x86\xe9\x7c\x20\x41\x7d\x7c\xbf\x62\x0d\x3b\xf3\x3d\x65\xb8\x94\xd0\xb4\xc1\x79\x4a\xf2\xb5\x62\xd6\x03\x6b\xea\xa2\x0d\x95\x5d\xe1\x55\x40\xe9\x6b\x6c\x06\x92\x34\xd5\x22\x99\xee\x0e\xc1\x95\xe9\x31\xfb\x31\x38\x5a\xe6\x24\xc9\x82\xea\xdc\x19\x16\xca\xe3\xb5\x18\x68\x5d\x7d\xcb\xa4\x39\x33\xd8\x3b\xc6\xd0\xf4\x6c\xe1\x4b\xad\x8f\xad\x68\xfc\x68\xc4\xce\xd5\x57\x52\x73\x3e\xce\x66\xc9\x02\xe1\xf8\x89\xca\x02\xa6\x3d\xe2\x4c\xe6\x29\x11\xb6\x0b\x2a\x4d\x0c\x99\x85\x38\xc6\x8e\x34\xf5\xd8\xb4\xca\xf7\x84\x13\x1a\xbb\x52\x02\xfa\xc7\x09\x99\x82\xaa\x83\x85\x74\x86\xda\x06\x4f\xbb\xdd\xdc\x58\xaf\xd5\x9b\x71\xcb\x9f\x42\x86\x88\xd2\x82\x77\x62\x6b\x02\x39\xae\x72\x4e\xbb\xea\x4b\xb8\xe6\xa4\x36\x29\xb4\x5c\xc0\xb1\xab\x70\xb6\x0a\x1c\xca\x01\x14\xe6\x26\xb2\x4a\xf7\xe3\x64\x69\x33\xb8\xb5\x38\x40\x65\x82\x76\xd4\xc6\xfe\x1f\x72\x4d\x42\x41\xb8\x90\x0a\x2b\x1a\x59\xb1\x9d\x0b\x7b\x71\xd8\x8b\xa5\x7d\x6b\xcf\xb6\x04\xba\x96\x11\x4e\xea\x3b\xbc\x44\x8d\x37\xef\x2f\xe7\xad\xf6\xb8\x99\xb6\x97\xe6\x52\x45\x3c\x49\xd6\x01\x61\xaf\xcc\xfc\xb4\xf8\x7c\xf9\x88\x8a\x7e\xf4\x06\xb8\xbd\x80\x53\x63\x5c\xe2\x38\xb1\x12\xaa\x54\x76\x97\xc2\x97\xcc\xed\xb6\xb0\x2e\xf7\x11\xe3\x53\x53\x83\xb9\xcd\x59\x9e\x09\x9e\xd2\x75\x40\x2b\x8d\xff\xf8\xd6\x99\x1b\x56\x08\x6f\xce\x28\xa1\x4f\x91\x25\x2f\xdb\x23\xa4\x41\x60\x66\xe4\xd5\x25\x67\x28\xc5\xd9\x46\x0b\xbe\xca\xd8\x36\x40\xa9\xb1\x74\xda\xd5\x03\x18\x2b\x02\x88\xf7\xb0\xc8\xcf\x78\x51\x64\x9c\xb5\xc1\x11\xb2\xb5\xc8\xe1\x41\xbf\x7e\xce\xa6\x7c\x8d\xc3\x59\x64\x88\xd9\xd3\x87\x1d\xcd\x06\xe7\xcf\x1b\x7f\xcc\xee\x9b\x35\xed\x72\x1e\x4f\x9b\x88\x7a\xed\x93\xe9\x56\xf0\x25\x55\xbf\x90\x89\x84\x5a\xdf\x3a\x77\x6b\xf9\x68\x05\x2d\x22\x18\xce\xf2\xa5\xba\x2c\xd1\xe1\xce\xd7\xa8\xd2\x0e\x32\x16\x06\x17\xa3\x76\xd3\xdc\xea\x2b\xac\x99\x3d\x24\x9d\x16\x6b\xcb\x94\xd8\xf5\x60\x15\x5d\x8f\x1e\x4c\xb1\xf9\x84\xae\xc4\x8c\x5e\x47\x57\x9c\x6a\x49\xc8\xa8\x0f\x45\xc0\x8b\x8d\xfc\x9f\xd2\x84\xc8\x23\x74\xde\xa0\x37\xba\xb8\x7b\xef\xa7\x36\x11\x88\x4e\x7a\xca\x05\x0d\x4a\x9b\x39\x19\x09\x51\xc0\x7b\x0f\x6d\x67\x82\xe8\x31\x47\xc6\x75\xcb\x0d\x86\x22\x04\xfd\x09\xaa\x79\x96\x11\x56\x15\x48\xd1\x9a\x17\x50\x8b\x7a\x60\x64\x78\xff\x01\x37\xa1\x18\xd8\x56\x6f\x2c\x46\xd5\xb2\xa5\xbb\x28\x52\xd1\x3d\xad\xc1\xf5\x7a\xaf\xbf\xa8\xef\x4d\xe3\x08\xef\xcb\xad\xaf\x3d\x3a\x2f\xe5\xaf\xef\x87\xfe\x08\x9f\x3a\xab\x28\x46\x53\x41\xc0\x6f\x92\xfa\x54\x65\x83\x55\xc8\x39\xdc\x77\x77\x67\x3f\x1e\x3f\x9c\x23\xa2\x22\x94\xd0\x47\x32\x62\x91\x7c\x3a\xd0\xe2\xf1\xdf\x73\xa2\xf4\xcf\x2d\x86\x16\x9a\x12\x26\x81\x13\x50\x55\x83\x74\x68\x5e\x48\xb7\x30\xfa\xbf\x67\xe5\xef\x97\x90\x7c\x2d\x2b\x0b\x68\xd7\x95\x0f\x00\x32\x05\x84\x74\xb3\xb4\xb2\x81\x62\x8c\x8a\x37\x6c\xaa\xe7\xb5\x41\x14\x36\xfb\x5b\xce\xd6\x14\xba\x4e\x8b\x8f\x82\x51\xb4\xc8\x74\x69\x86\x01\x42\x74\xbd\xf0\x6e\xf3\x4d\x63\xeb\xab\x98\x48\x91\xed\xe6\x54\xf6\xa2\xf4\x19\x52\x82\x10\x60\x21\x9e\x9e\xec\x5d\x6f\x13\x9c\xfd\xc4\x82\x8f\x8e\x46\xec\xd2\x19\xf2\x8b\x5f\xa5\x6b\xc2\xa4\x0c\x78\x64\xd5\x72\x2b\xd0\x6c\x4c\xa5\xff\x01\xf0\xf1\x65\x9e\x28\x53\x93\x67\x4a\xb5\x96\xee\x06\x6a\x9e\x34\x71\x09\x81\x59\x34\xbf\xda\xb2\x34\x0f\x9d\x8e\x49\xb2\x8e\x24\x7a\x3e\x1d\x26\x52\xd3\x77\xf4\xd8\x72\x3a\x37\xa9\x3a\x55\x4c\xc6\xd6\xd2\x33\x65\x34\x8c\x8e\x63\xac\xc7\x89\xa9\x89\x43\x10\x98\x7e\xab\x41\xf9\x26\xef\x56\xef\xa2\x95\xd4\x8d\xe5\xd7\x44\xc3\xfa\x48\x37\xe8\x05\x61\x35\x62\x22\x67\x80\xdd\xed\x1d\x41\x18\x15\x30\xac\x91\x33\xcb\x58\x23\xd9\x4c\xb3\x09\x83\x72\x6a\x5e\xd6\xfa\x19\xcf\x25\x04\xd6\xa6\x44\xe9\x0b\xea\x6b\xa8\x64\x67\x3c\xb1\x07\x28\x13\x34\xa5\x8a\x3e\x11\xf9\x4d\xc3\xd6\x9d\x62\x85\x13\x3e\x1b\x08\x45\xa7\x38\x52\xf7\x78\x2b\x0d\x1c\xdb\x66\x36\x8d\xea\x71\xc3\x40\xe7\x67\x7a\xf1\x67\x84\x11\x01\x13\xd5\x3a\x79\xf3\x11\x86\x27\x1b\x71\x6e\xf0\x9e\x46\xa6\x70\x86\xf4\x16\x0b\x9c\x2b\x9e\x6a\xfd\x16\x27\xc9\x02\x0a\x62\xe8\x27\x73\x2c\xe7\x6e\xa3\x4d\x74\x5c\x97\xbb\xc9\x2e\xee\x29\x8e\xe6\xe4\x0e\xea\x3a\x36\x2d\x6e\x65\x94\x1f\x08\xcb\xd3\x0f\x27\xe8\xbf\x8b\x39\x9e\x0e\x4e\x7f\x18\x8e\xcf\xce\xef\x06\xdf\x5f\x0c\xcf\x82\xf9\xd8\x27\x97\xe7\x77\x77\xf5\x5f\x7f\x38\xbf\xaf\xff\x78\x73\x7d\xf3\x70\x31\xb8\x6f\x6a\xe5\xe2\xfa\xfa\xc7\x87\x9b\xf1\xc7\xc1\xf9\xc5\xc3\xed\xb0\xe1\xd3\x87\xfb\xf6\x87\x77\x3f\x9e\xdf\xdc\x0c\xcf\xdc\xaa\xfc\x4f\x70\xba\x20\x3a\x0d\x22\x5a\x9b\xa7\x51\x3d\x80\x87\xa8\xfc\xe2\x09\x7a\xa8\x22\x4a\xdb\x10\x2f\x93\x1e\xfc\x8c\xa5\xe6\x61\x10\x61\x38\x62\xc8\x7d\xae\x17\xa5\xed\x53\xe3\x05\x8d\xe6\x04\x25\x9c\x3f\xe6\x99\x65\x6d\xc6\xed\xce\xb8\x31\xfc\x10\x19\xb4\xf6\xc3\xf9\xfd\x49\x1d\xd9\xda\x37\x16\x00\x91\xb8\x33\x00\xe3\xc2\x8e\x9d\x82\x2d\xc5\x21\x1e\x17\xa6\xd2\xa0\x07\xbf\x33\xcb\xfa\x31\xad\x61\xa6\x2a\xdd\xc4\xb1\x2d\x5b\xe8\x26\x16\x34\x5c\xde\xd7\x65\xab\xe9\x97\xc3\x94\xf2\x40\x13\x12\xe1\xdc\xf8\x8a\xf5\x3d\x25\x04\x17\xe1\x80\x0b\x7a\xd8\x5d\xa3\x96\x8e\x1a\x1b\xac\xec\x99\x9e\xb8\x7c\xa4\x59\x46\xe2\x0f\x75\xf9\xa5\x5c\xdf\xce\x56\x55\xe5\x53\x14\x9c\x49\xad\xd7\x83\xce\xef\x70\xe8\xe7\xb6\x5e\x08\x95\xc6\x1f\x56\x78\x08\x01\x1f\x53\xdf\x09\x1e\x2f\x9c\x82\xf7\x1a\x2b\xf4\x4c\x20\x53\x2d\xb7\x85\x38\x8c\xee\xad\xcf\x36\x74\x67\x3c\x19\xae\xac\x4e\x29\x83\xad\x95\x19\xef\x42\xe0\xd6\xdf\x4b\xd2\xc4\x88\xb7\x48\x37\x3a\x33\x8d\x02\x77\x76\xa1\x04\x30\xe2\x16\x9f\x91\xbb\x0d\x1a\x2c\xe4\x4b\xe4\xab\xfa\x8d\xb4\xe2\xb2\xd0\x6c\xbb\xcb\x78\x5c\x8a\x75\x09\x37\xb4\xfb\xc0\x4a\xd8\x92\x2b\xd7\xea\x9e\xc7\x78\xa1\x89\x03\x42\xb8\x64\x9e\x65\x5c\x28\xd4\xd2\x86\xf1\x8e\x98\xf1\xc1\x9d\x63\xe7\xe1\x79\x1c\x34\xa2\x25\x0c\xd9\x00\x51\xde\x2d\xeb\xd4\xae\x6b\xc1\x38\xc2\xb8\x23\x50\x04\x7d\x19\x89\xb4\xa4\x52\x97\x28\xb4\x49\xf8\xdd\x26\x70\x33\xd3\x17\x7c\xd7\xaa\x46\x4d\xbd\x5f\xbb\x16\x1a\xb7\x3c\x21\x53\x35\x6e\xf4\xfa\x2c\x31\x70\xea\x16\x59\x5b\xa2\x3e\x9d\xcd\x77\xd0\x62\x77\x2d\xe1\x3b\xeb\x2f\xd5\xaa\x41\x60\x21\x10\x9c\x2b\x23\x9f\x16\x3a\x0c\x72\xab\x09\xe6\x05\xdb\xa9\x0d\xb1\xf7\x42\xa0\x96\xf9\x1f\x19\x7f\x66\x45\x34\xfa\xd1\x88\x0d\x31\xd4\x7d\xf4\x8a\x88\x8b\xbc\x07\x2d\x60\xa5\xfc\x5f\xaa\xe1\xf6\xaa\x41\x30\xed\xc0\x79\x05\xdd\xdb\x8a\xbf\xc9\x02\x15\x75\xfa\x4a\xdf\x75\x39\x3d\xc6\xea\xed\x44\x40\x33\x61\x5b\x88\x56\x91\xcc\x5a\xe6\xcd\x3c\x0b\x07\x2a\xb8\xdd\x75\x57\x47\xe8\x67\x67\xf9\x81\x78\xa2\xa2\xc4\xa5\x2d\x50\x9e\xe0\x85\xc3\xda\x6a\x5a\xd8\x5d\xc0\x57\xed\x3a\xc2\x68\xf9\x02\x7b\x9c\x8c\x86\x55\x2e\x29\xe0\x8c\x19\x8b\xec\x1a\xd1\xb4\xa7\xfe\xa3\x3b\xb2\x3c\xdc\xfe\x23\x54\x35\xb3\x0e\x6b\x10\x3a\x58\xb2\xf8\x5f\x66\xb3\x4c\x82\x8f\xab\x57\x62\xab\x4c\x59\x0f\xaa\x3e\x3f\xe0\x01\x34\xf9\x3f\x68\x4a\x93\x04\xe4\x80\x23\x34\x80\x6a\x8b\x90\x1f\xa3\xaf\x42\x17\xb5\x46\x67\x8c\xaf\x0a\xdd\x6f\x21\xa6\x28\x20\xa6\xbb\x76\x62\x92\x40\x4d\x45\x7a\xe4\x6e\x28\x6a\x07\xa9\xf2\x9a\xb7\xe0\x3a\xd0\x68\xf7\x04\xf9\x35\x94\xf7\xb7\x08\x3a\xab\x0d\x37\xf8\xf0\x9f\xcd\x43\xff\x94\x63\x81\x99\x82\x50\x2a\x2b\xba\x0b\x12\x44\x74\x93\xcf\x10\xac\xc8\x8c\x21\x18\x7e\x0a\x37\xd7\xb9\xfc\x67\x14\xf2\xa1\xe2\x03\x44\x8f\xc8\xd1\x81\xad\x41\x2f\xf3\x49\xf1\xe6\x5c\x4b\x0e\x23\x56\x0b\x11\x39\x42\x83\x44\x72\xfb\x05\x61\x51\x02\xd5\x4d\x83\xa8\x2f\x4f\xf9\xd6\xad\x34\x59\x80\x82\x02\x5b\x59\x34\xcf\xed\x83\xe0\x43\xa8\xdd\x02\x3e\xf1\x04\x4e\x7a\xf1\x7b\x53\x49\xe8\x52\x9c\xc4\x0b\xa2\x64\xd7\xae\xa1\x17\xdb\x24\x53\x81\x69\xd9\x06\xc1\x1b\xb0\x31\x45\xe8\x4e\x90\xd8\x8e\xbe\xc6\x0a\x25\x04\x4b\x85\xfe\xf8\xcd\x5a\xb1\x21\x6e\x82\x05\x77\xb5\xc7\xb7\x88\xbf\x77\x11\x9c\x6d\x75\xed\xa1\x42\x1e\xc2\x88\x91\xe7\x30\x60\x87\x43\x8c\x95\xab\xb3\x43\x82\x94\x21\x53\xf2\xd3\x24\x3c\x42\x10\xac\x51\x99\x5a\xf8\x88\x43\x91\xb4\xee\x53\x3b\xac\x06\xca\xb2\xca\x13\x35\xea\x19\x20\x9d\x14\xb1\x94\x73\xac\x46\xcc\x72\x56\x17\x36\x12\x44\xcf\x0f\x92\xa4\x1c\xbf\x88\x21\x44\x97\xe9\x09\x43\xb9\xdb\x23\xbf\x40\x57\xa0\x7e\xf9\x20\xb2\x92\x9d\xae\x38\x2c\x5a\x53\x1b\x31\x0f\x23\x11\xb6\xdd\x28\xed\x34\xd9\x97\x5f\x51\x08\x6e\xe8\xfe\xc2\xd4\x1d\xee\x20\x0c\x93\xa6\x21\xaf\x38\x58\x75\x9b\xfe\x12\xd9\x78\xd7\x1d\x74\x17\x95\x9b\xed\xe3\x70\xcd\x3e\xf3\x06\x73\x7b\xcb\xe6\x06\xb2\xc5\x36\x0a\xb8\x8f\x66\x7c\x2d\x8f\x6f\x69\xe8\xe7\x31\xe4\x52\xac\xe6\x82\x45\x6e\x82\x63\x1d\x60\xe8\xa6\x71\x10\x2a\x1d\x44\x66\x42\x28\xbd\x63\x7c\xf6\xcd\x16\xcf\x6b\xf6\xbe\xa7\x7f\x50\xcc\xdf\x4d\xc5\x07\xc1\xd5\x27\xde\x2e\xec\x0d\xe2\xbf\xe1\x08\x02\x28\xa1\x27\x17\xba\x59\xc7\xb9\x70\xe8\xa0\x18\x8c\xf9\x8d\xe2\xa1\x2d\x21\x7e\x84\x86\x70\xd1\xb8\x8a\xe2\x78\xea\x1c\x12\xc1\xcb\x23\xa6\x35\x13\x97\x16\x1f\xb4\x5f\x26\xf1\xa6\x13\x60\x30\x76\xb6\xf2\xe5\xa4\xab\xa1\xdf\xdb\xb4\x09\x07\xf1\x03\x6d\x00\x5a\x34\x1a\xce\x4e\x50\xcc\xa3\x47\x22\x8e\x05\x89\xa9\x3c\x01\xdf\xba\x6a\x75\xea\xa5\x5a\xdb\xde\x5a\xd2\x68\x0b\x14\x58\x91\x6b\x70\x6a\xfa\xb7\x41\xf4\xae\x4e\xe3\x01\xa2\x53\x50\x27\x5c\xa8\xab\x49\xb2\x71\x28\x02\x84\x29\xb1\xc8\x38\x65\xca\x9b\xb2\x2a\x0b\xe1\x34\x0d\x2d\xb4\xb5\x05\x69\x8b\x5d\xc4\xe0\x6c\x38\xed\xfb\x39\x91\xc4\x05\x1c\x98\x49\x29\x6e\x73\xd4\x0c\xbb\xc8\xb0\x9a\x4b\xc8\x08\x2a\xaf\x81\x55\xba\xe0\x53\xbd\x42\x38\x83\x78\x05\x63\xa5\x28\x3e\xf2\x79\x2b\x52\xd1\x24\x19\x31\x46\x48\x2c\x11\x24\xef\x7c\xd5\x98\x78\xa8\x3f\x3d\x40\x38\x8e\xd1\xff\xfe\xfa\xe3\xc5\x2f\xf7\xc3\xf1\xf9\x15\x18\xad\xcf\x2f\x86\xdf\x1c\xf8\x1f\xaf\x1f\xee\xfd\xaf\xc6\xc2\xf2\x44\x04\x4a\xf1\x23\xa8\x78\x4c\x1a\xf9\x0f\xb2\x3b\xc2\x91\xba\x94\x4c\xfd\x44\x12\x17\xe9\x6a\xc5\x14\x8f\x4c\x65\xf7\xb0\xb5\x10\xa4\xb1\xf9\xad\xa1\xfc\xde\xfa\x4f\x96\xd3\xa0\x23\x1e\xdf\x85\x13\x03\x01\x89\x00\xcb\x20\x47\xcf\xea\xbe\x05\xc1\x11\x36\xa3\xac\x2d\x1e\x8f\xb0\xa7\x97\x14\xe2\x7f\x24\x8b\x9f\xb4\x7a\x7d\x83\xa9\xe8\x4c\x7b\xcd\x20\x0b\xee\xc4\x68\x3d\x1d\xcb\xea\xa1\x92\x46\x16\x86\x18\x8d\xac\x35\xe6\xb3\x09\x5f\xe7\xcd\xa7\x6b\x51\x3b\xc8\x67\x25\x5c\xf2\xaf\x07\x87\x71\x08\x19\xfe\xa2\x29\x68\x70\xc4\xee\xaf\xcf\xae\x4f\x10\x49\xf0\x84\x0b\xc8\x06\x33\x21\x41\xae\x09\xbb\x60\x11\x4f\x83\x86\x4a\x89\xdf\x07\x28\x2b\x12\xbf\x43\x23\xda\x91\x69\x63\x55\x7d\x74\x2e\xea\x69\xd3\xbb\x55\x01\xed\x64\x6f\xb8\xe8\x72\xfd\xeb\xd7\x60\xe9\x78\xa6\x15\xb9\x0a\xe7\xb5\x77\xf3\x94\x60\x53\x9a\xd8\xb8\x85\xac\x2d\xdf\x06\xb0\x26\x49\xa9\x4c\x95\x3e\x38\xf2\xc8\xba\xe0\x8b\x37\x39\x43\x3f\xfe\x45\xa2\x49\xae\x46\xac\xdc\x06\x67\x68\xf0\xf3\x1d\xfa\x1e\xab\x68\xfe\xcd\x88\x5d\x6b\x35\xf3\xc7\xbf\xb4\x20\x54\xac\x0d\xfa\xa4\xd7\xe4\x0c\x2b\x7c\xc1\x71\x4c\xd9\xac\x09\xf1\xa9\x80\xe5\x1f\xde\x0f\x4e\xd0\xb5\xd5\xe1\x7d\x52\x79\x91\x69\x15\x34\x04\x0c\x19\x26\xe2\xb8\x08\xb0\x72\x56\x46\xc5\x31\x9a\x19\x5c\x58\x23\x76\x6f\xa0\xae\x34\x57\xa5\x0a\x65\xdc\x96\x86\xd0\x5a\x99\x01\x01\x33\xa6\x6c\x6b\x49\xd4\xab\x03\x64\xec\x37\xc3\xca\x63\x20\xcf\xd4\x99\xfd\x88\x81\x82\xee\x33\x3d\x13\x1e\xe1\x04\x62\xf2\x0e\x03\x9b\x9e\x56\xdb\x79\x0e\x69\x77\xa6\x96\xec\xa2\x1c\x3a\xeb\x33\x41\xbd\x50\x16\x6e\x14\x18\x00\x60\x1f\xad\x37\x36\xe5\x9a\xe3\x18\x88\x1b\x30\xbe\x25\x66\x75\xf4\x87\x1e\xf2\xc6\x2c\x8b\x7e\xea\xf8\x11\x94\x6c\xb7\x29\xde\x11\x98\xef\xd9\x02\xc2\xb7\x01\xcb\x9d\x43\xe8\x47\xc1\x9d\x2d\x51\xd6\x76\xd1\xdf\x89\xc1\x67\x23\x66\x22\x05\x4b\xfb\x12\x82\x22\x04\xbd\x73\x06\x81\x8c\xc5\x75\xe9\x05\x8c\xcc\x06\x36\x5a\x59\x3f\x13\xe4\x30\x26\x8a\x88\x14\xec\x3d\xe1\x9a\xea\x1b\xf6\x08\xdd\x86\xea\x75\xcc\xa3\x3c\x75\x80\x95\x90\x9e\x58\x54\xeb\x2d\x49\x3c\xe6\x62\x5f\x45\xf1\x90\xfc\xae\x08\x64\xe5\x75\xd6\x8f\x0d\xc1\x0c\xc2\x4f\xeb\x92\x7a\xbb\xe0\x0b\xbc\x63\xbb\xa8\x35\xd3\xd0\x38\x2b\xb7\x54\x6a\x6d\x35\xde\xde\x8a\xfa\x2b\x57\x05\xa8\x1e\x17\x20\x6c\x91\xcf\x19\x07\x23\xb7\xc9\xa9\xe2\xf1\x57\x12\x9d\xdf\x68\x09\x48\x6b\xbc\xfe\x0c\xe6\x52\x99\xe0\x32\x48\xd7\x31\x5f\x9b\x74\x81\x03\xf4\xad\xa9\xa5\x1d\xa1\xcf\xee\x8f\x3f\xff\xc7\x7f\xfc\xe9\xcf\xeb\xa4\x93\x38\x85\x1c\xda\x2d\xd6\xc8\x57\xe9\x28\x8b\x44\xe1\x0e\xd4\x39\xd5\x16\xbb\x60\x0f\x60\xdb\xf2\x6f\x02\x9e\x15\xc4\x0e\xe1\x99\x3d\xe1\x32\x3c\x99\xa8\x74\x34\x8b\x48\x02\x49\xd4\x41\x99\x43\x78\x61\xd7\x4a\xf4\xff\x6b\x09\x06\xcc\x58\x1f\x95\xcd\x62\x9c\x68\xe2\xc5\x6b\xdd\x08\xfa\xda\xda\xff\x14\x38\x10\xbf\x71\x17\x1c\x4f\x62\x22\x6c\x1d\x7e\x67\xb2\xf3\x86\x44\x60\x0e\xe4\x73\x96\xf0\xd8\xa1\xce\x49\x92\x61\x10\x20\x34\x33\x38\x1a\xb1\xa1\x2b\xcb\x6e\xd0\x49\xcc\x47\xc6\xf3\x32\xc5\x91\x01\x5b\x93\xe8\xeb\xcf\x27\xfa\xb7\x03\xb4\x38\x81\x20\xd2\x03\xf4\xdb\x89\x05\x21\xc0\x42\x8d\xf5\x4f\xdf\x38\x59\xdb\x36\x01\x83\xa6\x12\x7d\x75\xfc\x84\x85\x29\xc5\x79\x6c\x46\xf4\x95\xe5\xac\xbe\xdc\x50\x28\x9b\x27\x9c\x3f\xda\x00\xdb\xda\x87\xc7\x0e\xcf\x06\xc8\xdb\xfb\x4d\xcc\xd6\xfb\x7c\x47\x85\x0e\x6d\x51\xf9\xa3\x6c\x82\x8e\xfe\x26\x39\x43\x47\x0b\x9c\x26\xf6\x57\xf7\xd4\xc6\xff\x62\x69\x73\xe2\xe2\xa0\xac\xb9\xb1\x94\x7e\x9f\xf0\x09\xcc\xea\xd2\xcd\xd4\x44\xd0\xc2\x40\x8b\xdb\xa7\xb8\xb0\xec\x44\xac\x24\x65\x60\x19\x52\xae\xcc\x2b\xc0\xe3\x9a\x66\xf5\xd9\x0f\xe9\xbf\x8c\x5f\x18\x16\xc5\x25\xf1\x19\xe3\xb0\x8f\x5e\xd3\x8d\x7e\x46\x5f\x5b\x16\xf4\x8d\xbe\x63\x6c\xb8\xb2\x59\x86\xa6\x0e\x16\xbe\x83\x5f\x82\x0e\x28\x43\x26\x2d\x73\xc9\x97\xbf\x1d\x1f\x1d\x1d\xf9\xaf\xaf\xf4\x54\xfe\x5f\x44\x95\x24\xc9\xd4\xb4\xe4\x6e\xb0\xc5\x88\x5d\x3a\x3c\x6b\x67\xbc\x2e\x90\xb2\x32\xc1\x15\x8f\x78\x82\x0e\x0b\x83\x6e\xcc\x23\x89\xfe\x55\x8b\xb5\xc1\x52\xc2\x8f\x5a\x8f\x6b\x41\xd7\x33\x00\x9a\xaf\x74\xa8\xac\x41\xbc\x7a\xac\x42\x70\x1c\xaf\xd8\x62\x19\x82\xa3\x03\x2d\x68\xca\x39\xb6\x00\x3a\x42\xe8\x97\xc9\x67\x05\x8f\x5a\xf0\x89\x1a\x43\xd9\x9b\x6f\xca\x1a\xbb\x2d\x60\x8a\x0c\x59\xb7\x2c\x80\x85\x11\xb1\x9c\xc1\xcc\xf3\x20\x74\x9f\xe8\xcb\x85\x85\x08\xcb\x32\x4f\x53\x2c\x16\xc7\xc5\x69\xab\x13\x67\x01\x60\x03\x3c\x26\x71\x0b\x00\x2e\xdc\xc4\x1e\x2d\x1b\xc5\x60\xc5\x4b\x77\xa3\xf9\xb3\x1b\x41\x89\x28\x08\xc8\x33\x05\xd2\x08\x8b\x78\x6c\xe9\xba\xc8\x3e\x2d\x4b\x2c\xfe\x9d\xba\xac\xe2\x22\x62\x64\x61\x8c\x63\xca\x64\x46\xdb\x37\xdc\xc7\x2d\xec\x9b\x8f\xa1\xd8\x20\x99\xad\xe1\x1e\x3d\xbf\xbe\x73\xdf\x74\xbf\x74\x61\x1d\xca\x22\x3b\x4e\x42\xd8\x21\x36\x43\x02\x3f\x17\xd7\x2f\xc4\x76\x18\xeb\x4c\xee\x73\x73\xcd\xbf\x4f\xf9\x0d\x4d\xf4\xad\x05\x34\x7e\x34\x62\xa5\x9f\x0f\x10\x49\x68\x4a\x99\x8f\xad\x33\xcc\x9d\x4f\x8d\xf4\xfc\x48\x95\xde\x32\x19\x3f\x6a\x0e\xe6\xe0\x32\x02\x95\x6a\xc0\x16\x8e\x74\xbc\x63\xca\x5a\x20\x72\xa9\xc7\x55\xe8\xe8\x5a\x98\xd5\x4d\x1c\x5a\x81\x94\x06\x84\x07\xe7\x77\xc4\x74\x6b\xee\x2c\x15\xe1\xc2\x41\x7b\x41\x73\x87\x0e\x67\x38\xe0\x00\xd0\x47\x29\xe6\xd7\xcb\xbf\x0d\x02\xca\x90\xe5\xe9\xb6\xc9\x26\x36\x7c\xf8\xad\xcc\x74\x37\x82\xb8\x9b\xca\x26\x2e\x11\x96\xa7\xee\x40\xad\x41\x71\x43\x2b\xfe\xc4\x24\x4a\xb0\x01\x00\xd0\x0d\x41\xe4\xe3\x81\x71\x90\x66\x41\x5f\xe6\x7a\x31\xdd\x98\xd2\x05\x09\x61\x5f\x9b\x7f\x7f\x83\xec\xdd\xf0\xed\x81\xbd\xcf\x85\x74\xc0\xaa\x76\xcf\xa1\xf4\x15\x89\x8d\x0d\x1d\xc0\x1e\x67\x58\xc4\xc6\x5a\x1e\x6a\x15\x26\x83\x57\xcb\x5f\x0b\x9e\xa3\x67\x2a\xe7\x23\x76\xcf\x9d\xc1\x11\x31\xee\xe1\x32\x0f\x40\x19\xad\xf5\x87\x25\x30\x01\x18\x75\x13\x05\x68\x26\xbc\x55\xae\x11\x44\xc1\x8e\x19\x8f\xc9\x76\xb8\x10\xf7\x85\xaf\xc2\xf9\xaf\x05\x31\xf9\x60\x70\x53\xb4\xa5\xd3\x12\x29\xd7\xb4\xcd\x57\x37\x1e\xee\x21\xdb\x0e\x54\x5a\x7c\x5e\x0b\xb4\x34\x84\x5c\xf1\xb7\x1a\xb4\xe2\x34\xce\x20\x1b\xb8\xb4\xf6\x1e\x84\x72\xdb\x4d\x88\xca\xa9\x2a\x2b\x57\xc0\x5f\x7d\x66\xee\x11\x2c\xbb\x0f\x30\xc6\x68\x26\x78\x9e\xf9\x94\x79\x97\xee\x67\xb6\xc1\xca\x34\xe7\x6c\xca\x4f\xac\x4e\x75\x41\xd9\xa3\xa1\xf8\x97\xda\x23\x83\x33\x4a\xe2\x12\x3a\x8e\x2b\x7e\x07\x73\x38\x44\x94\x45\x49\x0e\x17\x9f\x54\x38\x7a\x34\x58\xa9\x6d\x46\x5f\xfd\xcd\x78\x75\x32\x65\x8b\xc4\x94\x27\x89\xed\xb6\xb8\x40\x8b\xea\xa0\x4f\x14\x23\x8c\x1e\x6e\xcf\x9b\xfb\x7e\xa4\x75\x67\x4e\xf3\xed\x59\x26\x10\xf8\x9f\x1f\xe9\x5a\x71\x97\x15\xb4\x21\x52\x22\x75\x6f\x5c\x6a\xc3\xb2\xd3\x44\xfa\x09\x2b\xb2\x6d\x26\x94\x81\x56\x59\x23\x52\xaf\x86\x59\xb3\xd4\x7a\xbc\x25\xe0\x4b\x01\xd6\x02\xa1\x41\xed\xc8\x33\x61\xb0\x16\x3c\x5c\x03\xbb\x01\xde\xef\x36\x9f\xca\xbb\x2b\xa6\xb3\x7c\x98\x09\x21\x6b\xa0\x0d\xdc\xe9\xd7\x3b\x0e\xb2\xf4\xea\xb2\x31\x3e\x63\x03\x6a\x5d\xc7\x52\x8c\xf3\x52\xdd\xea\x4e\x04\xed\xc8\xd1\x88\xd7\xd2\xe7\x88\xf8\x91\xb8\x30\x1c\x2f\x8b\xb9\x7e\x67\xe0\xdb\xe2\x25\xcc\x6c\x6f\xa1\x6d\x20\xfc\x40\x6c\xdd\x32\x6c\x42\x8b\x5f\xe3\xb4\x81\x45\x37\xef\x44\xd1\xf1\x99\xfd\xf8\x52\x7f\xdb\xcc\x8a\x2e\x21\x8b\xcf\x03\xa7\xa4\x98\xe9\x93\xed\x7a\x6d\x31\x42\x1a\x89\x70\xa3\x21\x3d\x64\x1b\x0d\xc8\xf4\xd8\xb1\x9c\x94\xed\xca\xb5\xf2\x6c\xec\xf0\x38\x31\x76\x26\x35\x07\x13\x44\x51\x86\x41\x73\xb4\xb2\x29\xc2\x94\x6c\x48\xb0\x98\x19\x05\x49\x12\x25\xbf\x69\xd8\xe1\x22\xe7\x61\x8b\x1d\xde\xa0\xd4\x5d\xe8\xf7\x04\xf1\x7b\xd9\x49\xf3\xa3\x2c\x63\xb6\xf9\x5b\xd9\x17\x8d\xb4\x42\x13\x95\x21\xb2\x56\xc4\x85\x01\x38\x8d\xf5\x59\x69\xc7\x4c\xd9\xb2\xe4\xe9\x15\x4e\x3d\x22\x80\x2b\xbc\x68\xf3\xbb\xcc\xe0\x26\x04\xe0\x06\xdb\xc7\xb0\x75\x6d\xd3\x70\x08\xb6\xd6\x58\xdb\x08\x46\x6c\xe0\x5e\xf1\x59\xc5\xa0\xdb\x09\x23\x80\x43\x7c\xa8\x89\x86\x06\xfd\x0a\x17\xab\x6e\x27\xd7\x32\x89\x75\x93\x37\xab\xe5\x59\xb5\x7e\xe7\x6f\x23\x5b\x88\xc1\x43\xa3\x2d\x2d\x82\xf1\xb4\x7e\x01\xed\x66\x60\x96\xa8\x5a\xe0\xb8\xa9\xe3\xd5\xba\x94\x43\x8c\xb0\x0d\x85\x35\x95\x4d\x0c\x69\xb2\x28\xc8\x54\xaf\xb8\xd1\xc9\x2b\x9d\xd5\x4f\xab\xda\x8a\x1b\x53\x9c\x8e\x05\x6f\xaf\x12\xd2\x61\x99\x5c\x13\x25\xfb\xce\xdc\xa0\x86\x2f\xd0\xdf\x73\x9c\x98\xcb\x8d\x59\x72\x74\xc3\x06\x51\xf9\xbb\x3f\xa3\x01\xdc\x3e\xe8\x12\xf8\x22\x38\xf8\xa1\x35\xc5\x11\x4d\x33\x22\x24\x67\xb8\xb5\x5c\xce\xe3\x5f\xe4\xd8\x42\xfe\x8f\x71\x14\xf1\xbc\x0e\xef\xbf\xc6\x4c\x1a\x5a\x0b\x27\x85\xd1\x63\x3e\x21\x82\x11\x53\x12\x08\xde\x43\xee\xbd\x4e\xc3\xe5\x38\x57\xf3\xef\xc6\x51\x42\x3b\xd7\x21\x80\xec\xa2\x81\xfe\xec\xd4\x7c\xb5\x6c\x02\xa5\xf6\x4b\x43\x67\xc8\x3c\x43\xe6\xd9\x11\xfa\x1e\x47\x8f\x84\xc5\x28\x4b\xf2\x19\xb5\x60\x02\x70\x43\x01\xbb\x0c\xcc\xb3\xe5\x89\x19\xd9\xc2\xb4\xaf\xaf\xa1\x11\x4b\xf1\xa3\xc1\x06\xb4\x42\x64\x84\x93\x56\x28\x2a\x2f\x56\x8f\x69\x9d\x76\x57\xee\x96\xbf\x0f\xeb\xcd\x54\x69\x4f\xe6\x26\xb7\xe2\x79\xce\xad\x47\xba\x24\xd5\xaf\x71\x70\x3d\xb5\xd6\x30\x5f\x5c\x5e\xbe\x2f\x0e\x65\x07\x63\x4e\x2f\x98\x7b\x01\xdf\x32\x67\x08\x03\x6c\xcc\x57\x12\xe5\x99\x93\xcf\xc0\x0e\x99\x80\x57\xd8\x6c\x01\x54\xfd\xa6\x5a\x4b\x9b\x93\x11\x83\x48\x5b\xe4\xa7\x57\xab\x21\x82\x48\x11\x10\xd3\xc4\x1a\xa6\x06\x34\x61\x3b\x1f\x67\x0d\x1e\x73\x05\x9d\x76\x8c\x22\x56\x73\xc2\xc0\x3c\xd2\xbd\x65\xd0\xb7\xba\x6f\x5a\x29\x62\xd8\x8a\xc1\xde\x9e\xeb\x97\x30\x67\xd4\xd6\xe5\xb0\x26\xfc\x20\x98\xcf\xf9\xb9\x8a\xef\xa9\x44\x12\x2b\x2a\xa7\xb4\xd1\x6c\x14\x42\x55\x6c\xb3\xea\x78\x3d\x7c\x8c\x06\x6c\x8c\xca\x5a\xf8\xac\x84\x23\xf4\x11\xac\x60\x81\x66\xc0\x3d\xd2\x44\x1b\xc3\x52\x73\xd2\x0a\xb9\xb8\x8b\x70\x1e\x37\x83\xe0\xfd\xa5\xc6\x4d\x9f\x81\x72\x84\x06\x85\xf7\xc1\x60\x6d\x18\xbf\xc2\x8a\x19\xfd\x7f\xec\xbd\x5b\x73\x1b\xc9\x91\x36\x7c\xef\x5f\x51\x11\x7b\x21\xe9\xfb\x40\xd0\x63\xc7\xbe\x31\x56\xc4\x5e\x70\x28\xca\x43\x8f\x44\xca\x3c\xcc\x78\xdf\xc5\x06\x54\xe8\x2e\x00\x6d\x36\xaa\x5a\x5d\xdd\xa4\xe0\xb5\xff\xfb\x1b\x95\x99\x75\xe8\x23\xba\x01\x50\x92\xbd\x73\xb1\xeb\x11\x01\x54\x57\xd7\x21\x2b\x2b\xf3\xc9\xe7\x11\xa9\x16\xfb\x2c\xbe\x41\x81\x3a\xc8\xd0\xc3\x02\x62\xe0\x49\x69\xf3\x77\x4f\xcc\xeb\xba\xf9\x04\x45\x9e\xfc\x41\xc8\xbe\x68\xcc\xf0\x1e\x62\xb8\xac\x37\x24\xe0\xe2\x70\x0a\x43\x71\xfb\x74\x70\xf8\xb6\xf3\xf4\x26\xc9\xf2\xd4\x0c\xb9\xb9\x86\x44\x0f\x54\x5a\x82\xd1\x58\x22\x48\x79\x5a\x2b\x1d\xee\x33\x3b\x7f\x78\x93\xcd\x4b\x61\x4b\x48\xa0\x34\xc7\x0d\x30\x62\x72\xa4\x0a\xf9\x53\xa0\xd7\x6e\x93\x62\xa4\xd9\xcd\x37\xb3\x26\x14\x86\x01\xb2\x58\xb6\xa9\xe6\x6e\xfe\xe9\x7b\x7d\x0d\x3b\xf6\x18\x95\xfa\xed\x6a\x77\x87\xa3\xe4\xf7\xcc\x0f\x38\xfc\x97\x97\xca\xe3\xb1\xe3\x96\xc8\x54\xcc\xfc\xf2\x1a\xaf\x8b\xf7\xf5\x5f\xab\xa6\xa7\x37\xe8\xdd\x76\xad\xec\xf7\x01\x88\x80\x2d\xca\x04\xa5\x69\x2b\x0e\xa1\xb2\x1e\x87\x90\xf6\xf8\x4f\xb4\x3b\x4f\xda\xd7\xd8\x07\x15\x1f\xb2\xb0\xc6\xd3\xe9\x35\xd7\xf5\x00\x8c\xb1\x6e\x93\xd2\xed\x19\x89\x4c\x75\xa3\x43\xe3\xf9\x70\xf1\x59\x80\x03\x2c\xca\xe5\x2d\x90\xb6\x77\x31\x56\x04\x22\x2d\xb6\x04\xcd\xcc\xb3\x79\x8c\x2b\x88\xe8\x9a\x14\xca\x2e\xfb\xe3\x9f\xb3\x3f\xdd\x5e\x5f\x9d\x6c\x78\xae\xd7\x1c\x2a\x82\x6d\x5b\x13\xab\x83\x83\xd7\x63\x9b\xf5\x4a\xe4\x4c\x9e\xb0\x95\x9a\x60\x8e\xf5\x35\x5b\x17\x45\xa6\x5f\x9f\x9e\xae\x92\x62\x5d\x2e\xa6\x91\xda\x9c\xfa\xa1\x39\xe5\x59\x72\xba\x48\xd5\xe2\x34\x17\x80\xb2\x3d\xf9\x6e\xfa\xbb\xef\x60\x66\x4e\x1f\xbf\x3b\x85\xcc\xda\x74\xa5\xfe\xed\xdd\xef\xfe\xf0\xfb\xff\x63\x1a\xce\xb6\xc5\x5a\xc9\xd7\x94\xc0\xed\x6d\xfb\x04\xbd\xf2\x53\xfc\x49\xed\x29\x7f\x98\xfe\x36\xec\x06\x7d\x75\xa3\x62\x91\xea\xd3\xc7\xef\xe6\x76\x62\xa6\xd9\xf6\x57\x5c\xea\x57\xc3\xa5\x3e\x24\xc5\xaf\xb8\xd4\xaf\x8a\x4b\x1d\xee\xe1\x38\x1b\x53\x93\x1a\x37\x7f\x77\x36\xd2\x86\xde\x77\xd9\xa1\x96\xc3\x21\xac\x1a\x38\xe0\x88\x78\x10\xa3\xae\xd8\xb5\xd7\x75\x57\x87\x8e\x10\xdb\x58\xb2\xfd\x4e\x67\x7e\x54\x91\x34\xa0\x40\x92\x08\x88\x9c\x31\x24\x98\xf1\xa4\x0d\x6d\x4a\x68\xa7\x43\xc6\xef\x39\x29\xc9\x8f\xcd\x45\x4e\xaf\xbb\x27\x0f\x79\x8a\xbf\xb6\xd8\x2c\xf5\x64\xf9\xc7\x8f\xc1\xda\x3d\x50\x1e\xcf\x91\x11\xe3\xe2\x81\xbe\xd8\x7e\x75\x74\x63\xcd\xf5\x7e\x20\xbf\x33\xa4\xfc\x73\x79\x3a\x27\x36\x4c\x0f\xb4\x07\x87\x65\x51\x00\xed\x55\x22\x6b\xca\xca\x3c\x53\x5a\xe8\x29\x7b\x5b\x13\x90\xf2\xc0\xc5\x9b\xb7\xe7\xec\xbb\xef\xff\xf0\xfb\x99\x7c\xd9\x72\x6e\x83\xbd\x57\xf9\x8a\x70\x94\x70\x5a\x6f\xb8\x2e\x44\x7e\x9a\x2f\xa3\x53\xb4\x72\xa7\xe6\xf7\x27\xf4\xd0\x13\xb5\x3c\x71\x94\xc4\x27\xc4\xce\x3a\xdd\xc4\xe3\x08\x06\x2a\x4b\x0f\xcf\x1a\x3a\x68\x34\x1c\x4a\x48\x45\xa4\x96\x8e\x7c\x1e\xeb\x5c\x50\xa7\x42\x2d\x5b\xfe\x03\x24\xc0\x5f\x39\x02\x34\xae\xed\x33\x3c\x23\x51\xf7\xd6\x3c\x0e\x3b\xb9\x5d\x22\xcf\x19\xa8\xb0\xb6\x24\xbc\x8e\x8c\x19\xf8\xf6\xcd\xe6\x8f\x7b\xe4\x63\x20\x0d\x69\x64\x77\x56\x52\xa8\x25\xa0\xf8\xc0\x13\xb6\x28\x05\x88\xd5\x9a\x93\xd6\x73\x2f\xe4\x22\xc3\x03\x26\xd4\x9c\x6e\x19\xee\x03\x19\xce\x77\x8d\xf3\x73\x30\x9c\x1f\x3a\xee\x64\x50\xbe\xd2\x80\x1f\x0a\x25\xc4\xad\x34\x06\x55\x61\xbe\xbf\x33\x83\xea\xec\x00\xa4\x4c\x43\x39\x65\xe4\x1a\x03\x27\x4d\x9c\x14\xea\x04\x48\x6b\x80\x0a\x05\x35\x07\xba\x60\x15\x90\x79\x1e\x73\x4c\x9a\xef\x0f\xe8\x27\x3a\xe6\x9f\x83\x8e\x92\x4f\xa2\x91\xc2\x93\x20\x59\x89\x94\x22\xa7\x9c\xda\xce\x13\x75\x64\x5e\x3a\x9c\xca\x7e\x44\x56\x20\x17\x1a\xf0\xc1\x3b\x3c\x3e\x0f\x8c\xc0\x94\x81\xf7\xb9\x56\x1b\x65\xdc\x19\x55\xea\xe0\x43\xbc\xbd\xc0\x21\xdc\xe9\x7b\x6d\x78\x86\x24\x75\x5f\xef\x6d\xcc\xd6\x32\x1f\x61\x50\x2f\xfc\xd2\x28\x89\x8d\x45\x55\x54\x60\x47\xff\x1d\x1b\x7c\xff\xba\x01\xd4\xc3\x06\x92\x28\xa0\xc0\x47\x1c\xcf\xc9\xdf\xcc\xbd\xc6\x2c\x29\x77\x53\x70\x27\x37\x82\x74\x90\x8b\x31\xa4\x7b\xb5\xde\x7c\x67\xb5\x74\xb9\x19\x39\x07\x0e\x64\x3c\x64\x02\xb8\x44\xd8\xad\xc5\xdb\x9e\xb4\x02\x6e\xbb\xf6\xa5\xd5\xbb\x8b\xe7\x96\x2f\x74\x5c\x57\x6f\x5d\x03\x44\x0d\xda\xec\xb7\xa7\x5b\x02\x74\x36\x8e\x31\x1a\x04\xeb\x5b\x74\x80\x6e\xe4\xf8\xcd\x08\x02\x2b\x63\xc6\x0e\x1e\x82\x8b\xb3\x31\x82\xc1\x5e\xe8\x1a\xc0\x71\x21\xb6\xbe\x88\x55\x1b\x9c\x1f\x19\xea\x7c\xf5\x8e\xe9\x65\xe3\xf2\xe8\x7e\xf8\xe8\xc5\x3d\xb7\x99\x98\xb0\x45\x09\x9f\x5f\x5d\xdf\x85\x68\x8d\x04\xdf\xf6\x24\x5a\x8b\xe8\x01\x02\x26\x78\xe4\xe1\x66\xb0\xc2\xae\x8b\xed\x4c\x7a\xe9\xaf\x42\x59\xe8\xc1\xd6\xb1\xa1\x3b\x45\x00\x95\xb3\x38\xd1\x59\xca\xb7\x90\xe4\x95\x88\xd3\xf7\x09\x62\x57\xe0\x62\x4c\xc1\xae\x78\xf1\xf0\x99\x36\xb3\x72\xe6\x7f\x37\x76\x2c\x79\xbe\x48\x8a\x9c\xe7\x5b\xe6\x07\xb3\x69\x0f\x98\x16\x1b\x2e\x8b\x24\x9a\xc9\x8d\xe0\x32\x44\xe5\x51\x92\xdb\x0c\x72\xac\x04\xf1\x05\x2f\x97\x22\x2a\x3c\xe1\x20\x38\xef\x6e\xa4\x76\xed\xc1\x71\xef\xee\x76\x5e\xef\xab\xff\x98\x48\x2c\x6f\x4f\x36\x80\xf9\xa4\x35\x44\x47\xe3\x9e\xc9\x1b\x90\x8a\xa3\x23\xd7\x5e\x06\xe1\x5f\x76\x4d\xb1\x85\x28\x9e\x04\xd4\xd3\x53\x01\x60\x9b\x8f\x7f\xb0\x5c\xc0\x61\xa2\x8a\xed\x72\x94\x01\x12\x0c\x37\x58\x08\x26\x73\xc4\x3f\xb2\xc6\xe0\xf3\x82\x4a\x12\x21\xda\xf3\x82\xe2\x56\x2f\xe0\x98\x36\xb7\xc7\xfc\x51\xc4\x33\x59\xa5\x55\x22\x9f\xd1\x6f\x38\xe6\x85\xb0\x8e\x63\x6d\xec\x18\x0f\x8a\xe5\x5f\x00\x95\x84\x27\x91\x74\x45\x77\x3d\xc2\x5c\xed\x42\xfe\xcf\xa0\xf9\x34\x38\xc9\xe3\xb5\xb2\x48\xe8\x86\x74\xf1\x2a\x78\x0a\xb7\x28\x1d\x69\x0c\x32\xca\x39\x00\x2c\xc5\x25\x1b\x91\xce\xb6\x36\x66\xd2\x56\x53\x2f\xcb\x14\x59\x42\xbb\xa4\xc2\x88\x43\xca\x56\x7e\x7c\xbd\x0a\x20\x17\x57\x63\x81\xb6\x98\x83\x3d\x04\x60\x64\xb4\x75\x76\xd5\x0b\xa9\x51\xe7\xd3\xca\x0a\x41\xe0\x79\x25\x0a\x38\xcd\xe3\x32\xc5\xe2\x60\x88\x98\x03\x1f\x15\x4f\x53\x96\x14\x7a\x26\x1d\x7d\x16\x92\xa1\x83\x85\xb5\x21\xf5\x98\xae\x5c\xf0\x08\x68\x96\x24\x91\xc1\x0f\x4b\xa2\xa4\x68\x40\xb8\xb7\xa1\x14\x47\x96\x09\x8e\xb5\x6c\x38\x6d\x33\x19\xde\xb9\xea\x93\x40\x85\x5f\x20\xfd\x7a\x8c\x1a\xac\x1e\x44\x3e\xe8\xe5\x8e\x9e\x92\x29\x3b\xc3\xb7\x33\x17\x2e\xab\xb2\x89\xbd\xa5\xfa\x79\x42\x5a\x9a\x5b\x4d\xa1\x6d\x8c\xdc\xdf\x5b\x33\x9e\x17\x49\x54\xa6\x3c\x4f\x81\x93\x7e\x59\xa6\x2c\x59\x06\x82\xa1\x30\x07\x48\x9e\x64\xa6\x2b\x52\x70\x56\xdb\x28\xb9\xe6\x1b\x11\xd4\x6d\x53\x78\x27\x0d\x30\x14\xc8\x08\x8d\xc9\x79\xd3\xd6\xab\x29\x7b\x53\x17\xee\x85\x3d\x11\x90\x2e\x26\x1a\xcd\x9f\xeb\x6f\x50\x72\x88\x02\xc0\xc9\xd2\x5c\x29\x5f\x04\xbb\xae\x4b\x02\x9f\xeb\x87\x91\x00\x0d\x4b\xdd\xdf\x8f\x1a\x6e\x2d\x39\xbe\x03\x99\xf4\x0a\x6c\xc3\x6d\x88\x8e\x0e\xda\x53\x61\x64\x27\x43\xc2\xca\x3d\x3a\xfa\x4b\xa0\x43\x5e\xef\xec\xa6\x47\x9f\x14\xe6\x71\x64\x57\x03\xb5\x9f\xf1\x1d\x0d\x56\x4e\x08\xc7\x19\x32\xb2\x2b\x5e\x8c\xc5\xe6\xb8\x62\x9c\xf1\x1d\x6d\xc5\x41\x75\x76\x73\x77\xa4\xe9\x97\x8a\x3c\x10\x33\xbd\x32\xb7\x7c\x81\x38\x33\xb5\x0c\x4c\x30\x9d\x37\xa4\x23\x04\xd4\xec\xce\x26\x2c\x04\x4b\x13\xf9\x60\x89\x18\xcc\x02\x9d\x30\xee\x5b\x07\x1b\x81\x83\x8c\x7b\xae\xc3\xf3\x6a\x13\x32\x38\xc0\x19\x1b\x56\xce\xd8\x7e\x43\x0e\xe0\x9a\xe3\xf7\x4b\xdb\x7b\x0c\x9f\x96\x5e\xdc\xb5\xbb\xf3\x58\xb0\x35\x1e\x83\x01\xc6\x32\x10\x9b\xef\x1c\xdf\x0f\xeb\x2a\x66\x6f\x84\xec\xcf\xfd\xd5\x9b\x8b\xb7\x97\x57\x55\xad\x9e\x3f\xdf\x5f\xdc\x57\xff\x72\x73\x7f\x75\x75\x79\xf5\xc7\xf0\x4f\xb7\xf7\xe7\xe7\x17\x17\x6f\xaa\xdf\x7b\x7b\x76\xf9\xae\xf6\x3d\xf3\xa7\xea\x97\xce\x7e\xb8\xbe\xa9\xa9\x03\x59\x69\x9f\xe0\x4f\x77\x97\xef\x2f\xde\xcc\xaf\xef\x2b\x02\x43\x6f\xfe\xf3\xea\xec\xfd\xe5\xf9\xbc\xa5\x3f\x37\x17\xe7\xd7\x3f\x5f\xdc\xec\xd0\x07\xf2\xef\xdb\x3a\xa4\xc7\x00\x5b\xed\xad\x16\x75\xc6\x96\x79\x22\x64\x9c\x6e\x11\xa9\x6e\xef\x81\x35\xe8\x69\x78\x52\x25\x1b\xa1\xca\x43\x00\xe7\x77\x6b\xc1\xd4\xa3\xc8\x81\x33\x02\x5b\xa3\x02\x53\xae\x1f\x3a\x19\x05\x8b\xbc\x19\x43\xef\xad\xab\x29\xf2\xad\xab\xdc\xea\xeb\x8e\xe7\x1b\xa2\x87\xb0\x4c\xe4\x7d\x7d\x01\x3f\x22\x2f\xb3\x22\x59\x74\x97\x10\x0c\xe4\xe1\x19\x7f\x53\x45\x76\xbc\x76\x2a\x91\xab\x76\xc3\x58\x41\xd2\x1f\x02\xd3\x85\x16\xf6\x15\x41\x73\xbf\xb6\xd0\xc6\xac\x5c\xa4\x49\xc4\x92\xb8\x1e\x7d\xc0\x82\x2f\x0c\xb0\xd6\x49\x34\x33\x91\x83\x63\x67\xfc\xe5\x2c\x17\x27\xbc\x2c\xd6\x56\x9f\xdd\xd5\xfd\x21\xa9\xa5\x88\x72\x81\x91\x73\xa1\x21\xa4\x89\xea\x57\xc1\x93\xa0\x33\x54\xef\x1c\x03\xb5\xca\x34\x20\x34\xef\x88\xa8\xe3\x2f\xb1\xf5\x11\x21\x45\xfc\x7e\xef\xd0\x50\x8f\x13\x5d\x97\x3e\x06\x17\x16\x3f\xb4\x1a\x5a\xe6\xbd\x8d\xa5\x76\x1a\x52\x38\xc9\xb6\xd2\xa1\xfd\x35\x76\xad\xb1\x70\xa1\x54\xa1\xff\xd4\x3a\x7d\x74\x9e\x0b\x38\x44\x28\x71\x6e\x6f\xfb\x00\xf4\xa0\xca\x08\x28\x88\x30\x17\x9b\x85\x58\xf3\x74\x89\x31\x3c\x33\x35\x7e\x5f\x35\x97\xe8\x9d\x7a\x10\xf2\x06\x27\xec\xab\x98\x43\x89\xf7\x04\x5f\x01\xef\xe2\x27\x3e\xe0\x67\xfa\x68\x57\x95\xad\x0c\x03\xe7\xa9\x40\xaf\x3a\xf8\x18\x0b\x20\x3c\xbf\xad\x2d\x2a\x5b\x2e\x93\xcf\xa6\xc1\x99\x14\xad\x0c\x9f\x80\xae\xb1\x5c\x44\xce\x2e\x03\x92\x08\x09\x5d\x1e\x84\x04\xf5\x2d\x14\xe7\xdd\xb9\x66\xc7\x45\x9b\x9b\x73\xd1\x13\xfe\x86\x08\x59\x52\x11\x25\x0b\x73\x22\x76\x9c\x0a\xac\x48\x99\xb2\x37\x44\x53\x61\xfe\x72\xfe\xee\xf2\xe2\xea\x6e\x7e\x7e\x73\xf1\xe6\xe2\xea\xee\xf2\xec\xdd\xed\xd0\xed\x77\x8c\x2a\xa2\xda\xee\xab\x17\xd3\x38\x0b\x71\x4a\x3b\xcf\x17\xb3\xba\x97\xf2\xdb\x0e\xa6\x64\x77\xef\x93\x38\x9b\xc7\x89\x8e\xcc\xf1\xb7\x9d\x0b\x19\x03\x35\xf2\x5e\x4b\xb5\xbd\xa9\xfa\x5b\xb8\x6f\x30\xf7\x0d\x6b\x41\xf0\xb4\x7b\xb4\x2b\xda\x7d\x0e\x18\x35\x08\xda\xe5\xc2\x6c\xfe\x78\x26\x83\xd3\x66\xba\x5b\x0f\xc3\x34\x77\xd8\xbb\x55\x9b\xa8\xbf\x13\xf6\x37\xd1\xba\xe4\xc6\x3e\xda\xaf\x01\x40\xaf\x63\x54\x88\xaf\x2e\xe4\x67\x4e\x02\x6d\x51\x66\x6e\xf2\x1b\x2e\x63\x5e\xa8\x7c\xdb\xf1\x8a\xc3\x8c\x67\xb8\x6d\xaa\x26\x34\x3c\xb2\xa5\x10\xb1\x9d\x05\xfc\x2a\x97\xf5\xa5\x84\x2c\xce\x77\xd7\x3f\x5d\x5c\xdd\xce\x2f\xae\x7e\x9e\x7f\xb8\xb9\x78\x7b\xf9\x17\x87\x1b\xcc\xb8\x6e\xd3\x12\xcc\x72\x61\xac\x8b\x25\xc5\x68\xb5\x2f\x28\xf0\x67\xdb\x21\x51\xa7\x64\x39\x93\xd6\xb2\xe4\xbe\xf9\x75\xae\xca\xd5\xba\xbd\xa1\x7a\x2f\x3f\x9c\xdd\xfd\xb8\x57\x37\x81\xb2\x08\x55\xc0\x70\xb7\x35\xf1\x93\xc9\x92\xec\x1e\x82\x2e\x6b\xdd\x03\xe2\x2d\xf8\x6a\x5b\x4c\xbe\xc3\xa2\xed\x75\x7b\x69\x1a\xad\x5e\xe7\xbf\xe5\xeb\x5d\x0b\xe8\x2e\xb0\x9b\x95\x63\x04\xf0\xbc\x28\x26\xd9\x68\xed\x75\xcb\xdf\x2a\x27\xd8\xef\x4e\x52\xb1\x5a\x89\x18\x97\x57\xbd\x61\x8a\x58\x91\x09\x8c\xfc\xb9\xde\x36\x8a\x24\xf7\x76\xc0\xc1\xec\xd0\x51\xc3\x0d\xf8\x07\xf7\x93\x76\x5b\x71\x6e\x25\xa5\x23\x25\x75\xc1\x65\x47\xda\xf5\xb1\x89\x67\x1c\x64\x8a\xae\x73\xe6\x4a\x85\x28\x40\x62\x03\xec\x7e\x1f\xec\x93\x70\x22\x59\x3b\x49\x11\x8f\x40\xee\x2e\xd0\xc0\x6e\x99\x04\x88\x34\xde\x58\x8b\xf8\xfc\xc1\x8d\xde\xab\x13\xf1\x34\x41\x60\x14\x75\x85\x08\xaa\x8d\xd1\x20\x10\xeb\xea\x84\xd1\x8e\x9a\x90\xda\x93\x7f\xa6\xa1\xc7\x5b\x6b\x35\x30\xcb\x2d\x13\x9a\x9b\x20\xe7\xbc\x8d\x8f\x6f\x55\xfc\x70\xdf\x72\x96\xab\xb8\x8c\x2c\x57\x0c\x34\xeb\xf1\x20\x14\xd0\xb2\x07\x6c\xcc\x4e\xcc\x34\xd3\x25\x45\xc4\x27\x80\xf4\x9e\xc9\xae\xe4\x8b\xb5\x01\x1d\x61\xae\x0f\xf6\xd4\x3a\x64\xee\x5b\x46\xbf\x7b\x0b\xda\xc1\x1e\x56\x71\xc9\xec\xd7\xc1\xd9\xeb\x80\xd3\xd0\xbc\x2c\x38\x66\x56\xab\xc7\x71\x17\x35\x84\xb3\xaa\xe3\x50\x3f\xc3\x40\x13\xd5\x52\x0a\x3c\x22\xd7\x5c\xa3\xe7\x5a\x44\xeb\x6a\xc7\xe1\x6d\xaa\x74\x6a\xf5\xee\x3a\x4f\xf0\xb0\x08\xc1\xa0\xfc\xca\x04\xef\xd4\x89\xa6\xde\x87\xd2\x58\x4e\xe7\x6f\xdc\xc2\x0f\x9d\x23\x77\x79\x41\xbb\x07\x06\x2b\xe5\xa5\x8c\xd6\x2c\x4b\x39\x56\x19\xaf\xb9\xc6\x25\x6d\x41\x06\x7c\x91\xa4\x49\x01\xf4\x2d\x98\xfb\xaa\x8d\xb0\xb9\xd1\xf0\xfc\xc1\x32\xa6\x72\xcf\xd5\xd3\xb7\xe8\x0f\x04\x73\x7a\x39\xf9\x2f\x09\xe7\xf4\x5b\x36\xf8\x45\x6f\xe6\xcc\x2f\x4b\x82\x72\xfa\xe9\x30\x16\x0f\x96\xa5\x7f\x97\x71\x33\x4b\x2d\x7e\xa8\xff\xbc\x32\xde\x2d\x07\xf5\x78\x28\x03\x51\x81\x8f\x30\xf3\x75\xa2\xf0\xd6\x9d\xb5\x4c\x15\xef\x10\xab\xb5\x6d\x23\xef\x77\x57\xdb\xb1\x2a\x17\x5d\x4c\xb3\xd8\xab\xfe\xd6\xfb\xe2\xfe\x76\xdf\x1e\x2b\x2e\x18\x1a\x40\x5e\x88\x22\x19\x17\xda\x08\x5e\x9a\x17\xe2\x04\x7e\xde\xde\x38\x95\x9e\x0d\x7e\xe7\xc6\x42\xf3\xea\x13\x8e\xcf\x16\x40\x66\xcd\xd5\xf5\xe7\x92\x1b\xd3\x70\xbd\xbc\x45\x3e\x91\x43\x16\x59\x91\x34\x57\x58\xfb\x4e\xac\x3f\xf5\xae\x9a\x54\x09\xd7\xc0\xe0\x6a\xcd\xb6\xb7\xb9\x35\xbf\x1e\xbe\x21\xab\x8a\xee\x59\x9e\x28\xe0\xd5\x20\x1d\xf9\x1e\x4a\xbe\xd6\xe7\x1e\x30\x92\x9f\x4a\x51\x0a\xb3\xf6\x17\x65\xbc\x6a\xc6\x36\x47\x78\x67\xfe\x95\xd6\xea\x89\x6d\xca\x68\xcd\x6c\xe3\x2c\x16\x29\xdf\x56\x5e\x0d\xfc\xa5\x42\xa5\x40\x72\xbb\x27\xe3\x66\x54\xea\x42\x6d\x00\x84\xe9\xdb\xcd\x4b\x09\x0b\x9e\xf1\xa2\xc8\x93\x45\x59\xb4\x02\xb6\x2a\x0c\x5c\x7b\x26\xb4\x6e\x3f\x5c\x9c\x5f\xbe\xbd\xac\x65\x93\xce\x6e\x7f\x0a\xff\xfd\xcb\xf5\xcd\x4f\x6f\xdf\x5d\xff\x12\xfe\xed\xdd\xd9\xfd\xd5\xf9\x8f\xf3\x0f\xef\xce\xae\x2a\x39\xa7\xb3\xbb\xb3\xdb\x8b\xbb\x1d\x69\xa5\xe6\x53\xbb\x27\x82\x07\x04\x61\x16\x16\x6a\x99\x92\xed\xed\x92\x9e\xfa\x9a\x9d\x59\xba\xb4\x0a\xa1\x9f\x4d\x0d\x42\xe6\x1d\x75\x83\x29\x83\xf8\x86\x17\x9c\x74\xd8\xa7\xec\x8c\x59\x3d\x7d\x00\x43\x6b\xe3\x2c\x10\x97\x94\x99\x1d\x6c\xc2\x78\x0c\x91\xbf\xb9\x79\x29\x38\xb5\x24\x16\xb7\x54\x84\xa4\xe1\xb6\xf2\x67\x26\x2f\x1e\x85\x2c\x4a\x60\x34\xe6\x69\xca\xac\xfc\x3b\x7d\x21\xa8\x6a\xb6\xbd\xd4\xc9\x26\x49\x79\xee\x55\xbb\xae\xa9\x2d\x70\xd8\x6d\x5f\x1d\x89\x4d\xb3\x64\xd6\x5e\x1e\xee\x2f\x19\xf4\xfb\xfc\xdd\x25\xb8\x40\x51\x61\x25\x29\xec\xc3\x67\x12\x59\xc2\xe8\x89\x1b\x0e\x00\xfd\x42\x51\x3c\x0d\x1f\x4f\x5f\xee\x5e\x88\xfa\x90\x4d\x6c\x23\xcf\xcf\x05\x02\x72\x9d\xb4\xff\x71\x21\x8b\x7c\x3b\xd8\xaf\xb9\x83\x8a\x54\x0d\xbe\x29\xe1\x7d\xaa\x4a\x5e\x18\xee\x60\xb6\xf5\x2b\x70\x76\x2c\x18\x8d\xa2\xf1\x2e\xe8\x2e\x80\x37\xb9\xc3\xff\x4e\xcd\x21\xf4\xad\x8e\x43\x48\x1a\x02\xa3\xb0\x50\xa5\x8c\x35\x21\x93\x36\x89\x3c\xdd\xf0\xcf\xaf\xec\x9b\x62\x11\xbe\xe3\xd3\x07\x82\x25\x91\x9a\x9b\xc8\xd6\x18\xb9\xfe\xe1\x9a\xc9\x9e\xf1\xda\xed\x2d\x5a\xcb\x0a\xd7\x1e\x7f\x47\x45\x8c\xd5\xa3\xd8\xb6\xcd\x5f\x43\x13\x05\x71\x5c\xb4\xe1\xa1\x91\x2c\x17\xe6\x8b\x0e\xc0\x95\x22\x2e\xcf\xfd\x1b\x80\xda\x15\xdd\xb6\x76\xdb\x1d\x66\x79\x0f\xda\x36\xad\xf9\xe5\x67\x10\xb5\xa1\x27\x99\x39\xc3\x6c\xb3\x0d\x74\x12\x30\x9d\xd2\x68\x66\xb2\xfe\xaa\x16\x6c\x09\x55\x1a\xa4\xcb\x9c\x0b\x08\x6c\xc3\x54\x58\x16\x66\xa0\xe1\x69\xa4\xb0\xed\x12\x48\x85\x86\x70\xaf\x34\xd7\x2d\xf1\xa9\xa4\x8c\xdd\x77\xbf\x1d\x77\xce\x16\xf9\x96\x59\xc6\xff\xb0\x4a\x84\x8a\xa4\xe8\xcc\x85\x7e\x95\x32\x69\xe3\xe6\xba\x29\xa5\x39\x8a\x8f\x01\x76\x18\x9e\xcd\xaa\x3d\x94\xfe\xb9\xb3\x90\xc2\x06\x62\x73\xfc\xfe\xb3\x51\x2d\xfe\x5c\x63\x58\xa4\xc7\x01\x6c\x97\x5a\x0f\x0f\xb4\x05\x8f\x1e\x9e\x78\x1e\x63\xac\x10\xd0\x07\x53\xf6\xa3\x7a\x12\x8f\x22\x9f\xb0\x48\xe4\x05\x27\x7a\x23\x0d\xe9\x57\xd8\x50\xd4\xce\x4c\x02\x8a\x1d\xb9\xa2\x24\x48\x5a\x17\xc9\x6a\x6d\xee\x93\x41\xf2\x5c\xe5\xc6\x1c\x15\xc8\x6c\x97\x89\x88\x08\x65\x3a\x06\x60\x99\xf2\xc7\x26\x5f\xd3\x3e\x95\xf0\xec\xd2\x95\xe2\xd9\xec\x94\x65\xb6\xef\x83\x3b\xd0\x80\x91\xd1\x44\x0a\x90\x09\x5b\xa9\x94\xcb\xd5\x74\x3a\x65\xa2\x88\xa6\xaf\x46\x2d\x74\x6a\x30\xcc\x77\x39\x08\x6a\xaa\x94\x16\xe9\xd6\x91\xa0\xb8\x22\x01\x33\xcc\x50\x23\xa2\x13\x0c\x79\xb4\x2c\xff\xdb\x7a\x45\xfd\x97\x0d\x9d\xb7\xdf\x54\x47\x97\xa0\x75\xb4\x03\x42\x39\x23\x5a\xc2\xef\xb7\xdf\xbc\xf6\x2a\xa9\xec\x60\x61\x55\x72\x6c\x9d\xe0\xcf\xaa\x4b\xf6\x79\x2f\x6e\xb2\xd6\x96\x88\xc8\x61\xaf\xda\xaa\xae\x88\x45\xad\xdc\xed\x80\x4a\xb7\x9e\xa2\xb5\x91\xf5\x6a\x2d\xfb\xae\x65\x5b\xd4\xa6\x7b\xf4\xb6\xd8\xcd\xdd\xdf\xfa\x42\x23\xeb\x01\x7d\xe1\xee\x18\xd7\x09\x4b\x8a\xd2\x2d\xdc\xb8\x5c\x75\x20\x44\x96\xe3\x20\x32\x5e\x09\xfc\x43\x9d\x8a\xcf\x1c\x38\x82\x9d\x20\x51\xa0\x0b\x95\xf3\x95\x60\x1b\x11\x27\xe5\xa6\xd5\xd8\xb8\xee\x1e\x82\xf6\x52\x69\xb9\xe9\xa6\x3a\x3b\xd4\x81\xf6\x9d\xc4\xff\x3a\x87\xc7\x0d\x76\xa0\xbd\xc0\xb9\x95\x50\xa1\xfe\x62\x18\x9c\xc6\xda\x9c\x94\x79\xa2\x81\x94\x6f\x9f\xb2\x30\xd7\x0c\x36\x0d\xd9\xba\x6d\x86\xe1\xd7\xca\xec\x9e\xd8\xec\x0e\xfd\x44\xe3\xac\x42\x8a\xaf\xfb\x50\xa8\x63\xc8\x46\xcf\x11\x08\x74\xec\x95\xd7\x04\xb7\x31\xa0\xca\x26\x90\x0b\x34\x48\x99\xf8\x42\xb1\xa5\x2d\x34\x7a\x10\x01\x75\x53\x0c\x24\xda\x4f\xc8\x03\xf2\xd3\xf7\xda\xe6\xec\x09\x56\xe1\x3d\x96\xc2\x3f\x04\x73\x03\x8f\xdf\x59\x34\x0d\xbe\x21\x36\x01\x04\x4b\x31\x97\x45\x6b\x03\x1e\x6c\x06\x6d\xe1\x4f\x7e\xe6\x65\xda\xfe\x75\x6a\x1f\xbe\x8a\x82\x3c\x67\xbf\xdc\x32\x1c\x6a\xa2\x5b\xce\xfb\x3a\x1a\x34\xb2\x1b\xcf\x03\xc3\x35\xdf\xc3\x13\xac\xcc\x03\x0e\xba\xe5\xdb\x36\xc3\x2e\x8a\x68\xed\x3d\x8f\xaa\xb2\x2e\xa9\xad\xd1\x7b\x6e\x3c\x81\x34\x42\x25\x43\xcc\x59\xb2\x92\x2a\xd4\x3e\x50\x52\x40\x92\xc6\x18\x20\x15\x36\xcb\x92\x62\x37\xb0\x67\x24\xab\xd2\xae\xa5\x56\x28\x04\x6c\xd0\x7b\x56\x72\x6d\x70\xa5\x48\x90\x8b\xc5\xa2\x22\xf1\x4e\x44\xe2\x5d\x75\x62\xe1\x6a\x75\xfb\x4c\x56\x1f\xd5\x18\x24\x8b\xbc\x49\x72\x81\x7c\xa0\xda\x78\x6f\x45\xf2\x68\x36\x6a\x73\x59\xbb\x05\x0a\x16\xa0\xb9\xf6\x66\x12\xbb\x1d\x90\x8a\x3e\x88\xad\x0e\x95\xc2\x68\x45\xb1\xae\x05\x99\x98\xf7\xa1\xf9\xda\x3d\x15\x30\x70\xf3\x40\xf9\x7c\xd8\x59\x86\x0f\x7d\x6f\x7e\xdc\x03\xe9\x6b\x34\x6e\xd6\xa0\xaf\xe4\xf2\x31\x45\x32\x13\x7e\x9c\x69\x0e\x3d\x6a\xa7\x45\x15\xdf\x87\x67\xe1\xe2\x6b\xee\xb7\x33\x49\xbc\xc3\xc1\x21\x67\x0c\x4e\x73\xda\xa8\xbc\x14\xd9\x4e\xb7\x15\x6a\x0c\xa0\x86\xb3\x34\x79\xd5\x47\xda\xbc\xa3\x15\x9a\x9c\x49\x92\xf3\x07\x3d\x7e\x8a\xe1\xb5\x3e\x70\x4f\x28\x18\x4d\x6e\x27\xfc\xcb\x5f\x61\x68\xe0\x88\x1d\x0d\x25\xe7\xf0\xf6\x13\x09\x33\x7c\x67\xb2\x15\x79\x65\x71\x57\xb7\x17\xe7\x37\x17\x77\x5f\x0c\x1e\x66\xb1\x59\xa3\xf1\x61\xb6\x9f\x6f\x2e\xde\x9e\xdd\xbf\xbb\x9b\xbf\xb9\xbc\x79\x0e\x80\x18\x7d\xb4\x07\x42\xec\x96\xe8\xcc\xcf\x95\x2c\xc4\xe7\x83\xce\xe4\xbc\x94\x73\x3e\xa2\x52\xc1\x09\x1a\xf4\xb9\x3b\xd8\x68\x93\x8e\xdd\x71\xa5\x13\x37\x1f\x9e\x68\x8e\x7d\x7d\xe9\x83\x86\xcb\x24\x4d\xa1\xcc\xd1\x85\xd7\xa9\x28\xc8\x0c\x2a\xd8\x1f\x4b\x47\x48\x36\x75\x26\x17\x15\xb6\x7c\x08\xf9\xad\xcd\x25\x18\x0b\x1c\x33\x33\x00\x79\x02\xe5\x63\x7d\x8c\xed\xab\x44\x0a\xdf\x0d\x94\x87\x2d\x25\xeb\xa4\xd9\xa5\x49\x7c\xce\x2a\x56\x72\xbc\x86\xfa\x9a\x76\xc5\x55\xd6\xa7\x75\x3f\xed\x87\xee\x0d\x71\x13\x27\x12\x1d\xd3\xca\x6e\xbe\x6d\x5f\xba\xa7\x7e\x0b\xc0\xb8\x9b\x99\xe4\x90\x83\x00\x05\x56\x3f\x91\x34\x11\xa8\xe4\xe2\x93\x13\x0f\x09\xa2\x68\xd4\xb2\x36\xce\xc6\x14\x9a\xb1\x4e\x20\x53\xc1\x89\xb9\x21\x4a\x4b\x5d\x88\x9c\xc2\x26\x67\xbf\xdc\xce\x24\xca\xf4\xd3\x29\x44\x6a\x1f\xf8\x08\xc4\x70\xa8\xca\xf3\xad\x87\x12\x5a\xb0\x97\x18\xa3\xde\x08\x2e\x35\xaa\x63\xa7\xa9\xc8\xfd\xca\xc0\xfe\x08\x11\x93\x42\x1a\x50\x55\xfa\xdf\x93\x40\xb2\x82\x5d\x6b\xfa\x4b\x9f\x92\x44\x70\x7d\x3d\x75\x55\xd1\x02\x40\xf4\x39\x57\x4e\x4b\x9d\xc2\xd0\x55\x44\xd8\xda\xd6\x45\x54\xad\x1a\x18\xb4\x96\xee\xb0\xb9\x5f\x97\xd2\x11\x97\xd2\x80\x73\x3d\x3c\x25\xd8\x5a\x19\x03\xea\xa4\x30\x7c\x9a\xd9\x55\xf1\xa7\x80\x7f\x32\xc3\xd8\x7a\xea\xd4\xe4\xe0\x0e\x38\x75\x50\xff\xed\x30\x38\xe7\x59\x0b\x5d\x88\xd7\x1d\xb2\xb9\x9d\x5e\xa5\xb9\xe7\xa1\xe5\x3a\xb3\x78\x3b\xa9\x0a\x5b\x60\xef\x20\x6e\x84\xd7\x33\x5f\x70\xcc\x0e\xbd\x7d\x24\xb6\x04\xeb\xa5\xcc\x0f\x54\x6b\xba\x0b\x71\x81\x95\x22\x4a\xec\x45\x28\xf8\x4a\x08\x62\x4f\x70\x30\x66\xf1\xed\xaf\x07\x58\x5d\x73\x8e\x2c\x6f\x2f\xb0\xc3\xd5\xf5\xd5\x45\x08\x55\xb8\xbc\xba\xbb\xf8\xe3\xc5\x4d\xa5\xfc\xf6\xdd\xf5\x59\xa5\x84\xf6\xf6\xee\xa6\x56\x39\xfb\xc3\xf5\xf5\xbb\x8b\x06\xe6\xe1\xe2\xee\xf2\x7d\xa5\xf1\x37\xf7\x37\x67\x77\x97\xd7\x95\xef\xfd\x70\x79\x75\x76\xf3\x9f\xe1\x5f\x2e\x6e\x6e\xae\x6f\x6a\xcf\xbb\x3f\xef\x47\x4f\x54\x5e\xa3\x3d\xfc\xe3\x93\xb3\x01\x6f\x60\xeb\x36\xae\xea\x25\x1e\xb0\x8b\x07\x82\xb0\x76\x2d\x47\x5b\x5d\x1b\x87\x74\xe2\xb8\x31\x4c\x57\x47\xad\xba\xe3\x0b\x3c\x56\x86\x2e\xe3\x87\x99\x3d\x73\xaa\xcd\x8f\x01\x8a\xeb\x75\x00\xdd\x53\x6a\x81\x5b\x5d\x40\x09\x12\x0e\x6d\x06\x19\xac\x15\xef\x94\x37\x91\xf1\xb3\xf7\xd4\x3e\x63\x57\x3f\x3d\x4f\xcd\x0e\xba\x8f\x63\x91\x17\xf4\x75\x3a\x78\x98\xad\x0d\x4e\x62\xeb\x28\xd8\x0f\x83\x83\x1b\x5e\xc3\xac\x9c\x60\x39\x76\x29\xf1\xb5\xd7\x38\xf4\x53\x4b\x8d\xed\x3f\x3d\xa4\xd9\xf7\x1a\xb3\xc2\x88\x7e\x03\x1f\xcc\x98\x7e\xdf\x71\xfd\x30\xb6\xdf\xf4\x90\x66\xbf\xc1\xed\xdb\xab\xdf\x10\xf0\x2e\xda\x59\x2f\x46\x18\xb1\xb0\x99\x6a\xf7\x5c\x49\xae\xfb\x4a\x20\x78\x39\xac\x8f\x66\x03\x3c\xef\xf5\x32\xe3\xc3\x13\x19\xd0\x1b\xb7\x5d\x79\x8d\x32\xf9\x16\x3e\x85\x37\x5c\xe4\x82\x3f\xc4\xea\x89\xe6\xa3\x8e\x0c\x65\x83\xac\x79\x75\x80\x8c\x0d\xb7\x47\x04\xc8\x64\x9b\x47\x22\x4a\xcd\x37\x0f\x30\xb9\x84\x48\x7f\xd1\x07\x0b\x94\x1a\xeb\xbc\x21\xc0\xd4\x22\xfd\xec\xcc\x24\x7a\xf3\x6d\x6a\x8f\x66\x56\x4d\x8f\xa8\xd2\x1f\x5e\xd5\xf9\xd0\x98\x5c\xd7\xc1\xc4\x52\x2d\x43\x99\x03\x98\x6e\x91\xc3\x9d\x09\x06\x24\x91\x10\x4c\xce\xcd\x85\x27\x17\x51\xa2\x45\xa0\x78\xd3\x7a\x62\x7f\x3a\x8c\x1f\xbf\xe0\x45\x6b\xd8\x75\x70\x3c\x9c\x47\x45\xc9\x53\xf6\xa9\x14\xf9\x96\xe8\xc5\x30\x56\x89\x7f\x89\xb8\xc4\xa2\x89\x42\x6c\x32\x28\xc2\x0d\xd1\xfe\x33\xf9\x0b\x00\x25\x70\x0a\x5e\x68\xf6\x47\x80\x3c\xd8\x2f\xd3\x21\xbc\xe1\x05\x9c\xc5\x7f\xc6\x67\xb8\xcf\xa6\x33\x59\x51\x90\x08\x7e\x55\x11\x93\x98\xce\xa4\xa5\x70\x8f\x55\xa4\xa7\x70\xe3\x9b\xaa\x7c\x75\x4a\xe2\xa7\x66\xb1\xab\x87\x85\x52\x0f\xa7\x42\x9e\x42\x4c\xaa\x38\xe5\x65\xa1\x4e\x01\x2e\x85\xf3\xaf\x4f\xad\x46\xa2\x15\x99\xd4\xa7\xeb\xe4\x51\xc0\xff\x9b\xae\x8b\x4d\xfa\x6f\x3a\x5b\x7f\x3e\x59\xa5\xf9\x89\xf9\xed\x49\xf8\xdb\x13\xfb\xdb\x13\xfb\xdb\x13\xf3\x33\xfc\x7f\xd9\x16\xd3\x3b\xe2\x33\x37\x67\xd9\x64\x26\x13\xa9\x45\x5e\x80\xf7\xf3\x94\x27\x85\x97\xea\xd8\xb2\x17\xff\xf3\x3f\x6c\x9a\xf3\x27\x2c\x9f\x7b\xc3\x0b\xfe\x01\xe3\x8b\xff\xf8\xc7\x0b\x48\xa8\x62\x7d\x4b\xc6\xf3\x4f\xa5\x28\x66\x52\x0b\xb3\x09\xd9\xff\x37\x93\x90\x81\xdd\x6c\xe7\x05\xc6\x5d\x31\x06\x19\x6b\xf6\x1f\xd8\xe6\x25\x52\xed\xc5\xda\xb4\xd4\x81\xac\x4f\x78\xda\x22\xab\xdb\x11\xa2\xff\x94\xbe\xa1\xef\x8f\xd8\xd6\x9f\xd2\xea\xae\xb6\x62\x11\xfa\x53\x0a\x07\x68\xaa\xb8\x05\x6b\x31\xb7\x78\xe1\x9e\x4c\x9d\x6b\xdb\x23\x0d\x68\xc0\xb3\xa6\xe9\xdb\xf7\xca\x2d\xd2\xfd\xda\xc8\x7d\xc3\x8c\x40\xae\xc0\xe7\x21\x20\x7b\x9e\x98\x1d\x72\x8b\x91\x50\xf0\xdc\xf0\xcd\xc1\x27\xa5\xd4\xb9\x6b\x0f\x03\x17\xfa\xf7\xaf\x4f\x4f\x27\x6c\xa5\xe1\x7f\x16\x9f\xe0\x7f\x00\x3d\x74\x2c\xc6\xca\xc6\x60\x3a\x20\x5c\x73\x96\x77\xcf\xc4\x31\x50\x74\x5f\x82\x24\xb9\xb6\x4c\x7f\x28\x65\x9c\x0a\x5f\x0d\x58\x49\x89\xa4\xca\xca\x7a\x63\x60\xac\x2e\x47\x01\x73\xbc\x10\x11\x37\x86\xaf\xf1\x6c\x04\x97\xaa\x65\x21\x24\x46\xc3\x72\xaf\x56\xc5\x31\x72\x05\x6e\x31\x40\x21\x79\x41\x90\x73\x01\x7f\x84\x87\x00\xeb\xf0\xa4\xfe\x11\xdb\xaa\x92\x08\x74\x81\x16\x32\x16\x51\x0a\x2c\xe5\x96\xec\x83\xe5\xa2\x28\x73\xc9\x38\xcb\xb8\x8c\xb9\x86\x15\xb8\xcc\x21\xdb\x99\x33\xde\xec\xe8\x04\xe1\xb8\xaa\x2c\x80\xc2\x06\x91\x05\xe1\x48\x20\xc3\x71\xd0\xe7\x49\xd0\x09\x3c\x13\x80\x68\xb5\xf1\xc3\xe9\x4c\x5a\x3d\x25\xc2\xc2\x61\xa4\x2c\x52\xd9\x96\x08\x4a\xea\x83\x9e\xd8\xc8\x19\x0d\xf7\xc4\xe3\x4d\xea\xdf\x9d\xb0\xa4\x9a\x5a\x03\x32\xe5\x22\x50\x84\xb5\x9a\xba\x2f\x85\x8c\x54\x2c\x72\xfd\xca\x6c\xc3\xc4\xdd\x3b\xd0\x7f\x48\xb4\x9f\x0c\xb0\x52\xe6\x70\xa3\x68\xa1\x69\xde\xa9\x8e\x98\xd1\xa9\xd0\xef\xb6\xf9\x39\xbb\xb7\xca\xb7\x8e\x82\x69\xeb\x2f\xfd\xe7\x17\x45\xc4\x84\xb8\x4e\x7b\xe7\xdc\x3f\x04\x81\x5b\x36\xb4\xb8\xd8\x28\xfa\x38\xe4\x9c\x58\xf9\xcd\xa4\x00\x85\xaf\x5c\xe8\x62\x26\xe9\x04\x9e\xb0\xa5\xe0\xc6\xcf\x9b\xb0\x48\x3f\xa2\x31\xc6\xe3\xbe\x78\x52\x1e\x83\x63\xb5\x1b\x00\x0c\x5b\x69\xdc\x07\x89\xf1\x6b\x80\x28\xe0\x51\x81\x00\x83\x4e\xa5\x66\xeb\xaa\xc0\x60\xb5\x1a\xc4\x3d\xc6\xc1\x4a\x01\xd4\x65\x77\x42\x25\x0a\x18\x89\x2d\x26\x8a\x59\xbd\x1f\xf8\x81\x31\x3c\xf8\x76\x08\x03\x09\x8c\x23\x78\xdc\x84\xa5\xc5\x7d\xe6\x73\xb8\x21\x1f\x33\xc4\x66\xba\x36\x55\xcf\x40\x40\x07\xf6\x8b\x5b\x98\x9f\xee\x0c\x58\x69\x91\x5b\x9d\x02\x7c\x57\xe4\x83\x5b\x27\x79\x7c\x92\xf1\xbc\xd8\xda\xe5\x9b\x26\x0b\xa0\x37\x4f\x93\x07\xc1\xce\xf2\x5c\x3d\x1d\x7b\x14\x3a\x4d\x4b\xd7\x0d\xfb\x10\x24\xfb\xd8\x5b\x7e\x2b\x1b\x64\x3d\xdc\xb1\x1f\xf3\x64\x57\xe0\xa3\xf5\x39\xb9\x28\xf2\xed\xdc\x2c\xc4\x4d\xd6\x69\x29\x06\x15\x4d\x0c\x77\x72\xc7\x91\x5a\xd6\x42\x18\x9d\xa4\x96\x95\x59\xfd\x76\x48\x2d\x5b\xf8\x2a\x9b\xa4\x96\x97\x57\x97\x77\x97\x67\xef\x2e\xff\x6f\xad\xc5\x5f\xce\x2e\xef\x2e\xaf\xfe\x38\x7f\x7b\x7d\x33\xbf\xb9\xb8\xbd\xbe\xbf\x39\xbf\xe8\x67\xa9\x69\xf6\xde\xbb\xe0\x27\x2c\x7c\xce\x6b\x76\x17\x00\x35\xb0\xd8\x80\xfc\x6f\xd2\xf7\x83\x55\x65\x36\x73\x22\x57\x13\xd8\xa8\xaf\xd9\x45\x9e\x5f\x6e\xf8\x4a\x7c\x28\xd3\x14\xe0\x54\x58\xd9\x73\x9e\x0b\xb8\x78\x4e\xd8\x07\x15\x5f\x06\xbf\x83\x72\xc4\xd6\xd7\x80\xe7\xf3\x38\xce\x85\xd6\xf8\xf8\x09\x3d\x3f\x00\x0f\xb9\x52\x47\x02\xcf\xf1\x47\x9e\xa4\xe6\xfe\xf6\x9a\xfd\xc0\xa3\x07\xb5\x5c\x62\xf9\xcc\xc4\x15\x4e\xb1\x4f\xa5\x2a\x38\x13\x9f\x23\x60\x66\x6a\x5f\x27\xef\xd4\xea\x2b\x40\x95\x07\xa4\xa7\x3a\x2e\x29\xa0\xe3\x34\x6f\x3f\xce\xdb\x0d\x01\xbd\xe5\x7b\xfc\xe9\x5b\xfc\x65\x7b\x80\xb2\x48\x8f\x50\x29\xfe\x4e\xad\xda\x55\x35\xc0\xbb\x26\x29\x10\x4a\x24\x44\xc4\x3b\xa1\x56\x4c\x27\xf2\x61\x26\x7f\x59\x0b\xc9\x54\x99\xe3\x9f\xe0\x9a\x6f\xdc\xcc\xb4\xd4\x6b\x01\x32\x9b\x13\xf6\x24\xd8\x86\x6f\xd1\x6d\x86\x3b\x81\x93\x02\x80\x25\x03\xa7\x88\xf9\x75\x9a\x48\x63\x2d\xb2\xc4\xd6\x25\xd4\xa7\xfe\x18\x37\x2e\xcb\x4b\xc6\x0f\xa7\x0d\xed\x3b\x4f\x2b\xf8\x3c\x08\x95\x79\xdc\xa4\x05\x08\x91\xe5\x06\xa5\x41\xa5\x1e\xca\xcc\x33\x18\xbe\xb0\xc9\x49\x18\xee\x47\x95\xc4\x2c\x2e\xb3\x34\x89\x9c\xdd\x7d\x52\x79\x27\x4d\x2b\x16\xd0\x0c\x3f\x75\xea\x65\x61\x7d\x2f\xd6\x52\x9d\x13\x20\xe9\x7a\x08\x5b\x9f\x99\xb2\x96\x25\x32\x4a\x4b\xd0\x50\x2a\xb5\xc8\x4f\x8a\x3c\x59\xad\xc0\x01\xb7\xb5\x7e\xdf\x3e\xa7\xad\xe7\xcc\x3b\xbc\xac\x2d\x2c\x3a\x4f\xd5\x2a\x89\x78\x1a\x82\x9b\x3d\x2a\xc2\x91\x66\xda\x6d\x4f\x0a\x93\x50\x07\x61\x3b\xd4\x49\x06\x94\xe5\x02\x78\x5b\xe7\x60\xca\xe7\x64\xee\x0e\xe9\xf7\x92\x99\x0b\x3a\xf6\x2b\xa4\xb4\xb4\xe9\x05\x7b\xc2\xf9\x67\x5b\x99\x21\x14\xd6\x07\x09\x62\xa6\x9e\xa4\xc8\xc1\x83\x05\xd8\x87\x79\x53\xa9\xc0\x37\x71\xd2\x43\x0e\x9f\x6c\xa5\xb7\x96\x0e\x88\x8d\x95\xb3\xab\xe4\x51\xc8\x2f\xcf\x41\x1c\x3c\x20\xe2\xd1\x5a\xcc\xad\x5f\x7e\x6c\x93\xe5\x0e\x80\x91\xc6\xca\x6a\x00\x84\xa6\xd4\xa5\x37\xe1\xea\x84\x3d\x6e\xda\x2e\x4c\x24\xf6\x54\x64\x99\x4e\xcc\x63\x11\x3d\x7c\x71\xd3\xec\x41\x56\xb6\x23\x8c\xb3\x37\x22\x7a\x60\xf7\x37\x97\x58\x0d\x9c\x14\xcc\x98\x02\xbd\xf6\x9a\x26\x9d\x77\xb7\x82\xaf\x9e\x81\xdc\x68\xa8\x28\x8b\x67\x16\x77\x52\x54\xa6\x43\x04\x88\x82\x7a\x49\x63\x24\xa9\x96\x06\x80\x60\xbc\xb0\x52\x1d\x10\x88\x67\x7a\x03\xca\x1c\x65\x11\xc8\x59\xa5\x7c\x21\x52\xdd\xfe\xc2\x99\x8a\xe7\x36\x4f\x72\x28\x98\xa7\xd1\x96\x8d\x63\x50\xd6\xd1\xd6\x31\x70\xe3\xb1\xde\xd1\x17\xd9\xc3\xf7\x3a\xa0\xd7\x50\x21\xdd\x2f\xdc\xeb\xb9\x16\x35\x7d\xf7\x64\x49\xfa\x21\x58\xd0\x0f\x4a\xd9\xc6\x5e\x9a\x96\x3e\xa8\x98\x60\x7a\x8e\xcf\xcb\x78\x41\x82\xa2\x27\x1e\x57\x11\x76\xc1\xa9\x89\x6b\x88\x0d\xe8\x42\xf0\x98\xa9\x25\x45\x13\xb3\x2c\x4d\x80\xc8\x35\x46\xce\x68\x60\xcf\xd0\x55\x74\x7c\xd8\x9a\xed\x6c\x40\xf2\xf1\xc1\x02\xf1\x7a\xf3\x8d\x3e\xc9\x65\xde\xab\x1a\xe4\xae\xfb\x54\x87\x2a\x65\xb9\x7a\xa4\x7d\xaf\xd0\xfd\xd1\xb4\x55\xaa\x16\x30\x50\xdd\xa0\xb8\x1e\x03\x6d\xac\x53\x9e\xc4\x63\x8e\x77\x3b\x26\xd7\xee\xa7\x7d\x1d\xbc\xb6\x91\x0e\xf7\x24\x3b\xcd\x8c\x68\xb6\xc3\x0c\x7e\xad\x8c\x7d\xd7\x5d\x1b\x12\x84\xda\x65\x08\x9d\x37\x6e\x49\xe6\x61\x57\x38\x73\xdc\x71\xad\xae\xbe\xcb\x41\x13\xdd\x24\x46\xd9\x31\x96\x9e\x4b\xa5\x7f\x92\x0f\x60\xb7\xc0\x9d\xeb\x28\x2e\xc6\x30\x05\xdb\xa9\x43\x8c\xaf\x19\x4f\x3f\x89\x95\xe2\x8b\x41\x33\x5a\x1f\x77\xbb\x8b\x0f\x19\xf2\xe7\xd8\x51\x65\xa1\x7c\xc8\x1f\xde\xe7\x12\xf8\x33\xc3\xb2\x2e\x30\x1b\x97\x71\x07\x5c\xc0\xfa\x60\x76\x6b\x8e\x00\xa1\x8e\x82\xc1\x66\xb9\xb0\xc9\xa3\xad\x28\x5c\x71\x7f\x6a\x95\x93\x20\x37\xe2\xde\xba\xca\x6e\x62\x09\x0c\x1c\x23\x15\x64\x32\xc8\xdf\x8b\xd4\x26\x53\x12\xb0\x29\x58\xaa\x34\x93\xd4\xb8\xd5\xbf\x75\xe9\x95\x4a\xbd\xdb\x84\xa2\x5a\x58\x3d\x21\xb4\x4a\x1f\x29\x8f\x16\x10\xcf\x83\x72\x96\xe9\xe0\xb9\xb9\x20\x98\xeb\x30\x24\x78\xc9\xbc\x03\x1c\xbc\x26\x02\x9b\x8b\x55\xa2\x0b\x11\x96\x08\x86\xbf\x3f\x9a\x5e\x5f\xe5\x06\xdd\x37\xf4\x9d\x7a\x7d\xbb\x5c\x61\xb3\x6b\x47\xf4\x67\x9b\x89\xf8\xd2\xfd\xae\x7f\x31\xd4\xaa\xb8\xbd\x91\xa8\x9c\x02\xb8\x06\xf0\x0a\xa0\x91\xef\x49\x3b\xca\x78\x37\x49\xc4\xc4\xc3\x3d\xaa\xcd\x4c\xd1\xaa\xe4\x39\x97\x85\x10\x7a\x26\x29\xfb\x88\xbc\x65\x21\x35\x47\x0d\x0d\xe7\x1c\xdc\x48\xe9\x02\x69\x80\xe0\x27\x4b\x9e\xa4\x65\xde\x79\xe7\xc4\x55\xb9\x17\xf7\x40\xdf\x28\x9d\x43\xb3\xac\x6d\xd2\x5c\x15\x6b\xb0\x8b\x1c\x75\x46\x3d\x77\x58\x2d\xf2\xec\x78\x05\x6b\x72\x87\xcf\xb7\x0b\x38\x76\x14\xb6\x7e\xaf\xe7\x99\x1a\x61\xf1\x7e\xfa\x5e\x7f\x50\x1d\x25\xc1\xfa\x53\x23\x30\xd6\x93\x43\xff\xd4\x45\xa2\xcf\xf5\x03\xa4\x9f\x76\xdd\xc7\x77\x07\xd9\x7f\xff\xbb\xdd\x49\xaa\x4e\xdb\x05\xab\x76\xcd\x65\x9c\x9a\x7b\x2a\x2f\x6a\x27\x90\x07\xfb\x1a\xbf\xb8\xb0\xc6\xb1\xbb\xb2\x0b\x0a\x25\xe6\x51\xa3\xca\x6e\xd7\x38\xd5\xca\xf3\x7a\x01\x75\xb5\xa7\x54\x8b\xe6\xda\x8a\x35\xfc\xc9\x4e\x42\x8f\x6e\xc3\x76\x2f\xc1\x65\xb2\xfa\x06\x2e\x59\xef\x9b\x96\x32\xa2\xad\x48\xe7\x97\x43\x7e\x1f\xb8\x19\xa1\xc8\xc6\x18\xb3\x90\xa7\x77\x26\x49\x07\x16\x33\xaf\x90\x72\x43\x2e\x2a\xcd\xbe\x73\x95\x97\xdf\xfd\xbb\x65\x22\xda\xb2\x25\x8c\x35\xd0\x7d\xa9\x28\x2a\x73\x48\x8b\x52\xe8\x86\x09\x3c\x9b\xc6\xd0\xa9\x9f\xe1\x89\xec\xc0\x2c\xe8\x3e\xb5\x79\x0f\x2e\x56\x57\x79\xa9\x3b\x08\xd1\xa0\xa2\xad\x3b\x0b\x49\x7a\x25\xd7\x05\xd3\x85\xc8\x5a\xad\x52\xc5\xe9\xaa\x8a\x36\x1f\xe0\x76\x79\xc9\xe8\x81\xbe\xee\x08\x1b\x7d\x16\x5c\xa7\xff\x74\x7b\x7d\xc5\x32\xbe\x05\x5c\x58\xa1\x48\x6d\x1b\xc8\x18\xeb\xfb\x77\xd7\x0c\x54\x5f\xbe\xba\xd9\x70\x4c\x2d\xc0\xb4\x3d\x76\xcb\x9d\x9a\x7e\xcd\x0e\xc1\x9a\xa1\x25\x69\xb6\x72\xae\xd2\x93\x2c\xe5\x32\x80\xfe\xea\x29\xab\x3d\x3e\xcc\xf5\xba\xac\x0f\xa1\x69\xa0\x03\x10\x4e\xa1\xb5\x90\x97\xad\xe0\xd0\xaa\x0e\xf5\x41\xe9\xdd\x4e\x1b\xd1\x0b\x7a\x7b\x8f\x74\xfa\x3c\x32\xdb\x04\x99\x05\x6c\xca\xda\xa1\x1e\xb8\x06\x40\xe2\x88\x89\xea\x17\xcd\x9e\x49\xab\x89\xaa\x9e\x34\x8b\x91\x7b\xa1\x4c\xf4\x1a\xe2\x93\x98\x10\x00\x70\x10\xd9\x17\x44\x2e\xe4\x5c\x6a\x33\xa1\x10\xd3\x14\x8f\x82\x02\x1b\x95\x64\xdc\xe5\x9b\x77\x2e\xbf\x8f\x93\x44\x42\x5c\x1d\x43\x1f\x38\x66\x87\x5c\x60\x5a\x55\x9c\x77\x73\xdc\xbf\xe7\x59\x5f\xd5\xd8\xc1\x2d\xee\x9a\x25\xc7\x3c\x53\xf7\x3a\x41\x5f\x16\xb4\x79\x2a\xa5\x63\xe1\xe8\xdd\xcb\x03\xcd\x4f\x2b\xe9\xf5\x6e\x7e\xfd\xc1\x97\xb0\x61\x95\x80\x23\x6c\x4f\x40\x02\xe7\xb0\x35\xce\x5f\x36\xbb\x1c\x94\x4f\x80\xbd\x0a\x23\x69\x53\x76\x2b\x04\xfb\x08\x23\x65\x1e\xf6\x91\x94\xb5\x00\x2e\x58\xf0\xa4\x55\xf8\x04\xbe\x7d\x29\x97\xea\x30\x63\x90\xaf\x1a\x70\xb4\x83\x46\xa5\xbd\x9f\x87\x02\xde\xa0\x94\x51\x3e\x6f\xfd\x7d\xeb\x7b\xed\x80\xb7\x7d\xf0\x77\x72\xaa\xca\xb3\x3d\x35\xe7\x33\x4c\xf1\x7e\xc2\xff\x95\x45\x62\xde\x72\x82\xac\xc5\x0f\x52\x3d\x49\xf4\x05\xe8\x49\xec\xa5\xd9\x7f\x70\x80\x61\x00\x15\xdd\x82\x12\xad\xe1\x2b\xa0\x51\x3e\x73\xff\x66\xb7\x98\x2b\xc2\x3e\x83\x4e\x88\x06\xe7\x87\x14\x3e\xc0\x9a\xbf\x3c\x9b\xb0\x1f\x26\xec\x7c\xc2\xa6\xd3\xe9\xab\x09\x13\x3c\x5a\xdb\x1e\xe1\x4f\x10\x39\x56\xf0\x95\x69\x9b\x94\x13\x96\xc1\x03\x40\xf6\xc6\x1c\x56\x96\x2d\x8c\xfb\x6f\x05\x91\x07\xfb\x0a\x58\xc3\x48\x05\x17\x94\x57\x8f\xd6\x2a\xf1\x9d\x02\x88\xa6\x88\x54\x6e\x41\x9e\xba\x50\xb9\x05\xac\x3d\xf2\x9c\x27\x12\x4a\xbb\x79\x13\xae\x4b\x4f\x0e\xc8\x9d\xc5\x67\xbe\x81\xf7\x4f\xa4\xe3\xb7\x34\xc3\x74\xe7\xfa\x5f\x6c\x33\x0a\x48\x3f\xe5\x49\x51\x98\xd3\x59\xcf\xe4\x2d\x7b\xfd\x1f\xec\x2c\xcb\x52\xc1\xce\xd8\xdf\xd9\x0f\x5c\x72\xc9\xd9\x0f\xec\xef\xec\x9c\xcb\x82\xa7\xaa\xcc\x04\x3b\x67\x7f\x37\xc3\x66\xda\xbb\x52\xe6\x38\xdc\x4e\x18\x67\xb2\x4c\xf1\xd4\x7f\x69\xc1\x60\xaf\xdc\x7b\x71\x3f\x3b\x0b\x51\x3c\x09\x21\x99\x56\x1b\x3a\x0a\xff\xe2\x72\x12\x3a\x91\xab\x54\x14\xb4\x1e\xaa\xb0\x3d\x7c\xc0\x09\xbc\xe9\xeb\x99\x74\xb1\xbc\xbf\x98\x1e\xff\x85\xfd\x9d\x5d\x95\x69\x6a\xba\x64\x0c\x8d\x59\x48\xaf\x99\x2d\xa3\x10\x72\xfa\x94\x3c\x24\x99\x88\x13\x0e\x85\x14\xe6\x5f\xa7\x77\x30\xdb\xf3\xd2\x73\xe6\x85\x7b\xda\x69\xaf\x1c\x62\x7a\x9e\xa5\x28\xdb\x49\xf0\xd8\xc9\xef\xb9\xf9\x55\x7f\x3a\xde\x23\xf2\x4c\xa1\xb4\x1f\xc8\x61\x45\xdd\x9c\x50\xea\x67\x2f\x13\x50\x3b\x6c\x6d\x5b\x2d\x47\x41\x78\xa8\x1f\x6a\x64\x41\x39\xea\xe8\x77\xc8\x01\x32\x3e\x43\x4d\x6e\x43\x84\xa4\x52\xe6\x0e\xbe\xa4\xa7\xfa\x19\x94\x15\x72\xe2\x23\x3f\x57\xa5\xb3\x2a\x43\xac\x92\x41\x1a\x63\xb5\xce\xde\x53\xec\x02\x0b\xd4\xcc\x36\x4d\xd2\x53\xb3\x55\x4f\xaf\x94\x34\xd7\x56\x9d\xac\x90\x9e\x08\x60\x44\x1a\x08\x59\xad\x53\x70\x57\x75\x59\x83\x2d\x00\xfe\x81\xe9\x12\x42\xdb\x0a\x63\x05\xcc\x14\xa4\xdb\x99\x34\xbf\xa0\x13\x09\x60\xee\x89\x63\xb1\xc5\xa7\x59\x35\x73\x7a\x16\x19\xe4\xa0\xf1\x96\x05\xd6\x57\x43\x7b\xc0\x82\xa3\x92\xad\x03\xa2\xe2\x57\x01\x83\x1b\xb5\x66\xe9\x3d\x30\xef\xb9\x10\xa9\x92\x2b\xb3\x2a\xba\x8c\x80\xda\xf0\xe4\x10\x60\x49\xd8\x05\x6c\xac\xb3\x07\xe6\xb0\xa4\xaf\xd0\x94\x98\x73\x32\x89\xfd\xfd\x5e\x97\x0b\xe3\x47\xb8\x88\xac\x3b\x0d\xe9\xe5\xba\x0a\x8a\x0f\xcb\x2f\xdf\x6b\x91\x03\xcd\x32\x22\x1c\x5c\xb4\x1f\x0f\x4e\x4f\xb6\x81\x6f\x34\x6c\x53\xf5\x02\x63\xdb\x43\x21\x94\x4d\x68\x94\x56\x0f\x58\x8f\x5f\x13\x23\xfb\x9c\x72\xf0\xad\xda\xef\xf0\x3d\xd3\x1a\xfd\x69\xac\xbe\xbb\x1d\xbd\x63\xc0\x07\x3f\xa1\xdc\xcb\x5c\x2d\x6d\x25\xe5\xf0\x33\xbd\x21\xb8\x33\x0c\xa5\x12\x92\x6c\x87\xc2\x34\xcd\x85\xd3\x59\x0f\x2e\xe7\x94\x91\x18\xd6\xd9\xfa\x80\x5d\xcb\xb7\xf8\xf3\x0f\x2a\x4d\xa2\x7e\xd0\x9b\x3d\xae\xd6\xea\xa9\x05\x45\xb4\x10\x80\x02\xa5\xf8\x0f\x75\x0a\x3d\xf4\x42\x44\x85\xcf\xb8\x35\x5f\xee\x7f\x35\xd0\x66\xf7\x1d\x1c\x23\xca\x6e\xd8\x40\xf4\xd1\xe5\xf0\xe0\x6c\x05\x82\x4d\xe0\x95\xc7\x58\x2b\xd4\xd2\x41\x6e\x3b\xe2\x14\x82\xae\x8c\x3c\x18\xe8\xa7\xb5\x4a\xcd\x5d\x4c\xc6\x44\x56\x3a\x93\x99\xc8\x23\x05\x00\x15\xac\x83\x57\x2c\x5a\x27\x69\xec\xc5\x5b\x5e\x02\xa2\x17\x70\x77\xaf\x48\xa1\x4e\xb8\x1c\xb3\x6d\xbe\xe7\xd4\xb5\xcb\xce\xaa\x54\x1f\x16\x81\x3a\x1e\x44\xaf\x6f\xd9\xff\x42\x50\x32\x1c\x0a\xa2\x17\xaa\x65\x0b\xcd\xa0\x57\xfa\x33\x2a\xc2\x0b\x3a\xd2\x4b\xab\x83\x69\x2f\x4e\x45\x6d\x5e\x69\x99\xd5\x87\x12\x48\x67\x11\x45\x85\x00\x12\x2d\xa0\x3b\x1b\xc1\xd1\x17\xf3\x14\x90\x34\xa9\x33\xe9\xf3\xa3\x2f\x74\xe8\x97\xb5\xce\x33\x72\xaa\x5a\x10\xe0\x84\xbd\xa8\xbc\xe8\x0b\x20\x25\x95\x0a\x9e\x47\x39\xac\xca\xd0\xc0\x72\x9d\xb0\xa4\x98\xc9\x44\xe3\xca\xcc\x45\x2a\x1e\x4d\xef\xc2\x60\x31\x61\x5d\xec\xdd\xd9\xbe\x36\xe0\xc8\xb9\x2d\x3f\x76\xe2\xe6\xb0\x09\xf3\x90\xdc\x92\x43\x60\x3a\x16\xda\xf8\x8d\x20\xcb\x21\x3e\x9b\x0d\x90\x40\x2e\x04\xe1\x1f\xb1\x90\xb6\x7f\x80\x0a\x41\xfd\xd4\x99\xbc\x5c\x42\x0d\x28\x54\x9e\xc6\x31\xde\x42\xad\x50\x83\x63\x1a\x4b\x28\x38\xac\xe8\x4e\x6e\x27\x82\x04\x16\x71\x27\x89\x47\x91\x6f\x0b\x08\xea\xc2\xb8\x4a\xc1\x8b\x35\x4b\x8a\x09\x50\xc4\x59\x4b\x39\x93\x3c\x26\x7d\x6a\x6a\xce\x0c\x0d\xac\xfb\x9e\x79\xa6\xcf\x17\xea\xb1\xcf\xb1\x3d\x14\xf5\x85\xbb\x3a\x4b\xb9\x9c\xe3\x09\xf2\x15\x70\x5f\x81\xf6\x65\x57\xaa\xb3\x5c\xcc\x1d\xad\xcd\x51\xfa\xe9\xec\xfd\x4d\x45\x91\xd6\xf8\xb1\xf6\x41\x13\x5c\x0c\x9e\xd6\xda\x5e\x4f\x5c\x9c\x86\xd0\x05\x39\xb3\x19\xd8\xe1\x56\xc0\x43\xc2\x78\x0d\x89\x60\x57\xeb\x2e\x4c\x98\x5d\x01\xdf\x2a\x3e\x69\xc8\xcc\xd7\xce\x90\xfa\xb4\x8f\x87\xc6\x34\x3c\xc4\xbd\xe0\x31\x3b\xba\xf5\xbc\x10\x99\xce\x38\x4a\x13\x2a\x63\xdf\x36\x48\xf7\x61\xf1\x84\xc0\x38\x9c\x0b\xf3\xb4\x6b\x9b\x86\xf7\x30\xd5\x82\xad\x3c\x66\x8c\x1a\xec\xd4\xd0\x48\x89\xaf\xbd\x86\x7e\x4d\xd9\xa5\x64\xd6\xdd\x9b\xb0\x17\xb8\xb0\xf4\x0b\x0a\x41\x92\x40\x2e\xe5\xce\x63\xda\x3d\x54\xad\x5a\x87\x62\x60\xcd\x80\xdf\x6e\x98\x09\xea\xa5\x36\x7c\xd6\x71\xf9\x21\x81\x9a\x85\x7d\xca\xd2\x31\x8b\xb8\xc0\x06\xe8\x90\xc4\x6b\xf7\x16\x9d\x76\xe5\xa3\xd9\xfe\x85\x6d\xbe\x8b\xfd\x60\x7f\x68\x86\x28\x2b\xe9\x3c\xb5\x9f\x33\x95\xcf\xa4\x6d\x8d\x42\x92\x1a\xb5\x94\xea\x4d\x05\x10\x6a\xf2\xf9\x83\x95\x0a\x20\x06\x2b\x9f\x05\xaa\x6c\x9e\x7f\xb5\x6e\x05\x00\x14\xb1\x10\x5e\xda\x7b\xca\xce\xfc\xd3\x8c\xe3\x61\x16\xf8\x06\x8f\xf9\x3a\x47\x63\x9a\x9a\x41\x49\x0a\x4b\x09\x19\x94\x37\xe8\x12\x88\x4d\x97\xa5\x31\x46\x01\xfb\xeb\x4c\x9a\xc1\x63\xcb\x04\x70\xbf\x34\x2e\x33\xf9\x5e\x69\x5b\x4d\xaf\xfd\x78\x58\x0c\x29\x0d\xdb\x0b\xa7\x22\x46\x7f\x78\x03\x87\x36\xc5\xfc\x6b\xb2\xf2\x50\xd7\x42\x94\x18\x5b\x55\xe6\xfe\xa5\x22\x2e\x67\xf2\xaf\x66\x78\x50\xd4\xd9\x29\xa2\xab\x25\x6e\x61\x2b\xc3\xcf\x5e\x7e\xc4\x46\x5f\xfe\xfb\xab\x8f\xaf\x10\x87\x5e\x6a\x10\x6e\x9c\x54\x0f\x10\x47\x04\x5e\xa6\x29\x64\xa2\xed\x1b\x38\x32\x0a\xff\x08\xde\x07\xcb\xa1\x4b\xdd\x5c\x56\x5d\x8c\x21\x1b\xbd\x6f\x05\xfb\xe0\xf3\x19\x8b\x78\x11\xad\x4f\xac\x2f\x47\x66\xcc\x9e\x7e\x34\x7d\xa8\xe0\x66\x3c\xad\x76\x2e\x6c\x73\xe1\xcc\x37\x8e\x9d\xaf\xb2\x5e\xcc\x2b\x00\xb0\xe6\xae\x2e\x0c\xe3\xc8\x43\x71\x71\x7a\x4d\x72\xef\xe7\xb9\xaf\x5b\x59\x36\x7f\xe3\xa4\x28\xb9\xe4\x1b\x11\xb3\x17\x50\x31\xf5\xc2\x4e\xfe\x4c\x66\x8b\x69\xba\x5d\x16\x44\xf1\x64\x06\x65\x0a\x02\x46\x3b\x4e\xb9\x79\xdc\xbc\x26\xed\x18\xec\xce\x8b\x56\xbb\xaf\xe3\xc6\xc6\x3d\x69\xb8\xc3\x82\x31\x2e\x37\x3a\xb7\x55\x88\x50\x95\x49\x9d\xeb\x87\x09\x5b\xe4\x5c\x82\xf6\x44\x1c\x3a\x55\x7e\x77\xc2\xe5\x19\xf9\x93\x6c\x09\x85\xe4\xe9\x16\xb0\xe3\x93\x99\x44\xb2\x29\x60\x25\xde\x46\x69\x12\xb1\x55\xce\xb3\x75\xcd\x0f\x12\x8f\x42\x16\x17\xc4\xae\x60\x41\xea\x87\xa6\x96\x1d\x5b\xc3\x41\x9c\x7b\x97\x55\x6f\x87\x7b\x1a\x0a\x1f\x61\xc5\x42\x15\xba\x51\x5b\x50\xab\x5b\xe0\x13\x92\x42\x03\x3e\x2e\xf6\xe7\x72\xa1\x52\x4b\x68\x76\xf9\x86\xa9\x1c\xb4\x04\x0a\x45\x7f\x4a\xe2\xae\x53\x2c\x91\xb1\xf8\x7c\x10\xab\x40\xff\x81\x64\xdd\x3b\xf3\x98\x80\xb2\xbe\xfe\xb2\xb0\x8b\x72\x61\x0e\x8b\xc2\xde\xe0\x1a\xdf\xd2\x75\x84\xdd\x59\x5a\xac\x01\xf6\x86\x80\x6b\x3f\xa8\x1b\xbe\x65\xd1\x9a\xcb\x55\x70\x85\x06\x14\x92\xc8\x54\x8e\x9a\x7b\x8f\x40\xdf\xa5\x72\x5b\xb5\x49\xb5\x88\x84\xfa\x76\x01\x6f\x04\x5b\x2a\x5b\x70\xc8\x57\xab\x5c\xac\xa0\x90\x7e\x26\x2b\xd5\xd4\x40\x5d\x66\xe9\xfe\xf1\x39\x7d\xc5\xa8\xc7\x61\x74\xe8\xba\xb5\x14\xf9\xd6\x95\xf2\x91\x60\xa5\x1b\xba\xc6\xb0\x4e\x58\x22\xa6\x13\xf6\x3b\x0f\x30\x15\x91\x92\xae\x16\xb0\xa3\x10\xac\x16\x9a\xde\x61\x8b\x5a\xa8\x1f\xda\xfb\x0e\x9f\x35\x64\x2f\x5b\x17\x4d\x6f\x31\x65\xc1\x8b\x72\x84\xad\x24\x69\xe3\x73\xf3\xe3\x5b\xfc\x6d\x2f\x06\x9b\x67\xc6\xbc\x59\xda\x1d\xf3\x7d\x63\xe1\xcd\xb3\x3d\x2d\x6f\xdb\x58\xef\x0c\x74\xa6\xaa\x3b\xd0\x79\x0c\x97\xd2\x72\x2b\xec\x8e\x75\xa6\x1d\x7c\x01\x3d\xef\x34\x36\x94\x69\xc1\xa8\x04\x33\xd7\xf5\xeb\x56\x8b\x05\xc8\x72\x15\x97\x91\x88\xcd\xce\x05\xbf\x1d\x91\x1b\x8e\xb6\xa0\x62\x24\xdb\x0e\x84\x0a\xf7\x0a\x08\x5c\x7f\xa9\xbb\xf1\x20\xba\x5b\x37\xfc\xf7\x1d\xf7\x62\xeb\x99\xb4\x0d\x7a\xb8\x3f\x71\x9c\xf2\x91\xe7\x94\x7b\x7c\x95\xa4\x56\xe5\xc9\x2a\x91\xbc\x50\x39\x7b\xe9\x8a\x13\x5f\x39\x65\x1b\x18\xc5\x63\x98\x89\xca\x10\xa1\x99\x68\xbf\x7b\x01\x9e\x59\xc4\xf3\x71\xdc\x59\x63\x19\x9e\x61\x91\x9a\x6f\xe9\x82\x6f\xb2\x90\xf6\xd1\xe9\x06\xd3\xc8\xa4\x38\x08\xcc\x76\x0c\x62\x7c\x89\xf6\x35\x58\x33\x49\x91\x71\x9c\x37\x95\x87\xbc\xc5\x9d\x67\x73\x56\x16\xf3\x3d\xa9\x4c\xf0\xc7\xe3\x02\x24\x94\x2e\x7f\xcf\xb3\x7e\x72\x08\x4e\x57\x63\x2c\x42\x71\x62\xca\xd6\x53\xa9\xae\xcf\x7e\x65\x80\x91\x64\x95\xf5\x14\xef\xcd\x3b\x9b\xd0\xf0\xf7\x96\xca\x45\x00\x26\x02\x59\xf2\x34\x78\x15\x78\x05\x75\x66\xcd\x9c\xe2\x96\x51\xe2\x3c\x55\x65\xcc\xc8\xa8\x51\xba\x38\x9f\xe2\xe9\x08\xb4\x95\xd3\x69\x17\x87\xd7\x48\xc5\x52\x67\x7f\xe0\x77\xed\x3b\x10\x3e\xeb\xb0\xc0\xbd\x5b\x9f\x46\xf6\xd9\xa6\x9e\x46\x1a\xe6\xde\x99\xe3\x51\x73\xef\xa2\xb5\xc0\xa1\x35\x2e\x90\x07\xf7\xa6\x24\x4e\x61\xbf\x85\x81\xee\x16\x96\xcf\x4a\x02\x51\x3f\x1c\xfc\x38\x5b\x69\xdb\xff\xa8\x8c\xe7\x42\x16\x73\x78\xe2\xb8\x87\xc1\x43\x3e\xc0\xcf\x2b\x0e\xd3\xa0\x80\xe5\x7f\xdd\x29\x8c\x43\x5b\xc2\x8c\xff\x66\xb7\x14\x7b\xd1\x56\xd5\xde\x9c\x8e\x2f\x13\xc0\xc6\x04\x39\x3b\x37\x71\x1d\xd3\x45\x2f\xb4\xc7\xe8\x05\x2f\x54\x31\xed\x83\x5e\xc8\xf7\x1e\x52\xaa\xd0\x0a\x85\xa1\xa8\xc2\xd3\x98\x5a\xfb\xb7\x80\x44\xfb\xaa\xf2\x6f\x20\x3c\x34\xf3\x97\xb2\xbf\x89\x5c\xf9\xb2\x05\x0c\xaa\x84\x0d\xf7\xfa\xeb\xfb\xeb\x7f\xa2\x3f\x8e\xca\x93\xa1\xf4\x1a\xfc\x85\x38\x49\xf0\xe6\xbb\xd8\xda\xeb\x48\x17\x9d\xba\x88\xe6\x1d\x3c\xfb\x83\xba\x12\x5c\x3c\x43\xde\xfc\xa4\x76\x98\xd9\x0d\x7a\x0a\xf7\x6a\x62\xfd\xdb\xf0\x8c\x70\x68\x04\x79\xad\x27\x19\xa6\xf0\x12\xff\xf5\x97\xff\x9e\x76\x29\x3b\x43\xd7\xc7\xc2\x7a\x5c\xe7\xdf\xe6\x89\x90\x31\x24\x0d\x79\xdc\x94\x80\x91\x95\x28\x72\xc5\x3c\x9b\x65\x78\x94\xea\xbe\xf6\xa3\x56\xcf\x71\x11\x7d\x81\xcc\xb3\x37\xb2\x6e\xfb\x56\xf2\x52\x5d\xae\x84\x9e\xc7\x5b\xc9\x37\x4d\x2d\xec\x67\xed\xe3\x36\x11\x69\x0c\x5d\xa4\xa7\xef\xca\x9e\xc4\x22\x7a\x18\xeb\x13\xec\x4d\x60\x2d\xa2\x07\xf6\xe3\xdd\xfb\x77\xa8\x57\x98\xe8\x99\xbc\xe2\x45\xf2\x28\xee\xf3\xd4\x85\xad\x89\x91\x24\x4f\xed\x1e\xa9\x12\xaa\x06\xe4\x1d\x96\x7d\xd5\x3a\x0e\x21\xdf\xf5\x66\x7b\xb2\x28\xa3\x07\x51\x9c\xe6\x5c\xc6\x6a\x83\xaf\x71\xaa\xcb\xe5\x32\xf9\x3c\x2d\x78\xde\x41\x7e\x8d\x71\x84\xaf\xe8\xe7\x7a\x49\x93\xc2\xfb\xbc\xe8\xea\x3e\x41\x75\x22\x09\xe5\x56\x9c\x5b\xb8\x02\xe7\x7c\x23\x80\xbd\x8c\x55\x89\xe3\xa1\x15\x2c\xf8\x03\x7d\x35\xad\x09\xe9\xad\x48\xbd\xf5\x63\xe0\xdc\x7f\x0c\x7a\x55\x55\x10\xb6\x9d\xf2\x9a\x65\x1b\xfe\x80\xf7\xc3\x55\x2e\xb4\x9e\x30\xad\xa0\xc7\x33\x69\x31\xd3\xb6\xae\x07\xf0\x19\xc0\x7f\x98\x6e\x59\xa4\xb2\x04\x24\xde\xdc\x7b\xad\xd5\x13\xc4\x93\xc3\xf2\x36\x50\xe5\x2c\x65\x91\xa4\x8c\x2f\x0b\x0a\x36\x03\xd9\xb3\x15\x77\xd1\xd3\x99\x84\x94\x61\x04\xaf\x0f\xa9\x7c\x97\x26\x70\x2f\xa1\xd9\x92\x47\x49\x9a\x14\x44\x41\x03\xc5\x30\xdc\xbc\xaf\x39\x0f\xcc\x58\xe6\x7c\xcb\x53\x7f\xb1\xe2\x69\xe9\x2b\xfa\x4e\xb4\xa8\x53\x9c\xfd\x26\xfc\xdf\xca\x3d\xb7\xef\xd4\x3d\xe0\xc2\x7b\xc8\xe1\xd3\xbc\xd2\x3a\xc5\x51\x7f\x8e\x27\xb1\xc5\x89\x56\x5c\x5d\xcf\x3c\xeb\x8e\x1f\x88\x9d\x77\x5c\xaa\xa7\x56\x27\xa6\xf9\x84\x11\xa3\xd7\xee\x84\x7d\xa1\x70\x41\x17\x07\xee\x90\xee\xdb\x68\xf7\x07\xa5\xd2\x43\x23\xde\x3c\xb5\x06\x75\x0e\xd2\x89\x87\x5c\xd7\x70\x01\xb8\xc0\xd1\xe5\x1b\x97\x7b\x75\xa4\xb2\x55\xc1\x15\x82\x05\x51\x17\xc0\x50\x40\x27\x7a\x10\xc3\x3a\x6b\x49\xbe\x8f\x44\x3e\x43\x1b\x88\xda\xb1\xae\x73\x33\x04\x1f\xd4\xb2\x73\xdf\x47\x20\xde\xab\xf5\x70\x54\x30\x0c\x85\x0e\x6b\x8f\x72\x81\xb1\x90\xa0\xd3\x8d\x63\xf0\x6c\x3b\x9e\x28\xaf\x6c\xce\x27\xf2\x92\x67\x32\xf0\x88\x91\x55\xc7\x42\xcb\xdd\xa8\xb5\xc5\xcb\x2a\xcb\xf0\xe0\x78\xd9\x21\x2c\xcc\xbd\x09\x95\x37\xa1\x9e\x12\x60\x02\x22\xb5\x59\x24\xd2\x96\x2a\x53\x10\x19\x5c\xf9\x33\x4b\x72\xe7\x02\xfe\xd6\x25\x47\x96\xfd\xda\xd8\x3b\x37\x22\xe4\x0b\x0c\x4d\xd6\xae\xeb\x6e\x78\x7f\x3a\x2e\x61\x74\x07\x4a\xb5\xfe\x06\x89\x66\x3c\x7d\xe2\x5b\x0d\x9a\xa3\xc2\x58\xc5\x25\x06\x4e\xab\xfd\x9f\x04\xc7\xbb\x25\x50\x24\x01\xef\x92\xa4\x88\xe9\x5d\x12\xe4\x6f\x10\xa9\x55\x57\xf5\xbc\x38\x2f\x74\xfb\xe0\x7c\x9d\x5c\x48\xde\x9b\x0b\xc1\x64\xe4\x3f\x47\xfa\xa3\x27\xc8\x7a\x60\xac\x37\x38\x26\xd1\x23\x23\xb8\x08\x14\xf0\x80\x39\x36\xcf\x9e\xb0\x0d\x4f\x24\x6d\x03\x54\xb0\x8a\xc5\xa2\x5c\xad\x3a\x43\x90\xdf\x7e\x2e\xa3\xba\x4f\xfe\xe5\x63\xcd\xbd\xcc\x4e\xc7\x88\xc6\x5e\xda\x27\x61\x78\xd8\xdc\xab\xbe\x4c\x00\xf6\x2b\x46\xbb\x5b\x53\x4e\x8d\x45\x74\x9c\x68\xf7\xe5\x90\x68\xb7\xc5\xf8\x40\xa9\x15\x5d\x57\x2d\x0e\xe3\xd7\x30\xf8\x97\x09\x83\x0f\x5a\x14\x48\xef\x31\x4f\xaa\x0e\x7a\x4f\x0f\xf7\x64\x09\x73\x74\x92\xd0\x2b\x52\x03\xd7\x42\xc6\x9a\x2d\x78\xf4\x0c\xb4\x61\x70\x3a\x1e\x1e\x6f\xdb\x01\x2e\xb9\x55\x1b\xc1\xe0\x51\x1a\xb5\x0f\x18\x55\xb3\x4d\x00\xb5\x68\x5e\xd0\x23\x32\x08\xef\x01\xc7\x29\x22\x43\x62\xef\x54\xbf\x94\xe2\x89\x99\xd3\x6a\x12\xc2\xb8\x82\xe9\x01\x51\x9c\x57\xc6\x3b\xac\x60\xbe\x5d\xe9\x7e\x2e\x56\x3c\x8f\xa1\xd2\x80\xb6\x64\xca\xa3\x07\xf3\xdf\xd0\x3f\x7a\x22\x41\xcd\x2c\x3f\x37\xc2\x1f\x7d\x6b\x89\x8c\x72\x20\x65\x22\x54\x9b\xef\x1f\xfe\x5c\x33\x1e\xe5\x4a\x63\x50\xc6\x69\x49\x42\xa5\x2b\x38\xb0\x8f\x49\x5c\xf2\x14\x9f\xd8\x19\xc9\xe6\xfa\x20\xbe\xf1\xb3\x40\xf6\x45\x7c\xce\x52\x2e\xab\x7b\x12\x5f\x17\xb8\x6a\x92\x9e\x95\xef\x28\xd7\x0e\xe9\xca\x68\xea\xc8\xcb\x40\x71\xd5\x6f\x2b\xf4\x8e\x73\xc1\xe3\x6d\x48\x4c\x95\x48\xd2\xdd\xe7\xf1\x26\x91\x66\xea\xad\xaa\x97\xb3\xaf\x96\xe0\x17\x01\x97\x20\x7e\x91\xa6\xb5\xad\xaf\x99\x14\xc6\xa5\xe2\x79\x92\x6e\xc1\x8b\xce\x72\x71\x12\x3c\x27\xd8\xdf\x54\xef\x01\x54\xc5\x44\xa2\x50\x6a\xb1\x2c\x53\xf4\xb5\xe1\x36\xea\x5e\x80\xf6\xe1\xfd\xe5\xc4\x1c\xb3\x05\x51\xce\x07\x0f\x46\x21\xa7\x63\x60\xe7\x9b\xf7\xc0\x41\xf9\x1b\x4f\x98\x96\x03\xb4\x77\xad\x9e\x6c\x81\xcf\x13\xf7\x08\xce\xae\xb3\xe4\x68\x31\xfb\x7e\xaf\xcb\xde\x77\xec\xae\xc4\x41\x8f\x2b\x89\x1a\xfa\x4c\xc4\x6e\x27\x26\x12\x5e\x87\x34\x10\x7d\x1c\xb4\xd4\x58\x27\x64\xe6\x10\xac\xb5\xbd\xd6\x57\xc3\xa0\xcc\xbd\x5d\xa2\x95\x64\xb3\xf2\xb7\xbf\xfd\xbd\x60\xbf\x85\xc2\x29\xf2\xbe\x31\xdb\x02\x94\x69\xd8\x3a\x18\x28\xf7\x00\x81\x7c\x6a\x8d\x19\x61\x6d\x80\x47\x5b\xa5\x0c\x90\x41\x1e\xad\x99\x2e\x17\x88\x87\xe3\x14\xb0\xe7\xd2\x31\x92\xbe\x53\x00\x6d\xc3\x73\xcc\xf6\xfe\x7f\x49\x78\x1a\x59\xc1\x67\x32\x53\x48\x9a\x0b\x40\xc2\x85\x60\x1b\x9e\x3f\x80\xc8\x1b\x29\x79\x33\x5e\xb0\x97\x89\x98\x56\x83\xd5\xaf\x2a\xfd\xa1\xf4\x00\x92\x61\xb2\xbc\x94\xd2\xaa\x56\x30\xe3\x86\xf9\xc8\xf1\x64\x26\x17\x65\x78\xd3\xaa\x84\x9e\xfd\xd2\x82\xf0\x33\x18\x59\x05\x0c\x09\xd4\x29\xae\x03\x85\x71\x36\x20\x06\x3d\x93\xcf\x14\x84\xee\x0a\x6f\x7d\x20\x8f\xc3\x86\xae\x02\x94\x36\xbc\x6e\x28\xac\x08\xd3\x81\xcb\x1e\x8e\xf4\x0f\xa0\xae\x38\x61\x3f\x26\x8f\x62\xc2\x6e\x33\x9e\x3f\x4c\xd8\x1b\x4c\x26\xfd\x49\x2d\x76\x46\xac\x8e\x11\xb5\x75\x17\xab\x43\x19\xef\x31\xfe\x39\x09\x98\x99\x83\x04\x66\x33\xbe\x68\xf1\x6d\x05\xf0\xda\x47\x0f\x42\x76\x1a\x4b\x8b\x4a\xee\xa4\xef\x3e\xd6\xbd\xbb\x1b\x54\xdd\x79\x0b\xaf\x9f\xdb\xde\xc3\xa2\x9a\xd5\x36\x9c\x9f\xf1\x6c\x50\x7b\x9a\x47\x0f\x27\xe0\xab\xaa\xdc\xd5\x55\x6b\x4a\xae\xe1\xaa\x40\xf4\x33\xfa\x68\xb5\x4a\xe4\xa1\xae\xb8\x7d\xf0\x3c\x53\x2a\x6d\xf5\xc8\x8f\x3a\x80\x8d\xf8\xfc\xd0\xc1\xbb\xc4\x0a\x2e\x1d\xfa\xa9\x76\x14\x7d\xac\xd7\x47\x86\x31\x0c\x0c\x54\x2c\xb0\x9a\xe2\x12\x52\xa4\x7e\x38\x42\x49\x3f\x63\x6b\x10\x73\x8e\xae\xa9\x55\x80\xe5\xf6\xce\x10\x71\x17\xf4\x0e\xb1\xce\x8d\x28\xb4\x6e\x3e\xa7\xe3\xa2\x00\xed\xce\x93\x36\xde\x95\xb1\x9b\x0b\xa5\xd3\x1b\xa9\x25\xec\xb9\x3d\xd2\x6d\xd5\xcf\x2e\xd6\x59\x5b\xe2\x3c\x8f\x52\xae\x07\xe2\x88\x5b\xed\xce\x25\x35\x74\x0e\xed\x0c\xb7\x99\x3f\x42\x16\x60\x33\xd0\x85\x9a\xc9\x33\xc7\xba\xea\x9d\x6f\x77\x61\x40\x33\x8b\x57\xa5\xc6\xd4\x60\x29\x91\xa7\xe8\x9d\x30\x5d\x46\x6b\x28\x96\xaa\xda\xa9\xd0\x6e\x35\x77\xec\x64\x26\x8d\xfb\x8a\xca\x5f\x1c\xe0\x2e\x4f\x20\x12\x93\xfc\x4d\x38\xff\x98\x30\xf9\xa1\x4b\xbc\xe0\x66\x6a\x94\x6c\xbd\x3e\xd8\xba\x35\x3c\xe9\xfc\xe1\x5e\x66\xc6\x73\x98\xce\xbc\xdb\x93\xa0\x9e\xbf\x3d\x6e\xe9\x3e\xa2\xc3\x17\x0b\xaf\x4f\x35\x4b\x9b\x26\x4b\x11\x6d\xa3\x06\x0d\x55\x05\x64\x76\xbc\x2c\xc8\x7e\x49\x80\x3e\xba\xa2\xf6\xd8\xc9\x2f\x0d\x7a\x0d\xd6\x85\xcc\xf9\xe7\xc4\x0b\x77\x30\xe6\xfc\xab\xc7\x71\x77\x80\x68\x7e\x85\xd6\xfe\x4b\xc6\x14\xfb\xc9\x72\x7e\x13\xfe\xaf\xb5\x5f\x16\xbd\x0a\x31\x0c\xf2\x9a\x5b\x31\xb3\xdf\x16\x3d\x40\x12\xd7\x2f\x79\x4d\x96\x80\x61\x5b\x81\x48\x18\x62\x47\x10\x31\xa2\x24\x88\x7e\x6a\xc7\xeb\x3c\x55\xba\xcc\xfb\x37\xff\x4d\xb5\xd7\xf6\xe9\x2d\x84\xb9\xb0\xd8\x36\x0b\x01\xdc\x1f\x43\xc1\x71\xf8\xb5\xf9\x5f\xd5\x62\x0e\x48\xd0\xc3\x76\x78\x5b\x73\x56\x82\xcb\xe1\x09\xa8\xab\xfe\xc6\x75\x9b\x09\xe0\x6d\xf3\xa1\x0d\x7f\x7f\xa9\xad\x30\x17\x58\x9e\x49\x4b\x63\x8f\x75\xe7\x79\x2e\x80\x6f\x3b\x17\xa0\x2c\xc7\x32\x9e\x3b\x38\x96\xbd\x61\x07\x11\x34\x0f\xd9\x0b\x6b\x45\xa1\xe4\x9b\xe2\x76\x0b\x21\xa4\x1b\xed\x31\x57\x53\x73\xdb\xac\x8f\x3e\x61\x71\x9f\x04\x8b\xb0\xcc\xab\x43\x05\xb3\xf1\xbb\x20\xa6\x08\x7e\xcb\x4a\x84\x3e\x54\xcd\xb5\xa8\x6c\xcd\x4a\x7e\xff\x9b\xaa\x47\x6a\xbd\xc1\xd6\x28\xee\x2a\xe1\xe7\x41\x88\x88\x63\x64\x1b\x3f\xf0\x62\x8d\x81\xd1\x8d\x2a\x04\xda\x4c\xe4\xda\xc2\xf5\x82\x39\xbb\x45\xaa\x16\x20\xe9\x66\x3e\xe9\xba\x3e\x47\xb4\xb5\x07\x0d\x5d\x73\xc2\x86\x58\x06\x63\x4d\xa0\x5e\x3d\x17\x1a\x68\x8b\x9a\x39\xfe\xa1\xd5\x13\xe3\x82\xb7\xcd\xee\x1a\xa3\xff\xa6\x11\xbc\x6d\xea\x5c\x98\x6d\x0d\x50\xfa\x8b\x3d\xea\xfb\x2e\xc2\x9a\x6f\xe3\x1c\x10\xe5\x37\x81\x68\x90\xf5\xb7\xf6\xbe\x56\x39\x7c\x26\xcf\xf0\x93\xe0\x10\xe0\x5e\xcf\xc9\xa1\xd5\x49\x24\xd6\xed\x3f\x2c\x02\x67\x67\x21\x3e\x9a\x6e\x45\x13\x7f\x5f\x85\xe0\xd2\x04\x6a\xae\x65\x91\xe4\xe6\x36\xa2\xc1\xd9\xd2\xe5\xe2\xc4\xd3\xfb\xa8\x1c\xdc\x33\x60\x7f\xca\x38\x84\xc6\x80\xf5\xeb\xa4\xe5\x18\xc6\xbc\x8e\xd7\x65\xb1\x34\x98\x3c\x25\xe3\x0f\xb7\x6a\xe4\x97\x70\xef\xee\xda\x31\x97\x23\x88\xca\x5a\x6e\x03\x3c\xec\xfa\xec\x05\x28\x47\x41\x7d\xf8\x0d\x5e\xc7\xbf\xf6\x01\x1e\x62\x49\x86\x1e\xdd\x70\xfd\x9e\xc9\xff\xdf\x9e\x0d\xdd\x25\x0f\x23\x56\xba\x19\x19\x73\x44\x75\x96\x62\x54\xfa\x66\x43\x92\x81\x13\xd8\xdd\xa9\xc6\x92\x6f\x6b\x95\xbb\x00\x49\xa0\x93\xa2\xa8\x98\x1f\x3e\x7d\x4c\x74\x40\x9a\x0f\x4f\xbb\x15\x82\xbd\xce\xc5\xf2\xf5\xc7\x5c\x2c\xe7\x76\xa6\xa7\xf0\x42\x53\xf3\x46\x4d\xea\xfc\x81\x8b\x43\x67\x4a\xb6\x53\x88\xee\xa0\xf8\xad\xbd\x12\xb6\x13\xbc\x53\xb2\x64\x5e\x4e\x13\xa2\x08\x65\x14\x09\x11\xd7\x39\xfd\x1b\x3d\xfb\xe2\xc7\x5c\x17\x8e\x76\x00\x50\xb5\x43\x86\xf2\x5f\xff\x78\xab\x8c\xd9\x90\xe3\xed\xae\x1a\x4f\xb1\xc6\x9e\x4b\x77\xe0\x75\x17\xa6\x7c\xd9\xda\x19\x98\x40\x9d\xf1\x27\x49\x6c\x50\xa3\x52\x19\xc3\x8e\xb5\x5a\x74\x29\x38\xd6\x1a\x08\x62\xbf\xcb\xa4\xcd\x1c\x25\x4e\xb3\x71\x12\xc8\x9d\xf3\x34\x0d\x95\x49\x7c\xfc\x77\x26\x7d\x94\xd0\x78\xad\x69\x6a\x53\x42\x15\x7f\x83\xb8\xbf\x62\xa0\x2b\x10\x13\x4b\x5d\x44\xa4\x9f\x84\x26\x38\xc1\x68\x9c\x8f\x99\xed\xda\xcd\xc7\xba\x44\x7e\x63\xac\x0d\x3b\x70\x3b\xf8\xd8\xf9\x83\xd8\x8e\xee\x6b\x7b\xe6\xdc\x4b\xf9\xae\x61\x33\x5b\x2b\x1b\xf1\x3c\xb7\x35\x48\xf4\x54\x66\xee\x4a\x4b\x1e\x55\xd2\x66\x1d\xfd\x5c\x8b\xe8\x21\x53\x89\x1c\x6d\x8b\x82\xfe\x18\x47\xaa\x30\xe7\x99\x6f\xcd\xdd\x0e\x07\x1d\x8e\x15\x7f\x12\x5f\x44\x03\x38\xcd\x02\xeb\x3d\xa5\x21\x67\x4e\xab\xb8\x7b\xd9\x1d\x3b\x7e\x21\xfc\xd9\xf0\x0c\xb1\xd8\xfe\x24\x05\x5a\x8d\xa6\x47\x59\xc9\x62\xf1\x46\x6d\xea\xc0\xc1\xe6\xac\x42\x04\xda\x3a\xa4\x10\x82\xfc\x35\x32\xf4\x6b\x64\xe8\x9f\x3c\x32\xf4\x25\xc3\x42\x80\x2c\x7c\xce\x98\x50\x3b\xd9\xc0\xaf\xc7\xeb\xb7\x75\xbc\x22\xa7\x28\x56\xc6\x8d\x19\x5a\xea\xea\x8d\xff\xf9\x61\x83\x2b\x58\xd0\x13\x3d\x62\x9c\xbf\xa0\x7b\xd0\x62\xab\xc6\xd9\xdd\xc1\xe7\x55\x3f\x7a\xc2\x3b\x20\xfe\x32\x10\x14\xd2\x37\xb6\x6f\x18\x04\x2e\xc2\xa5\x63\x0c\xcf\xe0\xf4\x4b\x37\x57\xc9\x37\x95\x44\x1e\xe2\x60\x18\xcb\xe8\xd2\xca\x57\xd6\x22\x4a\x81\x06\xbc\xc7\x32\x06\x1c\xd6\xbc\x78\xa1\xdd\xa8\x57\x2d\xa0\x45\xb8\xbf\x4b\x74\xf1\x73\x4d\x21\x71\x3f\x89\xc5\x67\x43\x42\xd9\xae\x62\x37\x83\x5f\xf4\x02\x78\x6e\xaa\x10\x1b\xb5\xb4\x6b\x0e\x0e\x39\xab\x89\x65\xfa\x3d\xe6\xbc\xfa\xe8\xc6\xeb\x23\xfa\xd1\x4f\x39\xcf\x32\x91\x5b\xdc\x48\x03\xda\x03\x02\x53\xf0\x14\x50\x88\x5b\x0b\x94\xa9\xad\x79\x23\xc6\x94\xd4\x9a\x86\xaf\xc1\xd0\x4d\xdb\x67\xee\xaa\x4c\xd3\xce\x99\xdb\xad\x5b\x73\x75\xff\xee\xdd\xfc\xe7\xb3\x77\xf7\x17\xf6\xf5\x5b\x75\x60\x82\xaf\x75\x8e\x89\xeb\x09\x8d\x89\x57\x9a\x33\x8f\x15\x56\x2a\x57\xf9\xb7\xc6\xcb\x48\x99\xa6\x55\x8d\xa0\x99\xfc\x48\xed\x00\x2c\x1b\xf5\x0f\xcd\xb8\xb1\xde\x81\xab\x3e\x1f\xbe\xf6\xd1\x34\xfe\x11\x7f\x7b\xc2\xfc\x4b\xbc\x06\x25\x3b\x52\xc8\x6a\x1f\x57\xaa\xf9\x38\x60\x3b\x20\x08\xb8\x6b\x3b\x1c\x5b\x05\x6d\xbf\xed\x71\x2f\x81\x7f\x59\xc4\x56\xbc\xec\x28\xbb\x03\xc7\xee\x63\x35\x9f\xe0\x6c\x79\x8c\xc1\x35\x68\x77\x82\xda\x55\xa0\xc8\xeb\xe5\x9d\x66\x12\xef\xaa\xa6\x4f\x85\xea\xee\x13\xbb\x24\x34\x55\xca\xe5\xaa\xe4\x2b\xa1\x27\xcc\x3e\x7c\x26\x37\xc9\x6a\x8d\x6c\x12\x65\xe6\x71\xc9\x9c\x49\x20\x1d\xa9\x2d\xa1\x1a\x2e\x39\x91\x33\x49\xef\x24\x57\xbe\x79\xc4\xc8\xfe\xe9\xd6\xbd\x0e\x81\xd1\xb1\x21\x92\xdf\x92\x33\x89\x93\x8b\x2c\x17\x36\x62\x05\xfe\x3b\x2f\xea\x4b\x97\x43\x8c\x19\x25\xaa\x8d\x4d\x5f\x41\xec\x6c\x26\x5d\x21\x2a\x7a\xf8\xf4\x0e\x81\x4c\x03\x76\x69\xb7\x3d\xb1\x93\x61\xf7\x04\xf5\xad\x7d\xd5\x1f\x7c\x06\x98\x0d\x37\x1f\xa1\xb5\xdb\x34\x63\x03\x6f\x75\x3c\x30\x1c\x5d\xec\x04\x50\x7d\xdc\xde\x1b\xfb\x5e\xf8\x9d\x4e\x08\x92\x2a\x17\xe9\x88\x2e\xe1\xf7\x7b\x3b\x85\x26\xb9\xbf\x53\x03\xae\x8c\x37\xb5\xad\x65\x96\x69\xdf\x63\x17\x4a\x75\xcc\xcb\x11\x03\xbf\x95\x4e\xd1\x0f\x76\x0d\x46\x19\x15\xfb\xac\x97\x01\x25\x79\xf5\x21\xb2\xd6\xa7\xaf\x43\x69\xa2\xf7\xea\x8e\xf7\x9f\x06\xf7\xc8\x79\x08\x74\xd8\x8d\xb2\xb0\x74\xce\x55\x0c\x6c\x87\x99\xa4\xb8\x9f\x15\xad\x4d\xd0\xbc\x98\xcd\x83\x8a\xb2\x66\xfd\x4f\xdc\x22\x9a\xf8\x99\x9b\x40\x27\xa3\x32\xd7\xc6\x5c\x92\xbd\x23\xab\xad\x72\xc6\x67\xd2\xaa\x1f\x58\x73\x7c\x66\x41\x54\xb9\xfb\x2b\x96\x39\x66\xc8\x1e\x0e\x1e\x6b\xc1\x94\x14\xd6\x1a\xce\xa4\x55\x3a\x9e\x30\xbe\xd0\x56\x40\x98\xcb\xad\x53\xf5\x4d\x9c\x64\x1b\x97\x0c\xd0\x69\xbb\x6d\x5e\xcd\x0d\xa8\x9c\xf3\xbf\x31\xff\xf7\x8f\xdf\xfc\xbf\x00\x00\x00\xff\xff\xc8\xd2\x2f\xb9\xe8\x9e\x04\x00") func adminSwaggerJsonBytes() ([]byte, error) { return bindataRead( @@ -93,7 +93,7 @@ func adminSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "admin.swagger.json", size: 293472, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} + info := bindataFileInfo{name: "admin.swagger.json", size: 302824, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/gen/pb-java/flyteidl/admin/Common.java b/gen/pb-java/flyteidl/admin/Common.java index 83a55a769..f23667340 100644 --- a/gen/pb-java/flyteidl/admin/Common.java +++ b/gen/pb-java/flyteidl/admin/Common.java @@ -19369,67 +19369,74 @@ public flyteidl.admin.Common.Annotations getDefaultInstanceForType() { } - @java.lang.Deprecated public interface AuthRoleOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.AuthRole) + public interface EnvsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.Envs) com.google.protobuf.MessageOrBuilder { /** *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - java.lang.String getAssumableIamRole(); + java.util.List + getValuesList(); /** *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - com.google.protobuf.ByteString - getAssumableIamRoleBytes(); - + flyteidl.core.Literals.KeyValuePair getValues(int index); /** *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string kubernetes_service_account = 2; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - java.lang.String getKubernetesServiceAccount(); + int getValuesCount(); /** *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string kubernetes_service_account = 2; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - com.google.protobuf.ByteString - getKubernetesServiceAccountBytes(); + java.util.List + getValuesOrBuilderList(); + /** + *
+     * Map of custom environment variables to be applied to the execution resource.
+     * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( + int index); } /** *
-   * Defines permissions associated with executions created by this launch plan spec.
-   * Use either of these roles when they have permissions required by your workflow execution.
-   * Deprecated.
+   * Environment variable values to be applied to an execution resource.
+   * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
+   * to specify how to merge environment variables defined at registration and execution time.
    * 
* - * Protobuf type {@code flyteidl.admin.AuthRole} + * Protobuf type {@code flyteidl.admin.Envs} */ - @java.lang.Deprecated public static final class AuthRole extends + public static final class Envs extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.AuthRole) - AuthRoleOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.admin.Envs) + EnvsOrBuilder { private static final long serialVersionUID = 0L; - // Use AuthRole.newBuilder() to construct. - private AuthRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use Envs.newBuilder() to construct. + private Envs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthRole() { - assumableIamRole_ = ""; - kubernetesServiceAccount_ = ""; + private Envs() { + values_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -19437,7 +19444,7 @@ private AuthRole() { getUnknownFields() { return this.unknownFields; } - private AuthRole( + private Envs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19457,15 +19464,12 @@ private AuthRole( done = true; break; case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - assumableIamRole_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - kubernetesServiceAccount_ = s; + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + values_.add( + input.readMessage(flyteidl.core.Literals.KeyValuePair.parser(), extensionRegistry)); break; } default: { @@ -19483,105 +19487,79 @@ private AuthRole( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + values_ = java.util.Collections.unmodifiableList(values_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable + return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); + flyteidl.admin.Common.Envs.class, flyteidl.admin.Common.Envs.Builder.class); } - public static final int ASSUMABLE_IAM_ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object assumableIamRole_; + public static final int VALUES_FIELD_NUMBER = 1; + private java.util.List values_; /** *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - assumableIamRole_ = s; - return s; - } + public java.util.List getValuesList() { + return values_; } /** *
-     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public java.util.List + getValuesOrBuilderList() { + return values_; } - - public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 2; - private volatile java.lang.Object kubernetesServiceAccount_; /** *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string kubernetes_service_account = 2; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kubernetesServiceAccount_ = s; - return s; - } + public int getValuesCount() { + return values_.size(); } /** *
-     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * Map of custom environment variables to be applied to the execution resource.
      * 
* - * string kubernetes_service_account = 2; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - kubernetesServiceAccount_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public flyteidl.core.Literals.KeyValuePair getValues(int index) { + return values_.get(index); + } + /** + *
+     * Map of custom environment variables to be applied to the execution resource.
+     * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( + int index) { + return values_.get(index); } private byte memoizedIsInitialized = -1; @@ -19598,11 +19576,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getAssumableIamRoleBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kubernetesServiceAccount_); + for (int i = 0; i < values_.size(); i++) { + output.writeMessage(1, values_.get(i)); } unknownFields.writeTo(output); } @@ -19613,11 +19588,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getAssumableIamRoleBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assumableIamRole_); - } - if (!getKubernetesServiceAccountBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kubernetesServiceAccount_); + for (int i = 0; i < values_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -19629,15 +19602,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.admin.Common.AuthRole)) { + if (!(obj instanceof flyteidl.admin.Common.Envs)) { return super.equals(obj); } - flyteidl.admin.Common.AuthRole other = (flyteidl.admin.Common.AuthRole) obj; + flyteidl.admin.Common.Envs other = (flyteidl.admin.Common.Envs) obj; - if (!getAssumableIamRole() - .equals(other.getAssumableIamRole())) return false; - if (!getKubernetesServiceAccount() - .equals(other.getKubernetesServiceAccount())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -19649,78 +19620,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ASSUMABLE_IAM_ROLE_FIELD_NUMBER; - hash = (53 * hash) + getAssumableIamRole().hashCode(); - hash = (37 * hash) + KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER; - hash = (53 * hash) + getKubernetesServiceAccount().hashCode(); + if (getValuesCount() > 0) { + hash = (37 * hash) + VALUES_FIELD_NUMBER; + hash = (53 * hash) + getValuesList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.AuthRole parseFrom(byte[] data) + public static flyteidl.admin.Common.Envs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.AuthRole parseFrom(java.io.InputStream input) + public static flyteidl.admin.Common.Envs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.admin.Common.AuthRole parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.admin.Common.Envs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.admin.Common.AuthRole parseDelimitedFrom( + public static flyteidl.admin.Common.Envs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.admin.Common.AuthRole parseFrom( + public static flyteidl.admin.Common.Envs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -19733,7 +19704,7 @@ public static flyteidl.admin.Common.AuthRole parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.admin.Common.AuthRole prototype) { + public static Builder newBuilder(flyteidl.admin.Common.Envs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -19750,31 +19721,31 @@ protected Builder newBuilderForType( } /** *
-     * Defines permissions associated with executions created by this launch plan spec.
-     * Use either of these roles when they have permissions required by your workflow execution.
-     * Deprecated.
+     * Environment variable values to be applied to an execution resource.
+     * In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
+     * to specify how to merge environment variables defined at registration and execution time.
      * 
* - * Protobuf type {@code flyteidl.admin.AuthRole} + * Protobuf type {@code flyteidl.admin.Envs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.AuthRole) - flyteidl.admin.Common.AuthRoleOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.admin.Envs) + flyteidl.admin.Common.EnvsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable + return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); + flyteidl.admin.Common.Envs.class, flyteidl.admin.Common.Envs.Builder.class); } - // Construct using flyteidl.admin.Common.AuthRole.newBuilder() + // Construct using flyteidl.admin.Common.Envs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -19787,32 +19758,35 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getValuesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - assumableIamRole_ = ""; - - kubernetesServiceAccount_ = ""; - + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + valuesBuilder_.clear(); + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_Envs_descriptor; } @java.lang.Override - public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { - return flyteidl.admin.Common.AuthRole.getDefaultInstance(); + public flyteidl.admin.Common.Envs getDefaultInstanceForType() { + return flyteidl.admin.Common.Envs.getDefaultInstance(); } @java.lang.Override - public flyteidl.admin.Common.AuthRole build() { - flyteidl.admin.Common.AuthRole result = buildPartial(); + public flyteidl.admin.Common.Envs build() { + flyteidl.admin.Common.Envs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -19820,10 +19794,18 @@ public flyteidl.admin.Common.AuthRole build() { } @java.lang.Override - public flyteidl.admin.Common.AuthRole buildPartial() { - flyteidl.admin.Common.AuthRole result = new flyteidl.admin.Common.AuthRole(this); - result.assumableIamRole_ = assumableIamRole_; - result.kubernetesServiceAccount_ = kubernetesServiceAccount_; + public flyteidl.admin.Common.Envs buildPartial() { + flyteidl.admin.Common.Envs result = new flyteidl.admin.Common.Envs(this); + int from_bitField0_ = bitField0_; + if (valuesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + values_ = java.util.Collections.unmodifiableList(values_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.values_ = values_; + } else { + result.values_ = valuesBuilder_.build(); + } onBuilt(); return result; } @@ -19862,23 +19844,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.AuthRole) { - return mergeFrom((flyteidl.admin.Common.AuthRole)other); + if (other instanceof flyteidl.admin.Common.Envs) { + return mergeFrom((flyteidl.admin.Common.Envs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.admin.Common.AuthRole other) { - if (other == flyteidl.admin.Common.AuthRole.getDefaultInstance()) return this; - if (!other.getAssumableIamRole().isEmpty()) { - assumableIamRole_ = other.assumableIamRole_; - onChanged(); - } - if (!other.getKubernetesServiceAccount().isEmpty()) { - kubernetesServiceAccount_ = other.kubernetesServiceAccount_; - onChanged(); + public Builder mergeFrom(flyteidl.admin.Common.Envs other) { + if (other == flyteidl.admin.Common.Envs.getDefaultInstance()) return this; + if (valuesBuilder_ == null) { + if (!other.values_.isEmpty()) { + if (values_.isEmpty()) { + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureValuesIsMutable(); + values_.addAll(other.values_); + } + onChanged(); + } + } else { + if (!other.values_.isEmpty()) { + if (valuesBuilder_.isEmpty()) { + valuesBuilder_.dispose(); + valuesBuilder_ = null; + values_ = other.values_; + bitField0_ = (bitField0_ & ~0x00000001); + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; + } else { + valuesBuilder_.addAllMessages(other.values_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -19895,11 +19895,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.admin.Common.AuthRole parsedMessage = null; + flyteidl.admin.Common.Envs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.AuthRole) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.admin.Common.Envs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -19908,111 +19908,1616 @@ public Builder mergeFrom( } return this; } + private int bitField0_; + + private java.util.List values_ = + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + values_ = new java.util.ArrayList(values_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> valuesBuilder_; - private java.lang.Object assumableIamRole_ = ""; /** *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * Map of custom environment variables to be applied to the execution resource.
        * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public java.lang.String getAssumableIamRole() { - java.lang.Object ref = assumableIamRole_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - assumableIamRole_ = s; - return s; + public java.util.List getValuesList() { + if (valuesBuilder_ == null) { + return java.util.Collections.unmodifiableList(values_); } else { - return (java.lang.String) ref; + return valuesBuilder_.getMessageList(); } } /** *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * Map of custom environment variables to be applied to the execution resource.
        * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public com.google.protobuf.ByteString - getAssumableIamRoleBytes() { - java.lang.Object ref = assumableIamRole_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - assumableIamRole_ = b; - return b; + public int getValuesCount() { + if (valuesBuilder_ == null) { + return values_.size(); } else { - return (com.google.protobuf.ByteString) ref; + return valuesBuilder_.getCount(); } } /** *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * Map of custom environment variables to be applied to the execution resource.
        * 
* - * string assumable_iam_role = 1; + * repeated .flyteidl.core.KeyValuePair values = 1; */ - public Builder setAssumableIamRole( - java.lang.String value) { + public flyteidl.core.Literals.KeyValuePair getValues(int index) { + if (valuesBuilder_ == null) { + return values_.get(index); + } else { + return valuesBuilder_.getMessage(index); + } + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder setValues( + int index, flyteidl.core.Literals.KeyValuePair value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.set(index, value); + onChanged(); + } else { + valuesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder setValues( + int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.set(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder addValues(flyteidl.core.Literals.KeyValuePair value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(value); + onChanged(); + } else { + valuesBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder addValues( + int index, flyteidl.core.Literals.KeyValuePair value) { + if (valuesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureValuesIsMutable(); + values_.add(index, value); + onChanged(); + } else { + valuesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder addValues( + flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder addValues( + int index, flyteidl.core.Literals.KeyValuePair.Builder builderForValue) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(index, builderForValue.build()); + onChanged(); + } else { + valuesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder addAllValues( + java.lang.Iterable values) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); + onChanged(); + } else { + valuesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder clearValues() { + if (valuesBuilder_ == null) { + values_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + valuesBuilder_.clear(); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public Builder removeValues(int index) { + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.remove(index); + onChanged(); + } else { + valuesBuilder_.remove(index); + } + return this; + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public flyteidl.core.Literals.KeyValuePair.Builder getValuesBuilder( + int index) { + return getValuesFieldBuilder().getBuilder(index); + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public flyteidl.core.Literals.KeyValuePairOrBuilder getValuesOrBuilder( + int index) { + if (valuesBuilder_ == null) { + return values_.get(index); } else { + return valuesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public java.util.List + getValuesOrBuilderList() { + if (valuesBuilder_ != null) { + return valuesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(values_); + } + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public flyteidl.core.Literals.KeyValuePair.Builder addValuesBuilder() { + return getValuesFieldBuilder().addBuilder( + flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public flyteidl.core.Literals.KeyValuePair.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, flyteidl.core.Literals.KeyValuePair.getDefaultInstance()); + } + /** + *
+       * Map of custom environment variables to be applied to the execution resource.
+       * 
+ * + * repeated .flyteidl.core.KeyValuePair values = 1; + */ + public java.util.List + getValuesBuilderList() { + return getValuesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder> + getValuesFieldBuilder() { + if (valuesBuilder_ == null) { + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Literals.KeyValuePair, flyteidl.core.Literals.KeyValuePair.Builder, flyteidl.core.Literals.KeyValuePairOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + values_ = null; + } + return valuesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.Envs) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Envs) + private static final flyteidl.admin.Common.Envs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.Common.Envs(); + } + + public static flyteidl.admin.Common.Envs getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Envs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Envs(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.Common.Envs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + @java.lang.Deprecated public interface AuthRoleOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.AuthRole) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string assumable_iam_role = 1; + */ + java.lang.String getAssumableIamRole(); + /** + *
+     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string assumable_iam_role = 1; + */ + com.google.protobuf.ByteString + getAssumableIamRoleBytes(); + + /** + *
+     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string kubernetes_service_account = 2; + */ + java.lang.String getKubernetesServiceAccount(); + /** + *
+     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string kubernetes_service_account = 2; + */ + com.google.protobuf.ByteString + getKubernetesServiceAccountBytes(); + } + /** + *
+   * Defines permissions associated with executions created by this launch plan spec.
+   * Use either of these roles when they have permissions required by your workflow execution.
+   * Deprecated.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.AuthRole} + */ + @java.lang.Deprecated public static final class AuthRole extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.AuthRole) + AuthRoleOrBuilder { + private static final long serialVersionUID = 0L; + // Use AuthRole.newBuilder() to construct. + private AuthRole(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AuthRole() { + assumableIamRole_ = ""; + kubernetesServiceAccount_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AuthRole( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + assumableIamRole_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + kubernetesServiceAccount_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); + } + + public static final int ASSUMABLE_IAM_ROLE_FIELD_NUMBER = 1; + private volatile java.lang.Object assumableIamRole_; + /** + *
+     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string assumable_iam_role = 1; + */ + public java.lang.String getAssumableIamRole() { + java.lang.Object ref = assumableIamRole_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assumableIamRole_ = s; + return s; + } + } + /** + *
+     * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string assumable_iam_role = 1; + */ + public com.google.protobuf.ByteString + getAssumableIamRoleBytes() { + java.lang.Object ref = assumableIamRole_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assumableIamRole_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 2; + private volatile java.lang.Object kubernetesServiceAccount_; + /** + *
+     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string kubernetes_service_account = 2; + */ + public java.lang.String getKubernetesServiceAccount() { + java.lang.Object ref = kubernetesServiceAccount_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kubernetesServiceAccount_ = s; + return s; + } + } + /** + *
+     * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+     * 
+ * + * string kubernetes_service_account = 2; + */ + public com.google.protobuf.ByteString + getKubernetesServiceAccountBytes() { + java.lang.Object ref = kubernetesServiceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kubernetesServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getAssumableIamRoleBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assumableIamRole_); + } + if (!getKubernetesServiceAccountBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kubernetesServiceAccount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getAssumableIamRoleBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assumableIamRole_); + } + if (!getKubernetesServiceAccountBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kubernetesServiceAccount_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.Common.AuthRole)) { + return super.equals(obj); + } + flyteidl.admin.Common.AuthRole other = (flyteidl.admin.Common.AuthRole) obj; + + if (!getAssumableIamRole() + .equals(other.getAssumableIamRole())) return false; + if (!getKubernetesServiceAccount() + .equals(other.getKubernetesServiceAccount())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ASSUMABLE_IAM_ROLE_FIELD_NUMBER; + hash = (53 * hash) + getAssumableIamRole().hashCode(); + hash = (37 * hash) + KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getKubernetesServiceAccount().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.Common.AuthRole parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.AuthRole parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.AuthRole parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.Common.AuthRole parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.AuthRole parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.AuthRole parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.Common.AuthRole prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines permissions associated with executions created by this launch plan spec.
+     * Use either of these roles when they have permissions required by your workflow execution.
+     * Deprecated.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.AuthRole} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.AuthRole) + flyteidl.admin.Common.AuthRoleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.Common.AuthRole.class, flyteidl.admin.Common.AuthRole.Builder.class); + } + + // Construct using flyteidl.admin.Common.AuthRole.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + assumableIamRole_ = ""; + + kubernetesServiceAccount_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_AuthRole_descriptor; + } + + @java.lang.Override + public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { + return flyteidl.admin.Common.AuthRole.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.Common.AuthRole build() { + flyteidl.admin.Common.AuthRole result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.Common.AuthRole buildPartial() { + flyteidl.admin.Common.AuthRole result = new flyteidl.admin.Common.AuthRole(this); + result.assumableIamRole_ = assumableIamRole_; + result.kubernetesServiceAccount_ = kubernetesServiceAccount_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.Common.AuthRole) { + return mergeFrom((flyteidl.admin.Common.AuthRole)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.Common.AuthRole other) { + if (other == flyteidl.admin.Common.AuthRole.getDefaultInstance()) return this; + if (!other.getAssumableIamRole().isEmpty()) { + assumableIamRole_ = other.assumableIamRole_; + onChanged(); + } + if (!other.getKubernetesServiceAccount().isEmpty()) { + kubernetesServiceAccount_ = other.kubernetesServiceAccount_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.Common.AuthRole parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.Common.AuthRole) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object assumableIamRole_ = ""; + /** + *
+       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string assumable_iam_role = 1; + */ + public java.lang.String getAssumableIamRole() { + java.lang.Object ref = assumableIamRole_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assumableIamRole_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string assumable_iam_role = 1; + */ + public com.google.protobuf.ByteString + getAssumableIamRoleBytes() { + java.lang.Object ref = assumableIamRole_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assumableIamRole_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string assumable_iam_role = 1; + */ + public Builder setAssumableIamRole( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + assumableIamRole_ = value; + onChanged(); + return this; + } + /** + *
+       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string assumable_iam_role = 1; + */ + public Builder clearAssumableIamRole() { + + assumableIamRole_ = getDefaultInstance().getAssumableIamRole(); + onChanged(); + return this; + } + /** + *
+       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string assumable_iam_role = 1; + */ + public Builder setAssumableIamRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + assumableIamRole_ = value; + onChanged(); + return this; + } + + private java.lang.Object kubernetesServiceAccount_ = ""; + /** + *
+       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string kubernetes_service_account = 2; + */ + public java.lang.String getKubernetesServiceAccount() { + java.lang.Object ref = kubernetesServiceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kubernetesServiceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string kubernetes_service_account = 2; + */ + public com.google.protobuf.ByteString + getKubernetesServiceAccountBytes() { + java.lang.Object ref = kubernetesServiceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kubernetesServiceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string kubernetes_service_account = 2; + */ + public Builder setKubernetesServiceAccount( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } - assumableIamRole_ = value; + kubernetesServiceAccount_ = value; + onChanged(); + return this; + } + /** + *
+       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string kubernetes_service_account = 2; + */ + public Builder clearKubernetesServiceAccount() { + + kubernetesServiceAccount_ = getDefaultInstance().getKubernetesServiceAccount(); + onChanged(); + return this; + } + /** + *
+       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * 
+ * + * string kubernetes_service_account = 2; + */ + public Builder setKubernetesServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + kubernetesServiceAccount_ = value; onChanged(); return this; } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder clearAssumableIamRole() { - - assumableIamRole_ = getDefaultInstance().getAssumableIamRole(); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.AuthRole) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.AuthRole) + private static final flyteidl.admin.Common.AuthRole DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.Common.AuthRole(); + } + + public static flyteidl.admin.Common.AuthRole getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthRole parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthRole(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RawOutputDataConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.RawOutputDataConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Prefix for where offloaded data from user workflows will be written
+     * e.g. s3://bucket/key or s3://bucket/
+     * 
+ * + * string output_location_prefix = 1; + */ + java.lang.String getOutputLocationPrefix(); + /** + *
+     * Prefix for where offloaded data from user workflows will be written
+     * e.g. s3://bucket/key or s3://bucket/
+     * 
+ * + * string output_location_prefix = 1; + */ + com.google.protobuf.ByteString + getOutputLocationPrefixBytes(); + } + /** + *
+   * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
+   * See https://github.com/flyteorg/flyte/issues/211 for more background information.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} + */ + public static final class RawOutputDataConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.RawOutputDataConfig) + RawOutputDataConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use RawOutputDataConfig.newBuilder() to construct. + private RawOutputDataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RawOutputDataConfig() { + outputLocationPrefix_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RawOutputDataConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + outputLocationPrefix_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); + } + + public static final int OUTPUT_LOCATION_PREFIX_FIELD_NUMBER = 1; + private volatile java.lang.Object outputLocationPrefix_; + /** + *
+     * Prefix for where offloaded data from user workflows will be written
+     * e.g. s3://bucket/key or s3://bucket/
+     * 
+ * + * string output_location_prefix = 1; + */ + public java.lang.String getOutputLocationPrefix() { + java.lang.Object ref = outputLocationPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputLocationPrefix_ = s; + return s; + } + } + /** + *
+     * Prefix for where offloaded data from user workflows will be written
+     * e.g. s3://bucket/key or s3://bucket/
+     * 
+ * + * string output_location_prefix = 1; + */ + public com.google.protobuf.ByteString + getOutputLocationPrefixBytes() { + java.lang.Object ref = outputLocationPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + outputLocationPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getOutputLocationPrefixBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputLocationPrefix_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getOutputLocationPrefixBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputLocationPrefix_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.Common.RawOutputDataConfig)) { + return super.equals(obj); + } + flyteidl.admin.Common.RawOutputDataConfig other = (flyteidl.admin.Common.RawOutputDataConfig) obj; + + if (!getOutputLocationPrefix() + .equals(other.getOutputLocationPrefix())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OUTPUT_LOCATION_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getOutputLocationPrefix().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.Common.RawOutputDataConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
+     * See https://github.com/flyteorg/flyte/issues/211 for more background information.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.RawOutputDataConfig) + flyteidl.admin.Common.RawOutputDataConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); + } + + // Construct using flyteidl.admin.Common.RawOutputDataConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + outputLocationPrefix_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + } + + @java.lang.Override + public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { + return flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.Common.RawOutputDataConfig build() { + flyteidl.admin.Common.RawOutputDataConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.Common.RawOutputDataConfig buildPartial() { + flyteidl.admin.Common.RawOutputDataConfig result = new flyteidl.admin.Common.RawOutputDataConfig(this); + result.outputLocationPrefix_ = outputLocationPrefix_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.Common.RawOutputDataConfig) { + return mergeFrom((flyteidl.admin.Common.RawOutputDataConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.Common.RawOutputDataConfig other) { + if (other == flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance()) return this; + if (!other.getOutputLocationPrefix().isEmpty()) { + outputLocationPrefix_ = other.outputLocationPrefix_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } - /** - *
-       * Defines an optional iam role which will be used for tasks run in executions created with this launch plan.
-       * 
- * - * string assumable_iam_role = 1; - */ - public Builder setAssumableIamRoleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - assumableIamRole_ = value; - onChanged(); + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.Common.RawOutputDataConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.Common.RawOutputDataConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } return this; } - private java.lang.Object kubernetesServiceAccount_ = ""; + private java.lang.Object outputLocationPrefix_ = ""; /** *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * Prefix for where offloaded data from user workflows will be written
+       * e.g. s3://bucket/key or s3://bucket/
        * 
* - * string kubernetes_service_account = 2; + * string output_location_prefix = 1; */ - public java.lang.String getKubernetesServiceAccount() { - java.lang.Object ref = kubernetesServiceAccount_; + public java.lang.String getOutputLocationPrefix() { + java.lang.Object ref = outputLocationPrefix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - kubernetesServiceAccount_ = s; + outputLocationPrefix_ = s; return s; } else { return (java.lang.String) ref; @@ -20020,19 +21525,20 @@ public java.lang.String getKubernetesServiceAccount() { } /** *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * Prefix for where offloaded data from user workflows will be written
+       * e.g. s3://bucket/key or s3://bucket/
        * 
* - * string kubernetes_service_account = 2; + * string output_location_prefix = 1; */ public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { - java.lang.Object ref = kubernetesServiceAccount_; + getOutputLocationPrefixBytes() { + java.lang.Object ref = outputLocationPrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - kubernetesServiceAccount_ = b; + outputLocationPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -20040,49 +21546,52 @@ public java.lang.String getKubernetesServiceAccount() { } /** *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * Prefix for where offloaded data from user workflows will be written
+       * e.g. s3://bucket/key or s3://bucket/
        * 
* - * string kubernetes_service_account = 2; + * string output_location_prefix = 1; */ - public Builder setKubernetesServiceAccount( + public Builder setOutputLocationPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - kubernetesServiceAccount_ = value; + outputLocationPrefix_ = value; onChanged(); return this; } /** *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * Prefix for where offloaded data from user workflows will be written
+       * e.g. s3://bucket/key or s3://bucket/
        * 
* - * string kubernetes_service_account = 2; + * string output_location_prefix = 1; */ - public Builder clearKubernetesServiceAccount() { + public Builder clearOutputLocationPrefix() { - kubernetesServiceAccount_ = getDefaultInstance().getKubernetesServiceAccount(); + outputLocationPrefix_ = getDefaultInstance().getOutputLocationPrefix(); onChanged(); return this; } /** *
-       * Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan.
+       * Prefix for where offloaded data from user workflows will be written
+       * e.g. s3://bucket/key or s3://bucket/
        * 
* - * string kubernetes_service_account = 2; + * string output_location_prefix = 1; */ - public Builder setKubernetesServiceAccountBytes( + public Builder setOutputLocationPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - kubernetesServiceAccount_ = value; + outputLocationPrefix_ = value; onChanged(); return this; } @@ -20099,89 +21608,100 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.admin.AuthRole) + // @@protoc_insertion_point(builder_scope:flyteidl.admin.RawOutputDataConfig) } - // @@protoc_insertion_point(class_scope:flyteidl.admin.AuthRole) - private static final flyteidl.admin.Common.AuthRole DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.admin.RawOutputDataConfig) + private static final flyteidl.admin.Common.RawOutputDataConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.AuthRole(); + DEFAULT_INSTANCE = new flyteidl.admin.Common.RawOutputDataConfig(); } - public static flyteidl.admin.Common.AuthRole getDefaultInstance() { + public static flyteidl.admin.Common.RawOutputDataConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public AuthRole parsePartialFrom( + public RawOutputDataConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuthRole(input, extensionRegistry); + return new RawOutputDataConfig(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.admin.Common.AuthRole getDefaultInstanceForType() { + public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface RawOutputDataConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.RawOutputDataConfig) + public interface FlyteURLsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.FlyteURLs) com.google.protobuf.MessageOrBuilder { /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ - java.lang.String getOutputLocationPrefix(); + java.lang.String getInputs(); /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ com.google.protobuf.ByteString - getOutputLocationPrefixBytes(); + getInputsBytes(); + + /** + * string outputs = 2; + */ + java.lang.String getOutputs(); + /** + * string outputs = 2; + */ + com.google.protobuf.ByteString + getOutputsBytes(); + + /** + * string deck = 3; + */ + java.lang.String getDeck(); + /** + * string deck = 3; + */ + com.google.protobuf.ByteString + getDeckBytes(); } /** *
-   * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-   * See https://github.com/flyteorg/flyte/issues/211 for more background information.
+   * These URLs are returned as part of node and task execution data requests.
    * 
* - * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} + * Protobuf type {@code flyteidl.admin.FlyteURLs} */ - public static final class RawOutputDataConfig extends + public static final class FlyteURLs extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.RawOutputDataConfig) - RawOutputDataConfigOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.admin.FlyteURLs) + FlyteURLsOrBuilder { private static final long serialVersionUID = 0L; - // Use RawOutputDataConfig.newBuilder() to construct. - private RawOutputDataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use FlyteURLs.newBuilder() to construct. + private FlyteURLs(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RawOutputDataConfig() { - outputLocationPrefix_ = ""; + private FlyteURLs() { + inputs_ = ""; + outputs_ = ""; + deck_ = ""; } @java.lang.Override @@ -20189,7 +21709,7 @@ private RawOutputDataConfig() { getUnknownFields() { return this.unknownFields; } - private RawOutputDataConfig( + private FlyteURLs( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20211,7 +21731,19 @@ private RawOutputDataConfig( case 10: { java.lang.String s = input.readStringRequireUtf8(); - outputLocationPrefix_ = s; + inputs_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + outputs_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + deck_ = s; break; } default: { @@ -20235,55 +21767,113 @@ private RawOutputDataConfig( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable + return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); + flyteidl.admin.Common.FlyteURLs.class, flyteidl.admin.Common.FlyteURLs.Builder.class); + } + + public static final int INPUTS_FIELD_NUMBER = 1; + private volatile java.lang.Object inputs_; + /** + * string inputs = 1; + */ + public java.lang.String getInputs() { + java.lang.Object ref = inputs_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inputs_ = s; + return s; + } + } + /** + * string inputs = 1; + */ + public com.google.protobuf.ByteString + getInputsBytes() { + java.lang.Object ref = inputs_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + inputs_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OUTPUTS_FIELD_NUMBER = 2; + private volatile java.lang.Object outputs_; + /** + * string outputs = 2; + */ + public java.lang.String getOutputs() { + java.lang.Object ref = outputs_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputs_ = s; + return s; + } + } + /** + * string outputs = 2; + */ + public com.google.protobuf.ByteString + getOutputsBytes() { + java.lang.Object ref = outputs_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + outputs_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int OUTPUT_LOCATION_PREFIX_FIELD_NUMBER = 1; - private volatile java.lang.Object outputLocationPrefix_; + public static final int DECK_FIELD_NUMBER = 3; + private volatile java.lang.Object deck_; /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; + * string deck = 3; */ - public java.lang.String getOutputLocationPrefix() { - java.lang.Object ref = outputLocationPrefix_; + public java.lang.String getDeck() { + java.lang.Object ref = deck_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - outputLocationPrefix_ = s; + deck_ = s; return s; } } /** - *
-     * Prefix for where offloaded data from user workflows will be written
-     * e.g. s3://bucket/key or s3://bucket/
-     * 
- * - * string output_location_prefix = 1; + * string deck = 3; */ public com.google.protobuf.ByteString - getOutputLocationPrefixBytes() { - java.lang.Object ref = outputLocationPrefix_; + getDeckBytes() { + java.lang.Object ref = deck_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - outputLocationPrefix_ = b; + deck_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -20304,8 +21894,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getOutputLocationPrefixBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputLocationPrefix_); + if (!getInputsBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputs_); + } + if (!getOutputsBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, outputs_); + } + if (!getDeckBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deck_); } unknownFields.writeTo(output); } @@ -20316,8 +21912,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getOutputLocationPrefixBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputLocationPrefix_); + if (!getInputsBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputs_); + } + if (!getOutputsBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, outputs_); + } + if (!getDeckBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deck_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -20329,13 +21931,17 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.admin.Common.RawOutputDataConfig)) { + if (!(obj instanceof flyteidl.admin.Common.FlyteURLs)) { return super.equals(obj); } - flyteidl.admin.Common.RawOutputDataConfig other = (flyteidl.admin.Common.RawOutputDataConfig) obj; + flyteidl.admin.Common.FlyteURLs other = (flyteidl.admin.Common.FlyteURLs) obj; - if (!getOutputLocationPrefix() - .equals(other.getOutputLocationPrefix())) return false; + if (!getInputs() + .equals(other.getInputs())) return false; + if (!getOutputs() + .equals(other.getOutputs())) return false; + if (!getDeck() + .equals(other.getDeck())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -20347,76 +21953,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OUTPUT_LOCATION_PREFIX_FIELD_NUMBER; - hash = (53 * hash) + getOutputLocationPrefix().hashCode(); + hash = (37 * hash) + INPUTS_FIELD_NUMBER; + hash = (53 * hash) + getInputs().hashCode(); + hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; + hash = (53 * hash) + getOutputs().hashCode(); + hash = (37 * hash) + DECK_FIELD_NUMBER; + hash = (53 * hash) + getDeck().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(byte[] data) + public static flyteidl.admin.Common.FlyteURLs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom(java.io.InputStream input) + public static flyteidl.admin.Common.FlyteURLs parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.admin.Common.FlyteURLs parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.admin.Common.RawOutputDataConfig parseDelimitedFrom( + public static flyteidl.admin.Common.FlyteURLs parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( + public static flyteidl.admin.Common.FlyteURLs parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -20429,7 +22039,7 @@ public static flyteidl.admin.Common.RawOutputDataConfig parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.admin.Common.RawOutputDataConfig prototype) { + public static Builder newBuilder(flyteidl.admin.Common.FlyteURLs prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -20446,30 +22056,29 @@ protected Builder newBuilderForType( } /** *
-     * Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
-     * See https://github.com/flyteorg/flyte/issues/211 for more background information.
+     * These URLs are returned as part of node and task execution data requests.
      * 
* - * Protobuf type {@code flyteidl.admin.RawOutputDataConfig} + * Protobuf type {@code flyteidl.admin.FlyteURLs} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.admin.RawOutputDataConfig) - flyteidl.admin.Common.RawOutputDataConfigOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.admin.FlyteURLs) + flyteidl.admin.Common.FlyteURLsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable + return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.admin.Common.RawOutputDataConfig.class, flyteidl.admin.Common.RawOutputDataConfig.Builder.class); + flyteidl.admin.Common.FlyteURLs.class, flyteidl.admin.Common.FlyteURLs.Builder.class); } - // Construct using flyteidl.admin.Common.RawOutputDataConfig.newBuilder() + // Construct using flyteidl.admin.Common.FlyteURLs.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -20487,7 +22096,11 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - outputLocationPrefix_ = ""; + inputs_ = ""; + + outputs_ = ""; + + deck_ = ""; return this; } @@ -20495,17 +22108,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.admin.Common.internal_static_flyteidl_admin_RawOutputDataConfig_descriptor; + return flyteidl.admin.Common.internal_static_flyteidl_admin_FlyteURLs_descriptor; } @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { - return flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance(); + public flyteidl.admin.Common.FlyteURLs getDefaultInstanceForType() { + return flyteidl.admin.Common.FlyteURLs.getDefaultInstance(); } @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig build() { - flyteidl.admin.Common.RawOutputDataConfig result = buildPartial(); + public flyteidl.admin.Common.FlyteURLs build() { + flyteidl.admin.Common.FlyteURLs result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -20513,9 +22126,11 @@ public flyteidl.admin.Common.RawOutputDataConfig build() { } @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig buildPartial() { - flyteidl.admin.Common.RawOutputDataConfig result = new flyteidl.admin.Common.RawOutputDataConfig(this); - result.outputLocationPrefix_ = outputLocationPrefix_; + public flyteidl.admin.Common.FlyteURLs buildPartial() { + flyteidl.admin.Common.FlyteURLs result = new flyteidl.admin.Common.FlyteURLs(this); + result.inputs_ = inputs_; + result.outputs_ = outputs_; + result.deck_ = deck_; onBuilt(); return result; } @@ -20554,18 +22169,26 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.admin.Common.RawOutputDataConfig) { - return mergeFrom((flyteidl.admin.Common.RawOutputDataConfig)other); + if (other instanceof flyteidl.admin.Common.FlyteURLs) { + return mergeFrom((flyteidl.admin.Common.FlyteURLs)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.admin.Common.RawOutputDataConfig other) { - if (other == flyteidl.admin.Common.RawOutputDataConfig.getDefaultInstance()) return this; - if (!other.getOutputLocationPrefix().isEmpty()) { - outputLocationPrefix_ = other.outputLocationPrefix_; + public Builder mergeFrom(flyteidl.admin.Common.FlyteURLs other) { + if (other == flyteidl.admin.Common.FlyteURLs.getDefaultInstance()) return this; + if (!other.getInputs().isEmpty()) { + inputs_ = other.inputs_; + onChanged(); + } + if (!other.getOutputs().isEmpty()) { + outputs_ = other.outputs_; + onChanged(); + } + if (!other.getDeck().isEmpty()) { + deck_ = other.deck_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -20583,11 +22206,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.admin.Common.RawOutputDataConfig parsedMessage = null; + flyteidl.admin.Common.FlyteURLs parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.admin.Common.RawOutputDataConfig) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.admin.Common.FlyteURLs) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -20597,96 +22220,209 @@ public Builder mergeFrom( return this; } - private java.lang.Object outputLocationPrefix_ = ""; + private java.lang.Object inputs_ = ""; /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ - public java.lang.String getOutputLocationPrefix() { - java.lang.Object ref = outputLocationPrefix_; + public java.lang.String getInputs() { + java.lang.Object ref = inputs_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - outputLocationPrefix_ = s; + inputs_ = s; return s; } else { return (java.lang.String) ref; } } /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ public com.google.protobuf.ByteString - getOutputLocationPrefixBytes() { - java.lang.Object ref = outputLocationPrefix_; + getInputsBytes() { + java.lang.Object ref = inputs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - outputLocationPrefix_ = b; + inputs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ - public Builder setOutputLocationPrefix( + public Builder setInputs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - outputLocationPrefix_ = value; + inputs_ = value; onChanged(); return this; } /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ - public Builder clearOutputLocationPrefix() { + public Builder clearInputs() { - outputLocationPrefix_ = getDefaultInstance().getOutputLocationPrefix(); + inputs_ = getDefaultInstance().getInputs(); onChanged(); return this; } /** - *
-       * Prefix for where offloaded data from user workflows will be written
-       * e.g. s3://bucket/key or s3://bucket/
-       * 
- * - * string output_location_prefix = 1; + * string inputs = 1; */ - public Builder setOutputLocationPrefixBytes( + public Builder setInputsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - outputLocationPrefix_ = value; + inputs_ = value; + onChanged(); + return this; + } + + private java.lang.Object outputs_ = ""; + /** + * string outputs = 2; + */ + public java.lang.String getOutputs() { + java.lang.Object ref = outputs_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputs_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string outputs = 2; + */ + public com.google.protobuf.ByteString + getOutputsBytes() { + java.lang.Object ref = outputs_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + outputs_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string outputs = 2; + */ + public Builder setOutputs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + outputs_ = value; + onChanged(); + return this; + } + /** + * string outputs = 2; + */ + public Builder clearOutputs() { + + outputs_ = getDefaultInstance().getOutputs(); + onChanged(); + return this; + } + /** + * string outputs = 2; + */ + public Builder setOutputsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + outputs_ = value; + onChanged(); + return this; + } + + private java.lang.Object deck_ = ""; + /** + * string deck = 3; + */ + public java.lang.String getDeck() { + java.lang.Object ref = deck_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deck_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string deck = 3; + */ + public com.google.protobuf.ByteString + getDeckBytes() { + java.lang.Object ref = deck_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deck_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string deck = 3; + */ + public Builder setDeck( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + deck_ = value; + onChanged(); + return this; + } + /** + * string deck = 3; + */ + public Builder clearDeck() { + + deck_ = getDefaultInstance().getDeck(); + onChanged(); + return this; + } + /** + * string deck = 3; + */ + public Builder setDeckBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + deck_ = value; onChanged(); return this; } @@ -20703,41 +22439,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.admin.RawOutputDataConfig) + // @@protoc_insertion_point(builder_scope:flyteidl.admin.FlyteURLs) } - // @@protoc_insertion_point(class_scope:flyteidl.admin.RawOutputDataConfig) - private static final flyteidl.admin.Common.RawOutputDataConfig DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.admin.FlyteURLs) + private static final flyteidl.admin.Common.FlyteURLs DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.admin.Common.RawOutputDataConfig(); + DEFAULT_INSTANCE = new flyteidl.admin.Common.FlyteURLs(); } - public static flyteidl.admin.Common.RawOutputDataConfig getDefaultInstance() { + public static flyteidl.admin.Common.FlyteURLs getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public RawOutputDataConfig parsePartialFrom( + public FlyteURLs parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new RawOutputDataConfig(input, extensionRegistry); + return new FlyteURLs(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { + public flyteidl.admin.Common.FlyteURLs getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -20853,6 +22589,11 @@ public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_Annotations_ValuesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_Envs_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_Envs_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_AuthRole_descriptor; private static final @@ -20863,6 +22604,11 @@ public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_FlyteURLs_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -20874,70 +22620,74 @@ public flyteidl.admin.Common.RawOutputDataConfig getDefaultInstanceForType() { java.lang.String[] descriptorData = { "\n\033flyteidl/admin/common.proto\022\016flyteidl." + "admin\032\035flyteidl/core/execution.proto\032\036fl" + - "yteidl/core/identifier.proto\"F\n\025NamedEnt" + - "ityIdentifier\022\017\n\007project\030\001 \001(\t\022\016\n\006domain" + - "\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"[\n\023NamedEntityMetad" + - "ata\022\023\n\013description\030\001 \001(\t\022/\n\005state\030\002 \001(\0162" + - " .flyteidl.admin.NamedEntityState\"\253\001\n\013Na" + - "medEntity\0222\n\rresource_type\030\001 \001(\0162\033.flyte" + - "idl.core.ResourceType\0221\n\002id\030\002 \001(\0132%.flyt" + - "eidl.admin.NamedEntityIdentifier\0225\n\010meta" + - "data\030\003 \001(\0132#.flyteidl.admin.NamedEntityM" + - "etadata\"r\n\004Sort\022\013\n\003key\030\001 \001(\t\0221\n\tdirectio" + - "n\030\002 \001(\0162\036.flyteidl.admin.Sort.Direction\"" + - "*\n\tDirection\022\016\n\nDESCENDING\020\000\022\r\n\tASCENDIN" + - "G\020\001\"\231\001\n NamedEntityIdentifierListRequest" + - "\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\r\n\005lim" + - "it\030\003 \001(\r\022\r\n\005token\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\013" + - "2\024.flyteidl.admin.Sort\022\017\n\007filters\030\006 \001(\t\"" + - "\303\001\n\026NamedEntityListRequest\0222\n\rresource_t" + - "ype\030\001 \001(\0162\033.flyteidl.core.ResourceType\022\017" + - "\n\007project\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\r\n\005limit" + - "\030\004 \001(\r\022\r\n\005token\030\005 \001(\t\022%\n\007sort_by\030\006 \001(\0132\024" + - ".flyteidl.admin.Sort\022\017\n\007filters\030\007 \001(\t\"c\n" + - "\031NamedEntityIdentifierList\0227\n\010entities\030\001" + - " \003(\0132%.flyteidl.admin.NamedEntityIdentif" + - "ier\022\r\n\005token\030\002 \001(\t\"O\n\017NamedEntityList\022-\n" + - "\010entities\030\001 \003(\0132\033.flyteidl.admin.NamedEn" + - "tity\022\r\n\005token\030\002 \001(\t\"~\n\025NamedEntityGetReq" + - "uest\0222\n\rresource_type\030\001 \001(\0162\033.flyteidl.c" + - "ore.ResourceType\0221\n\002id\030\002 \001(\0132%.flyteidl." + - "admin.NamedEntityIdentifier\"\270\001\n\030NamedEnt" + - "ityUpdateRequest\0222\n\rresource_type\030\001 \001(\0162" + - "\033.flyteidl.core.ResourceType\0221\n\002id\030\002 \001(\013" + - "2%.flyteidl.admin.NamedEntityIdentifier\022" + - "5\n\010metadata\030\003 \001(\0132#.flyteidl.admin.Named" + - "EntityMetadata\"\033\n\031NamedEntityUpdateRespo" + - "nse\"9\n\020ObjectGetRequest\022%\n\002id\030\001 \001(\0132\031.fl" + - "yteidl.core.Identifier\"\236\001\n\023ResourceListR" + - "equest\0221\n\002id\030\001 \001(\0132%.flyteidl.admin.Name" + - "dEntityIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005toke" + - "n\030\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(" + - "\0132\024.flyteidl.admin.Sort\"-\n\021EmailNotifica" + - "tion\022\030\n\020recipients_email\030\001 \003(\t\"1\n\025PagerD" + - "utyNotification\022\030\n\020recipients_email\030\001 \003(" + - "\t\"-\n\021SlackNotification\022\030\n\020recipients_ema" + - "il\030\001 \003(\t\"\363\001\n\014Notification\0226\n\006phases\030\001 \003(" + - "\0162&.flyteidl.core.WorkflowExecution.Phas" + - "e\0222\n\005email\030\002 \001(\0132!.flyteidl.admin.EmailN" + - "otificationH\000\022;\n\npager_duty\030\003 \001(\0132%.flyt" + - "eidl.admin.PagerDutyNotificationH\000\0222\n\005sl" + - "ack\030\004 \001(\0132!.flyteidl.admin.SlackNotifica" + - "tionH\000B\006\n\004type\")\n\007UrlBlob\022\013\n\003url\030\001 \001(\t\022\r" + - "\n\005bytes\030\002 \001(\003:\002\030\001\"k\n\006Labels\0222\n\006values\030\001 " + - "\003(\0132\".flyteidl.admin.Labels.ValuesEntry\032" + - "-\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"u\n\013Annotations\0227\n\006values\030\001 \003(\0132\'." + - "flyteidl.admin.Annotations.ValuesEntry\032-" + - "\n\013ValuesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030" + - "\001 \001(\t\022\"\n\032kubernetes_service_account\030\002 \001(" + - "\t:\002\030\001\"5\n\023RawOutputDataConfig\022\036\n\026output_l" + - "ocation_prefix\030\001 \001(\t*\\\n\020NamedEntityState" + - "\022\027\n\023NAMED_ENTITY_ACTIVE\020\000\022\031\n\025NAMED_ENTIT" + - "Y_ARCHIVED\020\001\022\024\n\020SYSTEM_GENERATED\020\002B7Z5gi" + - "thub.com/flyteorg/flyteidl/gen/pb-go/fly" + - "teidl/adminb\006proto3" + "yteidl/core/identifier.proto\032\034flyteidl/c" + + "ore/literals.proto\032\037google/protobuf/time" + + "stamp.proto\"F\n\025NamedEntityIdentifier\022\017\n\007" + + "project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 " + + "\001(\t\"[\n\023NamedEntityMetadata\022\023\n\013descriptio" + + "n\030\001 \001(\t\022/\n\005state\030\002 \001(\0162 .flyteidl.admin." + + "NamedEntityState\"\253\001\n\013NamedEntity\0222\n\rreso" + + "urce_type\030\001 \001(\0162\033.flyteidl.core.Resource" + + "Type\0221\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedE" + + "ntityIdentifier\0225\n\010metadata\030\003 \001(\0132#.flyt" + + "eidl.admin.NamedEntityMetadata\"r\n\004Sort\022\013" + + "\n\003key\030\001 \001(\t\0221\n\tdirection\030\002 \001(\0162\036.flyteid" + + "l.admin.Sort.Direction\"*\n\tDirection\022\016\n\nD" + + "ESCENDING\020\000\022\r\n\tASCENDING\020\001\"\231\001\n NamedEnti" + + "tyIdentifierListRequest\022\017\n\007project\030\001 \001(\t" + + "\022\016\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token" + + "\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin" + + ".Sort\022\017\n\007filters\030\006 \001(\t\"\303\001\n\026NamedEntityLi" + + "stRequest\0222\n\rresource_type\030\001 \001(\0162\033.flyte" + + "idl.core.ResourceType\022\017\n\007project\030\002 \001(\t\022\016" + + "\n\006domain\030\003 \001(\t\022\r\n\005limit\030\004 \001(\r\022\r\n\005token\030\005" + + " \001(\t\022%\n\007sort_by\030\006 \001(\0132\024.flyteidl.admin.S" + + "ort\022\017\n\007filters\030\007 \001(\t\"c\n\031NamedEntityIdent" + + "ifierList\0227\n\010entities\030\001 \003(\0132%.flyteidl.a" + + "dmin.NamedEntityIdentifier\022\r\n\005token\030\002 \001(" + + "\t\"O\n\017NamedEntityList\022-\n\010entities\030\001 \003(\0132\033" + + ".flyteidl.admin.NamedEntity\022\r\n\005token\030\002 \001" + + "(\t\"~\n\025NamedEntityGetRequest\0222\n\rresource_" + + "type\030\001 \001(\0162\033.flyteidl.core.ResourceType\022" + + "1\n\002id\030\002 \001(\0132%.flyteidl.admin.NamedEntity" + + "Identifier\"\270\001\n\030NamedEntityUpdateRequest\022" + + "2\n\rresource_type\030\001 \001(\0162\033.flyteidl.core.R" + + "esourceType\0221\n\002id\030\002 \001(\0132%.flyteidl.admin" + + ".NamedEntityIdentifier\0225\n\010metadata\030\003 \001(\013" + + "2#.flyteidl.admin.NamedEntityMetadata\"\033\n" + + "\031NamedEntityUpdateResponse\"9\n\020ObjectGetR" + + "equest\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Ident" + + "ifier\"\236\001\n\023ResourceListRequest\0221\n\002id\030\001 \001(" + + "\0132%.flyteidl.admin.NamedEntityIdentifier" + + "\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030\003 \001(\t\022\017\n\007filter" + + "s\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admi" + + "n.Sort\"-\n\021EmailNotification\022\030\n\020recipient" + + "s_email\030\001 \003(\t\"1\n\025PagerDutyNotification\022\030" + + "\n\020recipients_email\030\001 \003(\t\"-\n\021SlackNotific" + + "ation\022\030\n\020recipients_email\030\001 \003(\t\"\363\001\n\014Noti" + + "fication\0226\n\006phases\030\001 \003(\0162&.flyteidl.core" + + ".WorkflowExecution.Phase\0222\n\005email\030\002 \001(\0132" + + "!.flyteidl.admin.EmailNotificationH\000\022;\n\n" + + "pager_duty\030\003 \001(\0132%.flyteidl.admin.PagerD" + + "utyNotificationH\000\0222\n\005slack\030\004 \001(\0132!.flyte" + + "idl.admin.SlackNotificationH\000B\006\n\004type\")\n" + + "\007UrlBlob\022\013\n\003url\030\001 \001(\t\022\r\n\005bytes\030\002 \001(\003:\002\030\001" + + "\"k\n\006Labels\0222\n\006values\030\001 \003(\0132\".flyteidl.ad" + + "min.Labels.ValuesEntry\032-\n\013ValuesEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\013Annotat" + + "ions\0227\n\006values\030\001 \003(\0132\'.flyteidl.admin.An" + + "notations.ValuesEntry\032-\n\013ValuesEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\004Envs\022+\n\006" + + "values\030\001 \003(\0132\033.flyteidl.core.KeyValuePai" + + "r\"N\n\010AuthRole\022\032\n\022assumable_iam_role\030\001 \001(" + + "\t\022\"\n\032kubernetes_service_account\030\002 \001(\t:\002\030" + + "\001\"5\n\023RawOutputDataConfig\022\036\n\026output_locat" + + "ion_prefix\030\001 \001(\t\":\n\tFlyteURLs\022\016\n\006inputs\030" + + "\001 \001(\t\022\017\n\007outputs\030\002 \001(\t\022\014\n\004deck\030\003 \001(\t*\\\n\020" + + "NamedEntityState\022\027\n\023NAMED_ENTITY_ACTIVE\020" + + "\000\022\031\n\025NAMED_ENTITY_ARCHIVED\020\001\022\024\n\020SYSTEM_G" + + "ENERATED\020\002B7Z5github.com/flyteorg/flytei" + + "dl/gen/pb-go/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -20952,6 +22702,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.Descriptors.FileDescriptor[] { flyteidl.core.Execution.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), + flyteidl.core.Literals.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); internal_static_flyteidl_admin_NamedEntityIdentifier_descriptor = getDescriptor().getMessageTypes().get(0); @@ -21085,20 +22837,34 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_Annotations_ValuesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_flyteidl_admin_AuthRole_descriptor = + internal_static_flyteidl_admin_Envs_descriptor = getDescriptor().getMessageTypes().get(20); + internal_static_flyteidl_admin_Envs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_Envs_descriptor, + new java.lang.String[] { "Values", }); + internal_static_flyteidl_admin_AuthRole_descriptor = + getDescriptor().getMessageTypes().get(21); internal_static_flyteidl_admin_AuthRole_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_AuthRole_descriptor, new java.lang.String[] { "AssumableIamRole", "KubernetesServiceAccount", }); internal_static_flyteidl_admin_RawOutputDataConfig_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(22); internal_static_flyteidl_admin_RawOutputDataConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_RawOutputDataConfig_descriptor, new java.lang.String[] { "OutputLocationPrefix", }); + internal_static_flyteidl_admin_FlyteURLs_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_flyteidl_admin_FlyteURLs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_FlyteURLs_descriptor, + new java.lang.String[] { "Inputs", "Outputs", "Deck", }); flyteidl.core.Execution.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); + flyteidl.core.Literals.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java b/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java index 6037e7968..12a72be19 100644 --- a/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java +++ b/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java @@ -17003,6 +17003,31 @@ public interface ExecutionSpecOrBuilder extends */ boolean getOverwriteCache(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + boolean hasEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + flyteidl.admin.Common.Envs getEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); + public flyteidl.admin.ExecutionOuterClass.ExecutionSpec.NotificationOverridesCase getNotificationOverridesCase(); } /** @@ -17221,6 +17246,19 @@ private ExecutionSpec( overwriteCache_ = input.readBool(); break; } + case 186: { + flyteidl.admin.Common.Envs.Builder subBuilder = null; + if (envs_ != null) { + subBuilder = envs_.toBuilder(); + } + envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(envs_); + envs_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -17755,6 +17793,39 @@ public boolean getOverwriteCache() { return overwriteCache_; } + public static final int ENVS_FIELD_NUMBER = 23; + private flyteidl.admin.Common.Envs envs_; + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public boolean hasEnvs() { + return envs_ != null; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public flyteidl.admin.Common.Envs getEnvs() { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + return getEnvs(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -17815,6 +17886,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (overwriteCache_ != false) { output.writeBool(22, overwriteCache_); } + if (envs_ != null) { + output.writeMessage(23, getEnvs()); + } unknownFields.writeTo(output); } @@ -17885,6 +17959,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(22, overwriteCache_); } + if (envs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getEnvs()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -17959,6 +18037,11 @@ public boolean equals(final java.lang.Object obj) { } if (getOverwriteCache() != other.getOverwriteCache()) return false; + if (hasEnvs() != other.hasEnvs()) return false; + if (hasEnvs()) { + if (!getEnvs() + .equals(other.getEnvs())) return false; + } if (!getNotificationOverridesCase().equals(other.getNotificationOverridesCase())) return false; switch (notificationOverridesCase_) { case 5: @@ -18032,6 +18115,10 @@ public int hashCode() { hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOverwriteCache()); + if (hasEnvs()) { + hash = (37 * hash) + ENVS_FIELD_NUMBER; + hash = (53 * hash) + getEnvs().hashCode(); + } switch (notificationOverridesCase_) { case 5: hash = (37 * hash) + NOTIFICATIONS_FIELD_NUMBER; @@ -18253,6 +18340,12 @@ public Builder clear() { } overwriteCache_ = false; + if (envsBuilder_ == null) { + envs_ = null; + } else { + envs_ = null; + envsBuilder_ = null; + } notificationOverridesCase_ = 0; notificationOverrides_ = null; return this; @@ -18348,6 +18441,11 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionSpec buildPartial() { result.interruptible_ = interruptibleBuilder_.build(); } result.overwriteCache_ = overwriteCache_; + if (envsBuilder_ == null) { + result.envs_ = envs_; + } else { + result.envs_ = envsBuilder_.build(); + } result.notificationOverridesCase_ = notificationOverridesCase_; onBuilt(); return result; @@ -18436,6 +18534,9 @@ public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionSpec other) if (other.getOverwriteCache() != false) { setOverwriteCache(other.getOverwriteCache()); } + if (other.hasEnvs()) { + mergeEnvs(other.getEnvs()); + } switch (other.getNotificationOverridesCase()) { case NOTIFICATIONS: { mergeNotifications(other.getNotifications()); @@ -20531,6 +20632,159 @@ public Builder clearOverwriteCache() { onChanged(); return this; } + + private flyteidl.admin.Common.Envs envs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public boolean hasEnvs() { + return envsBuilder_ != null || envs_ != null; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public flyteidl.admin.Common.Envs getEnvs() { + if (envsBuilder_ == null) { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } else { + return envsBuilder_.getMessage(); + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public Builder setEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + envs_ = value; + onChanged(); + } else { + envsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public Builder setEnvs( + flyteidl.admin.Common.Envs.Builder builderForValue) { + if (envsBuilder_ == null) { + envs_ = builderForValue.build(); + onChanged(); + } else { + envsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (envs_ != null) { + envs_ = + flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); + } else { + envs_ = value; + } + onChanged(); + } else { + envsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public Builder clearEnvs() { + if (envsBuilder_ == null) { + envs_ = null; + onChanged(); + } else { + envs_ = null; + envsBuilder_ = null; + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { + + onChanged(); + return getEnvsFieldBuilder().getBuilder(); + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + if (envsBuilder_ != null) { + return envsBuilder_.getMessageOrBuilder(); + } else { + return envs_ == null ? + flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> + getEnvsFieldBuilder() { + if (envsBuilder_ == null) { + envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( + getEnvs(), + getParentForChildren(), + isClean()); + envs_ = null; + } + return envsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -26176,229 +26430,1690 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionUpdateResponse getDefaultInst } - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_Execution_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_Execution_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_LiteralMapBlob_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_AbortMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionClosure_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_SystemMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionMetadata_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_NotificationList_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_NotificationList_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionSpec_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable; + public interface WorkflowExecutionGetMetricsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + boolean hasId(); + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId(); + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder(); + + /** + *
+     * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
+     * 
+ * + * int32 depth = 2; + */ + int getDepth(); + } + /** + *
+   * WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsRequest} + */ + public static final class WorkflowExecutionGetMetricsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + WorkflowExecutionGetMetricsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowExecutionGetMetricsRequest.newBuilder() to construct. + private WorkflowExecutionGetMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowExecutionGetMetricsRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowExecutionGetMetricsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + depth_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.Builder.class); + } + + public static final int ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public boolean hasId() { + return id_ != null; + } + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { + return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; + } + /** + *
+     * id defines the workflow execution to query for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { + return getId(); + } + + public static final int DEPTH_FIELD_NUMBER = 2; + private int depth_; + /** + *
+     * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
+     * 
+ * + * int32 depth = 2; + */ + public int getDepth() { + return depth_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (id_ != null) { + output.writeMessage(1, getId()); + } + if (depth_ != 0) { + output.writeInt32(2, depth_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (id_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getId()); + } + if (depth_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, depth_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest)) { + return super.equals(obj); + } + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) obj; + + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) return false; + } + if (getDepth() + != other.getDepth()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + hash = (37 * hash) + DEPTH_FIELD_NUMBER; + hash = (53 * hash) + getDepth(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.Builder.class); + } + + // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (idBuilder_ == null) { + id_ = null; + } else { + id_ = null; + idBuilder_ = null; + } + depth_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstanceForType() { + return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest build() { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest buildPartial() { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest(this); + if (idBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = idBuilder_.build(); + } + result.depth_ = depth_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) { + return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest other) { + if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest.getDefaultInstance()) return this; + if (other.hasId()) { + mergeId(other.getId()); + } + if (other.getDepth() != 0) { + setDepth(other.getDepth()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier id_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> idBuilder_; + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public boolean hasId() { + return idBuilder_ != null || id_ != null; + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getId() { + if (idBuilder_ == null) { + return id_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; + } else { + return idBuilder_.getMessage(); + } + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public Builder setId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (idBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + idBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public Builder setId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (idBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + idBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public Builder mergeId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (idBuilder_ == null) { + if (id_ != null) { + id_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + idBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public Builder clearId() { + if (idBuilder_ == null) { + id_ = null; + onChanged(); + } else { + id_ = null; + idBuilder_ = null; + } + + return this; + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getIdBuilder() { + + onChanged(); + return getIdFieldBuilder().getBuilder(); + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getIdOrBuilder() { + if (idBuilder_ != null) { + return idBuilder_.getMessageOrBuilder(); + } else { + return id_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : id_; + } + } + /** + *
+       * id defines the workflow execution to query for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getIdFieldBuilder() { + if (idBuilder_ == null) { + idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getId(), + getParentForChildren(), + isClean()); + id_ = null; + } + return idBuilder_; + } + + private int depth_ ; + /** + *
+       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
+       * 
+ * + * int32 depth = 2; + */ + public int getDepth() { + return depth_; + } + /** + *
+       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
+       * 
+ * + * int32 depth = 2; + */ + public Builder setDepth(int value) { + + depth_ = value; + onChanged(); + return this; + } + /** + *
+       * depth defines the number of Flyte entity levels to traverse when breaking down execution details.
+       * 
+ * + * int32 depth = 2; + */ + public Builder clearDepth() { + + depth_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest(); + } + + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowExecutionGetMetricsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowExecutionGetMetricsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkflowExecutionGetMetricsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + boolean hasSpan(); + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + flyteidl.core.Metrics.Span getSpan(); + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder(); + } + /** + *
+   * WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsResponse} + */ + public static final class WorkflowExecutionGetMetricsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + WorkflowExecutionGetMetricsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowExecutionGetMetricsResponse.newBuilder() to construct. + private WorkflowExecutionGetMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowExecutionGetMetricsResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowExecutionGetMetricsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.Metrics.Span.Builder subBuilder = null; + if (span_ != null) { + subBuilder = span_.toBuilder(); + } + span_ = input.readMessage(flyteidl.core.Metrics.Span.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(span_); + span_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.Builder.class); + } + + public static final int SPAN_FIELD_NUMBER = 1; + private flyteidl.core.Metrics.Span span_; + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + public boolean hasSpan() { + return span_ != null; + } + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + public flyteidl.core.Metrics.Span getSpan() { + return span_ == null ? flyteidl.core.Metrics.Span.getDefaultInstance() : span_; + } + /** + *
+     * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+     * hierarchical structure using Flyte entity references.
+     * 
+ * + * .flyteidl.core.Span span = 1; + */ + public flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder() { + return getSpan(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (span_ != null) { + output.writeMessage(1, getSpan()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (span_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSpan()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse)) { + return super.equals(obj); + } + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse other = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) obj; + + if (hasSpan() != other.hasSpan()) return false; + if (hasSpan()) { + if (!getSpan() + .equals(other.getSpan())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSpan()) { + hash = (37 * hash) + SPAN_FIELD_NUMBER; + hash = (53 * hash) + getSpan().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowExecutionGetMetricsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.class, flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.Builder.class); + } + + // Construct using flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (spanBuilder_ == null) { + span_ = null; + } else { + span_ = null; + spanBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.ExecutionOuterClass.internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstanceForType() { + return flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse build() { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse buildPartial() { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse result = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse(this); + if (spanBuilder_ == null) { + result.span_ = span_; + } else { + result.span_ = spanBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) { + return mergeFrom((flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse other) { + if (other == flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse.getDefaultInstance()) return this; + if (other.hasSpan()) { + mergeSpan(other.getSpan()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.Metrics.Span span_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> spanBuilder_; + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public boolean hasSpan() { + return spanBuilder_ != null || span_ != null; + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public flyteidl.core.Metrics.Span getSpan() { + if (spanBuilder_ == null) { + return span_ == null ? flyteidl.core.Metrics.Span.getDefaultInstance() : span_; + } else { + return spanBuilder_.getMessage(); + } + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public Builder setSpan(flyteidl.core.Metrics.Span value) { + if (spanBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + span_ = value; + onChanged(); + } else { + spanBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public Builder setSpan( + flyteidl.core.Metrics.Span.Builder builderForValue) { + if (spanBuilder_ == null) { + span_ = builderForValue.build(); + onChanged(); + } else { + spanBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public Builder mergeSpan(flyteidl.core.Metrics.Span value) { + if (spanBuilder_ == null) { + if (span_ != null) { + span_ = + flyteidl.core.Metrics.Span.newBuilder(span_).mergeFrom(value).buildPartial(); + } else { + span_ = value; + } + onChanged(); + } else { + spanBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public Builder clearSpan() { + if (spanBuilder_ == null) { + span_ = null; + onChanged(); + } else { + span_ = null; + spanBuilder_ = null; + } + + return this; + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public flyteidl.core.Metrics.Span.Builder getSpanBuilder() { + + onChanged(); + return getSpanFieldBuilder().getBuilder(); + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + public flyteidl.core.Metrics.SpanOrBuilder getSpanOrBuilder() { + if (spanBuilder_ != null) { + return spanBuilder_.getMessageOrBuilder(); + } else { + return span_ == null ? + flyteidl.core.Metrics.Span.getDefaultInstance() : span_; + } + } + /** + *
+       * Span defines the top-level breakdown of the workflows execution. More precise information is nested in a
+       * hierarchical structure using Flyte entity references.
+       * 
+ * + * .flyteidl.core.Span span = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> + getSpanFieldBuilder() { + if (spanBuilder_ == null) { + spanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder>( + getSpan(), + getParentForChildren(), + isClean()); + span_ = null; + } + return spanBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + private static final flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse(); + } + + public static flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowExecutionGetMetricsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowExecutionGetMetricsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionCreateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionCreateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionRelaunchRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionRelaunchRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionRecoverRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionRecoverRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionCreateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionCreateResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowExecutionGetRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowExecutionGetRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_Execution_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_Execution_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionList_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionList_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_LiteralMapBlob_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_LiteralMapBlob_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_AbortMetadata_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_AbortMetadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionClosure_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionClosure_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SystemMetadata_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SystemMetadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionMetadata_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionMetadata_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_NotificationList_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_NotificationList_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionTerminateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionTerminateResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowExecutionGetDataRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowExecutionGetDataResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionUpdateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionUpdateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionStateChangeDetails_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionStateChangeDetails_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionUpdateResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { "\n\036flyteidl/admin/execution.proto\022\016flytei" + "dl.admin\032\'flyteidl/admin/cluster_assignm" + "ent.proto\032\033flyteidl/admin/common.proto\032\034" + "flyteidl/core/literals.proto\032\035flyteidl/c" + "ore/execution.proto\032\036flyteidl/core/ident" + - "ifier.proto\032\034flyteidl/core/security.prot" + - "o\032\036google/protobuf/duration.proto\032\037googl" + - "e/protobuf/timestamp.proto\032\036google/proto" + - "buf/wrappers.proto\"\237\001\n\026ExecutionCreateRe" + - "quest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014" + - "\n\004name\030\003 \001(\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.ad" + - "min.ExecutionSpec\022)\n\006inputs\030\005 \001(\0132\031.flyt" + - "eidl.core.LiteralMap\"\177\n\030ExecutionRelaunc" + - "hRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wor" + - "kflowExecutionIdentifier\022\014\n\004name\030\003 \001(\t\022\027" + - "\n\017overwrite_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027Execut" + - "ionRecoverRequest\0226\n\002id\030\001 \001(\0132*.flyteidl" + - ".core.WorkflowExecutionIdentifier\022\014\n\004nam" + - "e\030\002 \001(\t\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" + - "in.ExecutionMetadata\"Q\n\027ExecutionCreateR" + - "esponse\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Work" + - "flowExecutionIdentifier\"U\n\033WorkflowExecu" + - "tionGetRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.co" + - "re.WorkflowExecutionIdentifier\"\243\001\n\tExecu" + - "tion\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflo" + - "wExecutionIdentifier\022+\n\004spec\030\002 \001(\0132\035.fly" + - "teidl.admin.ExecutionSpec\0221\n\007closure\030\003 \001" + - "(\0132 .flyteidl.admin.ExecutionClosure\"M\n\r" + - "ExecutionList\022-\n\nexecutions\030\001 \003(\0132\031.flyt" + - "eidl.admin.Execution\022\r\n\005token\030\002 \001(\t\"X\n\016L" + - "iteralMapBlob\022/\n\006values\030\001 \001(\0132\031.flyteidl" + - ".core.LiteralMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n" + - "\004data\"1\n\rAbortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n" + - "\tprincipal\030\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n" + - "\007outputs\030\001 \001(\0132\036.flyteidl.admin.LiteralM" + - "apBlobB\002\030\001H\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.c" + - "ore.ExecutionErrorH\000\022\031\n\013abort_cause\030\n \001(" + - "\tB\002\030\001H\000\0227\n\016abort_metadata\030\014 \001(\0132\035.flytei" + - "dl.admin.AbortMetadataH\000\0224\n\013output_data\030" + - "\r \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001H\000\0226" + - "\n\017computed_inputs\030\003 \001(\0132\031.flyteidl.core." + - "LiteralMapB\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl" + - ".core.WorkflowExecution.Phase\022.\n\nstarted" + - "_at\030\005 \001(\0132\032.google.protobuf.Timestamp\022+\n" + - "\010duration\030\006 \001(\0132\031.google.protobuf.Durati" + - "on\022.\n\ncreated_at\030\007 \001(\0132\032.google.protobuf" + - ".Timestamp\022.\n\nupdated_at\030\010 \001(\0132\032.google." + - "protobuf.Timestamp\0223\n\rnotifications\030\t \003(" + - "\0132\034.flyteidl.admin.Notification\022.\n\013workf" + - "low_id\030\013 \001(\0132\031.flyteidl.core.Identifier\022" + - "I\n\024state_change_details\030\016 \001(\0132+.flyteidl" + - ".admin.ExecutionStateChangeDetailsB\017\n\rou" + - "tput_result\"+\n\016SystemMetadata\022\031\n\021executi" + - "on_cluster\030\001 \001(\t\"\332\003\n\021ExecutionMetadata\022=" + - "\n\004mode\030\001 \001(\0162/.flyteidl.admin.ExecutionM" + - "etadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(\t" + - "\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\0132" + - "\032.google.protobuf.Timestamp\022E\n\025parent_no" + - "de_execution\030\005 \001(\0132&.flyteidl.core.NodeE" + - "xecutionIdentifier\022G\n\023reference_executio" + - "n\030\020 \001(\0132*.flyteidl.core.WorkflowExecutio" + - "nIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036.f" + - "lyteidl.admin.SystemMetadata\"g\n\rExecutio" + - "nMode\022\n\n\006MANUAL\020\000\022\r\n\tSCHEDULED\020\001\022\n\n\006SYST" + - "EM\020\002\022\014\n\010RELAUNCH\020\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r" + - "\n\tRECOVERED\020\005\"G\n\020NotificationList\0223\n\rnot" + - "ifications\030\001 \003(\0132\034.flyteidl.admin.Notifi" + - "cation\"\200\006\n\rExecutionSpec\022.\n\013launch_plan\030" + - "\001 \001(\0132\031.flyteidl.core.Identifier\022-\n\006inpu" + - "ts\030\002 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\022" + - "3\n\010metadata\030\003 \001(\0132!.flyteidl.admin.Execu" + - "tionMetadata\0229\n\rnotifications\030\005 \001(\0132 .fl" + - "yteidl.admin.NotificationListH\000\022\025\n\013disab" + - "le_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\0132\026.flyteid" + - "l.admin.Labels\0220\n\013annotations\030\010 \001(\0132\033.fl" + - "yteidl.admin.Annotations\0228\n\020security_con" + - "text\030\n \001(\0132\036.flyteidl.core.SecurityConte" + - "xt\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl.admin.A" + - "uthRoleB\002\030\001\022;\n\022quality_of_service\030\021 \001(\0132" + - "\037.flyteidl.core.QualityOfService\022\027\n\017max_" + - "parallelism\030\022 \001(\005\022C\n\026raw_output_data_con" + - "fig\030\023 \001(\0132#.flyteidl.admin.RawOutputData" + - "Config\022=\n\022cluster_assignment\030\024 \001(\0132!.fly" + - "teidl.admin.ClusterAssignment\0221\n\rinterru" + - "ptible\030\025 \001(\0132\032.google.protobuf.BoolValue" + - "\022\027\n\017overwrite_cache\030\026 \001(\010B\030\n\026notificatio" + - "n_overridesJ\004\010\004\020\005\"b\n\031ExecutionTerminateR" + + "ifier.proto\032\033flyteidl/core/metrics.proto" + + "\032\034flyteidl/core/security.proto\032\036google/p" + + "rotobuf/duration.proto\032\037google/protobuf/" + + "timestamp.proto\032\036google/protobuf/wrapper" + + "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" + + "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" + + "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" + + "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" + + "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" + + "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" + + "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" + + "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" + "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" + - "lowExecutionIdentifier\022\r\n\005cause\030\002 \001(\t\"\034\n" + - "\032ExecutionTerminateResponse\"Y\n\037WorkflowE" + - "xecutionGetDataRequest\0226\n\002id\030\001 \001(\0132*.fly" + - "teidl.core.WorkflowExecutionIdentifier\"\336" + - "\001\n WorkflowExecutionGetDataResponse\022,\n\007o" + - "utputs\030\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030" + - "\001\022+\n\006inputs\030\002 \001(\0132\027.flyteidl.admin.UrlBl" + - "obB\002\030\001\022.\n\013full_inputs\030\003 \001(\0132\031.flyteidl.c" + - "ore.LiteralMap\022/\n\014full_outputs\030\004 \001(\0132\031.f" + - "lyteidl.core.LiteralMap\"\177\n\026ExecutionUpda" + - "teRequest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier\022-\n\005state\030\002 \001(\016" + - "2\036.flyteidl.admin.ExecutionState\"\220\001\n\033Exe" + - "cutionStateChangeDetails\022-\n\005state\030\001 \001(\0162" + - "\036.flyteidl.admin.ExecutionState\022/\n\013occur" + - "red_at\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "\022\021\n\tprincipal\030\003 \001(\t\"\031\n\027ExecutionUpdateRe" + - "sponse*>\n\016ExecutionState\022\024\n\020EXECUTION_AC" + - "TIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B7Z5github" + - ".com/flyteorg/flyteidl/gen/pb-go/flyteid" + - "l/adminb\006proto3" + "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" + + "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" + + "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + + "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" + + "onIdentifier\"U\n\033WorkflowExecutionGetRequ" + + "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" + + "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" + + "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + + "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" + + ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" + + "dl.admin.ExecutionClosure\"M\n\rExecutionLi" + + "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." + + "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" + + "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" + + "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" + + "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" + + "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " + + "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" + + "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" + + "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" + + "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" + + "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" + + "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" + + "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" + + "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" + + "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" + + ".google.protobuf.Timestamp\022+\n\010duration\030\006" + + " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" + + "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" + + ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" + + "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" + + "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" + + "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" + + "utionStateChangeDetailsB\017\n\routput_result" + + "\"+\n\016SystemMetadata\022\031\n\021execution_cluster\030" + + "\001 \001(\t\"\332\003\n\021ExecutionMetadata\022=\n\004mode\030\001 \001(" + + "\0162/.flyteidl.admin.ExecutionMetadata.Exe" + + "cutionMode\022\021\n\tprincipal\030\002 \001(\t\022\017\n\007nesting" + + "\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022E\n\025parent_node_executio" + + "n\030\005 \001(\0132&.flyteidl.core.NodeExecutionIde" + + "ntifier\022G\n\023reference_execution\030\020 \001(\0132*.f" + + "lyteidl.core.WorkflowExecutionIdentifier" + + "\0227\n\017system_metadata\030\021 \001(\0132\036.flyteidl.adm" + + "in.SystemMetadata\"g\n\rExecutionMode\022\n\n\006MA" + + "NUAL\020\000\022\r\n\tSCHEDULED\020\001\022\n\n\006SYSTEM\020\002\022\014\n\010REL" + + "AUNCH\020\003\022\022\n\016CHILD_WORKFLOW\020\004\022\r\n\tRECOVERED" + + "\020\005\"G\n\020NotificationList\0223\n\rnotifications\030" + + "\001 \003(\0132\034.flyteidl.admin.Notification\"\244\006\n\r" + + "ExecutionSpec\022.\n\013launch_plan\030\001 \001(\0132\031.fly" + + "teidl.core.Identifier\022-\n\006inputs\030\002 \001(\0132\031." + + "flyteidl.core.LiteralMapB\002\030\001\0223\n\010metadata" + + "\030\003 \001(\0132!.flyteidl.admin.ExecutionMetadat" + + "a\0229\n\rnotifications\030\005 \001(\0132 .flyteidl.admi" + + "n.NotificationListH\000\022\025\n\013disable_all\030\006 \001(" + + "\010H\000\022&\n\006labels\030\007 \001(\0132\026.flyteidl.admin.Lab" + + "els\0220\n\013annotations\030\010 \001(\0132\033.flyteidl.admi" + + "n.Annotations\0228\n\020security_context\030\n \001(\0132" + + "\036.flyteidl.core.SecurityContext\022/\n\tauth_" + + "role\030\020 \001(\0132\030.flyteidl.admin.AuthRoleB\002\030\001" + + "\022;\n\022quality_of_service\030\021 \001(\0132\037.flyteidl." + + "core.QualityOfService\022\027\n\017max_parallelism" + + "\030\022 \001(\005\022C\n\026raw_output_data_config\030\023 \001(\0132#" + + ".flyteidl.admin.RawOutputDataConfig\022=\n\022c" + + "luster_assignment\030\024 \001(\0132!.flyteidl.admin" + + ".ClusterAssignment\0221\n\rinterruptible\030\025 \001(" + + "\0132\032.google.protobuf.BoolValue\022\027\n\017overwri" + + "te_cache\030\026 \001(\010\022\"\n\004envs\030\027 \001(\0132\024.flyteidl." + + "admin.EnvsB\030\n\026notification_overridesJ\004\010\004" + + "\020\005\"b\n\031ExecutionTerminateRequest\0226\n\002id\030\001 " + + "\001(\0132*.flyteidl.core.WorkflowExecutionIde" + + "ntifier\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTermi" + + "nateResponse\"Y\n\037WorkflowExecutionGetData" + + "Request\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Work" + + "flowExecutionIdentifier\"\336\001\n WorkflowExec" + + "utionGetDataResponse\022,\n\007outputs\030\001 \001(\0132\027." + + "flyteidl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001" + + "(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_" + + "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022" + + "/\n\014full_outputs\030\004 \001(\0132\031.flyteidl.core.Li" + + "teralMap\"\177\n\026ExecutionUpdateRequest\0226\n\002id" + + "\030\001 \001(\0132*.flyteidl.core.WorkflowExecution" + + "Identifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.adm" + + "in.ExecutionState\"\220\001\n\033ExecutionStateChan" + + "geDetails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admi" + + "n.ExecutionState\022/\n\013occurred_at\030\002 \001(\0132\032." + + "google.protobuf.Timestamp\022\021\n\tprincipal\030\003" + + " \001(\t\"\031\n\027ExecutionUpdateResponse\"k\n\"Workf" + + "lowExecutionGetMetricsRequest\0226\n\002id\030\001 \001(" + + "\0132*.flyteidl.core.WorkflowExecutionIdent" + + "ifier\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutio" + + "nGetMetricsResponse\022!\n\004span\030\001 \001(\0132\023.flyt" + + "eidl.core.Span*>\n\016ExecutionState\022\024\n\020EXEC" + + "UTION_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B7" + + "Z5github.com/flyteorg/flyteidl/gen/pb-go" + + "/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -26416,6 +28131,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.core.Literals.getDescriptor(), flyteidl.core.Execution.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), + flyteidl.core.Metrics.getDescriptor(), flyteidl.core.Security.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -26504,7 +28220,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_ExecutionSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ExecutionSpec_descriptor, - new java.lang.String[] { "LaunchPlan", "Inputs", "Metadata", "Notifications", "DisableAll", "Labels", "Annotations", "SecurityContext", "AuthRole", "QualityOfService", "MaxParallelism", "RawOutputDataConfig", "ClusterAssignment", "Interruptible", "OverwriteCache", "NotificationOverrides", }); + new java.lang.String[] { "LaunchPlan", "Inputs", "Metadata", "Notifications", "DisableAll", "Labels", "Annotations", "SecurityContext", "AuthRole", "QualityOfService", "MaxParallelism", "RawOutputDataConfig", "ClusterAssignment", "Interruptible", "OverwriteCache", "Envs", "NotificationOverrides", }); internal_static_flyteidl_admin_ExecutionTerminateRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_flyteidl_admin_ExecutionTerminateRequest_fieldAccessorTable = new @@ -26547,11 +28263,24 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ExecutionUpdateResponse_descriptor, new java.lang.String[] { }); + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsRequest_descriptor, + new java.lang.String[] { "Id", "Depth", }); + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowExecutionGetMetricsResponse_descriptor, + new java.lang.String[] { "Span", }); flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(); flyteidl.admin.Common.getDescriptor(); flyteidl.core.Literals.getDescriptor(); flyteidl.core.Execution.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); + flyteidl.core.Metrics.getDescriptor(); flyteidl.core.Security.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java b/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java index a7e010985..826aa2eab 100644 --- a/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java +++ b/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java @@ -4751,6 +4751,31 @@ public interface LaunchPlanSpecOrBuilder extends * bool overwrite_cache = 20; */ boolean getOverwriteCache(); + + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + boolean hasEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + flyteidl.admin.Common.Envs getEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); } /** *
@@ -4968,6 +4993,19 @@ private LaunchPlanSpec(
               overwriteCache_ = input.readBool();
               break;
             }
+            case 170: {
+              flyteidl.admin.Common.Envs.Builder subBuilder = null;
+              if (envs_ != null) {
+                subBuilder = envs_.toBuilder();
+              }
+              envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(envs_);
+                envs_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -5471,6 +5509,39 @@ public boolean getOverwriteCache() {
       return overwriteCache_;
     }
 
+    public static final int ENVS_FIELD_NUMBER = 21;
+    private flyteidl.admin.Common.Envs envs_;
+    /**
+     * 
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public boolean hasEnvs() { + return envs_ != null; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public flyteidl.admin.Common.Envs getEnvs() { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + return getEnvs(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -5530,6 +5601,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (overwriteCache_ != false) { output.writeBool(20, overwriteCache_); } + if (envs_ != null) { + output.writeMessage(21, getEnvs()); + } unknownFields.writeTo(output); } @@ -5598,6 +5672,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, overwriteCache_); } + if (envs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getEnvs()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5679,6 +5757,11 @@ public boolean equals(final java.lang.Object obj) { } if (getOverwriteCache() != other.getOverwriteCache()) return false; + if (hasEnvs() != other.hasEnvs()) return false; + if (hasEnvs()) { + if (!getEnvs() + .equals(other.getEnvs())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5745,6 +5828,10 @@ public int hashCode() { hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOverwriteCache()); + if (hasEnvs()) { + hash = (37 * hash) + ENVS_FIELD_NUMBER; + hash = (53 * hash) + getEnvs().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5960,6 +6047,12 @@ public Builder clear() { } overwriteCache_ = false; + if (envsBuilder_ == null) { + envs_ = null; + } else { + envs_ = null; + envsBuilder_ = null; + } return this; } @@ -6049,6 +6142,11 @@ public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec buildPartial() { result.interruptible_ = interruptibleBuilder_.build(); } result.overwriteCache_ = overwriteCache_; + if (envsBuilder_ == null) { + result.envs_ = envs_; + } else { + result.envs_ = envsBuilder_.build(); + } onBuilt(); return result; } @@ -6143,6 +6241,9 @@ public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanSpec othe if (other.getOverwriteCache() != false) { setOverwriteCache(other.getOverwriteCache()); } + if (other.hasEnvs()) { + mergeEnvs(other.getEnvs()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -8193,6 +8294,159 @@ public Builder clearOverwriteCache() { onChanged(); return this; } + + private flyteidl.admin.Common.Envs envs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public boolean hasEnvs() { + return envsBuilder_ != null || envs_ != null; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public flyteidl.admin.Common.Envs getEnvs() { + if (envsBuilder_ == null) { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } else { + return envsBuilder_.getMessage(); + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public Builder setEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + envs_ = value; + onChanged(); + } else { + envsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public Builder setEnvs( + flyteidl.admin.Common.Envs.Builder builderForValue) { + if (envsBuilder_ == null) { + envs_ = builderForValue.build(); + onChanged(); + } else { + envsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (envs_ != null) { + envs_ = + flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); + } else { + envs_ = value; + } + onChanged(); + } else { + envsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public Builder clearEnvs() { + if (envsBuilder_ == null) { + envs_ = null; + onChanged(); + } else { + envs_ = null; + envsBuilder_ = null; + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { + + onChanged(); + return getEnvsFieldBuilder().getBuilder(); + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + if (envsBuilder_ != null) { + return envsBuilder_.getMessageOrBuilder(); + } else { + return envs_ == null ? + flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> + getEnvsFieldBuilder() { + if (envsBuilder_ == null) { + envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( + getEnvs(), + getParentForChildren(), + isClean()); + envs_ = null; + } + return envsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14322,7 +14576,7 @@ public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaul "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" + "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" + "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" + - "ce_account\030\002 \001(\t:\002\030\001\"\311\005\n\016LaunchPlanSpec\022" + + "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" + ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" + "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" + "idl.admin.LaunchPlanMetadata\0223\n\016default_" + @@ -14340,28 +14594,29 @@ public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaul ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" + "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " + "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" + - "rite_cache\030\024 \001(\010\"\217\002\n\021LaunchPlanClosure\022." + - "\n\005state\030\001 \001(\0162\037.flyteidl.admin.LaunchPla" + - "nState\0224\n\017expected_inputs\030\002 \001(\0132\033.flytei" + - "dl.core.ParameterMap\0224\n\020expected_outputs" + - "\030\003 \001(\0132\032.flyteidl.core.VariableMap\022.\n\ncr" + - "eated_at\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mp\022.\n\nupdated_at\030\005 \001(\0132\032.google.protobuf" + - ".Timestamp\"u\n\022LaunchPlanMetadata\022*\n\010sche" + - "dule\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\r" + - "notifications\030\002 \003(\0132\034.flyteidl.admin.Not" + - "ification\"p\n\027LaunchPlanUpdateRequest\022%\n\002" + - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022.\n\005s" + - "tate\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanSt" + - "ate\"\032\n\030LaunchPlanUpdateResponse\"L\n\027Activ" + - "eLaunchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteid" + - "l.admin.NamedEntityIdentifier\"\203\001\n\033Active" + - "LaunchPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016" + - "\n\006domain\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004" + - " \001(\t\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.S" + - "ort*+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006" + - "ACTIVE\020\001B7Z5github.com/flyteorg/flyteidl" + - "/gen/pb-go/flyteidl/adminb\006proto3" + "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" + + "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" + + "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" + + "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" + + "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" + + "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" + + "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." + + "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" + + "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" + + "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" + + "ation\"p\n\027LaunchPlanUpdateRequest\022%\n\002id\030\001" + + " \001(\0132\031.flyteidl.core.Identifier\022.\n\005state" + + "\030\002 \001(\0162\037.flyteidl.admin.LaunchPlanState\"" + + "\032\n\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" + + "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" + + "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" + + "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" + + "main\030\002 \001(\t\022\r\n\005limit\030\003 \001(\r\022\r\n\005token\030\004 \001(\t" + + "\022%\n\007sort_by\030\005 \001(\0132\024.flyteidl.admin.Sort*" + + "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" + + "VE\020\001B7Z5github.com/flyteorg/flyteidl/gen" + + "/pb-go/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -14419,7 +14674,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_LaunchPlanSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_LaunchPlanSpec_descriptor, - new java.lang.String[] { "WorkflowId", "EntityMetadata", "DefaultInputs", "FixedInputs", "Role", "Labels", "Annotations", "Auth", "AuthRole", "SecurityContext", "QualityOfService", "RawOutputDataConfig", "MaxParallelism", "Interruptible", "OverwriteCache", }); + new java.lang.String[] { "WorkflowId", "EntityMetadata", "DefaultInputs", "FixedInputs", "Role", "Labels", "Annotations", "Auth", "AuthRole", "SecurityContext", "QualityOfService", "RawOutputDataConfig", "MaxParallelism", "Interruptible", "OverwriteCache", "Envs", }); internal_static_flyteidl_admin_LaunchPlanClosure_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_flyteidl_admin_LaunchPlanClosure_fieldAccessorTable = new diff --git a/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java b/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java index 1492fbfa8..398761528 100644 --- a/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java +++ b/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java @@ -6262,6 +6262,31 @@ public interface WorkflowExecutionConfigOrBuilder extends * bool overwrite_cache = 7; */ boolean getOverwriteCache(); + + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + boolean hasEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + flyteidl.admin.Common.Envs getEnvs(); + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder(); } /** *
@@ -6381,6 +6406,19 @@ private WorkflowExecutionConfig(
               overwriteCache_ = input.readBool();
               break;
             }
+            case 66: {
+              flyteidl.admin.Common.Envs.Builder subBuilder = null;
+              if (envs_ != null) {
+                subBuilder = envs_.toBuilder();
+              }
+              envs_ = input.readMessage(flyteidl.admin.Common.Envs.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(envs_);
+                envs_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -6615,6 +6653,39 @@ public boolean getOverwriteCache() {
       return overwriteCache_;
     }
 
+    public static final int ENVS_FIELD_NUMBER = 8;
+    private flyteidl.admin.Common.Envs envs_;
+    /**
+     * 
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public boolean hasEnvs() { + return envs_ != null; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public flyteidl.admin.Common.Envs getEnvs() { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + /** + *
+     * Environment variables to be set for the execution.
+     * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + return getEnvs(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -6650,6 +6721,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (overwriteCache_ != false) { output.writeBool(7, overwriteCache_); } + if (envs_ != null) { + output.writeMessage(8, getEnvs()); + } unknownFields.writeTo(output); } @@ -6687,6 +6761,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, overwriteCache_); } + if (envs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEnvs()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -6731,6 +6809,11 @@ public boolean equals(final java.lang.Object obj) { } if (getOverwriteCache() != other.getOverwriteCache()) return false; + if (hasEnvs() != other.hasEnvs()) return false; + if (hasEnvs()) { + if (!getEnvs() + .equals(other.getEnvs())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6767,6 +6850,10 @@ public int hashCode() { hash = (37 * hash) + OVERWRITE_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getOverwriteCache()); + if (hasEnvs()) { + hash = (37 * hash) + ENVS_FIELD_NUMBER; + hash = (53 * hash) + getEnvs().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -6938,6 +7025,12 @@ public Builder clear() { } overwriteCache_ = false; + if (envsBuilder_ == null) { + envs_ = null; + } else { + envs_ = null; + envsBuilder_ = null; + } return this; } @@ -6991,6 +7084,11 @@ public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig buildP result.interruptible_ = interruptibleBuilder_.build(); } result.overwriteCache_ = overwriteCache_; + if (envsBuilder_ == null) { + result.envs_ = envs_; + } else { + result.envs_ = envsBuilder_.build(); + } onBuilt(); return result; } @@ -7060,6 +7158,9 @@ public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.WorkflowExec if (other.getOverwriteCache() != false) { setOverwriteCache(other.getOverwriteCache()); } + if (other.hasEnvs()) { + mergeEnvs(other.getEnvs()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -7962,6 +8063,159 @@ public Builder clearOverwriteCache() { onChanged(); return this; } + + private flyteidl.admin.Common.Envs envs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> envsBuilder_; + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public boolean hasEnvs() { + return envsBuilder_ != null || envs_ != null; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public flyteidl.admin.Common.Envs getEnvs() { + if (envsBuilder_ == null) { + return envs_ == null ? flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } else { + return envsBuilder_.getMessage(); + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public Builder setEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + envs_ = value; + onChanged(); + } else { + envsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public Builder setEnvs( + flyteidl.admin.Common.Envs.Builder builderForValue) { + if (envsBuilder_ == null) { + envs_ = builderForValue.build(); + onChanged(); + } else { + envsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public Builder mergeEnvs(flyteidl.admin.Common.Envs value) { + if (envsBuilder_ == null) { + if (envs_ != null) { + envs_ = + flyteidl.admin.Common.Envs.newBuilder(envs_).mergeFrom(value).buildPartial(); + } else { + envs_ = value; + } + onChanged(); + } else { + envsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public Builder clearEnvs() { + if (envsBuilder_ == null) { + envs_ = null; + onChanged(); + } else { + envs_ = null; + envsBuilder_ = null; + } + + return this; + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public flyteidl.admin.Common.Envs.Builder getEnvsBuilder() { + + onChanged(); + return getEnvsFieldBuilder().getBuilder(); + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + public flyteidl.admin.Common.EnvsOrBuilder getEnvsOrBuilder() { + if (envsBuilder_ != null) { + return envsBuilder_.getMessageOrBuilder(); + } else { + return envs_ == null ? + flyteidl.admin.Common.Envs.getDefaultInstance() : envs_; + } + } + /** + *
+       * Environment variables to be set for the execution.
+       * 
+ * + * .flyteidl.admin.Envs envs = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder> + getEnvsFieldBuilder() { + if (envsBuilder_ == null) { + envsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.Envs, flyteidl.admin.Common.Envs.Builder, flyteidl.admin.Common.EnvsOrBuilder>( + getEnvs(), + getParentForChildren(), + isClean()); + envs_ = null; + } + return envsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12848,7 +13102,7 @@ public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRespons "\"2\n\025MissingPluginBehavior\022\010\n\004FAIL\020\000\022\017\n\013U" + "SE_DEFAULT\020\001\"D\n\017PluginOverrides\0221\n\toverr" + "ides\030\001 \003(\0132\036.flyteidl.admin.PluginOverri" + - "de\"\327\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" + + "de\"\373\002\n\027WorkflowExecutionConfig\022\027\n\017max_pa" + "rallelism\030\001 \001(\005\0228\n\020security_context\030\002 \001(" + "\0132\036.flyteidl.core.SecurityContext\022C\n\026raw" + "_output_data_config\030\003 \001(\0132#.flyteidl.adm" + @@ -12856,39 +13110,40 @@ public flyteidl.admin.MatchableResourceOuterClass.ListMatchableAttributesRespons ".flyteidl.admin.Labels\0220\n\013annotations\030\005 " + "\001(\0132\033.flyteidl.admin.Annotations\0221\n\rinte" + "rruptible\030\006 \001(\0132\032.google.protobuf.BoolVa" + - "lue\022\027\n\017overwrite_cache\030\007 \001(\010\"\341\004\n\022Matchin" + - "gAttributes\022J\n\030task_resource_attributes\030" + - "\001 \001(\0132&.flyteidl.admin.TaskResourceAttri" + - "butesH\000\022P\n\033cluster_resource_attributes\030\002" + - " \001(\0132).flyteidl.admin.ClusterResourceAtt" + - "ributesH\000\022N\n\032execution_queue_attributes\030" + - "\003 \001(\0132(.flyteidl.admin.ExecutionQueueAtt" + - "ributesH\000\022H\n\027execution_cluster_label\030\004 \001" + - "(\0132%.flyteidl.admin.ExecutionClusterLabe" + - "lH\000\022=\n\022quality_of_service\030\005 \001(\0132\037.flytei" + - "dl.core.QualityOfServiceH\000\022;\n\020plugin_ove" + - "rrides\030\006 \001(\0132\037.flyteidl.admin.PluginOver" + - "ridesH\000\022L\n\031workflow_execution_config\030\007 \001" + - "(\0132\'.flyteidl.admin.WorkflowExecutionCon" + - "figH\000\022?\n\022cluster_assignment\030\010 \001(\0132!.flyt" + - "eidl.admin.ClusterAssignmentH\000B\010\n\006target" + - "\"\242\001\n MatchableAttributesConfiguration\0226\n" + - "\nattributes\030\001 \001(\0132\".flyteidl.admin.Match" + - "ingAttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project" + - "\030\003 \001(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030" + - "\005 \001(\t\"Z\n\036ListMatchableAttributesRequest\022" + - "8\n\rresource_type\030\001 \001(\0162!.flyteidl.admin." + - "MatchableResource\"k\n\037ListMatchableAttrib" + - "utesResponse\022H\n\016configurations\030\001 \003(\01320.f" + - "lyteidl.admin.MatchableAttributesConfigu" + - "ration*\340\001\n\021MatchableResource\022\021\n\rTASK_RES" + - "OURCE\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022\023\n\017EXECUTI" + - "ON_QUEUE\020\002\022\033\n\027EXECUTION_CLUSTER_LABEL\020\003\022" + - "$\n QUALITY_OF_SERVICE_SPECIFICATION\020\004\022\023\n" + - "\017PLUGIN_OVERRIDE\020\005\022\035\n\031WORKFLOW_EXECUTION" + - "_CONFIG\020\006\022\026\n\022CLUSTER_ASSIGNMENT\020\007B7Z5git" + - "hub.com/flyteorg/flyteidl/gen/pb-go/flyt" + - "eidl/adminb\006proto3" + "lue\022\027\n\017overwrite_cache\030\007 \001(\010\022\"\n\004envs\030\010 \001" + + "(\0132\024.flyteidl.admin.Envs\"\341\004\n\022MatchingAtt" + + "ributes\022J\n\030task_resource_attributes\030\001 \001(" + + "\0132&.flyteidl.admin.TaskResourceAttribute" + + "sH\000\022P\n\033cluster_resource_attributes\030\002 \001(\013" + + "2).flyteidl.admin.ClusterResourceAttribu" + + "tesH\000\022N\n\032execution_queue_attributes\030\003 \001(" + + "\0132(.flyteidl.admin.ExecutionQueueAttribu" + + "tesH\000\022H\n\027execution_cluster_label\030\004 \001(\0132%" + + ".flyteidl.admin.ExecutionClusterLabelH\000\022" + + "=\n\022quality_of_service\030\005 \001(\0132\037.flyteidl.c" + + "ore.QualityOfServiceH\000\022;\n\020plugin_overrid" + + "es\030\006 \001(\0132\037.flyteidl.admin.PluginOverride" + + "sH\000\022L\n\031workflow_execution_config\030\007 \001(\0132\'" + + ".flyteidl.admin.WorkflowExecutionConfigH" + + "\000\022?\n\022cluster_assignment\030\010 \001(\0132!.flyteidl" + + ".admin.ClusterAssignmentH\000B\010\n\006target\"\242\001\n" + + " MatchableAttributesConfiguration\0226\n\natt" + + "ributes\030\001 \001(\0132\".flyteidl.admin.MatchingA" + + "ttributes\022\016\n\006domain\030\002 \001(\t\022\017\n\007project\030\003 \001" + + "(\t\022\020\n\010workflow\030\004 \001(\t\022\023\n\013launch_plan\030\005 \001(" + + "\t\"Z\n\036ListMatchableAttributesRequest\0228\n\rr" + + "esource_type\030\001 \001(\0162!.flyteidl.admin.Matc" + + "hableResource\"k\n\037ListMatchableAttributes" + + "Response\022H\n\016configurations\030\001 \003(\01320.flyte" + + "idl.admin.MatchableAttributesConfigurati" + + "on*\340\001\n\021MatchableResource\022\021\n\rTASK_RESOURC" + + "E\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022\023\n\017EXECUTION_Q" + + "UEUE\020\002\022\033\n\027EXECUTION_CLUSTER_LABEL\020\003\022$\n Q" + + "UALITY_OF_SERVICE_SPECIFICATION\020\004\022\023\n\017PLU" + + "GIN_OVERRIDE\020\005\022\035\n\031WORKFLOW_EXECUTION_CON" + + "FIG\020\006\022\026\n\022CLUSTER_ASSIGNMENT\020\007B7Z5github." + + "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + + "/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -12960,7 +13215,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_WorkflowExecutionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_WorkflowExecutionConfig_descriptor, - new java.lang.String[] { "MaxParallelism", "SecurityContext", "RawOutputDataConfig", "Labels", "Annotations", "Interruptible", "OverwriteCache", }); + new java.lang.String[] { "MaxParallelism", "SecurityContext", "RawOutputDataConfig", "Labels", "Annotations", "Interruptible", "OverwriteCache", "Envs", }); internal_static_flyteidl_admin_MatchingAttributes_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable = new diff --git a/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java b/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java index 96b7135a7..7fde07694 100644 --- a/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java +++ b/gen/pb-java/flyteidl/admin/NodeExecutionOuterClass.java @@ -7233,6 +7233,26 @@ public interface NodeExecutionClosureOrBuilder extends com.google.protobuf.ByteString getDeckUriBytes(); + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+     * to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 12; + */ + java.lang.String getDynamicJobSpecUri(); + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+     * to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 12; + */ + com.google.protobuf.ByteString + getDynamicJobSpecUriBytes(); + public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.OutputResultCase getOutputResultCase(); public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.TargetMetadataCase getTargetMetadataCase(); @@ -7256,6 +7276,7 @@ private NodeExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder b private NodeExecutionClosure() { phase_ = 0; deckUri_ = ""; + dynamicJobSpecUri_ = ""; } @java.lang.Override @@ -7408,6 +7429,12 @@ private NodeExecutionClosure( deckUri_ = s; break; } + case 98: { + java.lang.String s = input.readStringRequireUtf8(); + + dynamicJobSpecUri_ = s; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -7903,6 +7930,50 @@ public java.lang.String getDeckUri() { } } + public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 12; + private volatile java.lang.Object dynamicJobSpecUri_; + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+     * to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } + } + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+     * to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -7950,6 +8021,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getDeckUriBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, deckUri_); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, dynamicJobSpecUri_); + } unknownFields.writeTo(output); } @@ -8001,6 +8075,9 @@ public int getSerializedSize() { if (!getDeckUriBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, deckUri_); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, dynamicJobSpecUri_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -8039,6 +8116,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getDeckUri() .equals(other.getDeckUri())) return false; + if (!getDynamicJobSpecUri() + .equals(other.getDynamicJobSpecUri())) return false; if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; switch (outputResultCase_) { case 1: @@ -8100,6 +8179,8 @@ public int hashCode() { } hash = (37 * hash) + DECK_URI_FIELD_NUMBER; hash = (53 * hash) + getDeckUri().hashCode(); + hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; + hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); switch (outputResultCase_) { case 1: hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; @@ -8293,6 +8374,8 @@ public Builder clear() { } deckUri_ = ""; + dynamicJobSpecUri_ = ""; + outputResultCase_ = 0; outputResult_ = null; targetMetadataCase_ = 0; @@ -8376,6 +8459,7 @@ public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure buildPartial( } } result.deckUri_ = deckUri_; + result.dynamicJobSpecUri_ = dynamicJobSpecUri_; result.outputResultCase_ = outputResultCase_; result.targetMetadataCase_ = targetMetadataCase_; onBuilt(); @@ -8445,6 +8529,10 @@ public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClo deckUri_ = other.deckUri_; onChanged(); } + if (!other.getDynamicJobSpecUri().isEmpty()) { + dynamicJobSpecUri_ = other.dynamicJobSpecUri_; + onChanged(); + } switch (other.getOutputResultCase()) { case OUTPUT_URI: { outputResultCase_ = 1; @@ -10036,6 +10124,100 @@ public Builder setDeckUriBytes( onChanged(); return this; } + + private java.lang.Object dynamicJobSpecUri_ = ""; + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+       * to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+       * to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+       * to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public Builder setDynamicJobSpecUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+       * to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public Builder clearDynamicJobSpecUri() { + + dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required
+       * to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 12; + */ + public Builder setDynamicJobSpecUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11793,6 +11975,26 @@ public interface DynamicWorkflowNodeMetadataOrBuilder extends * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; */ flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); + + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + java.lang.String getDynamicJobSpecUri(); + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + com.google.protobuf.ByteString + getDynamicJobSpecUriBytes(); } /** *
@@ -11811,6 +12013,7 @@ private DynamicWorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Build
       super(builder);
     }
     private DynamicWorkflowNodeMetadata() {
+      dynamicJobSpecUri_ = "";
     }
 
     @java.lang.Override
@@ -11863,6 +12066,12 @@ private DynamicWorkflowNodeMetadata(
 
               break;
             }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              dynamicJobSpecUri_ = s;
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -11961,6 +12170,50 @@ public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkfl
       return getCompiledWorkflow();
     }
 
+    public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 3;
+    private volatile java.lang.Object dynamicJobSpecUri_;
+    /**
+     * 
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } + } + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -11981,6 +12234,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compiledWorkflow_ != null) { output.writeMessage(2, getCompiledWorkflow()); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dynamicJobSpecUri_); + } unknownFields.writeTo(output); } @@ -11998,6 +12254,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCompiledWorkflow()); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dynamicJobSpecUri_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -12023,6 +12282,8 @@ public boolean equals(final java.lang.Object obj) { if (!getCompiledWorkflow() .equals(other.getCompiledWorkflow())) return false; } + if (!getDynamicJobSpecUri() + .equals(other.getDynamicJobSpecUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12042,6 +12303,8 @@ public int hashCode() { hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; hash = (53 * hash) + getCompiledWorkflow().hashCode(); } + hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; + hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -12191,6 +12454,8 @@ public Builder clear() { compiledWorkflow_ = null; compiledWorkflowBuilder_ = null; } + dynamicJobSpecUri_ = ""; + return this; } @@ -12227,6 +12492,7 @@ public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadata buildP } else { result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); } + result.dynamicJobSpecUri_ = dynamicJobSpecUri_; onBuilt(); return result; } @@ -12281,6 +12547,10 @@ public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowN if (other.hasCompiledWorkflow()) { mergeCompiledWorkflow(other.getCompiledWorkflow()); } + if (!other.getDynamicJobSpecUri().isEmpty()) { + dynamicJobSpecUri_ = other.dynamicJobSpecUri_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -12615,6 +12885,100 @@ public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkfl } return compiledWorkflowBuilder_; } + + private java.lang.Object dynamicJobSpecUri_ = ""; + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder setDynamicJobSpecUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder clearDynamicJobSpecUri() { + + dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the subworkflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder setDynamicJobSpecUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13478,6 +13842,19 @@ public interface NodeExecutionGetDataResponseOrBuilder extends * .flyteidl.admin.DynamicWorkflowNodeMetadata dynamic_workflow = 16; */ flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuilder getDynamicWorkflowOrBuilder(); + + /** + * .flyteidl.admin.FlyteURLs flyte_urls = 17; + */ + boolean hasFlyteUrls(); + /** + * .flyteidl.admin.FlyteURLs flyte_urls = 17; + */ + flyteidl.admin.Common.FlyteURLs getFlyteUrls(); + /** + * .flyteidl.admin.FlyteURLs flyte_urls = 17; + */ + flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder(); } /** *
@@ -13587,6 +13964,19 @@ private NodeExecutionGetDataResponse(
 
               break;
             }
+            case 138: {
+              flyteidl.admin.Common.FlyteURLs.Builder subBuilder = null;
+              if (flyteUrls_ != null) {
+                subBuilder = flyteUrls_.toBuilder();
+              }
+              flyteUrls_ = input.readMessage(flyteidl.admin.Common.FlyteURLs.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(flyteUrls_);
+                flyteUrls_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -13790,6 +14180,27 @@ public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuild
       return getDynamicWorkflow();
     }
 
+    public static final int FLYTE_URLS_FIELD_NUMBER = 17;
+    private flyteidl.admin.Common.FlyteURLs flyteUrls_;
+    /**
+     * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+     */
+    public boolean hasFlyteUrls() {
+      return flyteUrls_ != null;
+    }
+    /**
+     * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+     */
+    public flyteidl.admin.Common.FlyteURLs getFlyteUrls() {
+      return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_;
+    }
+    /**
+     * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+     */
+    public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() {
+      return getFlyteUrls();
+    }
+
     private byte memoizedIsInitialized = -1;
     @java.lang.Override
     public final boolean isInitialized() {
@@ -13819,6 +14230,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (dynamicWorkflow_ != null) {
         output.writeMessage(16, getDynamicWorkflow());
       }
+      if (flyteUrls_ != null) {
+        output.writeMessage(17, getFlyteUrls());
+      }
       unknownFields.writeTo(output);
     }
 
@@ -13848,6 +14262,10 @@ public int getSerializedSize() {
         size += com.google.protobuf.CodedOutputStream
           .computeMessageSize(16, getDynamicWorkflow());
       }
+      if (flyteUrls_ != null) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(17, getFlyteUrls());
+      }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
       return size;
@@ -13888,6 +14306,11 @@ public boolean equals(final java.lang.Object obj) {
         if (!getDynamicWorkflow()
             .equals(other.getDynamicWorkflow())) return false;
       }
+      if (hasFlyteUrls() != other.hasFlyteUrls()) return false;
+      if (hasFlyteUrls()) {
+        if (!getFlyteUrls()
+            .equals(other.getFlyteUrls())) return false;
+      }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -13919,6 +14342,10 @@ public int hashCode() {
         hash = (37 * hash) + DYNAMIC_WORKFLOW_FIELD_NUMBER;
         hash = (53 * hash) + getDynamicWorkflow().hashCode();
       }
+      if (hasFlyteUrls()) {
+        hash = (37 * hash) + FLYTE_URLS_FIELD_NUMBER;
+        hash = (53 * hash) + getFlyteUrls().hashCode();
+      }
       hash = (29 * hash) + unknownFields.hashCode();
       memoizedHashCode = hash;
       return hash;
@@ -14086,6 +14513,12 @@ public Builder clear() {
           dynamicWorkflow_ = null;
           dynamicWorkflowBuilder_ = null;
         }
+        if (flyteUrlsBuilder_ == null) {
+          flyteUrls_ = null;
+        } else {
+          flyteUrls_ = null;
+          flyteUrlsBuilder_ = null;
+        }
         return this;
       }
 
@@ -14137,6 +14570,11 @@ public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse build
         } else {
           result.dynamicWorkflow_ = dynamicWorkflowBuilder_.build();
         }
+        if (flyteUrlsBuilder_ == null) {
+          result.flyteUrls_ = flyteUrls_;
+        } else {
+          result.flyteUrls_ = flyteUrlsBuilder_.build();
+        }
         onBuilt();
         return result;
       }
@@ -14200,6 +14638,9 @@ public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGet
         if (other.hasDynamicWorkflow()) {
           mergeDynamicWorkflow(other.getDynamicWorkflow());
         }
+        if (other.hasFlyteUrls()) {
+          mergeFlyteUrls(other.getFlyteUrls());
+        }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
         return this;
@@ -15011,6 +15452,123 @@ public flyteidl.admin.NodeExecutionOuterClass.DynamicWorkflowNodeMetadataOrBuild
         }
         return dynamicWorkflowBuilder_;
       }
+
+      private flyteidl.admin.Common.FlyteURLs flyteUrls_;
+      private com.google.protobuf.SingleFieldBuilderV3<
+          flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> flyteUrlsBuilder_;
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public boolean hasFlyteUrls() {
+        return flyteUrlsBuilder_ != null || flyteUrls_ != null;
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public flyteidl.admin.Common.FlyteURLs getFlyteUrls() {
+        if (flyteUrlsBuilder_ == null) {
+          return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_;
+        } else {
+          return flyteUrlsBuilder_.getMessage();
+        }
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public Builder setFlyteUrls(flyteidl.admin.Common.FlyteURLs value) {
+        if (flyteUrlsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          flyteUrls_ = value;
+          onChanged();
+        } else {
+          flyteUrlsBuilder_.setMessage(value);
+        }
+
+        return this;
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public Builder setFlyteUrls(
+          flyteidl.admin.Common.FlyteURLs.Builder builderForValue) {
+        if (flyteUrlsBuilder_ == null) {
+          flyteUrls_ = builderForValue.build();
+          onChanged();
+        } else {
+          flyteUrlsBuilder_.setMessage(builderForValue.build());
+        }
+
+        return this;
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public Builder mergeFlyteUrls(flyteidl.admin.Common.FlyteURLs value) {
+        if (flyteUrlsBuilder_ == null) {
+          if (flyteUrls_ != null) {
+            flyteUrls_ =
+              flyteidl.admin.Common.FlyteURLs.newBuilder(flyteUrls_).mergeFrom(value).buildPartial();
+          } else {
+            flyteUrls_ = value;
+          }
+          onChanged();
+        } else {
+          flyteUrlsBuilder_.mergeFrom(value);
+        }
+
+        return this;
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public Builder clearFlyteUrls() {
+        if (flyteUrlsBuilder_ == null) {
+          flyteUrls_ = null;
+          onChanged();
+        } else {
+          flyteUrls_ = null;
+          flyteUrlsBuilder_ = null;
+        }
+
+        return this;
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public flyteidl.admin.Common.FlyteURLs.Builder getFlyteUrlsBuilder() {
+        
+        onChanged();
+        return getFlyteUrlsFieldBuilder().getBuilder();
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() {
+        if (flyteUrlsBuilder_ != null) {
+          return flyteUrlsBuilder_.getMessageOrBuilder();
+        } else {
+          return flyteUrls_ == null ?
+              flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_;
+        }
+      }
+      /**
+       * .flyteidl.admin.FlyteURLs flyte_urls = 17;
+       */
+      private com.google.protobuf.SingleFieldBuilderV3<
+          flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> 
+          getFlyteUrlsFieldBuilder() {
+        if (flyteUrlsBuilder_ == null) {
+          flyteUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder>(
+                  getFlyteUrls(),
+                  getParentForChildren(),
+                  isClean());
+          flyteUrls_ = null;
+        }
+        return flyteUrlsBuilder_;
+      }
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -15162,7 +15720,7 @@ public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDe
       "ent_node\030\002 \001(\010\022\024\n\014spec_node_id\030\003 \001(\t\022\022\n\n" +
       "is_dynamic\030\004 \001(\010\"Z\n\021NodeExecutionList\0226\n" +
       "\017node_executions\030\001 \003(\0132\035.flyteidl.admin." +
-      "NodeExecution\022\r\n\005token\030\002 \001(\t\"\304\004\n\024NodeExe" +
+      "NodeExecution\022\r\n\005token\030\002 \001(\t\"\342\004\n\024NodeExe" +
       "cutionClosure\022\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022" +
       ".\n\005error\030\002 \001(\0132\035.flyteidl.core.Execution" +
       "ErrorH\000\0224\n\013output_data\030\n \001(\0132\031.flyteidl." +
@@ -15176,28 +15734,31 @@ public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDe
       "etadata\030\010 \001(\0132$.flyteidl.admin.WorkflowN" +
       "odeMetadataH\001\022>\n\022task_node_metadata\030\t \001(" +
       "\0132 .flyteidl.admin.TaskNodeMetadataH\001\022\020\n" +
-      "\010deck_uri\030\013 \001(\tB\017\n\routput_resultB\021\n\017targ" +
-      "et_metadata\"W\n\024WorkflowNodeMetadata\022?\n\013e" +
-      "xecutionId\030\001 \001(\0132*.flyteidl.core.Workflo" +
-      "wExecutionIdentifier\"\230\001\n\020TaskNodeMetadat" +
-      "a\0227\n\014cache_status\030\001 \001(\0162!.flyteidl.core." +
-      "CatalogCacheStatus\0223\n\013catalog_key\030\002 \001(\0132" +
-      "\036.flyteidl.core.CatalogMetadata\022\026\n\016check" +
-      "point_uri\030\004 \001(\t\"\207\001\n\033DynamicWorkflowNodeM" +
-      "etadata\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Iden" +
-      "tifier\022A\n\021compiled_workflow\030\002 \001(\0132&.flyt" +
-      "eidl.core.CompiledWorkflowClosure\"Q\n\033Nod" +
-      "eExecutionGetDataRequest\0222\n\002id\030\001 \001(\0132&.f" +
-      "lyteidl.core.NodeExecutionIdentifier\"\241\002\n" +
-      "\034NodeExecutionGetDataResponse\022+\n\006inputs\030" +
-      "\001 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022,\n\007ou" +
-      "tputs\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB\002\030\001" +
-      "\022.\n\013full_inputs\030\003 \001(\0132\031.flyteidl.core.Li" +
-      "teralMap\022/\n\014full_outputs\030\004 \001(\0132\031.flyteid" +
-      "l.core.LiteralMap\022E\n\020dynamic_workflow\030\020 " +
-      "\001(\0132+.flyteidl.admin.DynamicWorkflowNode" +
-      "MetadataB7Z5github.com/flyteorg/flyteidl" +
-      "/gen/pb-go/flyteidl/adminb\006proto3"
+      "\010deck_uri\030\013 \001(\t\022\034\n\024dynamic_job_spec_uri\030" +
+      "\014 \001(\tB\017\n\routput_resultB\021\n\017target_metadat" +
+      "a\"W\n\024WorkflowNodeMetadata\022?\n\013executionId" +
+      "\030\001 \001(\0132*.flyteidl.core.WorkflowExecution" +
+      "Identifier\"\230\001\n\020TaskNodeMetadata\0227\n\014cache" +
+      "_status\030\001 \001(\0162!.flyteidl.core.CatalogCac" +
+      "heStatus\0223\n\013catalog_key\030\002 \001(\0132\036.flyteidl" +
+      ".core.CatalogMetadata\022\026\n\016checkpoint_uri\030" +
+      "\004 \001(\t\"\245\001\n\033DynamicWorkflowNodeMetadata\022%\n" +
+      "\002id\030\001 \001(\0132\031.flyteidl.core.Identifier\022A\n\021" +
+      "compiled_workflow\030\002 \001(\0132&.flyteidl.core." +
+      "CompiledWorkflowClosure\022\034\n\024dynamic_job_s" +
+      "pec_uri\030\003 \001(\t\"Q\n\033NodeExecutionGetDataReq" +
+      "uest\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeExe" +
+      "cutionIdentifier\"\320\002\n\034NodeExecutionGetDat" +
+      "aResponse\022+\n\006inputs\030\001 \001(\0132\027.flyteidl.adm" +
+      "in.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027.flytei" +
+      "dl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030\003 \001(" +
+      "\0132\031.flyteidl.core.LiteralMap\022/\n\014full_out" +
+      "puts\030\004 \001(\0132\031.flyteidl.core.LiteralMap\022E\n" +
+      "\020dynamic_workflow\030\020 \001(\0132+.flyteidl.admin" +
+      ".DynamicWorkflowNodeMetadata\022-\n\nflyte_ur" +
+      "ls\030\021 \001(\0132\031.flyteidl.admin.FlyteURLsB7Z5g" +
+      "ithub.com/flyteorg/flyteidl/gen/pb-go/fl" +
+      "yteidl/adminb\006proto3"
     };
     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
         new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
@@ -15260,7 +15821,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_flyteidl_admin_NodeExecutionClosure_descriptor,
-        new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "WorkflowNodeMetadata", "TaskNodeMetadata", "DeckUri", "OutputResult", "TargetMetadata", });
+        new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "WorkflowNodeMetadata", "TaskNodeMetadata", "DeckUri", "DynamicJobSpecUri", "OutputResult", "TargetMetadata", });
     internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor =
       getDescriptor().getMessageTypes().get(7);
     internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable = new
@@ -15278,7 +15839,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_flyteidl_admin_DynamicWorkflowNodeMetadata_descriptor,
-        new java.lang.String[] { "Id", "CompiledWorkflow", });
+        new java.lang.String[] { "Id", "CompiledWorkflow", "DynamicJobSpecUri", });
     internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor =
       getDescriptor().getMessageTypes().get(10);
     internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable = new
@@ -15290,7 +15851,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable = new
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor,
-        new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", "DynamicWorkflow", });
+        new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", "DynamicWorkflow", "FlyteUrls", });
     flyteidl.admin.Common.getDescriptor();
     flyteidl.core.Execution.getDescriptor();
     flyteidl.core.Catalog.getDescriptor();
diff --git a/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java b/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java
index a5aeb376d..7094d57d6 100644
--- a/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java
+++ b/gen/pb-java/flyteidl/admin/TaskExecutionOuterClass.java
@@ -4634,6 +4634,55 @@ flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder(
      */
     int getEventVersion();
 
+    /**
+     * 
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + java.util.List + getReasonsList(); + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index); + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + int getReasonsCount(); + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + java.util.List + getReasonsOrBuilderList(); + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( + int index); + public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.OutputResultCase getOutputResultCase(); } /** @@ -4657,6 +4706,7 @@ private TaskExecutionClosure() { logs_ = java.util.Collections.emptyList(); reason_ = ""; taskType_ = ""; + reasons_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -4827,6 +4877,15 @@ private TaskExecutionClosure( eventVersion_ = input.readInt32(); break; } + case 146: { + if (!((mutable_bitField0_ & 0x00004000) != 0)) { + reasons_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00004000; + } + reasons_.add( + input.readMessage(flyteidl.admin.TaskExecutionOuterClass.Reason.parser(), extensionRegistry)); + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -4845,6 +4904,9 @@ private TaskExecutionClosure( if (((mutable_bitField0_ & 0x00000010) != 0)) { logs_ = java.util.Collections.unmodifiableList(logs_); } + if (((mutable_bitField0_ & 0x00004000) != 0)) { + reasons_ = java.util.Collections.unmodifiableList(reasons_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -5413,6 +5475,66 @@ public int getEventVersion() { return eventVersion_; } + public static final int REASONS_FIELD_NUMBER = 18; + private java.util.List reasons_; + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public java.util.List getReasonsList() { + return reasons_; + } + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public java.util.List + getReasonsOrBuilderList() { + return reasons_; + } + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public int getReasonsCount() { + return reasons_.size(); + } + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index) { + return reasons_.get(index); + } + /** + *
+     * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+     * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+     * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( + int index) { + return reasons_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -5469,6 +5591,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (eventVersion_ != 0) { output.writeInt32(17, eventVersion_); } + for (int i = 0; i < reasons_.size(); i++) { + output.writeMessage(18, reasons_.get(i)); + } unknownFields.writeTo(output); } @@ -5531,6 +5656,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, eventVersion_); } + for (int i = 0; i < reasons_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, reasons_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5585,6 +5714,8 @@ public boolean equals(final java.lang.Object obj) { } if (getEventVersion() != other.getEventVersion()) return false; + if (!getReasonsList() + .equals(other.getReasonsList())) return false; if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; switch (outputResultCase_) { case 1: @@ -5649,6 +5780,10 @@ public int hashCode() { } hash = (37 * hash) + EVENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getEventVersion(); + if (getReasonsCount() > 0) { + hash = (37 * hash) + REASONS_FIELD_NUMBER; + hash = (53 * hash) + getReasonsList().hashCode(); + } switch (outputResultCase_) { case 1: hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; @@ -5798,6 +5933,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogsFieldBuilder(); + getReasonsFieldBuilder(); } } @java.lang.Override @@ -5853,6 +5989,12 @@ public Builder clear() { } eventVersion_ = 0; + if (reasonsBuilder_ == null) { + reasons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00004000); + } else { + reasonsBuilder_.clear(); + } outputResultCase_ = 0; outputResult_ = null; return this; @@ -5943,6 +6085,15 @@ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure buildPartial( result.metadata_ = metadataBuilder_.build(); } result.eventVersion_ = eventVersion_; + if (reasonsBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0)) { + reasons_ = java.util.Collections.unmodifiableList(reasons_); + bitField0_ = (bitField0_ & ~0x00004000); + } + result.reasons_ = reasons_; + } else { + result.reasons_ = reasonsBuilder_.build(); + } result.bitField0_ = to_bitField0_; result.outputResultCase_ = outputResultCase_; onBuilt(); @@ -6051,6 +6202,32 @@ public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClo if (other.getEventVersion() != 0) { setEventVersion(other.getEventVersion()); } + if (reasonsBuilder_ == null) { + if (!other.reasons_.isEmpty()) { + if (reasons_.isEmpty()) { + reasons_ = other.reasons_; + bitField0_ = (bitField0_ & ~0x00004000); + } else { + ensureReasonsIsMutable(); + reasons_.addAll(other.reasons_); + } + onChanged(); + } + } else { + if (!other.reasons_.isEmpty()) { + if (reasonsBuilder_.isEmpty()) { + reasonsBuilder_.dispose(); + reasonsBuilder_ = null; + reasons_ = other.reasons_; + bitField0_ = (bitField0_ & ~0x00004000); + reasonsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReasonsFieldBuilder() : null; + } else { + reasonsBuilder_.addAllMessages(other.reasons_); + } + } + } switch (other.getOutputResultCase()) { case OUTPUT_URI: { outputResultCase_ = 1; @@ -8092,171 +8269,1348 @@ public Builder clearEventVersion() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionClosure) - } - - // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionClosure) - private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(); - } - - public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstance() { - return DEFAULT_INSTANCE; - } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskExecutionClosure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TaskExecutionClosure(input, extensionRegistry); + private java.util.List reasons_ = + java.util.Collections.emptyList(); + private void ensureReasonsIsMutable() { + if (!((bitField0_ & 0x00004000) != 0)) { + reasons_ = new java.util.ArrayList(reasons_); + bitField0_ |= 0x00004000; + } } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TaskExecutionGetDataRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataRequest) - com.google.protobuf.MessageOrBuilder { - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - boolean hasId(); - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); - /** - *
-     * The identifier of the task execution for which to fetch inputs and outputs.
-     * +required
-     * 
- * - * .flyteidl.core.TaskExecutionIdentifier id = 1; - */ - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); - } - /** - *
-   * Request structure to fetch inputs and output for a task execution.
-   * By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest`
-   * 
- * - * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} - */ - public static final class TaskExecutionGetDataRequest extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataRequest) - TaskExecutionGetDataRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TaskExecutionGetDataRequest.newBuilder() to construct. - private TaskExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TaskExecutionGetDataRequest() { - } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder> reasonsBuilder_; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TaskExecutionGetDataRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public java.util.List getReasonsList() { + if (reasonsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reasons_); + } else { + return reasonsBuilder_.getMessageList(); + } } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; - if (id_ != null) { - subBuilder = id_.toBuilder(); - } - id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(id_); - id_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public int getReasonsCount() { + if (reasonsBuilder_ == null) { + return reasons_.size(); + } else { + return reasonsBuilder_.getCount(); } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; - } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.Reason getReasons(int index) { + if (reasonsBuilder_ == null) { + return reasons_.get(index); + } else { + return reasonsBuilder_.getMessage(index); + } + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder setReasons( + int index, flyteidl.admin.TaskExecutionOuterClass.Reason value) { + if (reasonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReasonsIsMutable(); + reasons_.set(index, value); + onChanged(); + } else { + reasonsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder setReasons( + int index, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { + if (reasonsBuilder_ == null) { + ensureReasonsIsMutable(); + reasons_.set(index, builderForValue.build()); + onChanged(); + } else { + reasonsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder addReasons(flyteidl.admin.TaskExecutionOuterClass.Reason value) { + if (reasonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReasonsIsMutable(); + reasons_.add(value); + onChanged(); + } else { + reasonsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder addReasons( + int index, flyteidl.admin.TaskExecutionOuterClass.Reason value) { + if (reasonsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReasonsIsMutable(); + reasons_.add(index, value); + onChanged(); + } else { + reasonsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder addReasons( + flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { + if (reasonsBuilder_ == null) { + ensureReasonsIsMutable(); + reasons_.add(builderForValue.build()); + onChanged(); + } else { + reasonsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder addReasons( + int index, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder builderForValue) { + if (reasonsBuilder_ == null) { + ensureReasonsIsMutable(); + reasons_.add(index, builderForValue.build()); + onChanged(); + } else { + reasonsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder addAllReasons( + java.lang.Iterable values) { + if (reasonsBuilder_ == null) { + ensureReasonsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reasons_); + onChanged(); + } else { + reasonsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder clearReasons() { + if (reasonsBuilder_ == null) { + reasons_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + } else { + reasonsBuilder_.clear(); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public Builder removeReasons(int index) { + if (reasonsBuilder_ == null) { + ensureReasonsIsMutable(); + reasons_.remove(index); + onChanged(); + } else { + reasonsBuilder_.remove(index); + } + return this; + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder getReasonsBuilder( + int index) { + return getReasonsFieldBuilder().getBuilder(index); + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder getReasonsOrBuilder( + int index) { + if (reasonsBuilder_ == null) { + return reasons_.get(index); } else { + return reasonsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public java.util.List + getReasonsOrBuilderList() { + if (reasonsBuilder_ != null) { + return reasonsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reasons_); + } + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder addReasonsBuilder() { + return getReasonsFieldBuilder().addBuilder( + flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()); + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public flyteidl.admin.TaskExecutionOuterClass.Reason.Builder addReasonsBuilder( + int index) { + return getReasonsFieldBuilder().addBuilder( + index, flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()); + } + /** + *
+       * A time-series of the phase transition or update explanations. This, when compared to storing a singular reason
+       * as previously done, is much more valuable in visualizing and understanding historical evaluations.
+       * 
+ * + * repeated .flyteidl.admin.Reason reasons = 18; + */ + public java.util.List + getReasonsBuilderList() { + return getReasonsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder> + getReasonsFieldBuilder() { + if (reasonsBuilder_ == null) { + reasonsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.admin.TaskExecutionOuterClass.Reason, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder, flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder>( + reasons_, + ((bitField0_ & 0x00004000) != 0), + getParentForChildren(), + isClean()); + reasons_ = null; + } + return reasonsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.TaskExecutionClosure) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionClosure) + private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(); + } + + public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskExecutionClosure parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskExecutionClosure(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReasonOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.Reason) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + boolean hasOccurredAt(); + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + com.google.protobuf.Timestamp getOccurredAt(); + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder(); + + /** + *
+     * message is the explanation for the most recent phase transition or status update.
+     * 
+ * + * string message = 2; + */ + java.lang.String getMessage(); + /** + *
+     * message is the explanation for the most recent phase transition or status update.
+     * 
+ * + * string message = 2; + */ + com.google.protobuf.ByteString + getMessageBytes(); + } + /** + *
+   * Reason is a single message annotated with a timestamp to indicate the instant the reason occurred.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.Reason} + */ + public static final class Reason extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.Reason) + ReasonOrBuilder { + private static final long serialVersionUID = 0L; + // Use Reason.newBuilder() to construct. + private Reason(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Reason() { + message_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Reason( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (occurredAt_ != null) { + subBuilder = occurredAt_.toBuilder(); + } + occurredAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(occurredAt_); + occurredAt_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + message_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.TaskExecutionOuterClass.Reason.class, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder.class); + } + + public static final int OCCURRED_AT_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp occurredAt_; + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public boolean hasOccurredAt() { + return occurredAt_ != null; + } + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public com.google.protobuf.Timestamp getOccurredAt() { + return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; + } + /** + *
+     * occurred_at is the timestamp indicating the instant that this reason happened.
+     * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { + return getOccurredAt(); + } + + public static final int MESSAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object message_; + /** + *
+     * message is the explanation for the most recent phase transition or status update.
+     * 
+ * + * string message = 2; + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } + } + /** + *
+     * message is the explanation for the most recent phase transition or status update.
+     * 
+ * + * string message = 2; + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (occurredAt_ != null) { + output.writeMessage(1, getOccurredAt()); + } + if (!getMessageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (occurredAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOccurredAt()); + } + if (!getMessageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.Reason)) { + return super.equals(obj); + } + flyteidl.admin.TaskExecutionOuterClass.Reason other = (flyteidl.admin.TaskExecutionOuterClass.Reason) obj; + + if (hasOccurredAt() != other.hasOccurredAt()) return false; + if (hasOccurredAt()) { + if (!getOccurredAt() + .equals(other.getOccurredAt())) return false; + } + if (!getMessage() + .equals(other.getMessage())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOccurredAt()) { + hash = (37 * hash) + OCCURRED_AT_FIELD_NUMBER; + hash = (53 * hash) + getOccurredAt().hashCode(); + } + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.TaskExecutionOuterClass.Reason parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.TaskExecutionOuterClass.Reason prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Reason is a single message annotated with a timestamp to indicate the instant the reason occurred.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.Reason} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.Reason) + flyteidl.admin.TaskExecutionOuterClass.ReasonOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.TaskExecutionOuterClass.Reason.class, flyteidl.admin.TaskExecutionOuterClass.Reason.Builder.class); + } + + // Construct using flyteidl.admin.TaskExecutionOuterClass.Reason.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (occurredAtBuilder_ == null) { + occurredAt_ = null; + } else { + occurredAt_ = null; + occurredAtBuilder_ = null; + } + message_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_Reason_descriptor; + } + + @java.lang.Override + public flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstanceForType() { + return flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.TaskExecutionOuterClass.Reason build() { + flyteidl.admin.TaskExecutionOuterClass.Reason result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.TaskExecutionOuterClass.Reason buildPartial() { + flyteidl.admin.TaskExecutionOuterClass.Reason result = new flyteidl.admin.TaskExecutionOuterClass.Reason(this); + if (occurredAtBuilder_ == null) { + result.occurredAt_ = occurredAt_; + } else { + result.occurredAt_ = occurredAtBuilder_.build(); + } + result.message_ = message_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.TaskExecutionOuterClass.Reason) { + return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.Reason)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.Reason other) { + if (other == flyteidl.admin.TaskExecutionOuterClass.Reason.getDefaultInstance()) return this; + if (other.hasOccurredAt()) { + mergeOccurredAt(other.getOccurredAt()); + } + if (!other.getMessage().isEmpty()) { + message_ = other.message_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.TaskExecutionOuterClass.Reason parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.Reason) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.Timestamp occurredAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_; + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public boolean hasOccurredAt() { + return occurredAtBuilder_ != null || occurredAt_ != null; + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public com.google.protobuf.Timestamp getOccurredAt() { + if (occurredAtBuilder_ == null) { + return occurredAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; + } else { + return occurredAtBuilder_.getMessage(); + } + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public Builder setOccurredAt(com.google.protobuf.Timestamp value) { + if (occurredAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + occurredAt_ = value; + onChanged(); + } else { + occurredAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public Builder setOccurredAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (occurredAtBuilder_ == null) { + occurredAt_ = builderForValue.build(); + onChanged(); + } else { + occurredAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public Builder mergeOccurredAt(com.google.protobuf.Timestamp value) { + if (occurredAtBuilder_ == null) { + if (occurredAt_ != null) { + occurredAt_ = + com.google.protobuf.Timestamp.newBuilder(occurredAt_).mergeFrom(value).buildPartial(); + } else { + occurredAt_ = value; + } + onChanged(); + } else { + occurredAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public Builder clearOccurredAt() { + if (occurredAtBuilder_ == null) { + occurredAt_ = null; + onChanged(); + } else { + occurredAt_ = null; + occurredAtBuilder_ = null; + } + + return this; + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder() { + + onChanged(); + return getOccurredAtFieldBuilder().getBuilder(); + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder() { + if (occurredAtBuilder_ != null) { + return occurredAtBuilder_.getMessageOrBuilder(); + } else { + return occurredAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : occurredAt_; + } + } + /** + *
+       * occurred_at is the timestamp indicating the instant that this reason happened.
+       * 
+ * + * .google.protobuf.Timestamp occurred_at = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getOccurredAtFieldBuilder() { + if (occurredAtBuilder_ == null) { + occurredAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOccurredAt(), + getParentForChildren(), + isClean()); + occurredAt_ = null; + } + return occurredAtBuilder_; + } + + private java.lang.Object message_ = ""; + /** + *
+       * message is the explanation for the most recent phase transition or status update.
+       * 
+ * + * string message = 2; + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * message is the explanation for the most recent phase transition or status update.
+       * 
+ * + * string message = 2; + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * message is the explanation for the most recent phase transition or status update.
+       * 
+ * + * string message = 2; + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + message_ = value; + onChanged(); + return this; + } + /** + *
+       * message is the explanation for the most recent phase transition or status update.
+       * 
+ * + * string message = 2; + */ + public Builder clearMessage() { + + message_ = getDefaultInstance().getMessage(); + onChanged(); + return this; + } + /** + *
+       * message is the explanation for the most recent phase transition or status update.
+       * 
+ * + * string message = 2; + */ + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + message_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.Reason) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Reason) + private static final flyteidl.admin.TaskExecutionOuterClass.Reason DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.Reason(); + } + + public static flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reason parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reason(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.TaskExecutionOuterClass.Reason getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskExecutionGetDataRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The identifier of the task execution for which to fetch inputs and outputs.
+     * +required
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier id = 1; + */ + boolean hasId(); + /** + *
+     * The identifier of the task execution for which to fetch inputs and outputs.
+     * +required
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier id = 1; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); + /** + *
+     * The identifier of the task execution for which to fetch inputs and outputs.
+     * +required
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier id = 1; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); + } + /** + *
+   * Request structure to fetch inputs and output for a task execution.
+   * By default this data is not returned inline in :ref:`ref_flyteidl.admin.TaskExecutionGetRequest`
+   * 
+ * + * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} + */ + public static final class TaskExecutionGetDataRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataRequest) + TaskExecutionGetDataRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskExecutionGetDataRequest.newBuilder() to construct. + private TaskExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskExecutionGetDataRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskExecutionGetDataRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; + if (id_ != null) { + subBuilder = id_.toBuilder(); + } + id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(id_); + id_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; + } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -8945,6 +10299,34 @@ public interface TaskExecutionGetDataResponseOrBuilder extends * .flyteidl.core.LiteralMap full_outputs = 4; */ flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder(); + + /** + *
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + boolean hasFlyteUrls(); + /** + *
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + flyteidl.admin.Common.FlyteURLs getFlyteUrls(); + /** + *
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder(); } /** *
@@ -9041,6 +10423,19 @@ private TaskExecutionGetDataResponse(
 
               break;
             }
+            case 42: {
+              flyteidl.admin.Common.FlyteURLs.Builder subBuilder = null;
+              if (flyteUrls_ != null) {
+                subBuilder = flyteUrls_.toBuilder();
+              }
+              flyteUrls_ = input.readMessage(flyteidl.admin.Common.FlyteURLs.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(flyteUrls_);
+                flyteUrls_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -9211,6 +10606,42 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() {
       return getFullOutputs();
     }
 
+    public static final int FLYTE_URLS_FIELD_NUMBER = 5;
+    private flyteidl.admin.Common.FlyteURLs flyteUrls_;
+    /**
+     * 
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public boolean hasFlyteUrls() { + return flyteUrls_ != null; + } + /** + *
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { + return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; + } + /** + *
+     * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+     * Deck will be empty for task
+     * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { + return getFlyteUrls(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9237,6 +10668,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (fullOutputs_ != null) { output.writeMessage(4, getFullOutputs()); } + if (flyteUrls_ != null) { + output.writeMessage(5, getFlyteUrls()); + } unknownFields.writeTo(output); } @@ -9262,6 +10696,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getFullOutputs()); } + if (flyteUrls_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFlyteUrls()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -9297,6 +10735,11 @@ public boolean equals(final java.lang.Object obj) { if (!getFullOutputs() .equals(other.getFullOutputs())) return false; } + if (hasFlyteUrls() != other.hasFlyteUrls()) return false; + if (hasFlyteUrls()) { + if (!getFlyteUrls() + .equals(other.getFlyteUrls())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9324,6 +10767,10 @@ public int hashCode() { hash = (37 * hash) + FULL_OUTPUTS_FIELD_NUMBER; hash = (53 * hash) + getFullOutputs().hashCode(); } + if (hasFlyteUrls()) { + hash = (37 * hash) + FLYTE_URLS_FIELD_NUMBER; + hash = (53 * hash) + getFlyteUrls().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -9485,6 +10932,12 @@ public Builder clear() { fullOutputs_ = null; fullOutputsBuilder_ = null; } + if (flyteUrlsBuilder_ == null) { + flyteUrls_ = null; + } else { + flyteUrls_ = null; + flyteUrlsBuilder_ = null; + } return this; } @@ -9531,6 +10984,11 @@ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse build } else { result.fullOutputs_ = fullOutputsBuilder_.build(); } + if (flyteUrlsBuilder_ == null) { + result.flyteUrls_ = flyteUrls_; + } else { + result.flyteUrls_ = flyteUrlsBuilder_.build(); + } onBuilt(); return result; } @@ -9591,6 +11049,9 @@ public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGet if (other.hasFullOutputs()) { mergeFullOutputs(other.getFullOutputs()); } + if (other.hasFlyteUrls()) { + mergeFlyteUrls(other.getFlyteUrls()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -10249,6 +11710,168 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getFullOutputsOrBuilder() { } return fullOutputsBuilder_; } + + private flyteidl.admin.Common.FlyteURLs flyteUrls_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> flyteUrlsBuilder_; + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public boolean hasFlyteUrls() { + return flyteUrlsBuilder_ != null || flyteUrls_ != null; + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public flyteidl.admin.Common.FlyteURLs getFlyteUrls() { + if (flyteUrlsBuilder_ == null) { + return flyteUrls_ == null ? flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; + } else { + return flyteUrlsBuilder_.getMessage(); + } + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public Builder setFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { + if (flyteUrlsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + flyteUrls_ = value; + onChanged(); + } else { + flyteUrlsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public Builder setFlyteUrls( + flyteidl.admin.Common.FlyteURLs.Builder builderForValue) { + if (flyteUrlsBuilder_ == null) { + flyteUrls_ = builderForValue.build(); + onChanged(); + } else { + flyteUrlsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public Builder mergeFlyteUrls(flyteidl.admin.Common.FlyteURLs value) { + if (flyteUrlsBuilder_ == null) { + if (flyteUrls_ != null) { + flyteUrls_ = + flyteidl.admin.Common.FlyteURLs.newBuilder(flyteUrls_).mergeFrom(value).buildPartial(); + } else { + flyteUrls_ = value; + } + onChanged(); + } else { + flyteUrlsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public Builder clearFlyteUrls() { + if (flyteUrlsBuilder_ == null) { + flyteUrls_ = null; + onChanged(); + } else { + flyteUrls_ = null; + flyteUrlsBuilder_ = null; + } + + return this; + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public flyteidl.admin.Common.FlyteURLs.Builder getFlyteUrlsBuilder() { + + onChanged(); + return getFlyteUrlsFieldBuilder().getBuilder(); + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + public flyteidl.admin.Common.FlyteURLsOrBuilder getFlyteUrlsOrBuilder() { + if (flyteUrlsBuilder_ != null) { + return flyteUrlsBuilder_.getMessageOrBuilder(); + } else { + return flyteUrls_ == null ? + flyteidl.admin.Common.FlyteURLs.getDefaultInstance() : flyteUrls_; + } + } + /** + *
+       * flyte tiny url to fetch a core.LiteralMap of task execution's IO
+       * Deck will be empty for task
+       * 
+ * + * .flyteidl.admin.FlyteURLs flyte_urls = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder> + getFlyteUrlsFieldBuilder() { + if (flyteUrlsBuilder_ == null) { + flyteUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.Common.FlyteURLs, flyteidl.admin.Common.FlyteURLs.Builder, flyteidl.admin.Common.FlyteURLsOrBuilder>( + getFlyteUrls(), + getParentForChildren(), + isClean()); + flyteUrls_ = null; + } + return flyteUrlsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10327,6 +11950,11 @@ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDe private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_Reason_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_Reason_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; private static final @@ -10366,7 +11994,7 @@ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDe "in.TaskExecutionClosure\022\021\n\tis_parent\030\004 \001" + "(\010\"Z\n\021TaskExecutionList\0226\n\017task_executio" + "ns\030\001 \003(\0132\035.flyteidl.admin.TaskExecution\022" + - "\r\n\005token\030\002 \001(\t\"\336\004\n\024TaskExecutionClosure\022" + + "\r\n\005token\030\002 \001(\t\"\207\005\n\024TaskExecutionClosure\022" + "\030\n\noutput_uri\030\001 \001(\tB\002\030\001H\000\022.\n\005error\030\002 \001(\013" + "2\035.flyteidl.core.ExecutionErrorH\000\0224\n\013out" + "put_data\030\014 \001(\0132\031.flyteidl.core.LiteralMa" + @@ -10381,16 +12009,20 @@ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDe "obuf.Struct\022\016\n\006reason\030\n \001(\t\022\021\n\ttask_type" + "\030\013 \001(\t\0227\n\010metadata\030\020 \001(\0132%.flyteidl.even" + "t.TaskExecutionMetadata\022\025\n\revent_version" + - "\030\021 \001(\005B\017\n\routput_result\"Q\n\033TaskExecution" + - "GetDataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.co" + - "re.TaskExecutionIdentifier\"\332\001\n\034TaskExecu" + - "tionGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.fl" + - "yteidl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(" + - "\0132\027.flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_i" + - "nputs\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/" + - "\n\014full_outputs\030\004 \001(\0132\031.flyteidl.core.Lit" + - "eralMapB7Z5github.com/flyteorg/flyteidl/" + - "gen/pb-go/flyteidl/adminb\006proto3" + "\030\021 \001(\005\022\'\n\007reasons\030\022 \003(\0132\026.flyteidl.admin" + + ".ReasonB\017\n\routput_result\"J\n\006Reason\022/\n\013oc" + + "curred_at\030\001 \001(\0132\032.google.protobuf.Timest" + + "amp\022\017\n\007message\030\002 \001(\t\"Q\n\033TaskExecutionGet" + + "DataRequest\0222\n\002id\030\001 \001(\0132&.flyteidl.core." + + "TaskExecutionIdentifier\"\211\002\n\034TaskExecutio" + + "nGetDataResponse\022+\n\006inputs\030\001 \001(\0132\027.flyte" + + "idl.admin.UrlBlobB\002\030\001\022,\n\007outputs\030\002 \001(\0132\027" + + ".flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inpu" + + "ts\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014f" + + "ull_outputs\030\004 \001(\0132\031.flyteidl.core.Litera" + + "lMap\022-\n\nflyte_urls\030\005 \001(\0132\031.flyteidl.admi" + + "n.FlyteURLsB7Z5github.com/flyteorg/flyte" + + "idl/gen/pb-go/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -10441,19 +12073,25 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionClosure_descriptor, - new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "Logs", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "CustomInfo", "Reason", "TaskType", "Metadata", "EventVersion", "OutputResult", }); - internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor = + new java.lang.String[] { "OutputUri", "Error", "OutputData", "Phase", "Logs", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "CustomInfo", "Reason", "TaskType", "Metadata", "EventVersion", "Reasons", "OutputResult", }); + internal_static_flyteidl_admin_Reason_descriptor = getDescriptor().getMessageTypes().get(5); + internal_static_flyteidl_admin_Reason_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_Reason_descriptor, + new java.lang.String[] { "OccurredAt", "Message", }); + internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor = + getDescriptor().getMessageTypes().get(6); internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(7); internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor, - new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", }); + new java.lang.String[] { "Inputs", "Outputs", "FullInputs", "FullOutputs", "FlyteUrls", }); flyteidl.admin.Common.getDescriptor(); flyteidl.core.Execution.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); diff --git a/gen/pb-java/flyteidl/core/Metrics.java b/gen/pb-java/flyteidl/core/Metrics.java new file mode 100644 index 000000000..b941867c6 --- /dev/null +++ b/gen/pb-java/flyteidl/core/Metrics.java @@ -0,0 +1,2586 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/core/metrics.proto + +package flyteidl.core; + +public final class Metrics { + private Metrics() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface SpanOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.Span) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + boolean hasStartTime(); + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + com.google.protobuf.Timestamp getStartTime(); + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + boolean hasEndTime(); + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + com.google.protobuf.Timestamp getEndTime(); + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + boolean hasWorkflowId(); + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId(); + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder(); + + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + boolean hasNodeId(); + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId(); + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder(); + + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + boolean hasTaskId(); + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId(); + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder(); + + /** + *
+     * operation_id is the id of a unique operation that this Span represents.
+     * 
+ * + * string operation_id = 6; + */ + java.lang.String getOperationId(); + /** + *
+     * operation_id is the id of a unique operation that this Span represents.
+     * 
+ * + * string operation_id = 6; + */ + com.google.protobuf.ByteString + getOperationIdBytes(); + + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + java.util.List + getSpansList(); + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + flyteidl.core.Metrics.Span getSpans(int index); + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + int getSpansCount(); + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + java.util.List + getSpansOrBuilderList(); + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( + int index); + + public flyteidl.core.Metrics.Span.IdCase getIdCase(); + } + /** + *
+   * Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation
+   * which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more
+   * precise definitions.
+   * 
+ * + * Protobuf type {@code flyteidl.core.Span} + */ + public static final class Span extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.Span) + SpanOrBuilder { + private static final long serialVersionUID = 0L; + // Use Span.newBuilder() to construct. + private Span(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Span() { + spans_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Span( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (idCase_ == 3) { + subBuilder = ((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_).toBuilder(); + } + id_ = + input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); + id_ = subBuilder.buildPartial(); + } + idCase_ = 3; + break; + } + case 34: { + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; + if (idCase_ == 4) { + subBuilder = ((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_).toBuilder(); + } + id_ = + input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); + id_ = subBuilder.buildPartial(); + } + idCase_ = 4; + break; + } + case 42: { + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; + if (idCase_ == 5) { + subBuilder = ((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_).toBuilder(); + } + id_ = + input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); + id_ = subBuilder.buildPartial(); + } + idCase_ = 5; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + idCase_ = 6; + id_ = s; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + spans_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000040; + } + spans_.add( + input.readMessage(flyteidl.core.Metrics.Span.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) != 0)) { + spans_ = java.util.Collections.unmodifiableList(spans_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Metrics.Span.class, flyteidl.core.Metrics.Span.Builder.class); + } + + private int bitField0_; + private int idCase_ = 0; + private java.lang.Object id_; + public enum IdCase + implements com.google.protobuf.Internal.EnumLite { + WORKFLOW_ID(3), + NODE_ID(4), + TASK_ID(5), + OPERATION_ID(6), + ID_NOT_SET(0); + private final int value; + private IdCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static IdCase valueOf(int value) { + return forNumber(value); + } + + public static IdCase forNumber(int value) { + switch (value) { + case 3: return WORKFLOW_ID; + case 4: return NODE_ID; + case 5: return TASK_ID; + case 6: return OPERATION_ID; + case 0: return ID_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public IdCase + getIdCase() { + return IdCase.forNumber( + idCase_); + } + + public static final int START_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp startTime_; + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public boolean hasStartTime() { + return startTime_ != null; + } + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + *
+     * start_time defines the instance this span began.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return getStartTime(); + } + + public static final int END_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp endTime_; + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public boolean hasEndTime() { + return endTime_ != null; + } + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + *
+     * end_time defines the instance this span completed.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return getEndTime(); + } + + public static final int WORKFLOW_ID_FIELD_NUMBER = 3; + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public boolean hasWorkflowId() { + return idCase_ == 3; + } + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId() { + if (idCase_ == 3) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + /** + *
+     * workflow_id is the id of the workflow execution this Span represents.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder() { + if (idCase_ == 3) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + + public static final int NODE_ID_FIELD_NUMBER = 4; + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public boolean hasNodeId() { + return idCase_ == 4; + } + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId() { + if (idCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } + /** + *
+     * node_id is the id of the node execution this Span represents.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder() { + if (idCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } + + public static final int TASK_ID_FIELD_NUMBER = 5; + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public boolean hasTaskId() { + return idCase_ == 5; + } + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId() { + if (idCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + /** + *
+     * task_id is the id of the task execution this Span represents.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder() { + if (idCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + + public static final int OPERATION_ID_FIELD_NUMBER = 6; + /** + *
+     * operation_id is the id of a unique operation that this Span represents.
+     * 
+ * + * string operation_id = 6; + */ + public java.lang.String getOperationId() { + java.lang.Object ref = ""; + if (idCase_ == 6) { + ref = id_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (idCase_ == 6) { + id_ = s; + } + return s; + } + } + /** + *
+     * operation_id is the id of a unique operation that this Span represents.
+     * 
+ * + * string operation_id = 6; + */ + public com.google.protobuf.ByteString + getOperationIdBytes() { + java.lang.Object ref = ""; + if (idCase_ == 6) { + ref = id_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (idCase_ == 6) { + id_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SPANS_FIELD_NUMBER = 7; + private java.util.List spans_; + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public java.util.List getSpansList() { + return spans_; + } + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public java.util.List + getSpansOrBuilderList() { + return spans_; + } + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public int getSpansCount() { + return spans_.size(); + } + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.Span getSpans(int index) { + return spans_.get(index); + } + /** + *
+     * spans defines a collection of Spans that breakdown this execution.
+     * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( + int index) { + return spans_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (startTime_ != null) { + output.writeMessage(1, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(2, getEndTime()); + } + if (idCase_ == 3) { + output.writeMessage(3, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); + } + if (idCase_ == 4) { + output.writeMessage(4, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); + } + if (idCase_ == 5) { + output.writeMessage(5, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); + } + if (idCase_ == 6) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, id_); + } + for (int i = 0; i < spans_.size(); i++) { + output.writeMessage(7, spans_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); + } + if (idCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_); + } + if (idCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_); + } + if (idCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_); + } + if (idCase_ == 6) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, id_); + } + for (int i = 0; i < spans_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, spans_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.core.Metrics.Span)) { + return super.equals(obj); + } + flyteidl.core.Metrics.Span other = (flyteidl.core.Metrics.Span) obj; + + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getSpansList() + .equals(other.getSpansList())) return false; + if (!getIdCase().equals(other.getIdCase())) return false; + switch (idCase_) { + case 3: + if (!getWorkflowId() + .equals(other.getWorkflowId())) return false; + break; + case 4: + if (!getNodeId() + .equals(other.getNodeId())) return false; + break; + case 5: + if (!getTaskId() + .equals(other.getTaskId())) return false; + break; + case 6: + if (!getOperationId() + .equals(other.getOperationId())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (getSpansCount() > 0) { + hash = (37 * hash) + SPANS_FIELD_NUMBER; + hash = (53 * hash) + getSpansList().hashCode(); + } + switch (idCase_) { + case 3: + hash = (37 * hash) + WORKFLOW_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowId().hashCode(); + break; + case 4: + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeId().hashCode(); + break; + case 5: + hash = (37 * hash) + TASK_ID_FIELD_NUMBER; + hash = (53 * hash) + getTaskId().hashCode(); + break; + case 6: + hash = (37 * hash) + OPERATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getOperationId().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.Metrics.Span parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Metrics.Span parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Metrics.Span parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Metrics.Span parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Metrics.Span parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Metrics.Span parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Metrics.Span parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Metrics.Span parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.Metrics.Span parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.Metrics.Span parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.core.Metrics.Span parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Metrics.Span parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.core.Metrics.Span prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation
+     * which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more
+     * precise definitions.
+     * 
+ * + * Protobuf type {@code flyteidl.core.Span} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.Span) + flyteidl.core.Metrics.SpanOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Metrics.Span.class, flyteidl.core.Metrics.Span.Builder.class); + } + + // Construct using flyteidl.core.Metrics.Span.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getSpansFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (startTimeBuilder_ == null) { + startTime_ = null; + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + if (endTimeBuilder_ == null) { + endTime_ = null; + } else { + endTime_ = null; + endTimeBuilder_ = null; + } + if (spansBuilder_ == null) { + spans_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + } else { + spansBuilder_.clear(); + } + idCase_ = 0; + id_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.Metrics.internal_static_flyteidl_core_Span_descriptor; + } + + @java.lang.Override + public flyteidl.core.Metrics.Span getDefaultInstanceForType() { + return flyteidl.core.Metrics.Span.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.Metrics.Span build() { + flyteidl.core.Metrics.Span result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.Metrics.Span buildPartial() { + flyteidl.core.Metrics.Span result = new flyteidl.core.Metrics.Span(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (startTimeBuilder_ == null) { + result.startTime_ = startTime_; + } else { + result.startTime_ = startTimeBuilder_.build(); + } + if (endTimeBuilder_ == null) { + result.endTime_ = endTime_; + } else { + result.endTime_ = endTimeBuilder_.build(); + } + if (idCase_ == 3) { + if (workflowIdBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = workflowIdBuilder_.build(); + } + } + if (idCase_ == 4) { + if (nodeIdBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = nodeIdBuilder_.build(); + } + } + if (idCase_ == 5) { + if (taskIdBuilder_ == null) { + result.id_ = id_; + } else { + result.id_ = taskIdBuilder_.build(); + } + } + if (idCase_ == 6) { + result.id_ = id_; + } + if (spansBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + spans_ = java.util.Collections.unmodifiableList(spans_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.spans_ = spans_; + } else { + result.spans_ = spansBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + result.idCase_ = idCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.core.Metrics.Span) { + return mergeFrom((flyteidl.core.Metrics.Span)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.Metrics.Span other) { + if (other == flyteidl.core.Metrics.Span.getDefaultInstance()) return this; + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (spansBuilder_ == null) { + if (!other.spans_.isEmpty()) { + if (spans_.isEmpty()) { + spans_ = other.spans_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureSpansIsMutable(); + spans_.addAll(other.spans_); + } + onChanged(); + } + } else { + if (!other.spans_.isEmpty()) { + if (spansBuilder_.isEmpty()) { + spansBuilder_.dispose(); + spansBuilder_ = null; + spans_ = other.spans_; + bitField0_ = (bitField0_ & ~0x00000040); + spansBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSpansFieldBuilder() : null; + } else { + spansBuilder_.addAllMessages(other.spans_); + } + } + } + switch (other.getIdCase()) { + case WORKFLOW_ID: { + mergeWorkflowId(other.getWorkflowId()); + break; + } + case NODE_ID: { + mergeNodeId(other.getNodeId()); + break; + } + case TASK_ID: { + mergeTaskId(other.getTaskId()); + break; + } + case OPERATION_ID: { + idCase_ = 6; + id_ = other.id_; + onChanged(); + break; + } + case ID_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.core.Metrics.Span parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.Metrics.Span) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int idCase_ = 0; + private java.lang.Object id_; + public IdCase + getIdCase() { + return IdCase.forNumber( + idCase_); + } + + public Builder clearId() { + idCase_ = 0; + id_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public boolean hasStartTime() { + return startTimeBuilder_ != null || startTime_ != null; + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + onChanged(); + } else { + startTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + onChanged(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (startTime_ != null) { + startTime_ = + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + } else { + startTime_ = value; + } + onChanged(); + } else { + startTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public Builder clearStartTime() { + if (startTimeBuilder_ == null) { + startTime_ = null; + onChanged(); + } else { + startTime_ = null; + startTimeBuilder_ = null; + } + + return this; + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + *
+       * start_time defines the instance this span began.
+       * 
+ * + * .google.protobuf.Timestamp start_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public boolean hasEndTime() { + return endTimeBuilder_ != null || endTime_ != null; + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + onChanged(); + } else { + endTimeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + onChanged(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (endTime_ != null) { + endTime_ = + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + } else { + endTime_ = value; + } + onChanged(); + } else { + endTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public Builder clearEndTime() { + if (endTimeBuilder_ == null) { + endTime_ = null; + onChanged(); + } else { + endTime_ = null; + endTimeBuilder_ = null; + } + + return this; + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + *
+       * end_time defines the instance this span completed.
+       * 
+ * + * .google.protobuf.Timestamp end_time = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowIdBuilder_; + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public boolean hasWorkflowId() { + return idCase_ == 3; + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowId() { + if (workflowIdBuilder_ == null) { + if (idCase_ == 3) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } else { + if (idCase_ == 3) { + return workflowIdBuilder_.getMessage(); + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public Builder setWorkflowId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + workflowIdBuilder_.setMessage(value); + } + idCase_ = 3; + return this; + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public Builder setWorkflowId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (workflowIdBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + workflowIdBuilder_.setMessage(builderForValue.build()); + } + idCase_ = 3; + return this; + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public Builder mergeWorkflowId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowIdBuilder_ == null) { + if (idCase_ == 3 && + id_ != flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance()) { + id_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_) + .mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + if (idCase_ == 3) { + workflowIdBuilder_.mergeFrom(value); + } + workflowIdBuilder_.setMessage(value); + } + idCase_ = 3; + return this; + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public Builder clearWorkflowId() { + if (workflowIdBuilder_ == null) { + if (idCase_ == 3) { + idCase_ = 0; + id_ = null; + onChanged(); + } + } else { + if (idCase_ == 3) { + idCase_ = 0; + id_ = null; + } + workflowIdBuilder_.clear(); + } + return this; + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowIdBuilder() { + return getWorkflowIdFieldBuilder().getBuilder(); + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowIdOrBuilder() { + if ((idCase_ == 3) && (workflowIdBuilder_ != null)) { + return workflowIdBuilder_.getMessageOrBuilder(); + } else { + if (idCase_ == 3) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * workflow_id is the id of the workflow execution this Span represents.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getWorkflowIdFieldBuilder() { + if (workflowIdBuilder_ == null) { + if (!(idCase_ == 3)) { + id_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + workflowIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) id_, + getParentForChildren(), + isClean()); + id_ = null; + } + idCase_ = 3; + onChanged();; + return workflowIdBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> nodeIdBuilder_; + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public boolean hasNodeId() { + return idCase_ == 4; + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeId() { + if (nodeIdBuilder_ == null) { + if (idCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } else { + if (idCase_ == 4) { + return nodeIdBuilder_.getMessage(); + } + return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public Builder setNodeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (nodeIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + nodeIdBuilder_.setMessage(value); + } + idCase_ = 4; + return this; + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public Builder setNodeId( + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { + if (nodeIdBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + nodeIdBuilder_.setMessage(builderForValue.build()); + } + idCase_ = 4; + return this; + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public Builder mergeNodeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (nodeIdBuilder_ == null) { + if (idCase_ == 4 && + id_ != flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance()) { + id_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_) + .mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + if (idCase_ == 4) { + nodeIdBuilder_.mergeFrom(value); + } + nodeIdBuilder_.setMessage(value); + } + idCase_ = 4; + return this; + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public Builder clearNodeId() { + if (nodeIdBuilder_ == null) { + if (idCase_ == 4) { + idCase_ = 0; + id_ = null; + onChanged(); + } + } else { + if (idCase_ == 4) { + idCase_ = 0; + id_ = null; + } + nodeIdBuilder_.clear(); + } + return this; + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeIdBuilder() { + return getNodeIdFieldBuilder().getBuilder(); + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeIdOrBuilder() { + if ((idCase_ == 4) && (nodeIdBuilder_ != null)) { + return nodeIdBuilder_.getMessageOrBuilder(); + } else { + if (idCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * node_id is the id of the node execution this Span represents.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_id = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> + getNodeIdFieldBuilder() { + if (nodeIdBuilder_ == null) { + if (!(idCase_ == 4)) { + id_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance(); + } + nodeIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( + (flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier) id_, + getParentForChildren(), + isClean()); + id_ = null; + } + idCase_ = 4; + onChanged();; + return nodeIdBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskIdBuilder_; + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public boolean hasTaskId() { + return idCase_ == 5; + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskId() { + if (taskIdBuilder_ == null) { + if (idCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } else { + if (idCase_ == 5) { + return taskIdBuilder_.getMessage(); + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public Builder setTaskId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + onChanged(); + } else { + taskIdBuilder_.setMessage(value); + } + idCase_ = 5; + return this; + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public Builder setTaskId( + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { + if (taskIdBuilder_ == null) { + id_ = builderForValue.build(); + onChanged(); + } else { + taskIdBuilder_.setMessage(builderForValue.build()); + } + idCase_ = 5; + return this; + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public Builder mergeTaskId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskIdBuilder_ == null) { + if (idCase_ == 5 && + id_ != flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance()) { + id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_) + .mergeFrom(value).buildPartial(); + } else { + id_ = value; + } + onChanged(); + } else { + if (idCase_ == 5) { + taskIdBuilder_.mergeFrom(value); + } + taskIdBuilder_.setMessage(value); + } + idCase_ = 5; + return this; + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public Builder clearTaskId() { + if (taskIdBuilder_ == null) { + if (idCase_ == 5) { + idCase_ = 0; + id_ = null; + onChanged(); + } + } else { + if (idCase_ == 5) { + idCase_ = 0; + id_ = null; + } + taskIdBuilder_.clear(); + } + return this; + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskIdBuilder() { + return getTaskIdFieldBuilder().getBuilder(); + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskIdOrBuilder() { + if ((idCase_ == 5) && (taskIdBuilder_ != null)) { + return taskIdBuilder_.getMessageOrBuilder(); + } else { + if (idCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * task_id is the id of the task execution this Span represents.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_id = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> + getTaskIdFieldBuilder() { + if (taskIdBuilder_ == null) { + if (!(idCase_ == 5)) { + id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( + (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) id_, + getParentForChildren(), + isClean()); + id_ = null; + } + idCase_ = 5; + onChanged();; + return taskIdBuilder_; + } + + /** + *
+       * operation_id is the id of a unique operation that this Span represents.
+       * 
+ * + * string operation_id = 6; + */ + public java.lang.String getOperationId() { + java.lang.Object ref = ""; + if (idCase_ == 6) { + ref = id_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (idCase_ == 6) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * operation_id is the id of a unique operation that this Span represents.
+       * 
+ * + * string operation_id = 6; + */ + public com.google.protobuf.ByteString + getOperationIdBytes() { + java.lang.Object ref = ""; + if (idCase_ == 6) { + ref = id_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (idCase_ == 6) { + id_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * operation_id is the id of a unique operation that this Span represents.
+       * 
+ * + * string operation_id = 6; + */ + public Builder setOperationId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + idCase_ = 6; + id_ = value; + onChanged(); + return this; + } + /** + *
+       * operation_id is the id of a unique operation that this Span represents.
+       * 
+ * + * string operation_id = 6; + */ + public Builder clearOperationId() { + if (idCase_ == 6) { + idCase_ = 0; + id_ = null; + onChanged(); + } + return this; + } + /** + *
+       * operation_id is the id of a unique operation that this Span represents.
+       * 
+ * + * string operation_id = 6; + */ + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + idCase_ = 6; + id_ = value; + onChanged(); + return this; + } + + private java.util.List spans_ = + java.util.Collections.emptyList(); + private void ensureSpansIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + spans_ = new java.util.ArrayList(spans_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> spansBuilder_; + + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public java.util.List getSpansList() { + if (spansBuilder_ == null) { + return java.util.Collections.unmodifiableList(spans_); + } else { + return spansBuilder_.getMessageList(); + } + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public int getSpansCount() { + if (spansBuilder_ == null) { + return spans_.size(); + } else { + return spansBuilder_.getCount(); + } + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.Span getSpans(int index) { + if (spansBuilder_ == null) { + return spans_.get(index); + } else { + return spansBuilder_.getMessage(index); + } + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder setSpans( + int index, flyteidl.core.Metrics.Span value) { + if (spansBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpansIsMutable(); + spans_.set(index, value); + onChanged(); + } else { + spansBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder setSpans( + int index, flyteidl.core.Metrics.Span.Builder builderForValue) { + if (spansBuilder_ == null) { + ensureSpansIsMutable(); + spans_.set(index, builderForValue.build()); + onChanged(); + } else { + spansBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder addSpans(flyteidl.core.Metrics.Span value) { + if (spansBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpansIsMutable(); + spans_.add(value); + onChanged(); + } else { + spansBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder addSpans( + int index, flyteidl.core.Metrics.Span value) { + if (spansBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSpansIsMutable(); + spans_.add(index, value); + onChanged(); + } else { + spansBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder addSpans( + flyteidl.core.Metrics.Span.Builder builderForValue) { + if (spansBuilder_ == null) { + ensureSpansIsMutable(); + spans_.add(builderForValue.build()); + onChanged(); + } else { + spansBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder addSpans( + int index, flyteidl.core.Metrics.Span.Builder builderForValue) { + if (spansBuilder_ == null) { + ensureSpansIsMutable(); + spans_.add(index, builderForValue.build()); + onChanged(); + } else { + spansBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder addAllSpans( + java.lang.Iterable values) { + if (spansBuilder_ == null) { + ensureSpansIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, spans_); + onChanged(); + } else { + spansBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder clearSpans() { + if (spansBuilder_ == null) { + spans_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + spansBuilder_.clear(); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public Builder removeSpans(int index) { + if (spansBuilder_ == null) { + ensureSpansIsMutable(); + spans_.remove(index); + onChanged(); + } else { + spansBuilder_.remove(index); + } + return this; + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.Span.Builder getSpansBuilder( + int index) { + return getSpansFieldBuilder().getBuilder(index); + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.SpanOrBuilder getSpansOrBuilder( + int index) { + if (spansBuilder_ == null) { + return spans_.get(index); } else { + return spansBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public java.util.List + getSpansOrBuilderList() { + if (spansBuilder_ != null) { + return spansBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(spans_); + } + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.Span.Builder addSpansBuilder() { + return getSpansFieldBuilder().addBuilder( + flyteidl.core.Metrics.Span.getDefaultInstance()); + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public flyteidl.core.Metrics.Span.Builder addSpansBuilder( + int index) { + return getSpansFieldBuilder().addBuilder( + index, flyteidl.core.Metrics.Span.getDefaultInstance()); + } + /** + *
+       * spans defines a collection of Spans that breakdown this execution.
+       * 
+ * + * repeated .flyteidl.core.Span spans = 7; + */ + public java.util.List + getSpansBuilderList() { + return getSpansFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder> + getSpansFieldBuilder() { + if (spansBuilder_ == null) { + spansBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Metrics.Span, flyteidl.core.Metrics.Span.Builder, flyteidl.core.Metrics.SpanOrBuilder>( + spans_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); + spans_ = null; + } + return spansBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.core.Span) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.Span) + private static final flyteidl.core.Metrics.Span DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.Metrics.Span(); + } + + public static flyteidl.core.Metrics.Span getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Span parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Span(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.core.Metrics.Span getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Span_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Span_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\033flyteidl/core/metrics.proto\022\rflyteidl." + + "core\032\036flyteidl/core/identifier.proto\032\037go" + + "ogle/protobuf/timestamp.proto\"\337\002\n\004Span\022." + + "\n\nstart_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estamp\022,\n\010end_time\030\002 \001(\0132\032.google.protob" + + "uf.Timestamp\022A\n\013workflow_id\030\003 \001(\0132*.flyt" + + "eidl.core.WorkflowExecutionIdentifierH\000\022" + + "9\n\007node_id\030\004 \001(\0132&.flyteidl.core.NodeExe" + + "cutionIdentifierH\000\0229\n\007task_id\030\005 \001(\0132&.fl" + + "yteidl.core.TaskExecutionIdentifierH\000\022\026\n" + + "\014operation_id\030\006 \001(\tH\000\022\"\n\005spans\030\007 \003(\0132\023.f" + + "lyteidl.core.SpanB\004\n\002idB6Z4github.com/fl" + + "yteorg/flyteidl/gen/pb-go/flyteidl/coreb" + + "\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.core.IdentifierOuterClass.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }, assigner); + internal_static_flyteidl_core_Span_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_core_Span_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_core_Span_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "WorkflowId", "NodeId", "TaskId", "OperationId", "Spans", "Id", }); + flyteidl.core.IdentifierOuterClass.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-java/flyteidl/core/Security.java b/gen/pb-java/flyteidl/core/Security.java index 19b7b54d4..e2e5879c1 100644 --- a/gen/pb-java/flyteidl/core/Security.java +++ b/gen/pb-java/flyteidl/core/Security.java @@ -2268,6 +2268,24 @@ public interface IdentityOrBuilder extends * .flyteidl.core.OAuth2Client oauth2_client = 3; */ flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder(); + + /** + *
+     * execution_identity references the subject who makes the execution
+     * 
+ * + * string execution_identity = 4; + */ + java.lang.String getExecutionIdentity(); + /** + *
+     * execution_identity references the subject who makes the execution
+     * 
+ * + * string execution_identity = 4; + */ + com.google.protobuf.ByteString + getExecutionIdentityBytes(); } /** *
@@ -2289,6 +2307,7 @@ private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     private Identity() {
       iamRole_ = "";
       k8SServiceAccount_ = "";
+      executionIdentity_ = "";
     }
 
     @java.lang.Override
@@ -2340,6 +2359,12 @@ private Identity(
 
               break;
             }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              executionIdentity_ = s;
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -2492,6 +2517,48 @@ public flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder() {
       return getOauth2Client();
     }
 
+    public static final int EXECUTION_IDENTITY_FIELD_NUMBER = 4;
+    private volatile java.lang.Object executionIdentity_;
+    /**
+     * 
+     * execution_identity references the subject who makes the execution
+     * 
+ * + * string execution_identity = 4; + */ + public java.lang.String getExecutionIdentity() { + java.lang.Object ref = executionIdentity_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + executionIdentity_ = s; + return s; + } + } + /** + *
+     * execution_identity references the subject who makes the execution
+     * 
+ * + * string execution_identity = 4; + */ + public com.google.protobuf.ByteString + getExecutionIdentityBytes() { + java.lang.Object ref = executionIdentity_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + executionIdentity_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2515,6 +2582,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (oauth2Client_ != null) { output.writeMessage(3, getOauth2Client()); } + if (!getExecutionIdentityBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, executionIdentity_); + } unknownFields.writeTo(output); } @@ -2534,6 +2604,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getOauth2Client()); } + if (!getExecutionIdentityBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, executionIdentity_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2558,6 +2631,8 @@ public boolean equals(final java.lang.Object obj) { if (!getOauth2Client() .equals(other.getOauth2Client())) return false; } + if (!getExecutionIdentity() + .equals(other.getExecutionIdentity())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2577,6 +2652,8 @@ public int hashCode() { hash = (37 * hash) + OAUTH2_CLIENT_FIELD_NUMBER; hash = (53 * hash) + getOauth2Client().hashCode(); } + hash = (37 * hash) + EXECUTION_IDENTITY_FIELD_NUMBER; + hash = (53 * hash) + getExecutionIdentity().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2725,6 +2802,8 @@ public Builder clear() { oauth2Client_ = null; oauth2ClientBuilder_ = null; } + executionIdentity_ = ""; + return this; } @@ -2758,6 +2837,7 @@ public flyteidl.core.Security.Identity buildPartial() { } else { result.oauth2Client_ = oauth2ClientBuilder_.build(); } + result.executionIdentity_ = executionIdentity_; onBuilt(); return result; } @@ -2817,6 +2897,10 @@ public Builder mergeFrom(flyteidl.core.Security.Identity other) { if (other.hasOauth2Client()) { mergeOauth2Client(other.getOauth2Client()); } + if (!other.getExecutionIdentity().isEmpty()) { + executionIdentity_ = other.executionIdentity_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3185,6 +3269,95 @@ public flyteidl.core.Security.OAuth2ClientOrBuilder getOauth2ClientOrBuilder() { } return oauth2ClientBuilder_; } + + private java.lang.Object executionIdentity_ = ""; + /** + *
+       * execution_identity references the subject who makes the execution
+       * 
+ * + * string execution_identity = 4; + */ + public java.lang.String getExecutionIdentity() { + java.lang.Object ref = executionIdentity_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + executionIdentity_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * execution_identity references the subject who makes the execution
+       * 
+ * + * string execution_identity = 4; + */ + public com.google.protobuf.ByteString + getExecutionIdentityBytes() { + java.lang.Object ref = executionIdentity_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + executionIdentity_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * execution_identity references the subject who makes the execution
+       * 
+ * + * string execution_identity = 4; + */ + public Builder setExecutionIdentity( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + executionIdentity_ = value; + onChanged(); + return this; + } + /** + *
+       * execution_identity references the subject who makes the execution
+       * 
+ * + * string execution_identity = 4; + */ + public Builder clearExecutionIdentity() { + + executionIdentity_ = getDefaultInstance().getExecutionIdentity(); + onChanged(); + return this; + } + /** + *
+       * execution_identity references the subject who makes the execution
+       * 
+ * + * string execution_identity = 4; + */ + public Builder setExecutionIdentityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + executionIdentity_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6609,21 +6782,21 @@ public flyteidl.core.Security.SecurityContext getDefaultInstanceForType() { "untType\"+\n\tMountType\022\007\n\003ANY\020\000\022\013\n\007ENV_VAR" + "\020\001\022\010\n\004FILE\020\002\"O\n\014OAuth2Client\022\021\n\tclient_i" + "d\030\001 \001(\t\022,\n\rclient_secret\030\002 \001(\0132\025.flyteid" + - "l.core.Secret\"m\n\010Identity\022\020\n\010iam_role\030\001 " + - "\001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roaut" + - "h2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2Cl" + - "ient\"\335\001\n\022OAuth2TokenRequest\022\014\n\004name\030\001 \001(" + - "\t\0224\n\004type\030\002 \001(\0162&.flyteidl.core.OAuth2To" + - "kenRequest.Type\022+\n\006client\030\003 \001(\0132\033.flytei" + - "dl.core.OAuth2Client\022\036\n\026idp_discovery_en" + - "dpoint\030\004 \001(\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004" + - "Type\022\026\n\022CLIENT_CREDENTIALS\020\000\"\225\001\n\017Securit" + - "yContext\022\'\n\006run_as\030\001 \001(\0132\027.flyteidl.core" + - ".Identity\022&\n\007secrets\030\002 \003(\0132\025.flyteidl.co" + - "re.Secret\0221\n\006tokens\030\003 \003(\0132!.flyteidl.cor" + - "e.OAuth2TokenRequestB6Z4github.com/flyte" + - "org/flyteidl/gen/pb-go/flyteidl/coreb\006pr" + - "oto3" + "l.core.Secret\"\211\001\n\010Identity\022\020\n\010iam_role\030\001" + + " \001(\t\022\033\n\023k8s_service_account\030\002 \001(\t\0222\n\roau" + + "th2_client\030\003 \001(\0132\033.flyteidl.core.OAuth2C" + + "lient\022\032\n\022execution_identity\030\004 \001(\t\"\335\001\n\022OA" + + "uth2TokenRequest\022\014\n\004name\030\001 \001(\t\0224\n\004type\030\002" + + " \001(\0162&.flyteidl.core.OAuth2TokenRequest." + + "Type\022+\n\006client\030\003 \001(\0132\033.flyteidl.core.OAu" + + "th2Client\022\036\n\026idp_discovery_endpoint\030\004 \001(" + + "\t\022\026\n\016token_endpoint\030\005 \001(\t\"\036\n\004Type\022\026\n\022CLI" + + "ENT_CREDENTIALS\020\000\"\225\001\n\017SecurityContext\022\'\n" + + "\006run_as\030\001 \001(\0132\027.flyteidl.core.Identity\022&" + + "\n\007secrets\030\002 \003(\0132\025.flyteidl.core.Secret\0221" + + "\n\006tokens\030\003 \003(\0132!.flyteidl.core.OAuth2Tok" + + "enRequestB6Z4github.com/flyteorg/flyteid" + + "l/gen/pb-go/flyteidl/coreb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -6654,7 +6827,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_core_Identity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_Identity_descriptor, - new java.lang.String[] { "IamRole", "K8SServiceAccount", "Oauth2Client", }); + new java.lang.String[] { "IamRole", "K8SServiceAccount", "Oauth2Client", "ExecutionIdentity", }); internal_static_flyteidl_core_OAuth2TokenRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_flyteidl_core_OAuth2TokenRequest_fieldAccessorTable = new diff --git a/gen/pb-java/flyteidl/core/Tasks.java b/gen/pb-java/flyteidl/core/Tasks.java index ee6a5aea0..a7d7acf1a 100644 --- a/gen/pb-java/flyteidl/core/Tasks.java +++ b/gen/pb-java/flyteidl/core/Tasks.java @@ -15308,6 +15308,49 @@ public interface K8sPodOrBuilder extends * .google.protobuf.Struct pod_spec = 2; */ com.google.protobuf.StructOrBuilder getPodSpecOrBuilder(); + + /** + *
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + boolean hasDataConfig(); + /** + *
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + flyteidl.core.Tasks.DataLoadingConfig getDataConfig(); + /** + *
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder(); } /** *
@@ -15378,6 +15421,19 @@ private K8sPod(
 
               break;
             }
+            case 26: {
+              flyteidl.core.Tasks.DataLoadingConfig.Builder subBuilder = null;
+              if (dataConfig_ != null) {
+                subBuilder = dataConfig_.toBuilder();
+              }
+              dataConfig_ = input.readMessage(flyteidl.core.Tasks.DataLoadingConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dataConfig_);
+                dataConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -15485,6 +15541,57 @@ public com.google.protobuf.StructOrBuilder getPodSpecOrBuilder() {
       return getPodSpec();
     }
 
+    public static final int DATA_CONFIG_FIELD_NUMBER = 3;
+    private flyteidl.core.Tasks.DataLoadingConfig dataConfig_;
+    /**
+     * 
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public boolean hasDataConfig() { + return dataConfig_ != null; + } + /** + *
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { + return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; + } + /** + *
+     * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+     * This makes it possible to to run a completely portable container, that uses inputs and outputs
+     * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+     * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+     * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+     * to understand the default paths.
+     * Only K8s
+     * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { + return getDataConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -15505,6 +15612,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (podSpec_ != null) { output.writeMessage(2, getPodSpec()); } + if (dataConfig_ != null) { + output.writeMessage(3, getDataConfig()); + } unknownFields.writeTo(output); } @@ -15522,6 +15632,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPodSpec()); } + if (dataConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDataConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -15547,6 +15661,11 @@ public boolean equals(final java.lang.Object obj) { if (!getPodSpec() .equals(other.getPodSpec())) return false; } + if (hasDataConfig() != other.hasDataConfig()) return false; + if (hasDataConfig()) { + if (!getDataConfig() + .equals(other.getDataConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15566,6 +15685,10 @@ public int hashCode() { hash = (37 * hash) + POD_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPodSpec().hashCode(); } + if (hasDataConfig()) { + hash = (37 * hash) + DATA_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDataConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -15715,6 +15838,12 @@ public Builder clear() { podSpec_ = null; podSpecBuilder_ = null; } + if (dataConfigBuilder_ == null) { + dataConfig_ = null; + } else { + dataConfig_ = null; + dataConfigBuilder_ = null; + } return this; } @@ -15751,6 +15880,11 @@ public flyteidl.core.Tasks.K8sPod buildPartial() { } else { result.podSpec_ = podSpecBuilder_.build(); } + if (dataConfigBuilder_ == null) { + result.dataConfig_ = dataConfig_; + } else { + result.dataConfig_ = dataConfigBuilder_.build(); + } onBuilt(); return result; } @@ -15805,6 +15939,9 @@ public Builder mergeFrom(flyteidl.core.Tasks.K8sPod other) { if (other.hasPodSpec()) { mergePodSpec(other.getPodSpec()); } + if (other.hasDataConfig()) { + mergeDataConfig(other.getDataConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -16166,6 +16303,213 @@ public com.google.protobuf.StructOrBuilder getPodSpecOrBuilder() { } return podSpecBuilder_; } + + private flyteidl.core.Tasks.DataLoadingConfig dataConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> dataConfigBuilder_; + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public boolean hasDataConfig() { + return dataConfigBuilder_ != null || dataConfig_ != null; + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public flyteidl.core.Tasks.DataLoadingConfig getDataConfig() { + if (dataConfigBuilder_ == null) { + return dataConfig_ == null ? flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; + } else { + return dataConfigBuilder_.getMessage(); + } + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public Builder setDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { + if (dataConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dataConfig_ = value; + onChanged(); + } else { + dataConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public Builder setDataConfig( + flyteidl.core.Tasks.DataLoadingConfig.Builder builderForValue) { + if (dataConfigBuilder_ == null) { + dataConfig_ = builderForValue.build(); + onChanged(); + } else { + dataConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public Builder mergeDataConfig(flyteidl.core.Tasks.DataLoadingConfig value) { + if (dataConfigBuilder_ == null) { + if (dataConfig_ != null) { + dataConfig_ = + flyteidl.core.Tasks.DataLoadingConfig.newBuilder(dataConfig_).mergeFrom(value).buildPartial(); + } else { + dataConfig_ = value; + } + onChanged(); + } else { + dataConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public Builder clearDataConfig() { + if (dataConfigBuilder_ == null) { + dataConfig_ = null; + onChanged(); + } else { + dataConfig_ = null; + dataConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public flyteidl.core.Tasks.DataLoadingConfig.Builder getDataConfigBuilder() { + + onChanged(); + return getDataConfigFieldBuilder().getBuilder(); + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + public flyteidl.core.Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder() { + if (dataConfigBuilder_ != null) { + return dataConfigBuilder_.getMessageOrBuilder(); + } else { + return dataConfig_ == null ? + flyteidl.core.Tasks.DataLoadingConfig.getDefaultInstance() : dataConfig_; + } + } + /** + *
+       * BETA: Optional configuration for DataLoading. If not specified, then default values are used.
+       * This makes it possible to to run a completely portable container, that uses inputs and outputs
+       * only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment.
+       * If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories
+       * are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation
+       * to understand the default paths.
+       * Only K8s
+       * 
+ * + * .flyteidl.core.DataLoadingConfig data_config = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder> + getDataConfigFieldBuilder() { + if (dataConfigBuilder_ == null) { + dataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.DataLoadingConfig, flyteidl.core.Tasks.DataLoadingConfig.Builder, flyteidl.core.Tasks.DataLoadingConfigOrBuilder>( + getDataConfig(), + getParentForChildren(), + isClean()); + dataConfig_ = null; + } + return dataConfigBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18392,20 +18736,22 @@ public flyteidl.core.Tasks.Sql getDefaultInstanceForType() { "oadingConfig.LiteralMapFormat\022.\n\013io_stra" + "tegy\030\005 \001(\0132\031.flyteidl.core.IOStrategy\"1\n" + "\020LiteralMapFormat\022\010\n\004JSON\020\000\022\010\n\004YAML\020\001\022\t\n" + - "\005PROTO\020\002\"g\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 .f" + - "lyteidl.core.K8sObjectMetadata\022)\n\010pod_sp" + - "ec\030\002 \001(\0132\027.google.protobuf.Struct\"\374\001\n\021K8" + - "sObjectMetadata\022<\n\006labels\030\001 \003(\0132,.flytei" + - "dl.core.K8sObjectMetadata.LabelsEntry\022F\n" + - "\013annotations\030\002 \003(\01321.flyteidl.core.K8sOb" + - "jectMetadata.AnnotationsEntry\032-\n\013LabelsE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020" + - "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstatement\030\001 \001(\t\022+\n\007di" + - "alect\030\002 \001(\0162\032.flyteidl.core.Sql.Dialect\"" + - "7\n\007Dialect\022\r\n\tUNDEFINED\020\000\022\010\n\004ANSI\020\001\022\010\n\004H" + - "IVE\020\002\022\t\n\005OTHER\020\003B6Z4github.com/flyteorg/" + - "flyteidl/gen/pb-go/flyteidl/coreb\006proto3" + "\005PROTO\020\002\"\236\001\n\006K8sPod\0222\n\010metadata\030\001 \001(\0132 ." + + "flyteidl.core.K8sObjectMetadata\022)\n\010pod_s" + + "pec\030\002 \001(\0132\027.google.protobuf.Struct\0225\n\013da" + + "ta_config\030\003 \001(\0132 .flyteidl.core.DataLoad" + + "ingConfig\"\374\001\n\021K8sObjectMetadata\022<\n\006label" + + "s\030\001 \003(\0132,.flyteidl.core.K8sObjectMetadat" + + "a.LabelsEntry\022F\n\013annotations\030\002 \003(\01321.fly" + + "teidl.core.K8sObjectMetadata.Annotations" + + "Entry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"~\n\003Sql\022\021\n\tstate" + + "ment\030\001 \001(\t\022+\n\007dialect\030\002 \001(\0162\032.flyteidl.c" + + "ore.Sql.Dialect\"7\n\007Dialect\022\r\n\tUNDEFINED\020" + + "\000\022\010\n\004ANSI\020\001\022\010\n\004HIVE\020\002\022\t\n\005OTHER\020\003B6Z4gith" + + "ub.com/flyteorg/flyteidl/gen/pb-go/flyte" + + "idl/coreb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -18496,7 +18842,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_core_K8sPod_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_K8sPod_descriptor, - new java.lang.String[] { "Metadata", "PodSpec", }); + new java.lang.String[] { "Metadata", "PodSpec", "DataConfig", }); internal_static_flyteidl_core_K8sObjectMetadata_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_flyteidl_core_K8sObjectMetadata_fieldAccessorTable = new diff --git a/gen/pb-java/flyteidl/event/Event.java b/gen/pb-java/flyteidl/event/Event.java index 31bdbd0c5..2376082bf 100644 --- a/gen/pb-java/flyteidl/event/Event.java +++ b/gen/pb-java/flyteidl/event/Event.java @@ -2411,6 +2411,40 @@ public interface NodeExecutionEventOrBuilder extends com.google.protobuf.ByteString getDeckUriBytes(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + boolean hasReportedAt(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + com.google.protobuf.Timestamp getReportedAt(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder(); + public flyteidl.event.Event.NodeExecutionEvent.InputValueCase getInputValueCase(); public flyteidl.event.Event.NodeExecutionEvent.OutputResultCase getOutputResultCase(); @@ -2647,6 +2681,19 @@ private NodeExecutionEvent( inputValueCase_ = 20; break; } + case 170: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (reportedAt_ != null) { + subBuilder = reportedAt_.toBuilder(); + } + reportedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportedAt_); + reportedAt_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -3458,6 +3505,48 @@ public java.lang.String getDeckUri() { } } + public static final int REPORTED_AT_FIELD_NUMBER = 21; + private com.google.protobuf.Timestamp reportedAt_; + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public boolean hasReportedAt() { + return reportedAt_ != null; + } + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public com.google.protobuf.Timestamp getReportedAt() { + return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example,
+     * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+     * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+     * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { + return getReportedAt(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -3532,6 +3621,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (inputValueCase_ == 20) { output.writeMessage(20, (flyteidl.core.Literals.LiteralMap) inputValue_); } + if (reportedAt_ != null) { + output.writeMessage(21, getReportedAt()); + } unknownFields.writeTo(output); } @@ -3614,6 +3706,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, (flyteidl.core.Literals.LiteralMap) inputValue_); } + if (reportedAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getReportedAt()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3666,6 +3762,11 @@ public boolean equals(final java.lang.Object obj) { != other.getIsDynamic()) return false; if (!getDeckUri() .equals(other.getDeckUri())) return false; + if (hasReportedAt() != other.hasReportedAt()) return false; + if (hasReportedAt()) { + if (!getReportedAt() + .equals(other.getReportedAt())) return false; + } if (!getInputValueCase().equals(other.getInputValueCase())) return false; switch (inputValueCase_) { case 5: @@ -3756,6 +3857,10 @@ public int hashCode() { getIsDynamic()); hash = (37 * hash) + DECK_URI_FIELD_NUMBER; hash = (53 * hash) + getDeckUri().hashCode(); + if (hasReportedAt()) { + hash = (37 * hash) + REPORTED_AT_FIELD_NUMBER; + hash = (53 * hash) + getReportedAt().hashCode(); + } switch (inputValueCase_) { case 5: hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; @@ -3971,6 +4076,12 @@ public Builder clear() { deckUri_ = ""; + if (reportedAtBuilder_ == null) { + reportedAt_ = null; + } else { + reportedAt_ = null; + reportedAtBuilder_ = null; + } inputValueCase_ = 0; inputValue_ = null; outputResultCase_ = 0; @@ -4073,6 +4184,11 @@ public flyteidl.event.Event.NodeExecutionEvent buildPartial() { result.isParent_ = isParent_; result.isDynamic_ = isDynamic_; result.deckUri_ = deckUri_; + if (reportedAtBuilder_ == null) { + result.reportedAt_ = reportedAt_; + } else { + result.reportedAt_ = reportedAtBuilder_.build(); + } result.inputValueCase_ = inputValueCase_; result.outputResultCase_ = outputResultCase_; result.targetMetadataCase_ = targetMetadataCase_; @@ -4168,6 +4284,9 @@ public Builder mergeFrom(flyteidl.event.Event.NodeExecutionEvent other) { deckUri_ = other.deckUri_; onChanged(); } + if (other.hasReportedAt()) { + mergeReportedAt(other.getReportedAt()); + } switch (other.getInputValueCase()) { case INPUT_URI: { inputValueCase_ = 5; @@ -6484,6 +6603,186 @@ public Builder setDeckUriBytes( onChanged(); return this; } + + private com.google.protobuf.Timestamp reportedAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> reportedAtBuilder_; + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public boolean hasReportedAt() { + return reportedAtBuilder_ != null || reportedAt_ != null; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public com.google.protobuf.Timestamp getReportedAt() { + if (reportedAtBuilder_ == null) { + return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } else { + return reportedAtBuilder_.getMessage(); + } + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public Builder setReportedAt(com.google.protobuf.Timestamp value) { + if (reportedAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportedAt_ = value; + onChanged(); + } else { + reportedAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public Builder setReportedAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (reportedAtBuilder_ == null) { + reportedAt_ = builderForValue.build(); + onChanged(); + } else { + reportedAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public Builder mergeReportedAt(com.google.protobuf.Timestamp value) { + if (reportedAtBuilder_ == null) { + if (reportedAt_ != null) { + reportedAt_ = + com.google.protobuf.Timestamp.newBuilder(reportedAt_).mergeFrom(value).buildPartial(); + } else { + reportedAt_ = value; + } + onChanged(); + } else { + reportedAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public Builder clearReportedAt() { + if (reportedAtBuilder_ == null) { + reportedAt_ = null; + onChanged(); + } else { + reportedAt_ = null; + reportedAtBuilder_ = null; + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public com.google.protobuf.Timestamp.Builder getReportedAtBuilder() { + + onChanged(); + return getReportedAtFieldBuilder().getBuilder(); + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { + if (reportedAtBuilder_ != null) { + return reportedAtBuilder_.getMessageOrBuilder(); + } else { + return reportedAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example,
+       * when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when
+       * literal inputs are initially copied. The event however will not be sent until after the copy completes.
+       * Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series.
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getReportedAtFieldBuilder() { + if (reportedAtBuilder_ == null) { + reportedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReportedAt(), + getParentForChildren(), + isClean()); + reportedAt_ = null; + } + return reportedAtBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8557,6 +8856,26 @@ public interface DynamicWorkflowNodeMetadataOrBuilder extends * .flyteidl.core.CompiledWorkflowClosure compiled_workflow = 2; */ flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkflowOrBuilder(); + + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the workflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + java.lang.String getDynamicJobSpecUri(); + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the workflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + com.google.protobuf.ByteString + getDynamicJobSpecUriBytes(); } /** *
@@ -8575,6 +8894,7 @@ private DynamicWorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Build
       super(builder);
     }
     private DynamicWorkflowNodeMetadata() {
+      dynamicJobSpecUri_ = "";
     }
 
     @java.lang.Override
@@ -8627,6 +8947,12 @@ private DynamicWorkflowNodeMetadata(
 
               break;
             }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              dynamicJobSpecUri_ = s;
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -8725,6 +9051,50 @@ public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkfl
       return getCompiledWorkflow();
     }
 
+    public static final int DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER = 3;
+    private volatile java.lang.Object dynamicJobSpecUri_;
+    /**
+     * 
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the workflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } + } + /** + *
+     * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+     * required to correctly recover partially completed executions where the workflow has already been compiled.
+     * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -8745,6 +9115,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compiledWorkflow_ != null) { output.writeMessage(2, getCompiledWorkflow()); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dynamicJobSpecUri_); + } unknownFields.writeTo(output); } @@ -8762,6 +9135,9 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCompiledWorkflow()); } + if (!getDynamicJobSpecUriBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dynamicJobSpecUri_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -8787,6 +9163,8 @@ public boolean equals(final java.lang.Object obj) { if (!getCompiledWorkflow() .equals(other.getCompiledWorkflow())) return false; } + if (!getDynamicJobSpecUri() + .equals(other.getDynamicJobSpecUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8806,6 +9184,8 @@ public int hashCode() { hash = (37 * hash) + COMPILED_WORKFLOW_FIELD_NUMBER; hash = (53 * hash) + getCompiledWorkflow().hashCode(); } + hash = (37 * hash) + DYNAMIC_JOB_SPEC_URI_FIELD_NUMBER; + hash = (53 * hash) + getDynamicJobSpecUri().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -8955,6 +9335,8 @@ public Builder clear() { compiledWorkflow_ = null; compiledWorkflowBuilder_ = null; } + dynamicJobSpecUri_ = ""; + return this; } @@ -8991,6 +9373,7 @@ public flyteidl.event.Event.DynamicWorkflowNodeMetadata buildPartial() { } else { result.compiledWorkflow_ = compiledWorkflowBuilder_.build(); } + result.dynamicJobSpecUri_ = dynamicJobSpecUri_; onBuilt(); return result; } @@ -9045,6 +9428,10 @@ public Builder mergeFrom(flyteidl.event.Event.DynamicWorkflowNodeMetadata other) if (other.hasCompiledWorkflow()) { mergeCompiledWorkflow(other.getCompiledWorkflow()); } + if (!other.getDynamicJobSpecUri().isEmpty()) { + dynamicJobSpecUri_ = other.dynamicJobSpecUri_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -9379,6 +9766,100 @@ public flyteidl.core.Compiler.CompiledWorkflowClosureOrBuilder getCompiledWorkfl } return compiledWorkflowBuilder_; } + + private java.lang.Object dynamicJobSpecUri_ = ""; + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the workflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public java.lang.String getDynamicJobSpecUri() { + java.lang.Object ref = dynamicJobSpecUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dynamicJobSpecUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the workflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public com.google.protobuf.ByteString + getDynamicJobSpecUriBytes() { + java.lang.Object ref = dynamicJobSpecUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dynamicJobSpecUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the workflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder setDynamicJobSpecUri( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the workflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder clearDynamicJobSpecUri() { + + dynamicJobSpecUri_ = getDefaultInstance().getDynamicJobSpecUri(); + onChanged(); + return this; + } + /** + *
+       * dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is
+       * required to correctly recover partially completed executions where the workflow has already been compiled.
+       * 
+ * + * string dynamic_job_spec_uri = 3; + */ + public Builder setDynamicJobSpecUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dynamicJobSpecUri_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11036,6 +11517,40 @@ flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( */ int getEventVersion(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + boolean hasReportedAt(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + com.google.protobuf.Timestamp getReportedAt(); + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder(); + public flyteidl.event.Event.TaskExecutionEvent.InputValueCase getInputValueCase(); public flyteidl.event.Event.TaskExecutionEvent.OutputResultCase getOutputResultCase(); @@ -11255,6 +11770,19 @@ private TaskExecutionEvent( inputValueCase_ = 19; break; } + case 162: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (reportedAt_ != null) { + subBuilder = reportedAt_.toBuilder(); + } + reportedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportedAt_); + reportedAt_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -12017,6 +12545,48 @@ public int getEventVersion() { return eventVersion_; } + public static final int REPORTED_AT_FIELD_NUMBER = 20; + private com.google.protobuf.Timestamp reportedAt_; + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public boolean hasReportedAt() { + return reportedAt_ != null; + } + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public com.google.protobuf.Timestamp getReportedAt() { + return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } + /** + *
+     * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+     * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+     * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+     * facilitates a more accurate portrayal of the evaluation time-series. 
+     * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { + return getReportedAt(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -12085,6 +12655,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (inputValueCase_ == 19) { output.writeMessage(19, (flyteidl.core.Literals.LiteralMap) inputValue_); } + if (reportedAt_ != null) { + output.writeMessage(20, getReportedAt()); + } unknownFields.writeTo(output); } @@ -12161,6 +12734,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (flyteidl.core.Literals.LiteralMap) inputValue_); } + if (reportedAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getReportedAt()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -12216,6 +12793,11 @@ public boolean equals(final java.lang.Object obj) { } if (getEventVersion() != other.getEventVersion()) return false; + if (hasReportedAt() != other.hasReportedAt()) return false; + if (hasReportedAt()) { + if (!getReportedAt() + .equals(other.getReportedAt())) return false; + } if (!getInputValueCase().equals(other.getInputValueCase())) return false; switch (inputValueCase_) { case 8: @@ -12295,6 +12877,10 @@ public int hashCode() { } hash = (37 * hash) + EVENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getEventVersion(); + if (hasReportedAt()) { + hash = (37 * hash) + REPORTED_AT_FIELD_NUMBER; + hash = (53 * hash) + getReportedAt().hashCode(); + } switch (inputValueCase_) { case 8: hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; @@ -12511,6 +13097,12 @@ public Builder clear() { } eventVersion_ = 0; + if (reportedAtBuilder_ == null) { + reportedAt_ = null; + } else { + reportedAt_ = null; + reportedAtBuilder_ = null; + } inputValueCase_ = 0; inputValue_ = null; outputResultCase_ = 0; @@ -12611,6 +13203,11 @@ public flyteidl.event.Event.TaskExecutionEvent buildPartial() { result.metadata_ = metadataBuilder_.build(); } result.eventVersion_ = eventVersion_; + if (reportedAtBuilder_ == null) { + result.reportedAt_ = reportedAt_; + } else { + result.reportedAt_ = reportedAtBuilder_.build(); + } result.bitField0_ = to_bitField0_; result.inputValueCase_ = inputValueCase_; result.outputResultCase_ = outputResultCase_; @@ -12727,6 +13324,9 @@ public Builder mergeFrom(flyteidl.event.Event.TaskExecutionEvent other) { if (other.getEventVersion() != 0) { setEventVersion(other.getEventVersion()); } + if (other.hasReportedAt()) { + mergeReportedAt(other.getReportedAt()); + } switch (other.getInputValueCase()) { case INPUT_URI: { inputValueCase_ = 8; @@ -15121,6 +15721,186 @@ public Builder clearEventVersion() { onChanged(); return this; } + + private com.google.protobuf.Timestamp reportedAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> reportedAtBuilder_; + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public boolean hasReportedAt() { + return reportedAtBuilder_ != null || reportedAt_ != null; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public com.google.protobuf.Timestamp getReportedAt() { + if (reportedAtBuilder_ == null) { + return reportedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } else { + return reportedAtBuilder_.getMessage(); + } + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public Builder setReportedAt(com.google.protobuf.Timestamp value) { + if (reportedAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportedAt_ = value; + onChanged(); + } else { + reportedAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public Builder setReportedAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (reportedAtBuilder_ == null) { + reportedAt_ = builderForValue.build(); + onChanged(); + } else { + reportedAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public Builder mergeReportedAt(com.google.protobuf.Timestamp value) { + if (reportedAtBuilder_ == null) { + if (reportedAt_ != null) { + reportedAt_ = + com.google.protobuf.Timestamp.newBuilder(reportedAt_).mergeFrom(value).buildPartial(); + } else { + reportedAt_ = value; + } + onChanged(); + } else { + reportedAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public Builder clearReportedAt() { + if (reportedAtBuilder_ == null) { + reportedAt_ = null; + onChanged(); + } else { + reportedAt_ = null; + reportedAtBuilder_ = null; + } + + return this; + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public com.google.protobuf.Timestamp.Builder getReportedAtBuilder() { + + onChanged(); + return getReportedAtFieldBuilder().getBuilder(); + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + public com.google.protobuf.TimestampOrBuilder getReportedAtOrBuilder() { + if (reportedAtBuilder_ != null) { + return reportedAtBuilder_.getMessageOrBuilder(); + } else { + return reportedAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : reportedAt_; + } + } + /** + *
+       * This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s
+       * pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes,
+       * but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps
+       * facilitates a more accurate portrayal of the evaluation time-series. 
+       * 
+ * + * .google.protobuf.Timestamp reported_at = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getReportedAtFieldBuilder() { + if (reportedAtBuilder_ == null) { + reportedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReportedAt(), + getParentForChildren(), + isClean()); + reportedAt_ = null; + } + return reportedAtBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -19507,7 +20287,7 @@ public flyteidl.event.Event.TaskExecutionMetadata getDefaultInstanceForType() { "\noutput_uri\030\005 \001(\tH\000\022.\n\005error\030\006 \001(\0132\035.fly" + "teidl.core.ExecutionErrorH\000\0220\n\013output_da" + "ta\030\007 \001(\0132\031.flyteidl.core.LiteralMapH\000B\017\n" + - "\routput_result\"\336\006\n\022NodeExecutionEvent\0222\n" + + "\routput_result\"\217\007\n\022NodeExecutionEvent\0222\n" + "\002id\030\001 \001(\0132&.flyteidl.core.NodeExecutionI" + "dentifier\022\023\n\013producer_id\030\002 \001(\t\0221\n\005phase\030" + "\003 \001(\0162\".flyteidl.core.NodeExecution.Phas" + @@ -19527,60 +20307,64 @@ public flyteidl.event.Event.TaskExecutionMetadata getDefaultInstanceForType() { "tadata\022\023\n\013retry_group\030\013 \001(\t\022\024\n\014spec_node" + "_id\030\014 \001(\t\022\021\n\tnode_name\030\r \001(\t\022\025\n\revent_ve" + "rsion\030\020 \001(\005\022\021\n\tis_parent\030\021 \001(\010\022\022\n\nis_dyn" + - "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\tB\r\n\013input_va" + - "lueB\017\n\routput_resultB\021\n\017target_metadata\"" + - "X\n\024WorkflowNodeMetadata\022@\n\014execution_id\030" + - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + - "dentifier\"\245\002\n\020TaskNodeMetadata\0227\n\014cache_" + - "status\030\001 \001(\0162!.flyteidl.core.CatalogCach" + - "eStatus\0223\n\013catalog_key\030\002 \001(\0132\036.flyteidl." + - "core.CatalogMetadata\022D\n\022reservation_stat" + - "us\030\003 \001(\0162(.flyteidl.core.CatalogReservat" + - "ion.Status\022\026\n\016checkpoint_uri\030\004 \001(\t\022E\n\020dy" + - "namic_workflow\030\020 \001(\0132+.flyteidl.event.Dy" + - "namicWorkflowNodeMetadata\"\207\001\n\033DynamicWor" + - "kflowNodeMetadata\022%\n\002id\030\001 \001(\0132\031.flyteidl" + - ".core.Identifier\022A\n\021compiled_workflow\030\002 " + - "\001(\0132&.flyteidl.core.CompiledWorkflowClos" + - "ure\"Q\n\033ParentTaskExecutionMetadata\0222\n\002id" + - "\030\001 \001(\0132&.flyteidl.core.TaskExecutionIden" + - "tifier\".\n\033ParentNodeExecutionMetadata\022\017\n" + - "\007node_id\030\001 \001(\t\"\326\005\n\022TaskExecutionEvent\022*\n" + - "\007task_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + - "r\022H\n\030parent_node_execution_id\030\002 \001(\0132&.fl" + - "yteidl.core.NodeExecutionIdentifier\022\025\n\rr" + - "etry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\".flyt" + - "eidl.core.TaskExecution.Phase\022\023\n\013produce" + - "r_id\030\005 \001(\t\022$\n\004logs\030\006 \003(\0132\026.flyteidl.core" + - ".TaskLog\022/\n\013occurred_at\030\007 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022\023\n\tinput_uri\030\010 \001(\tH\000\022/" + - "\n\ninput_data\030\023 \001(\0132\031.flyteidl.core.Liter" + - "alMapH\000\022\024\n\noutput_uri\030\t \001(\tH\001\022.\n\005error\030\n" + - " \001(\0132\035.flyteidl.core.ExecutionErrorH\001\0220\n" + - "\013output_data\030\021 \001(\0132\031.flyteidl.core.Liter" + - "alMapH\001\022,\n\013custom_info\030\013 \001(\0132\027.google.pr" + - "otobuf.Struct\022\025\n\rphase_version\030\014 \001(\r\022\016\n\006" + - "reason\030\r \001(\t\022\021\n\ttask_type\030\016 \001(\t\0227\n\010metad" + - "ata\030\020 \001(\0132%.flyteidl.event.TaskExecution" + - "Metadata\022\025\n\revent_version\030\022 \001(\005B\r\n\013input" + - "_valueB\017\n\routput_result\"\343\001\n\024ExternalReso" + - "urceInfo\022\023\n\013external_id\030\001 \001(\t\022\r\n\005index\030\002" + - " \001(\r\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001" + - "(\0162\".flyteidl.core.TaskExecution.Phase\0227" + - "\n\014cache_status\030\005 \001(\0162!.flyteidl.core.Cat" + - "alogCacheStatus\022$\n\004logs\030\006 \003(\0132\026.flyteidl" + - ".core.TaskLog\"?\n\020ResourcePoolInfo\022\030\n\020all" + - "ocation_token\030\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\310" + - "\002\n\025TaskExecutionMetadata\022\026\n\016generated_na" + - "me\030\001 \001(\t\022@\n\022external_resources\030\002 \003(\0132$.f" + - "lyteidl.event.ExternalResourceInfo\022<\n\022re" + - "source_pool_info\030\003 \003(\0132 .flyteidl.event." + - "ResourcePoolInfo\022\031\n\021plugin_identifier\030\004 " + - "\001(\t\022K\n\016instance_class\030\020 \001(\01623.flyteidl.e" + - "vent.TaskExecutionMetadata.InstanceClass" + - "\"/\n\rInstanceClass\022\013\n\007DEFAULT\020\000\022\021\n\rINTERR" + - "UPTIBLE\020\001B7Z5github.com/flyteorg/flyteid" + - "l/gen/pb-go/flyteidl/eventb\006proto3" + "amic\030\022 \001(\010\022\020\n\010deck_uri\030\023 \001(\t\022/\n\013reported" + + "_at\030\025 \001(\0132\032.google.protobuf.TimestampB\r\n" + + "\013input_valueB\017\n\routput_resultB\021\n\017target_" + + "metadata\"X\n\024WorkflowNodeMetadata\022@\n\014exec" + + "ution_id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + + "xecutionIdentifier\"\245\002\n\020TaskNodeMetadata\022" + + "7\n\014cache_status\030\001 \001(\0162!.flyteidl.core.Ca" + + "talogCacheStatus\0223\n\013catalog_key\030\002 \001(\0132\036." + + "flyteidl.core.CatalogMetadata\022D\n\022reserva" + + "tion_status\030\003 \001(\0162(.flyteidl.core.Catalo" + + "gReservation.Status\022\026\n\016checkpoint_uri\030\004 " + + "\001(\t\022E\n\020dynamic_workflow\030\020 \001(\0132+.flyteidl" + + ".event.DynamicWorkflowNodeMetadata\"\245\001\n\033D" + + "ynamicWorkflowNodeMetadata\022%\n\002id\030\001 \001(\0132\031" + + ".flyteidl.core.Identifier\022A\n\021compiled_wo" + + "rkflow\030\002 \001(\0132&.flyteidl.core.CompiledWor" + + "kflowClosure\022\034\n\024dynamic_job_spec_uri\030\003 \001" + + "(\t\"Q\n\033ParentTaskExecutionMetadata\0222\n\002id\030" + + "\001 \001(\0132&.flyteidl.core.TaskExecutionIdent" + + "ifier\".\n\033ParentNodeExecutionMetadata\022\017\n\007" + + "node_id\030\001 \001(\t\"\207\006\n\022TaskExecutionEvent\022*\n\007" + + "task_id\030\001 \001(\0132\031.flyteidl.core.Identifier" + + "\022H\n\030parent_node_execution_id\030\002 \001(\0132&.fly" + + "teidl.core.NodeExecutionIdentifier\022\025\n\rre" + + "try_attempt\030\003 \001(\r\0221\n\005phase\030\004 \001(\0162\".flyte" + + "idl.core.TaskExecution.Phase\022\023\n\013producer" + + "_id\030\005 \001(\t\022$\n\004logs\030\006 \003(\0132\026.flyteidl.core." + + "TaskLog\022/\n\013occurred_at\030\007 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022\023\n\tinput_uri\030\010 \001(\tH\000\022/\n" + + "\ninput_data\030\023 \001(\0132\031.flyteidl.core.Litera" + + "lMapH\000\022\024\n\noutput_uri\030\t \001(\tH\001\022.\n\005error\030\n " + + "\001(\0132\035.flyteidl.core.ExecutionErrorH\001\0220\n\013" + + "output_data\030\021 \001(\0132\031.flyteidl.core.Litera" + + "lMapH\001\022,\n\013custom_info\030\013 \001(\0132\027.google.pro" + + "tobuf.Struct\022\025\n\rphase_version\030\014 \001(\r\022\016\n\006r" + + "eason\030\r \001(\t\022\021\n\ttask_type\030\016 \001(\t\0227\n\010metada" + + "ta\030\020 \001(\0132%.flyteidl.event.TaskExecutionM" + + "etadata\022\025\n\revent_version\030\022 \001(\005\022/\n\013report" + + "ed_at\030\024 \001(\0132\032.google.protobuf.TimestampB" + + "\r\n\013input_valueB\017\n\routput_result\"\343\001\n\024Exte" + + "rnalResourceInfo\022\023\n\013external_id\030\001 \001(\t\022\r\n" + + "\005index\030\002 \001(\r\022\025\n\rretry_attempt\030\003 \001(\r\0221\n\005p" + + "hase\030\004 \001(\0162\".flyteidl.core.TaskExecution" + + ".Phase\0227\n\014cache_status\030\005 \001(\0162!.flyteidl." + + "core.CatalogCacheStatus\022$\n\004logs\030\006 \003(\0132\026." + + "flyteidl.core.TaskLog\"?\n\020ResourcePoolInf" + + "o\022\030\n\020allocation_token\030\001 \001(\t\022\021\n\tnamespace" + + "\030\002 \001(\t\"\310\002\n\025TaskExecutionMetadata\022\026\n\016gene" + + "rated_name\030\001 \001(\t\022@\n\022external_resources\030\002" + + " \003(\0132$.flyteidl.event.ExternalResourceIn" + + "fo\022<\n\022resource_pool_info\030\003 \003(\0132 .flyteid" + + "l.event.ResourcePoolInfo\022\031\n\021plugin_ident" + + "ifier\030\004 \001(\t\022K\n\016instance_class\030\020 \001(\01623.fl" + + "yteidl.event.TaskExecutionMetadata.Insta" + + "nceClass\"/\n\rInstanceClass\022\013\n\007DEFAULT\020\000\022\021" + + "\n\rINTERRUPTIBLE\020\001B7Z5github.com/flyteorg" + + "/flyteidl/gen/pb-go/flyteidl/eventb\006prot" + + "o3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -19612,7 +20396,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_NodeExecutionEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_NodeExecutionEvent_descriptor, - new java.lang.String[] { "Id", "ProducerId", "Phase", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "WorkflowNodeMetadata", "TaskNodeMetadata", "ParentTaskMetadata", "ParentNodeMetadata", "RetryGroup", "SpecNodeId", "NodeName", "EventVersion", "IsParent", "IsDynamic", "DeckUri", "InputValue", "OutputResult", "TargetMetadata", }); + new java.lang.String[] { "Id", "ProducerId", "Phase", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "WorkflowNodeMetadata", "TaskNodeMetadata", "ParentTaskMetadata", "ParentNodeMetadata", "RetryGroup", "SpecNodeId", "NodeName", "EventVersion", "IsParent", "IsDynamic", "DeckUri", "ReportedAt", "InputValue", "OutputResult", "TargetMetadata", }); internal_static_flyteidl_event_WorkflowNodeMetadata_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_event_WorkflowNodeMetadata_fieldAccessorTable = new @@ -19630,7 +20414,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_DynamicWorkflowNodeMetadata_descriptor, - new java.lang.String[] { "Id", "CompiledWorkflow", }); + new java.lang.String[] { "Id", "CompiledWorkflow", "DynamicJobSpecUri", }); internal_static_flyteidl_event_ParentTaskExecutionMetadata_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_flyteidl_event_ParentTaskExecutionMetadata_fieldAccessorTable = new @@ -19648,7 +20432,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_TaskExecutionEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_TaskExecutionEvent_descriptor, - new java.lang.String[] { "TaskId", "ParentNodeExecutionId", "RetryAttempt", "Phase", "ProducerId", "Logs", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "CustomInfo", "PhaseVersion", "Reason", "TaskType", "Metadata", "EventVersion", "InputValue", "OutputResult", }); + new java.lang.String[] { "TaskId", "ParentNodeExecutionId", "RetryAttempt", "Phase", "ProducerId", "Logs", "OccurredAt", "InputUri", "InputData", "OutputUri", "Error", "OutputData", "CustomInfo", "PhaseVersion", "Reason", "TaskType", "Metadata", "EventVersion", "ReportedAt", "InputValue", "OutputResult", }); internal_static_flyteidl_event_ExternalResourceInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flyteidl_event_ExternalResourceInfo_fieldAccessorTable = new diff --git a/gen/pb-java/flyteidl/plugins/Pytorch.java b/gen/pb-java/flyteidl/plugins/Pytorch.java index a7709263f..1df7f243b 100644 --- a/gen/pb-java/flyteidl/plugins/Pytorch.java +++ b/gen/pb-java/flyteidl/plugins/Pytorch.java @@ -14,6 +14,813 @@ public static void registerAllExtensions( registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } + public interface ElasticConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.ElasticConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * string rdzv_backend = 1; + */ + java.lang.String getRdzvBackend(); + /** + * string rdzv_backend = 1; + */ + com.google.protobuf.ByteString + getRdzvBackendBytes(); + + /** + * int32 min_replicas = 2; + */ + int getMinReplicas(); + + /** + * int32 max_replicas = 3; + */ + int getMaxReplicas(); + + /** + * int32 nproc_per_node = 4; + */ + int getNprocPerNode(); + + /** + * int32 max_restarts = 5; + */ + int getMaxRestarts(); + } + /** + *
+   * Custom proto for torch elastic config for distributed training using 
+   * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.ElasticConfig} + */ + public static final class ElasticConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.ElasticConfig) + ElasticConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ElasticConfig.newBuilder() to construct. + private ElasticConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ElasticConfig() { + rdzvBackend_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ElasticConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + rdzvBackend_ = s; + break; + } + case 16: { + + minReplicas_ = input.readInt32(); + break; + } + case 24: { + + maxReplicas_ = input.readInt32(); + break; + } + case 32: { + + nprocPerNode_ = input.readInt32(); + break; + } + case 40: { + + maxRestarts_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.Pytorch.ElasticConfig.class, flyteidl.plugins.Pytorch.ElasticConfig.Builder.class); + } + + public static final int RDZV_BACKEND_FIELD_NUMBER = 1; + private volatile java.lang.Object rdzvBackend_; + /** + * string rdzv_backend = 1; + */ + public java.lang.String getRdzvBackend() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rdzvBackend_ = s; + return s; + } + } + /** + * string rdzv_backend = 1; + */ + public com.google.protobuf.ByteString + getRdzvBackendBytes() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rdzvBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MIN_REPLICAS_FIELD_NUMBER = 2; + private int minReplicas_; + /** + * int32 min_replicas = 2; + */ + public int getMinReplicas() { + return minReplicas_; + } + + public static final int MAX_REPLICAS_FIELD_NUMBER = 3; + private int maxReplicas_; + /** + * int32 max_replicas = 3; + */ + public int getMaxReplicas() { + return maxReplicas_; + } + + public static final int NPROC_PER_NODE_FIELD_NUMBER = 4; + private int nprocPerNode_; + /** + * int32 nproc_per_node = 4; + */ + public int getNprocPerNode() { + return nprocPerNode_; + } + + public static final int MAX_RESTARTS_FIELD_NUMBER = 5; + private int maxRestarts_; + /** + * int32 max_restarts = 5; + */ + public int getMaxRestarts() { + return maxRestarts_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getRdzvBackendBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rdzvBackend_); + } + if (minReplicas_ != 0) { + output.writeInt32(2, minReplicas_); + } + if (maxReplicas_ != 0) { + output.writeInt32(3, maxReplicas_); + } + if (nprocPerNode_ != 0) { + output.writeInt32(4, nprocPerNode_); + } + if (maxRestarts_ != 0) { + output.writeInt32(5, maxRestarts_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getRdzvBackendBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rdzvBackend_); + } + if (minReplicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minReplicas_); + } + if (maxReplicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxReplicas_); + } + if (nprocPerNode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, nprocPerNode_); + } + if (maxRestarts_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxRestarts_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.Pytorch.ElasticConfig)) { + return super.equals(obj); + } + flyteidl.plugins.Pytorch.ElasticConfig other = (flyteidl.plugins.Pytorch.ElasticConfig) obj; + + if (!getRdzvBackend() + .equals(other.getRdzvBackend())) return false; + if (getMinReplicas() + != other.getMinReplicas()) return false; + if (getMaxReplicas() + != other.getMaxReplicas()) return false; + if (getNprocPerNode() + != other.getNprocPerNode()) return false; + if (getMaxRestarts() + != other.getMaxRestarts()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RDZV_BACKEND_FIELD_NUMBER; + hash = (53 * hash) + getRdzvBackend().hashCode(); + hash = (37 * hash) + MIN_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getMinReplicas(); + hash = (37 * hash) + MAX_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getMaxReplicas(); + hash = (37 * hash) + NPROC_PER_NODE_FIELD_NUMBER; + hash = (53 * hash) + getNprocPerNode(); + hash = (37 * hash) + MAX_RESTARTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxRestarts(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.Pytorch.ElasticConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Custom proto for torch elastic config for distributed training using 
+     * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.ElasticConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.ElasticConfig) + flyteidl.plugins.Pytorch.ElasticConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.Pytorch.ElasticConfig.class, flyteidl.plugins.Pytorch.ElasticConfig.Builder.class); + } + + // Construct using flyteidl.plugins.Pytorch.ElasticConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + rdzvBackend_ = ""; + + minReplicas_ = 0; + + maxReplicas_ = 0; + + nprocPerNode_ = 0; + + maxRestarts_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.Pytorch.internal_static_flyteidl_plugins_ElasticConfig_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.Pytorch.ElasticConfig getDefaultInstanceForType() { + return flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.Pytorch.ElasticConfig build() { + flyteidl.plugins.Pytorch.ElasticConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.Pytorch.ElasticConfig buildPartial() { + flyteidl.plugins.Pytorch.ElasticConfig result = new flyteidl.plugins.Pytorch.ElasticConfig(this); + result.rdzvBackend_ = rdzvBackend_; + result.minReplicas_ = minReplicas_; + result.maxReplicas_ = maxReplicas_; + result.nprocPerNode_ = nprocPerNode_; + result.maxRestarts_ = maxRestarts_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.Pytorch.ElasticConfig) { + return mergeFrom((flyteidl.plugins.Pytorch.ElasticConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.Pytorch.ElasticConfig other) { + if (other == flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance()) return this; + if (!other.getRdzvBackend().isEmpty()) { + rdzvBackend_ = other.rdzvBackend_; + onChanged(); + } + if (other.getMinReplicas() != 0) { + setMinReplicas(other.getMinReplicas()); + } + if (other.getMaxReplicas() != 0) { + setMaxReplicas(other.getMaxReplicas()); + } + if (other.getNprocPerNode() != 0) { + setNprocPerNode(other.getNprocPerNode()); + } + if (other.getMaxRestarts() != 0) { + setMaxRestarts(other.getMaxRestarts()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.Pytorch.ElasticConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.Pytorch.ElasticConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object rdzvBackend_ = ""; + /** + * string rdzv_backend = 1; + */ + public java.lang.String getRdzvBackend() { + java.lang.Object ref = rdzvBackend_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rdzvBackend_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string rdzv_backend = 1; + */ + public com.google.protobuf.ByteString + getRdzvBackendBytes() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rdzvBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string rdzv_backend = 1; + */ + public Builder setRdzvBackend( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + rdzvBackend_ = value; + onChanged(); + return this; + } + /** + * string rdzv_backend = 1; + */ + public Builder clearRdzvBackend() { + + rdzvBackend_ = getDefaultInstance().getRdzvBackend(); + onChanged(); + return this; + } + /** + * string rdzv_backend = 1; + */ + public Builder setRdzvBackendBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + rdzvBackend_ = value; + onChanged(); + return this; + } + + private int minReplicas_ ; + /** + * int32 min_replicas = 2; + */ + public int getMinReplicas() { + return minReplicas_; + } + /** + * int32 min_replicas = 2; + */ + public Builder setMinReplicas(int value) { + + minReplicas_ = value; + onChanged(); + return this; + } + /** + * int32 min_replicas = 2; + */ + public Builder clearMinReplicas() { + + minReplicas_ = 0; + onChanged(); + return this; + } + + private int maxReplicas_ ; + /** + * int32 max_replicas = 3; + */ + public int getMaxReplicas() { + return maxReplicas_; + } + /** + * int32 max_replicas = 3; + */ + public Builder setMaxReplicas(int value) { + + maxReplicas_ = value; + onChanged(); + return this; + } + /** + * int32 max_replicas = 3; + */ + public Builder clearMaxReplicas() { + + maxReplicas_ = 0; + onChanged(); + return this; + } + + private int nprocPerNode_ ; + /** + * int32 nproc_per_node = 4; + */ + public int getNprocPerNode() { + return nprocPerNode_; + } + /** + * int32 nproc_per_node = 4; + */ + public Builder setNprocPerNode(int value) { + + nprocPerNode_ = value; + onChanged(); + return this; + } + /** + * int32 nproc_per_node = 4; + */ + public Builder clearNprocPerNode() { + + nprocPerNode_ = 0; + onChanged(); + return this; + } + + private int maxRestarts_ ; + /** + * int32 max_restarts = 5; + */ + public int getMaxRestarts() { + return maxRestarts_; + } + /** + * int32 max_restarts = 5; + */ + public Builder setMaxRestarts(int value) { + + maxRestarts_ = value; + onChanged(); + return this; + } + /** + * int32 max_restarts = 5; + */ + public Builder clearMaxRestarts() { + + maxRestarts_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.ElasticConfig) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.ElasticConfig) + private static final flyteidl.plugins.Pytorch.ElasticConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.Pytorch.ElasticConfig(); + } + + public static flyteidl.plugins.Pytorch.ElasticConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElasticConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ElasticConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.Pytorch.ElasticConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface DistributedPyTorchTrainingTaskOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.plugins.DistributedPyTorchTrainingTask) com.google.protobuf.MessageOrBuilder { @@ -26,6 +833,34 @@ public interface DistributedPyTorchTrainingTaskOrBuilder extends * int32 workers = 1; */ int getWorkers(); + + /** + *
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + boolean hasElasticConfig(); + /** + *
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig(); + /** + *
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder(); } /** *
@@ -75,6 +910,19 @@ private DistributedPyTorchTrainingTask(
               workers_ = input.readInt32();
               break;
             }
+            case 18: {
+              flyteidl.plugins.Pytorch.ElasticConfig.Builder subBuilder = null;
+              if (elasticConfig_ != null) {
+                subBuilder = elasticConfig_.toBuilder();
+              }
+              elasticConfig_ = input.readMessage(flyteidl.plugins.Pytorch.ElasticConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(elasticConfig_);
+                elasticConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -120,6 +968,42 @@ public int getWorkers() {
       return workers_;
     }
 
+    public static final int ELASTIC_CONFIG_FIELD_NUMBER = 2;
+    private flyteidl.plugins.Pytorch.ElasticConfig elasticConfig_;
+    /**
+     * 
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public boolean hasElasticConfig() { + return elasticConfig_ != null; + } + /** + *
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig() { + return elasticConfig_ == null ? flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } + /** + *
+     * config for an elastic pytorch job
+     * 
+     * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { + return getElasticConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -137,6 +1021,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (workers_ != 0) { output.writeInt32(1, workers_); } + if (elasticConfig_ != null) { + output.writeMessage(2, getElasticConfig()); + } unknownFields.writeTo(output); } @@ -150,6 +1037,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, workers_); } + if (elasticConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getElasticConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -167,6 +1058,11 @@ public boolean equals(final java.lang.Object obj) { if (getWorkers() != other.getWorkers()) return false; + if (hasElasticConfig() != other.hasElasticConfig()) return false; + if (hasElasticConfig()) { + if (!getElasticConfig() + .equals(other.getElasticConfig())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -180,6 +1076,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WORKERS_FIELD_NUMBER; hash = (53 * hash) + getWorkers(); + if (hasElasticConfig()) { + hash = (37 * hash) + ELASTIC_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getElasticConfig().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -319,6 +1219,12 @@ public Builder clear() { super.clear(); workers_ = 0; + if (elasticConfigBuilder_ == null) { + elasticConfig_ = null; + } else { + elasticConfig_ = null; + elasticConfigBuilder_ = null; + } return this; } @@ -346,6 +1252,11 @@ public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask build() { public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask buildPartial() { flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask result = new flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask(this); result.workers_ = workers_; + if (elasticConfigBuilder_ == null) { + result.elasticConfig_ = elasticConfig_; + } else { + result.elasticConfig_ = elasticConfigBuilder_.build(); + } onBuilt(); return result; } @@ -397,6 +1308,9 @@ public Builder mergeFrom(flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask if (other.getWorkers() != 0) { setWorkers(other.getWorkers()); } + if (other.hasElasticConfig()) { + mergeElasticConfig(other.getElasticConfig()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -463,6 +1377,168 @@ public Builder clearWorkers() { onChanged(); return this; } + + private flyteidl.plugins.Pytorch.ElasticConfig elasticConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder> elasticConfigBuilder_; + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public boolean hasElasticConfig() { + return elasticConfigBuilder_ != null || elasticConfig_ != null; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public flyteidl.plugins.Pytorch.ElasticConfig getElasticConfig() { + if (elasticConfigBuilder_ == null) { + return elasticConfig_ == null ? flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } else { + return elasticConfigBuilder_.getMessage(); + } + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public Builder setElasticConfig(flyteidl.plugins.Pytorch.ElasticConfig value) { + if (elasticConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + elasticConfig_ = value; + onChanged(); + } else { + elasticConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public Builder setElasticConfig( + flyteidl.plugins.Pytorch.ElasticConfig.Builder builderForValue) { + if (elasticConfigBuilder_ == null) { + elasticConfig_ = builderForValue.build(); + onChanged(); + } else { + elasticConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public Builder mergeElasticConfig(flyteidl.plugins.Pytorch.ElasticConfig value) { + if (elasticConfigBuilder_ == null) { + if (elasticConfig_ != null) { + elasticConfig_ = + flyteidl.plugins.Pytorch.ElasticConfig.newBuilder(elasticConfig_).mergeFrom(value).buildPartial(); + } else { + elasticConfig_ = value; + } + onChanged(); + } else { + elasticConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public Builder clearElasticConfig() { + if (elasticConfigBuilder_ == null) { + elasticConfig_ = null; + onChanged(); + } else { + elasticConfig_ = null; + elasticConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public flyteidl.plugins.Pytorch.ElasticConfig.Builder getElasticConfigBuilder() { + + onChanged(); + return getElasticConfigFieldBuilder().getBuilder(); + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + public flyteidl.plugins.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { + if (elasticConfigBuilder_ != null) { + return elasticConfigBuilder_.getMessageOrBuilder(); + } else { + return elasticConfig_ == null ? + flyteidl.plugins.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } + } + /** + *
+       * config for an elastic pytorch job
+       * 
+       * 
+ * + * .flyteidl.plugins.ElasticConfig elastic_config = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder> + getElasticConfigFieldBuilder() { + if (elasticConfigBuilder_ == null) { + elasticConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.Pytorch.ElasticConfig, flyteidl.plugins.Pytorch.ElasticConfig.Builder, flyteidl.plugins.Pytorch.ElasticConfigOrBuilder>( + getElasticConfig(), + getParentForChildren(), + isClean()); + elasticConfig_ = null; + } + return elasticConfigBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -516,6 +1592,11 @@ public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanc } + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_ElasticConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor; private static final @@ -531,10 +1612,14 @@ public flyteidl.plugins.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanc static { java.lang.String[] descriptorData = { "\n\036flyteidl/plugins/pytorch.proto\022\020flytei" + - "dl.plugins\"1\n\036DistributedPyTorchTraining" + - "Task\022\017\n\007workers\030\001 \001(\005B9Z7github.com/flyt" + - "eorg/flyteidl/gen/pb-go/flyteidl/plugins" + - "b\006proto3" + "dl.plugins\"\177\n\rElasticConfig\022\024\n\014rdzv_back" + + "end\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014max_r" + + "eplicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001(\005\022\024\n" + + "\014max_restarts\030\005 \001(\005\"j\n\036DistributedPyTorc" + + "hTrainingTask\022\017\n\007workers\030\001 \001(\005\0227\n\016elasti" + + "c_config\030\002 \001(\0132\037.flyteidl.plugins.Elasti" + + "cConfigB9Z7github.com/flyteorg/flyteidl/" + + "gen/pb-go/flyteidl/pluginsb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -548,12 +1633,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); - internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor = + internal_static_flyteidl_plugins_ElasticConfig_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_plugins_ElasticConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_ElasticConfig_descriptor, + new java.lang.String[] { "RdzvBackend", "MinReplicas", "MaxReplicas", "NprocPerNode", "MaxRestarts", }); + internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor = + getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_plugins_DistributedPyTorchTrainingTask_descriptor, - new java.lang.String[] { "Workers", }); + new java.lang.String[] { "Workers", "ElasticConfig", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/plugins/kubeflow/Common.java b/gen/pb-java/flyteidl/plugins/kubeflow/Common.java new file mode 100644 index 000000000..a260c723a --- /dev/null +++ b/gen/pb-java/flyteidl/plugins/kubeflow/Common.java @@ -0,0 +1,1073 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/common.proto + +package flyteidl.plugins.kubeflow; + +public final class Common { + private Common() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + * Protobuf enum {@code flyteidl.plugins.kubeflow.RestartPolicy} + */ + public enum RestartPolicy + implements com.google.protobuf.ProtocolMessageEnum { + /** + * RESTART_POLICY_NEVER = 0; + */ + RESTART_POLICY_NEVER(0), + /** + * RESTART_POLICY_ON_FAILURE = 1; + */ + RESTART_POLICY_ON_FAILURE(1), + /** + * RESTART_POLICY_ALWAYS = 2; + */ + RESTART_POLICY_ALWAYS(2), + UNRECOGNIZED(-1), + ; + + /** + * RESTART_POLICY_NEVER = 0; + */ + public static final int RESTART_POLICY_NEVER_VALUE = 0; + /** + * RESTART_POLICY_ON_FAILURE = 1; + */ + public static final int RESTART_POLICY_ON_FAILURE_VALUE = 1; + /** + * RESTART_POLICY_ALWAYS = 2; + */ + public static final int RESTART_POLICY_ALWAYS_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RestartPolicy valueOf(int value) { + return forNumber(value); + } + + public static RestartPolicy forNumber(int value) { + switch (value) { + case 0: return RESTART_POLICY_NEVER; + case 1: return RESTART_POLICY_ON_FAILURE; + case 2: return RESTART_POLICY_ALWAYS; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + RestartPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestartPolicy findValueByNumber(int number) { + return RestartPolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Common.getDescriptor().getEnumTypes().get(0); + } + + private static final RestartPolicy[] VALUES = values(); + + public static RestartPolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RestartPolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:flyteidl.plugins.kubeflow.RestartPolicy) + } + + /** + * Protobuf enum {@code flyteidl.plugins.kubeflow.CleanPodPolicy} + */ + public enum CleanPodPolicy + implements com.google.protobuf.ProtocolMessageEnum { + /** + * CLEANPOD_POLICY_NONE = 0; + */ + CLEANPOD_POLICY_NONE(0), + /** + * CLEANPOD_POLICY_RUNNING = 1; + */ + CLEANPOD_POLICY_RUNNING(1), + /** + * CLEANPOD_POLICY_ALL = 2; + */ + CLEANPOD_POLICY_ALL(2), + UNRECOGNIZED(-1), + ; + + /** + * CLEANPOD_POLICY_NONE = 0; + */ + public static final int CLEANPOD_POLICY_NONE_VALUE = 0; + /** + * CLEANPOD_POLICY_RUNNING = 1; + */ + public static final int CLEANPOD_POLICY_RUNNING_VALUE = 1; + /** + * CLEANPOD_POLICY_ALL = 2; + */ + public static final int CLEANPOD_POLICY_ALL_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CleanPodPolicy valueOf(int value) { + return forNumber(value); + } + + public static CleanPodPolicy forNumber(int value) { + switch (value) { + case 0: return CLEANPOD_POLICY_NONE; + case 1: return CLEANPOD_POLICY_RUNNING; + case 2: return CLEANPOD_POLICY_ALL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CleanPodPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CleanPodPolicy findValueByNumber(int number) { + return CleanPodPolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Common.getDescriptor().getEnumTypes().get(1); + } + + private static final CleanPodPolicy[] VALUES = values(); + + public static CleanPodPolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CleanPodPolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:flyteidl.plugins.kubeflow.CleanPodPolicy) + } + + public interface RunPolicyOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.RunPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Defines the policy to kill pods after the job completes. Default to None.
+     * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + int getCleanPodPolicyValue(); + /** + *
+     * Defines the policy to kill pods after the job completes. Default to None.
+     * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy(); + + /** + *
+     * TTL to clean up jobs. Default to infinite.
+     * 
+ * + * int32 ttl_seconds_after_finished = 2; + */ + int getTtlSecondsAfterFinished(); + + /** + *
+     * Specifies the duration in seconds relative to the startTime that the job may be active
+     * before the system tries to terminate it; value must be positive integer.
+     * 
+ * + * int32 active_deadline_seconds = 3; + */ + int getActiveDeadlineSeconds(); + + /** + *
+     * Number of retries before marking this job failed.
+     * 
+ * + * int32 backoff_limit = 4; + */ + int getBackoffLimit(); + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.RunPolicy} + */ + public static final class RunPolicy extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.RunPolicy) + RunPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunPolicy.newBuilder() to construct. + private RunPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RunPolicy() { + cleanPodPolicy_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RunPolicy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + cleanPodPolicy_ = rawValue; + break; + } + case 16: { + + ttlSecondsAfterFinished_ = input.readInt32(); + break; + } + case 24: { + + activeDeadlineSeconds_ = input.readInt32(); + break; + } + case 32: { + + backoffLimit_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Common.RunPolicy.class, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder.class); + } + + public static final int CLEAN_POD_POLICY_FIELD_NUMBER = 1; + private int cleanPodPolicy_; + /** + *
+     * Defines the policy to kill pods after the job completes. Default to None.
+     * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public int getCleanPodPolicyValue() { + return cleanPodPolicy_; + } + /** + *
+     * Defines the policy to kill pods after the job completes. Default to None.
+     * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.CleanPodPolicy result = flyteidl.plugins.kubeflow.Common.CleanPodPolicy.valueOf(cleanPodPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.CleanPodPolicy.UNRECOGNIZED : result; + } + + public static final int TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER = 2; + private int ttlSecondsAfterFinished_; + /** + *
+     * TTL to clean up jobs. Default to infinite.
+     * 
+ * + * int32 ttl_seconds_after_finished = 2; + */ + public int getTtlSecondsAfterFinished() { + return ttlSecondsAfterFinished_; + } + + public static final int ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER = 3; + private int activeDeadlineSeconds_; + /** + *
+     * Specifies the duration in seconds relative to the startTime that the job may be active
+     * before the system tries to terminate it; value must be positive integer.
+     * 
+ * + * int32 active_deadline_seconds = 3; + */ + public int getActiveDeadlineSeconds() { + return activeDeadlineSeconds_; + } + + public static final int BACKOFF_LIMIT_FIELD_NUMBER = 4; + private int backoffLimit_; + /** + *
+     * Number of retries before marking this job failed.
+     * 
+ * + * int32 backoff_limit = 4; + */ + public int getBackoffLimit() { + return backoffLimit_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (cleanPodPolicy_ != flyteidl.plugins.kubeflow.Common.CleanPodPolicy.CLEANPOD_POLICY_NONE.getNumber()) { + output.writeEnum(1, cleanPodPolicy_); + } + if (ttlSecondsAfterFinished_ != 0) { + output.writeInt32(2, ttlSecondsAfterFinished_); + } + if (activeDeadlineSeconds_ != 0) { + output.writeInt32(3, activeDeadlineSeconds_); + } + if (backoffLimit_ != 0) { + output.writeInt32(4, backoffLimit_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (cleanPodPolicy_ != flyteidl.plugins.kubeflow.Common.CleanPodPolicy.CLEANPOD_POLICY_NONE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, cleanPodPolicy_); + } + if (ttlSecondsAfterFinished_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, ttlSecondsAfterFinished_); + } + if (activeDeadlineSeconds_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, activeDeadlineSeconds_); + } + if (backoffLimit_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, backoffLimit_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Common.RunPolicy)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Common.RunPolicy other = (flyteidl.plugins.kubeflow.Common.RunPolicy) obj; + + if (cleanPodPolicy_ != other.cleanPodPolicy_) return false; + if (getTtlSecondsAfterFinished() + != other.getTtlSecondsAfterFinished()) return false; + if (getActiveDeadlineSeconds() + != other.getActiveDeadlineSeconds()) return false; + if (getBackoffLimit() + != other.getBackoffLimit()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CLEAN_POD_POLICY_FIELD_NUMBER; + hash = (53 * hash) + cleanPodPolicy_; + hash = (37 * hash) + TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER; + hash = (53 * hash) + getTtlSecondsAfterFinished(); + hash = (37 * hash) + ACTIVE_DEADLINE_SECONDS_FIELD_NUMBER; + hash = (53 * hash) + getActiveDeadlineSeconds(); + hash = (37 * hash) + BACKOFF_LIMIT_FIELD_NUMBER; + hash = (53 * hash) + getBackoffLimit(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Common.RunPolicy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Common.RunPolicy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.RunPolicy} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.RunPolicy) + flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Common.RunPolicy.class, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + cleanPodPolicy_ = 0; + + ttlSecondsAfterFinished_ = 0; + + activeDeadlineSeconds_ = 0; + + backoffLimit_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Common.internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Common.RunPolicy getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Common.RunPolicy build() { + flyteidl.plugins.kubeflow.Common.RunPolicy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Common.RunPolicy buildPartial() { + flyteidl.plugins.kubeflow.Common.RunPolicy result = new flyteidl.plugins.kubeflow.Common.RunPolicy(this); + result.cleanPodPolicy_ = cleanPodPolicy_; + result.ttlSecondsAfterFinished_ = ttlSecondsAfterFinished_; + result.activeDeadlineSeconds_ = activeDeadlineSeconds_; + result.backoffLimit_ = backoffLimit_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Common.RunPolicy) { + return mergeFrom((flyteidl.plugins.kubeflow.Common.RunPolicy)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Common.RunPolicy other) { + if (other == flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance()) return this; + if (other.cleanPodPolicy_ != 0) { + setCleanPodPolicyValue(other.getCleanPodPolicyValue()); + } + if (other.getTtlSecondsAfterFinished() != 0) { + setTtlSecondsAfterFinished(other.getTtlSecondsAfterFinished()); + } + if (other.getActiveDeadlineSeconds() != 0) { + setActiveDeadlineSeconds(other.getActiveDeadlineSeconds()); + } + if (other.getBackoffLimit() != 0) { + setBackoffLimit(other.getBackoffLimit()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Common.RunPolicy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Common.RunPolicy) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int cleanPodPolicy_ = 0; + /** + *
+       * Defines the policy to kill pods after the job completes. Default to None.
+       * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public int getCleanPodPolicyValue() { + return cleanPodPolicy_; + } + /** + *
+       * Defines the policy to kill pods after the job completes. Default to None.
+       * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public Builder setCleanPodPolicyValue(int value) { + cleanPodPolicy_ = value; + onChanged(); + return this; + } + /** + *
+       * Defines the policy to kill pods after the job completes. Default to None.
+       * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public flyteidl.plugins.kubeflow.Common.CleanPodPolicy getCleanPodPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.CleanPodPolicy result = flyteidl.plugins.kubeflow.Common.CleanPodPolicy.valueOf(cleanPodPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.CleanPodPolicy.UNRECOGNIZED : result; + } + /** + *
+       * Defines the policy to kill pods after the job completes. Default to None.
+       * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public Builder setCleanPodPolicy(flyteidl.plugins.kubeflow.Common.CleanPodPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + cleanPodPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Defines the policy to kill pods after the job completes. Default to None.
+       * 
+ * + * .flyteidl.plugins.kubeflow.CleanPodPolicy clean_pod_policy = 1; + */ + public Builder clearCleanPodPolicy() { + + cleanPodPolicy_ = 0; + onChanged(); + return this; + } + + private int ttlSecondsAfterFinished_ ; + /** + *
+       * TTL to clean up jobs. Default to infinite.
+       * 
+ * + * int32 ttl_seconds_after_finished = 2; + */ + public int getTtlSecondsAfterFinished() { + return ttlSecondsAfterFinished_; + } + /** + *
+       * TTL to clean up jobs. Default to infinite.
+       * 
+ * + * int32 ttl_seconds_after_finished = 2; + */ + public Builder setTtlSecondsAfterFinished(int value) { + + ttlSecondsAfterFinished_ = value; + onChanged(); + return this; + } + /** + *
+       * TTL to clean up jobs. Default to infinite.
+       * 
+ * + * int32 ttl_seconds_after_finished = 2; + */ + public Builder clearTtlSecondsAfterFinished() { + + ttlSecondsAfterFinished_ = 0; + onChanged(); + return this; + } + + private int activeDeadlineSeconds_ ; + /** + *
+       * Specifies the duration in seconds relative to the startTime that the job may be active
+       * before the system tries to terminate it; value must be positive integer.
+       * 
+ * + * int32 active_deadline_seconds = 3; + */ + public int getActiveDeadlineSeconds() { + return activeDeadlineSeconds_; + } + /** + *
+       * Specifies the duration in seconds relative to the startTime that the job may be active
+       * before the system tries to terminate it; value must be positive integer.
+       * 
+ * + * int32 active_deadline_seconds = 3; + */ + public Builder setActiveDeadlineSeconds(int value) { + + activeDeadlineSeconds_ = value; + onChanged(); + return this; + } + /** + *
+       * Specifies the duration in seconds relative to the startTime that the job may be active
+       * before the system tries to terminate it; value must be positive integer.
+       * 
+ * + * int32 active_deadline_seconds = 3; + */ + public Builder clearActiveDeadlineSeconds() { + + activeDeadlineSeconds_ = 0; + onChanged(); + return this; + } + + private int backoffLimit_ ; + /** + *
+       * Number of retries before marking this job failed.
+       * 
+ * + * int32 backoff_limit = 4; + */ + public int getBackoffLimit() { + return backoffLimit_; + } + /** + *
+       * Number of retries before marking this job failed.
+       * 
+ * + * int32 backoff_limit = 4; + */ + public Builder setBackoffLimit(int value) { + + backoffLimit_ = value; + onChanged(); + return this; + } + /** + *
+       * Number of retries before marking this job failed.
+       * 
+ * + * int32 backoff_limit = 4; + */ + public Builder clearBackoffLimit() { + + backoffLimit_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.RunPolicy) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.RunPolicy) + private static final flyteidl.plugins.kubeflow.Common.RunPolicy DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Common.RunPolicy(); + } + + public static flyteidl.plugins.kubeflow.Common.RunPolicy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunPolicy(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Common.RunPolicy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&flyteidl/plugins/kubeflow/common.proto" + + "\022\031flyteidl.plugins.kubeflow\"\254\001\n\tRunPolic" + + "y\022C\n\020clean_pod_policy\030\001 \001(\0162).flyteidl.p" + + "lugins.kubeflow.CleanPodPolicy\022\"\n\032ttl_se" + + "conds_after_finished\030\002 \001(\005\022\037\n\027active_dea" + + "dline_seconds\030\003 \001(\005\022\025\n\rbackoff_limit\030\004 \001" + + "(\005*c\n\rRestartPolicy\022\030\n\024RESTART_POLICY_NE" + + "VER\020\000\022\035\n\031RESTART_POLICY_ON_FAILURE\020\001\022\031\n\025" + + "RESTART_POLICY_ALWAYS\020\002*`\n\016CleanPodPolic" + + "y\022\030\n\024CLEANPOD_POLICY_NONE\020\000\022\033\n\027CLEANPOD_" + + "POLICY_RUNNING\020\001\022\027\n\023CLEANPOD_POLICY_ALL\020" + + "\002B9Z7github.com/flyteorg/flyteidl/gen/pb" + + "-go/flyteidl/pluginsb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_plugins_kubeflow_RunPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_RunPolicy_descriptor, + new java.lang.String[] { "CleanPodPolicy", "TtlSecondsAfterFinished", "ActiveDeadlineSeconds", "BackoffLimit", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java b/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java new file mode 100644 index 000000000..f467a15e0 --- /dev/null +++ b/gen/pb-java/flyteidl/plugins/kubeflow/Mpi.java @@ -0,0 +1,2700 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/mpi.proto + +package flyteidl.plugins.kubeflow; + +public final class Mpi { + private Mpi() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DistributedMPITrainingTaskOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + boolean hasWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); + + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + boolean hasLauncherReplicas(); + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas(); + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder(); + + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + boolean hasRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); + + /** + *
+     * Number of slots per worker
+     * 
+ * + * int32 slots = 4; + */ + int getSlots(); + } + /** + *
+   * Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingTask} + */ + public static final class DistributedMPITrainingTask extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + DistributedMPITrainingTaskOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedMPITrainingTask.newBuilder() to construct. + private DistributedMPITrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedMPITrainingTask() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedMPITrainingTask( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder subBuilder = null; + if (workerReplicas_ != null) { + subBuilder = workerReplicas_.toBuilder(); + } + workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workerReplicas_); + workerReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder subBuilder = null; + if (launcherReplicas_ != null) { + subBuilder = launcherReplicas_.toBuilder(); + } + launcherReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(launcherReplicas_); + launcherReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; + if (runPolicy_ != null) { + subBuilder = runPolicy_.toBuilder(); + } + runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(runPolicy_); + runPolicy_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + + slots_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.Builder.class); + } + + public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; + private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec workerReplicas_; + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicas_ != null; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas() { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + return getWorkerReplicas(); + } + + public static final int LAUNCHER_REPLICAS_FIELD_NUMBER = 2; + private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec launcherReplicas_; + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public boolean hasLauncherReplicas() { + return launcherReplicas_ != null; + } + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas() { + return launcherReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; + } + /** + *
+     * Master replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder() { + return getLauncherReplicas(); + } + + public static final int RUN_POLICY_FIELD_NUMBER = 3; + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public boolean hasRunPolicy() { + return runPolicy_ != null; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + return getRunPolicy(); + } + + public static final int SLOTS_FIELD_NUMBER = 4; + private int slots_; + /** + *
+     * Number of slots per worker
+     * 
+ * + * int32 slots = 4; + */ + public int getSlots() { + return slots_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (workerReplicas_ != null) { + output.writeMessage(1, getWorkerReplicas()); + } + if (launcherReplicas_ != null) { + output.writeMessage(2, getLauncherReplicas()); + } + if (runPolicy_ != null) { + output.writeMessage(3, getRunPolicy()); + } + if (slots_ != 0) { + output.writeInt32(4, slots_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (workerReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkerReplicas()); + } + if (launcherReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLauncherReplicas()); + } + if (runPolicy_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRunPolicy()); + } + if (slots_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, slots_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask other = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask) obj; + + if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; + if (hasWorkerReplicas()) { + if (!getWorkerReplicas() + .equals(other.getWorkerReplicas())) return false; + } + if (hasLauncherReplicas() != other.hasLauncherReplicas()) return false; + if (hasLauncherReplicas()) { + if (!getLauncherReplicas() + .equals(other.getLauncherReplicas())) return false; + } + if (hasRunPolicy() != other.hasRunPolicy()) return false; + if (hasRunPolicy()) { + if (!getRunPolicy() + .equals(other.getRunPolicy())) return false; + } + if (getSlots() + != other.getSlots()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWorkerReplicas()) { + hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getWorkerReplicas().hashCode(); + } + if (hasLauncherReplicas()) { + hash = (37 * hash) + LAUNCHER_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getLauncherReplicas().hashCode(); + } + if (hasRunPolicy()) { + hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getRunPolicy().hashCode(); + } + hash = (37 * hash) + SLOTS_FIELD_NUMBER; + hash = (53 * hash) + getSlots(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingTask} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTaskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + if (launcherReplicasBuilder_ == null) { + launcherReplicas_ = null; + } else { + launcherReplicas_ = null; + launcherReplicasBuilder_ = null; + } + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + slots_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask build() { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask buildPartial() { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask result = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask(this); + if (workerReplicasBuilder_ == null) { + result.workerReplicas_ = workerReplicas_; + } else { + result.workerReplicas_ = workerReplicasBuilder_.build(); + } + if (launcherReplicasBuilder_ == null) { + result.launcherReplicas_ = launcherReplicas_; + } else { + result.launcherReplicas_ = launcherReplicasBuilder_.build(); + } + if (runPolicyBuilder_ == null) { + result.runPolicy_ = runPolicy_; + } else { + result.runPolicy_ = runPolicyBuilder_.build(); + } + result.slots_ = slots_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask) { + return mergeFrom((flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask other) { + if (other == flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask.getDefaultInstance()) return this; + if (other.hasWorkerReplicas()) { + mergeWorkerReplicas(other.getWorkerReplicas()); + } + if (other.hasLauncherReplicas()) { + mergeLauncherReplicas(other.getLauncherReplicas()); + } + if (other.hasRunPolicy()) { + mergeRunPolicy(other.getRunPolicy()); + } + if (other.getSlots() != 0) { + setSlots(other.getSlots()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec workerReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> workerReplicasBuilder_; + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicasBuilder_ != null || workerReplicas_ != null; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } else { + return workerReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workerReplicas_ = value; + onChanged(); + } else { + workerReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder builderForValue) { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = builderForValue.build(); + onChanged(); + } else { + workerReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (workerReplicas_ != null) { + workerReplicas_ = + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); + } else { + workerReplicas_ = value; + } + onChanged(); + } else { + workerReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public Builder clearWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + onChanged(); + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder getWorkerReplicasBuilder() { + + onChanged(); + return getWorkerReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + if (workerReplicasBuilder_ != null) { + return workerReplicasBuilder_.getMessageOrBuilder(); + } else { + return workerReplicas_ == null ? + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec worker_replicas = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> + getWorkerReplicasFieldBuilder() { + if (workerReplicasBuilder_ == null) { + workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder>( + getWorkerReplicas(), + getParentForChildren(), + isClean()); + workerReplicas_ = null; + } + return workerReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec launcherReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> launcherReplicasBuilder_; + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public boolean hasLauncherReplicas() { + return launcherReplicasBuilder_ != null || launcherReplicas_ != null; + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getLauncherReplicas() { + if (launcherReplicasBuilder_ == null) { + return launcherReplicas_ == null ? flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; + } else { + return launcherReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public Builder setLauncherReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { + if (launcherReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + launcherReplicas_ = value; + onChanged(); + } else { + launcherReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public Builder setLauncherReplicas( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder builderForValue) { + if (launcherReplicasBuilder_ == null) { + launcherReplicas_ = builderForValue.build(); + onChanged(); + } else { + launcherReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public Builder mergeLauncherReplicas(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec value) { + if (launcherReplicasBuilder_ == null) { + if (launcherReplicas_ != null) { + launcherReplicas_ = + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.newBuilder(launcherReplicas_).mergeFrom(value).buildPartial(); + } else { + launcherReplicas_ = value; + } + onChanged(); + } else { + launcherReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public Builder clearLauncherReplicas() { + if (launcherReplicasBuilder_ == null) { + launcherReplicas_ = null; + onChanged(); + } else { + launcherReplicas_ = null; + launcherReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder getLauncherReplicasBuilder() { + + onChanged(); + return getLauncherReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder getLauncherReplicasOrBuilder() { + if (launcherReplicasBuilder_ != null) { + return launcherReplicasBuilder_.getMessageOrBuilder(); + } else { + return launcherReplicas_ == null ? + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance() : launcherReplicas_; + } + } + /** + *
+       * Master replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec launcher_replicas = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder> + getLauncherReplicasFieldBuilder() { + if (launcherReplicasBuilder_ == null) { + launcherReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder>( + getLauncherReplicas(), + getParentForChildren(), + isClean()); + launcherReplicas_ = null; + } + return launcherReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public boolean hasRunPolicy() { + return runPolicyBuilder_ != null || runPolicy_ != null; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + if (runPolicyBuilder_ == null) { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } else { + return runPolicyBuilder_.getMessage(); + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + runPolicy_ = value; + onChanged(); + } else { + runPolicyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder setRunPolicy( + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { + if (runPolicyBuilder_ == null) { + runPolicy_ = builderForValue.build(); + onChanged(); + } else { + runPolicyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (runPolicy_ != null) { + runPolicy_ = + flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); + } else { + runPolicy_ = value; + } + onChanged(); + } else { + runPolicyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder clearRunPolicy() { + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + onChanged(); + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { + + onChanged(); + return getRunPolicyFieldBuilder().getBuilder(); + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + if (runPolicyBuilder_ != null) { + return runPolicyBuilder_.getMessageOrBuilder(); + } else { + return runPolicy_ == null ? + flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> + getRunPolicyFieldBuilder() { + if (runPolicyBuilder_ == null) { + runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( + getRunPolicy(), + getParentForChildren(), + isClean()); + runPolicy_ = null; + } + return runPolicyBuilder_; + } + + private int slots_ ; + /** + *
+       * Number of slots per worker
+       * 
+ * + * int32 slots = 4; + */ + public int getSlots() { + return slots_; + } + /** + *
+       * Number of slots per worker
+       * 
+ * + * int32 slots = 4; + */ + public Builder setSlots(int value) { + + slots_ = value; + onChanged(); + return this; + } + /** + *
+       * Number of slots per worker
+       * 
+ * + * int32 slots = 4; + */ + public Builder clearSlots() { + + slots_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + private static final flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask(); + } + + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedMPITrainingTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedMPITrainingTask(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingTask getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DistributedMPITrainingReplicaSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + int getReplicas(); + + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + java.lang.String getImage(); + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + com.google.protobuf.ByteString + getImageBytes(); + + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + boolean hasResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.Resources getResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); + + /** + *
+     * Restart policy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + int getRestartPolicyValue(); + /** + *
+     * Restart policy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); + + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + java.util.List + getCommandList(); + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + int getCommandCount(); + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + java.lang.String getCommand(int index); + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + com.google.protobuf.ByteString + getCommandBytes(int index); + } + /** + *
+   * Replica specification for distributed MPI training
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec} + */ + public static final class DistributedMPITrainingReplicaSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + DistributedMPITrainingReplicaSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedMPITrainingReplicaSpec.newBuilder() to construct. + private DistributedMPITrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedMPITrainingReplicaSpec() { + image_ = ""; + restartPolicy_ = 0; + command_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedMPITrainingReplicaSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + replicas_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + image_ = s; + break; + } + case 26: { + flyteidl.core.Tasks.Resources.Builder subBuilder = null; + if (resources_ != null) { + subBuilder = resources_.toBuilder(); + } + resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resources_); + resources_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + int rawValue = input.readEnum(); + + restartPolicy_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + command_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + command_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) != 0)) { + command_ = command_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder.class); + } + + private int bitField0_; + public static final int REPLICAS_FIELD_NUMBER = 1; + private int replicas_; + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + + public static final int IMAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object image_; + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } + } + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCES_FIELD_NUMBER = 3; + private flyteidl.core.Tasks.Resources resources_; + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resources_ != null; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + return getResources(); + } + + public static final int RESTART_POLICY_FIELD_NUMBER = 4; + private int restartPolicy_; + /** + *
+     * Restart policy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+     * Restart policy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + + public static final int COMMAND_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList command_; + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + public com.google.protobuf.ProtocolStringList + getCommandList() { + return command_; + } + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + public int getCommandCount() { + return command_.size(); + } + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + public java.lang.String getCommand(int index) { + return command_.get(index); + } + /** + *
+     * MPI sometimes requires different command set for different replica groups
+     * 
+ * + * repeated string command = 5; + */ + public com.google.protobuf.ByteString + getCommandBytes(int index) { + return command_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicas_ != 0) { + output.writeInt32(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); + } + if (resources_ != null) { + output.writeMessage(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + output.writeEnum(4, restartPolicy_); + } + for (int i = 0; i < command_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, command_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (replicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); + } + if (resources_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, restartPolicy_); + } + { + int dataSize = 0; + for (int i = 0; i < command_.size(); i++) { + dataSize += computeStringSizeNoTag(command_.getRaw(i)); + } + size += dataSize; + size += 1 * getCommandList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) obj; + + if (getReplicas() + != other.getReplicas()) return false; + if (!getImage() + .equals(other.getImage())) return false; + if (hasResources() != other.hasResources()) return false; + if (hasResources()) { + if (!getResources() + .equals(other.getResources())) return false; + } + if (restartPolicy_ != other.restartPolicy_) return false; + if (!getCommandList() + .equals(other.getCommandList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getReplicas(); + hash = (37 * hash) + IMAGE_FIELD_NUMBER; + hash = (53 * hash) + getImage().hashCode(); + if (hasResources()) { + hash = (37 * hash) + RESOURCES_FIELD_NUMBER; + hash = (53 * hash) + getResources().hashCode(); + } + hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; + hash = (53 * hash) + restartPolicy_; + if (getCommandCount() > 0) { + hash = (37 * hash) + COMMAND_FIELD_NUMBER; + hash = (53 * hash) + getCommandList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Replica specification for distributed MPI training
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + replicas_ = 0; + + image_ = ""; + + if (resourcesBuilder_ == null) { + resources_ = null; + } else { + resources_ = null; + resourcesBuilder_ = null; + } + restartPolicy_ = 0; + + command_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Mpi.internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec build() { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec buildPartial() { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.replicas_ = replicas_; + result.image_ = image_; + if (resourcesBuilder_ == null) { + result.resources_ = resources_; + } else { + result.resources_ = resourcesBuilder_.build(); + } + result.restartPolicy_ = restartPolicy_; + if (((bitField0_ & 0x00000010) != 0)) { + command_ = command_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.command_ = command_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) { + return mergeFrom((flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec other) { + if (other == flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec.getDefaultInstance()) return this; + if (other.getReplicas() != 0) { + setReplicas(other.getReplicas()); + } + if (!other.getImage().isEmpty()) { + image_ = other.image_; + onChanged(); + } + if (other.hasResources()) { + mergeResources(other.getResources()); + } + if (other.restartPolicy_ != 0) { + setRestartPolicyValue(other.getRestartPolicyValue()); + } + if (!other.command_.isEmpty()) { + if (command_.isEmpty()) { + command_ = other.command_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureCommandIsMutable(); + command_.addAll(other.command_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int replicas_ ; + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder setReplicas(int value) { + + replicas_ = value; + onChanged(); + return this; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder clearReplicas() { + + replicas_ = 0; + onChanged(); + return this; + } + + private java.lang.Object image_ = ""; + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + image_ = value; + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder clearImage() { + + image_ = getDefaultInstance().getImage(); + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + image_ = value; + onChanged(); + return this; + } + + private flyteidl.core.Tasks.Resources resources_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resourcesBuilder_ != null || resources_ != null; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + if (resourcesBuilder_ == null) { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } else { + return resourcesBuilder_.getMessage(); + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resources_ = value; + onChanged(); + } else { + resourcesBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources( + flyteidl.core.Tasks.Resources.Builder builderForValue) { + if (resourcesBuilder_ == null) { + resources_ = builderForValue.build(); + onChanged(); + } else { + resourcesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder mergeResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (resources_ != null) { + resources_ = + flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); + } else { + resources_ = value; + } + onChanged(); + } else { + resourcesBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder clearResources() { + if (resourcesBuilder_ == null) { + resources_ = null; + onChanged(); + } else { + resources_ = null; + resourcesBuilder_ = null; + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { + + onChanged(); + return getResourcesFieldBuilder().getBuilder(); + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + if (resourcesBuilder_ != null) { + return resourcesBuilder_.getMessageOrBuilder(); + } else { + return resources_ == null ? + flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> + getResourcesFieldBuilder() { + if (resourcesBuilder_ == null) { + resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( + getResources(), + getParentForChildren(), + isClean()); + resources_ = null; + } + return resourcesBuilder_; + } + + private int restartPolicy_ = 0; + /** + *
+       * Restart policy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+       * Restart policy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicyValue(int value) { + restartPolicy_ = value; + onChanged(); + return this; + } + /** + *
+       * Restart policy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + /** + *
+       * Restart policy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + restartPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Restart policy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder clearRestartPolicy() { + + restartPolicy_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList command_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCommandIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + command_ = new com.google.protobuf.LazyStringArrayList(command_); + bitField0_ |= 0x00000010; + } + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public com.google.protobuf.ProtocolStringList + getCommandList() { + return command_.getUnmodifiableView(); + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public int getCommandCount() { + return command_.size(); + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public java.lang.String getCommand(int index) { + return command_.get(index); + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public com.google.protobuf.ByteString + getCommandBytes(int index) { + return command_.getByteString(index); + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public Builder setCommand( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommandIsMutable(); + command_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public Builder addCommand( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCommandIsMutable(); + command_.add(value); + onChanged(); + return this; + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public Builder addAllCommand( + java.lang.Iterable values) { + ensureCommandIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, command_); + onChanged(); + return this; + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public Builder clearCommand() { + command_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * MPI sometimes requires different command set for different replica groups
+       * 
+ * + * repeated string command = 5; + */ + public Builder addCommandBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureCommandIsMutable(); + command_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + private static final flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec(); + } + + public static flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedMPITrainingReplicaSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedMPITrainingReplicaSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Mpi.DistributedMPITrainingReplicaSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#flyteidl/plugins/kubeflow/mpi.proto\022\031f" + + "lyteidl.plugins.kubeflow\032\031flyteidl/core/" + + "tasks.proto\032&flyteidl/plugins/kubeflow/c" + + "ommon.proto\"\225\002\n\032DistributedMPITrainingTa" + + "sk\022U\n\017worker_replicas\030\001 \001(\0132<.flyteidl.p" + + "lugins.kubeflow.DistributedMPITrainingRe" + + "plicaSpec\022W\n\021launcher_replicas\030\002 \001(\0132<.f" + + "lyteidl.plugins.kubeflow.DistributedMPIT" + + "rainingReplicaSpec\0228\n\nrun_policy\030\003 \001(\0132$" + + ".flyteidl.plugins.kubeflow.RunPolicy\022\r\n\005" + + "slots\030\004 \001(\005\"\304\001\n!DistributedMPITrainingRe" + + "plicaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001" + + "(\t\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Re" + + "sources\022@\n\016restart_policy\030\004 \001(\0162(.flytei" + + "dl.plugins.kubeflow.RestartPolicy\022\017\n\007com" + + "mand\030\005 \003(\tB9Z7github.com/flyteorg/flytei" + + "dl/gen/pb-go/flyteidl/pluginsb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.core.Tasks.getDescriptor(), + flyteidl.plugins.kubeflow.Common.getDescriptor(), + }, assigner); + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingTask_descriptor, + new java.lang.String[] { "WorkerReplicas", "LauncherReplicas", "RunPolicy", "Slots", }); + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedMPITrainingReplicaSpec_descriptor, + new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", "Command", }); + flyteidl.core.Tasks.getDescriptor(); + flyteidl.plugins.kubeflow.Common.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java b/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java new file mode 100644 index 000000000..fa8d3d113 --- /dev/null +++ b/gen/pb-java/flyteidl/plugins/kubeflow/Pytorch.java @@ -0,0 +1,3425 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/pytorch.proto + +package flyteidl.plugins.kubeflow; + +public final class Pytorch { + private Pytorch() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ElasticConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.ElasticConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * string rdzv_backend = 1; + */ + java.lang.String getRdzvBackend(); + /** + * string rdzv_backend = 1; + */ + com.google.protobuf.ByteString + getRdzvBackendBytes(); + + /** + * int32 min_replicas = 2; + */ + int getMinReplicas(); + + /** + * int32 max_replicas = 3; + */ + int getMaxReplicas(); + + /** + * int32 nproc_per_node = 4; + */ + int getNprocPerNode(); + + /** + * int32 max_restarts = 5; + */ + int getMaxRestarts(); + } + /** + *
+   * Custom proto for torch elastic config for distributed training using 
+   * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.ElasticConfig} + */ + public static final class ElasticConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.ElasticConfig) + ElasticConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ElasticConfig.newBuilder() to construct. + private ElasticConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ElasticConfig() { + rdzvBackend_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ElasticConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + rdzvBackend_ = s; + break; + } + case 16: { + + minReplicas_ = input.readInt32(); + break; + } + case 24: { + + maxReplicas_ = input.readInt32(); + break; + } + case 32: { + + nprocPerNode_ = input.readInt32(); + break; + } + case 40: { + + maxRestarts_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.class, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder.class); + } + + public static final int RDZV_BACKEND_FIELD_NUMBER = 1; + private volatile java.lang.Object rdzvBackend_; + /** + * string rdzv_backend = 1; + */ + public java.lang.String getRdzvBackend() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rdzvBackend_ = s; + return s; + } + } + /** + * string rdzv_backend = 1; + */ + public com.google.protobuf.ByteString + getRdzvBackendBytes() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rdzvBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MIN_REPLICAS_FIELD_NUMBER = 2; + private int minReplicas_; + /** + * int32 min_replicas = 2; + */ + public int getMinReplicas() { + return minReplicas_; + } + + public static final int MAX_REPLICAS_FIELD_NUMBER = 3; + private int maxReplicas_; + /** + * int32 max_replicas = 3; + */ + public int getMaxReplicas() { + return maxReplicas_; + } + + public static final int NPROC_PER_NODE_FIELD_NUMBER = 4; + private int nprocPerNode_; + /** + * int32 nproc_per_node = 4; + */ + public int getNprocPerNode() { + return nprocPerNode_; + } + + public static final int MAX_RESTARTS_FIELD_NUMBER = 5; + private int maxRestarts_; + /** + * int32 max_restarts = 5; + */ + public int getMaxRestarts() { + return maxRestarts_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getRdzvBackendBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rdzvBackend_); + } + if (minReplicas_ != 0) { + output.writeInt32(2, minReplicas_); + } + if (maxReplicas_ != 0) { + output.writeInt32(3, maxReplicas_); + } + if (nprocPerNode_ != 0) { + output.writeInt32(4, nprocPerNode_); + } + if (maxRestarts_ != 0) { + output.writeInt32(5, maxRestarts_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getRdzvBackendBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, rdzvBackend_); + } + if (minReplicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minReplicas_); + } + if (maxReplicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxReplicas_); + } + if (nprocPerNode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, nprocPerNode_); + } + if (maxRestarts_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxRestarts_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Pytorch.ElasticConfig)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig other = (flyteidl.plugins.kubeflow.Pytorch.ElasticConfig) obj; + + if (!getRdzvBackend() + .equals(other.getRdzvBackend())) return false; + if (getMinReplicas() + != other.getMinReplicas()) return false; + if (getMaxReplicas() + != other.getMaxReplicas()) return false; + if (getNprocPerNode() + != other.getNprocPerNode()) return false; + if (getMaxRestarts() + != other.getMaxRestarts()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RDZV_BACKEND_FIELD_NUMBER; + hash = (53 * hash) + getRdzvBackend().hashCode(); + hash = (37 * hash) + MIN_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getMinReplicas(); + hash = (37 * hash) + MAX_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getMaxReplicas(); + hash = (37 * hash) + NPROC_PER_NODE_FIELD_NUMBER; + hash = (53 * hash) + getNprocPerNode(); + hash = (37 * hash) + MAX_RESTARTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxRestarts(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Custom proto for torch elastic config for distributed training using 
+     * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.ElasticConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.ElasticConfig) + flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.class, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + rdzvBackend_ = ""; + + minReplicas_ = 0; + + maxReplicas_ = 0; + + nprocPerNode_ = 0; + + maxRestarts_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig build() { + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig buildPartial() { + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig result = new flyteidl.plugins.kubeflow.Pytorch.ElasticConfig(this); + result.rdzvBackend_ = rdzvBackend_; + result.minReplicas_ = minReplicas_; + result.maxReplicas_ = maxReplicas_; + result.nprocPerNode_ = nprocPerNode_; + result.maxRestarts_ = maxRestarts_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Pytorch.ElasticConfig) { + return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.ElasticConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig other) { + if (other == flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance()) return this; + if (!other.getRdzvBackend().isEmpty()) { + rdzvBackend_ = other.rdzvBackend_; + onChanged(); + } + if (other.getMinReplicas() != 0) { + setMinReplicas(other.getMinReplicas()); + } + if (other.getMaxReplicas() != 0) { + setMaxReplicas(other.getMaxReplicas()); + } + if (other.getNprocPerNode() != 0) { + setNprocPerNode(other.getNprocPerNode()); + } + if (other.getMaxRestarts() != 0) { + setMaxRestarts(other.getMaxRestarts()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.ElasticConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object rdzvBackend_ = ""; + /** + * string rdzv_backend = 1; + */ + public java.lang.String getRdzvBackend() { + java.lang.Object ref = rdzvBackend_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + rdzvBackend_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string rdzv_backend = 1; + */ + public com.google.protobuf.ByteString + getRdzvBackendBytes() { + java.lang.Object ref = rdzvBackend_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rdzvBackend_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string rdzv_backend = 1; + */ + public Builder setRdzvBackend( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + rdzvBackend_ = value; + onChanged(); + return this; + } + /** + * string rdzv_backend = 1; + */ + public Builder clearRdzvBackend() { + + rdzvBackend_ = getDefaultInstance().getRdzvBackend(); + onChanged(); + return this; + } + /** + * string rdzv_backend = 1; + */ + public Builder setRdzvBackendBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + rdzvBackend_ = value; + onChanged(); + return this; + } + + private int minReplicas_ ; + /** + * int32 min_replicas = 2; + */ + public int getMinReplicas() { + return minReplicas_; + } + /** + * int32 min_replicas = 2; + */ + public Builder setMinReplicas(int value) { + + minReplicas_ = value; + onChanged(); + return this; + } + /** + * int32 min_replicas = 2; + */ + public Builder clearMinReplicas() { + + minReplicas_ = 0; + onChanged(); + return this; + } + + private int maxReplicas_ ; + /** + * int32 max_replicas = 3; + */ + public int getMaxReplicas() { + return maxReplicas_; + } + /** + * int32 max_replicas = 3; + */ + public Builder setMaxReplicas(int value) { + + maxReplicas_ = value; + onChanged(); + return this; + } + /** + * int32 max_replicas = 3; + */ + public Builder clearMaxReplicas() { + + maxReplicas_ = 0; + onChanged(); + return this; + } + + private int nprocPerNode_ ; + /** + * int32 nproc_per_node = 4; + */ + public int getNprocPerNode() { + return nprocPerNode_; + } + /** + * int32 nproc_per_node = 4; + */ + public Builder setNprocPerNode(int value) { + + nprocPerNode_ = value; + onChanged(); + return this; + } + /** + * int32 nproc_per_node = 4; + */ + public Builder clearNprocPerNode() { + + nprocPerNode_ = 0; + onChanged(); + return this; + } + + private int maxRestarts_ ; + /** + * int32 max_restarts = 5; + */ + public int getMaxRestarts() { + return maxRestarts_; + } + /** + * int32 max_restarts = 5; + */ + public Builder setMaxRestarts(int value) { + + maxRestarts_ = value; + onChanged(); + return this; + } + /** + * int32 max_restarts = 5; + */ + public Builder clearMaxRestarts() { + + maxRestarts_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.ElasticConfig) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.ElasticConfig) + private static final flyteidl.plugins.kubeflow.Pytorch.ElasticConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.ElasticConfig(); + } + + public static flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ElasticConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ElasticConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DistributedPyTorchTrainingTaskOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + boolean hasWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); + + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + boolean hasMasterReplicas(); + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas(); + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder(); + + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + boolean hasRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); + + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + boolean hasElasticConfig(); + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig(); + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder(); + } + /** + *
+   * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask} + */ + public static final class DistributedPyTorchTrainingTask extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + DistributedPyTorchTrainingTaskOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedPyTorchTrainingTask.newBuilder() to construct. + private DistributedPyTorchTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedPyTorchTrainingTask() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedPyTorchTrainingTask( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder subBuilder = null; + if (workerReplicas_ != null) { + subBuilder = workerReplicas_.toBuilder(); + } + workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workerReplicas_); + workerReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder subBuilder = null; + if (masterReplicas_ != null) { + subBuilder = masterReplicas_.toBuilder(); + } + masterReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(masterReplicas_); + masterReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; + if (runPolicy_ != null) { + subBuilder = runPolicy_.toBuilder(); + } + runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(runPolicy_); + runPolicy_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder subBuilder = null; + if (elasticConfig_ != null) { + subBuilder = elasticConfig_.toBuilder(); + } + elasticConfig_ = input.readMessage(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(elasticConfig_); + elasticConfig_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.Builder.class); + } + + public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; + private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec workerReplicas_; + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicas_ != null; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas() { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + return getWorkerReplicas(); + } + + public static final int MASTER_REPLICAS_FIELD_NUMBER = 2; + private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec masterReplicas_; + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public boolean hasMasterReplicas() { + return masterReplicas_ != null; + } + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas() { + return masterReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; + } + /** + *
+     * Master replicas spec, master replicas can only have 1 replica
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder() { + return getMasterReplicas(); + } + + public static final int RUN_POLICY_FIELD_NUMBER = 3; + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public boolean hasRunPolicy() { + return runPolicy_ != null; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + return getRunPolicy(); + } + + public static final int ELASTIC_CONFIG_FIELD_NUMBER = 4; + private flyteidl.plugins.kubeflow.Pytorch.ElasticConfig elasticConfig_; + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public boolean hasElasticConfig() { + return elasticConfig_ != null; + } + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig() { + return elasticConfig_ == null ? flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } + /** + *
+     * config for an elastic pytorch job
+     * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { + return getElasticConfig(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (workerReplicas_ != null) { + output.writeMessage(1, getWorkerReplicas()); + } + if (masterReplicas_ != null) { + output.writeMessage(2, getMasterReplicas()); + } + if (runPolicy_ != null) { + output.writeMessage(3, getRunPolicy()); + } + if (elasticConfig_ != null) { + output.writeMessage(4, getElasticConfig()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (workerReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkerReplicas()); + } + if (masterReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMasterReplicas()); + } + if (runPolicy_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRunPolicy()); + } + if (elasticConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getElasticConfig()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask other = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) obj; + + if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; + if (hasWorkerReplicas()) { + if (!getWorkerReplicas() + .equals(other.getWorkerReplicas())) return false; + } + if (hasMasterReplicas() != other.hasMasterReplicas()) return false; + if (hasMasterReplicas()) { + if (!getMasterReplicas() + .equals(other.getMasterReplicas())) return false; + } + if (hasRunPolicy() != other.hasRunPolicy()) return false; + if (hasRunPolicy()) { + if (!getRunPolicy() + .equals(other.getRunPolicy())) return false; + } + if (hasElasticConfig() != other.hasElasticConfig()) return false; + if (hasElasticConfig()) { + if (!getElasticConfig() + .equals(other.getElasticConfig())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWorkerReplicas()) { + hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getWorkerReplicas().hashCode(); + } + if (hasMasterReplicas()) { + hash = (37 * hash) + MASTER_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getMasterReplicas().hashCode(); + } + if (hasRunPolicy()) { + hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getRunPolicy().hashCode(); + } + if (hasElasticConfig()) { + hash = (37 * hash) + ELASTIC_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getElasticConfig().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTaskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + if (masterReplicasBuilder_ == null) { + masterReplicas_ = null; + } else { + masterReplicas_ = null; + masterReplicasBuilder_ = null; + } + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + if (elasticConfigBuilder_ == null) { + elasticConfig_ = null; + } else { + elasticConfig_ = null; + elasticConfigBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask build() { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask buildPartial() { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask result = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask(this); + if (workerReplicasBuilder_ == null) { + result.workerReplicas_ = workerReplicas_; + } else { + result.workerReplicas_ = workerReplicasBuilder_.build(); + } + if (masterReplicasBuilder_ == null) { + result.masterReplicas_ = masterReplicas_; + } else { + result.masterReplicas_ = masterReplicasBuilder_.build(); + } + if (runPolicyBuilder_ == null) { + result.runPolicy_ = runPolicy_; + } else { + result.runPolicy_ = runPolicyBuilder_.build(); + } + if (elasticConfigBuilder_ == null) { + result.elasticConfig_ = elasticConfig_; + } else { + result.elasticConfig_ = elasticConfigBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) { + return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask other) { + if (other == flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask.getDefaultInstance()) return this; + if (other.hasWorkerReplicas()) { + mergeWorkerReplicas(other.getWorkerReplicas()); + } + if (other.hasMasterReplicas()) { + mergeMasterReplicas(other.getMasterReplicas()); + } + if (other.hasRunPolicy()) { + mergeRunPolicy(other.getRunPolicy()); + } + if (other.hasElasticConfig()) { + mergeElasticConfig(other.getElasticConfig()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec workerReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> workerReplicasBuilder_; + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicasBuilder_ != null || workerReplicas_ != null; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } else { + return workerReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workerReplicas_ = value; + onChanged(); + } else { + workerReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder builderForValue) { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = builderForValue.build(); + onChanged(); + } else { + workerReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (workerReplicas_ != null) { + workerReplicas_ = + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); + } else { + workerReplicas_ = value; + } + onChanged(); + } else { + workerReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public Builder clearWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + onChanged(); + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder getWorkerReplicasBuilder() { + + onChanged(); + return getWorkerReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + if (workerReplicasBuilder_ != null) { + return workerReplicasBuilder_.getMessageOrBuilder(); + } else { + return workerReplicas_ == null ? + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> + getWorkerReplicasFieldBuilder() { + if (workerReplicasBuilder_ == null) { + workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder>( + getWorkerReplicas(), + getParentForChildren(), + isClean()); + workerReplicas_ = null; + } + return workerReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec masterReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> masterReplicasBuilder_; + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public boolean hasMasterReplicas() { + return masterReplicasBuilder_ != null || masterReplicas_ != null; + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getMasterReplicas() { + if (masterReplicasBuilder_ == null) { + return masterReplicas_ == null ? flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; + } else { + return masterReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public Builder setMasterReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { + if (masterReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + masterReplicas_ = value; + onChanged(); + } else { + masterReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public Builder setMasterReplicas( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder builderForValue) { + if (masterReplicasBuilder_ == null) { + masterReplicas_ = builderForValue.build(); + onChanged(); + } else { + masterReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public Builder mergeMasterReplicas(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec value) { + if (masterReplicasBuilder_ == null) { + if (masterReplicas_ != null) { + masterReplicas_ = + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.newBuilder(masterReplicas_).mergeFrom(value).buildPartial(); + } else { + masterReplicas_ = value; + } + onChanged(); + } else { + masterReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public Builder clearMasterReplicas() { + if (masterReplicasBuilder_ == null) { + masterReplicas_ = null; + onChanged(); + } else { + masterReplicas_ = null; + masterReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder getMasterReplicasBuilder() { + + onChanged(); + return getMasterReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder getMasterReplicasOrBuilder() { + if (masterReplicasBuilder_ != null) { + return masterReplicasBuilder_.getMessageOrBuilder(); + } else { + return masterReplicas_ == null ? + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance() : masterReplicas_; + } + } + /** + *
+       * Master replicas spec, master replicas can only have 1 replica
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder> + getMasterReplicasFieldBuilder() { + if (masterReplicasBuilder_ == null) { + masterReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder>( + getMasterReplicas(), + getParentForChildren(), + isClean()); + masterReplicas_ = null; + } + return masterReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public boolean hasRunPolicy() { + return runPolicyBuilder_ != null || runPolicy_ != null; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + if (runPolicyBuilder_ == null) { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } else { + return runPolicyBuilder_.getMessage(); + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + runPolicy_ = value; + onChanged(); + } else { + runPolicyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder setRunPolicy( + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { + if (runPolicyBuilder_ == null) { + runPolicy_ = builderForValue.build(); + onChanged(); + } else { + runPolicyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (runPolicy_ != null) { + runPolicy_ = + flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); + } else { + runPolicy_ = value; + } + onChanged(); + } else { + runPolicyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public Builder clearRunPolicy() { + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + onChanged(); + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { + + onChanged(); + return getRunPolicyFieldBuilder().getBuilder(); + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + if (runPolicyBuilder_ != null) { + return runPolicyBuilder_.getMessageOrBuilder(); + } else { + return runPolicy_ == null ? + flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> + getRunPolicyFieldBuilder() { + if (runPolicyBuilder_ == null) { + runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( + getRunPolicy(), + getParentForChildren(), + isClean()); + runPolicy_ = null; + } + return runPolicyBuilder_; + } + + private flyteidl.plugins.kubeflow.Pytorch.ElasticConfig elasticConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder> elasticConfigBuilder_; + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public boolean hasElasticConfig() { + return elasticConfigBuilder_ != null || elasticConfig_ != null; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig getElasticConfig() { + if (elasticConfigBuilder_ == null) { + return elasticConfig_ == null ? flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } else { + return elasticConfigBuilder_.getMessage(); + } + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public Builder setElasticConfig(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig value) { + if (elasticConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + elasticConfig_ = value; + onChanged(); + } else { + elasticConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public Builder setElasticConfig( + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder builderForValue) { + if (elasticConfigBuilder_ == null) { + elasticConfig_ = builderForValue.build(); + onChanged(); + } else { + elasticConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public Builder mergeElasticConfig(flyteidl.plugins.kubeflow.Pytorch.ElasticConfig value) { + if (elasticConfigBuilder_ == null) { + if (elasticConfig_ != null) { + elasticConfig_ = + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.newBuilder(elasticConfig_).mergeFrom(value).buildPartial(); + } else { + elasticConfig_ = value; + } + onChanged(); + } else { + elasticConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public Builder clearElasticConfig() { + if (elasticConfigBuilder_ == null) { + elasticConfig_ = null; + onChanged(); + } else { + elasticConfig_ = null; + elasticConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder getElasticConfigBuilder() { + + onChanged(); + return getElasticConfigFieldBuilder().getBuilder(); + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + public flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder getElasticConfigOrBuilder() { + if (elasticConfigBuilder_ != null) { + return elasticConfigBuilder_.getMessageOrBuilder(); + } else { + return elasticConfig_ == null ? + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.getDefaultInstance() : elasticConfig_; + } + } + /** + *
+       * config for an elastic pytorch job
+       * 
+ * + * .flyteidl.plugins.kubeflow.ElasticConfig elastic_config = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder> + getElasticConfigFieldBuilder() { + if (elasticConfigBuilder_ == null) { + elasticConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Pytorch.ElasticConfig, flyteidl.plugins.kubeflow.Pytorch.ElasticConfig.Builder, flyteidl.plugins.kubeflow.Pytorch.ElasticConfigOrBuilder>( + getElasticConfig(), + getParentForChildren(), + isClean()); + elasticConfig_ = null; + } + return elasticConfigBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + private static final flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask(); + } + + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedPyTorchTrainingTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedPyTorchTrainingTask(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingTask getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DistributedPyTorchTrainingReplicaSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + int getReplicas(); + + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + java.lang.String getImage(); + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + com.google.protobuf.ByteString + getImageBytes(); + + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + boolean hasResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.Resources getResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); + + /** + *
+     * RestartPolicy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + int getRestartPolicyValue(); + /** + *
+     * RestartPolicy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec} + */ + public static final class DistributedPyTorchTrainingReplicaSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + DistributedPyTorchTrainingReplicaSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedPyTorchTrainingReplicaSpec.newBuilder() to construct. + private DistributedPyTorchTrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedPyTorchTrainingReplicaSpec() { + image_ = ""; + restartPolicy_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedPyTorchTrainingReplicaSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + replicas_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + image_ = s; + break; + } + case 26: { + flyteidl.core.Tasks.Resources.Builder subBuilder = null; + if (resources_ != null) { + subBuilder = resources_.toBuilder(); + } + resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resources_); + resources_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + int rawValue = input.readEnum(); + + restartPolicy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder.class); + } + + public static final int REPLICAS_FIELD_NUMBER = 1; + private int replicas_; + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + + public static final int IMAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object image_; + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } + } + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCES_FIELD_NUMBER = 3; + private flyteidl.core.Tasks.Resources resources_; + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resources_ != null; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + return getResources(); + } + + public static final int RESTART_POLICY_FIELD_NUMBER = 4; + private int restartPolicy_; + /** + *
+     * RestartPolicy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+     * RestartPolicy determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicas_ != 0) { + output.writeInt32(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); + } + if (resources_ != null) { + output.writeMessage(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + output.writeEnum(4, restartPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (replicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); + } + if (resources_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, restartPolicy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) obj; + + if (getReplicas() + != other.getReplicas()) return false; + if (!getImage() + .equals(other.getImage())) return false; + if (hasResources() != other.hasResources()) return false; + if (hasResources()) { + if (!getResources() + .equals(other.getResources())) return false; + } + if (restartPolicy_ != other.restartPolicy_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getReplicas(); + hash = (37 * hash) + IMAGE_FIELD_NUMBER; + hash = (53 * hash) + getImage().hashCode(); + if (hasResources()) { + hash = (37 * hash) + RESOURCES_FIELD_NUMBER; + hash = (53 * hash) + getResources().hashCode(); + } + hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; + hash = (53 * hash) + restartPolicy_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + replicas_ = 0; + + image_ = ""; + + if (resourcesBuilder_ == null) { + resources_ = null; + } else { + resources_ = null; + resourcesBuilder_ = null; + } + restartPolicy_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Pytorch.internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec build() { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec buildPartial() { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec(this); + result.replicas_ = replicas_; + result.image_ = image_; + if (resourcesBuilder_ == null) { + result.resources_ = resources_; + } else { + result.resources_ = resourcesBuilder_.build(); + } + result.restartPolicy_ = restartPolicy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) { + return mergeFrom((flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec other) { + if (other == flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec.getDefaultInstance()) return this; + if (other.getReplicas() != 0) { + setReplicas(other.getReplicas()); + } + if (!other.getImage().isEmpty()) { + image_ = other.image_; + onChanged(); + } + if (other.hasResources()) { + mergeResources(other.getResources()); + } + if (other.restartPolicy_ != 0) { + setRestartPolicyValue(other.getRestartPolicyValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int replicas_ ; + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder setReplicas(int value) { + + replicas_ = value; + onChanged(); + return this; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder clearReplicas() { + + replicas_ = 0; + onChanged(); + return this; + } + + private java.lang.Object image_ = ""; + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + image_ = value; + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder clearImage() { + + image_ = getDefaultInstance().getImage(); + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + image_ = value; + onChanged(); + return this; + } + + private flyteidl.core.Tasks.Resources resources_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resourcesBuilder_ != null || resources_ != null; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + if (resourcesBuilder_ == null) { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } else { + return resourcesBuilder_.getMessage(); + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resources_ = value; + onChanged(); + } else { + resourcesBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources( + flyteidl.core.Tasks.Resources.Builder builderForValue) { + if (resourcesBuilder_ == null) { + resources_ = builderForValue.build(); + onChanged(); + } else { + resourcesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder mergeResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (resources_ != null) { + resources_ = + flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); + } else { + resources_ = value; + } + onChanged(); + } else { + resourcesBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder clearResources() { + if (resourcesBuilder_ == null) { + resources_ = null; + onChanged(); + } else { + resources_ = null; + resourcesBuilder_ = null; + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { + + onChanged(); + return getResourcesFieldBuilder().getBuilder(); + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + if (resourcesBuilder_ != null) { + return resourcesBuilder_.getMessageOrBuilder(); + } else { + return resources_ == null ? + flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> + getResourcesFieldBuilder() { + if (resourcesBuilder_ == null) { + resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( + getResources(), + getParentForChildren(), + isClean()); + resources_ = null; + } + return resourcesBuilder_; + } + + private int restartPolicy_ = 0; + /** + *
+       * RestartPolicy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+       * RestartPolicy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicyValue(int value) { + restartPolicy_ = value; + onChanged(); + return this; + } + /** + *
+       * RestartPolicy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + /** + *
+       * RestartPolicy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + restartPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * RestartPolicy determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder clearRestartPolicy() { + + restartPolicy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + private static final flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec(); + } + + public static flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedPyTorchTrainingReplicaSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedPyTorchTrainingReplicaSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Pytorch.DistributedPyTorchTrainingReplicaSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'flyteidl/plugins/kubeflow/pytorch.prot" + + "o\022\031flyteidl.plugins.kubeflow\032\031flyteidl/c" + + "ore/tasks.proto\032&flyteidl/plugins/kubefl" + + "ow/common.proto\"\177\n\rElasticConfig\022\024\n\014rdzv" + + "_backend\030\001 \001(\t\022\024\n\014min_replicas\030\002 \001(\005\022\024\n\014" + + "max_replicas\030\003 \001(\005\022\026\n\016nproc_per_node\030\004 \001" + + "(\005\022\024\n\014max_restarts\030\005 \001(\005\"\322\002\n\036Distributed" + + "PyTorchTrainingTask\022Y\n\017worker_replicas\030\001" + + " \001(\0132@.flyteidl.plugins.kubeflow.Distrib" + + "utedPyTorchTrainingReplicaSpec\022Y\n\017master" + + "_replicas\030\002 \001(\0132@.flyteidl.plugins.kubef" + + "low.DistributedPyTorchTrainingReplicaSpe" + + "c\0228\n\nrun_policy\030\003 \001(\0132$.flyteidl.plugins" + + ".kubeflow.RunPolicy\022@\n\016elastic_config\030\004 " + + "\001(\0132(.flyteidl.plugins.kubeflow.ElasticC" + + "onfig\"\267\001\n%DistributedPyTorchTrainingRepl" + + "icaSpec\022\020\n\010replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t" + + "\022+\n\tresources\030\003 \001(\0132\030.flyteidl.core.Reso" + + "urces\022@\n\016restart_policy\030\004 \001(\0162(.flyteidl" + + ".plugins.kubeflow.RestartPolicyB9Z7githu" + + "b.com/flyteorg/flyteidl/gen/pb-go/flytei" + + "dl/pluginsb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.core.Tasks.getDescriptor(), + flyteidl.plugins.kubeflow.Common.getDescriptor(), + }, assigner); + internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_plugins_kubeflow_ElasticConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_ElasticConfig_descriptor, + new java.lang.String[] { "RdzvBackend", "MinReplicas", "MaxReplicas", "NprocPerNode", "MaxRestarts", }); + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingTask_descriptor, + new java.lang.String[] { "WorkerReplicas", "MasterReplicas", "RunPolicy", "ElasticConfig", }); + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedPyTorchTrainingReplicaSpec_descriptor, + new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", }); + flyteidl.core.Tasks.getDescriptor(); + flyteidl.plugins.kubeflow.Common.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java b/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java new file mode 100644 index 000000000..3e9c0a5cf --- /dev/null +++ b/gen/pb-java/flyteidl/plugins/kubeflow/Tensorflow.java @@ -0,0 +1,2605 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/plugins/kubeflow/tensorflow.proto + +package flyteidl.plugins.kubeflow; + +public final class Tensorflow { + private Tensorflow() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DistributedTensorflowTrainingTaskOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + boolean hasWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas(); + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder(); + + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + boolean hasPsReplicas(); + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas(); + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder(); + + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + boolean hasChiefReplicas(); + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas(); + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder(); + + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + boolean hasRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy(); + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder(); + } + /** + *
+   * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
+   * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask} + */ + public static final class DistributedTensorflowTrainingTask extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + DistributedTensorflowTrainingTaskOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedTensorflowTrainingTask.newBuilder() to construct. + private DistributedTensorflowTrainingTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedTensorflowTrainingTask() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedTensorflowTrainingTask( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; + if (workerReplicas_ != null) { + subBuilder = workerReplicas_.toBuilder(); + } + workerReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workerReplicas_); + workerReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; + if (psReplicas_ != null) { + subBuilder = psReplicas_.toBuilder(); + } + psReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(psReplicas_); + psReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder subBuilder = null; + if (chiefReplicas_ != null) { + subBuilder = chiefReplicas_.toBuilder(); + } + chiefReplicas_ = input.readMessage(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chiefReplicas_); + chiefReplicas_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder subBuilder = null; + if (runPolicy_ != null) { + subBuilder = runPolicy_.toBuilder(); + } + runPolicy_ = input.readMessage(flyteidl.plugins.kubeflow.Common.RunPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(runPolicy_); + runPolicy_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); + } + + public static final int WORKER_REPLICAS_FIELD_NUMBER = 1; + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec workerReplicas_; + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicas_ != null; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas() { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + /** + *
+     * Worker replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + return getWorkerReplicas(); + } + + public static final int PS_REPLICAS_FIELD_NUMBER = 2; + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec psReplicas_; + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public boolean hasPsReplicas() { + return psReplicas_ != null; + } + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas() { + return psReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; + } + /** + *
+     * Parameter server replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder() { + return getPsReplicas(); + } + + public static final int CHIEF_REPLICAS_FIELD_NUMBER = 3; + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec chiefReplicas_; + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public boolean hasChiefReplicas() { + return chiefReplicas_ != null; + } + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas() { + return chiefReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; + } + /** + *
+     * Chief replicas spec
+     * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder() { + return getChiefReplicas(); + } + + public static final int RUN_POLICY_FIELD_NUMBER = 4; + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public boolean hasRunPolicy() { + return runPolicy_ != null; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + /** + *
+     * RunPolicy encapsulates various runtime policies of the distributed training
+     * job, for example how to clean up resources and how long the job can stay
+     * active.
+     * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + return getRunPolicy(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (workerReplicas_ != null) { + output.writeMessage(1, getWorkerReplicas()); + } + if (psReplicas_ != null) { + output.writeMessage(2, getPsReplicas()); + } + if (chiefReplicas_ != null) { + output.writeMessage(3, getChiefReplicas()); + } + if (runPolicy_ != null) { + output.writeMessage(4, getRunPolicy()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (workerReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkerReplicas()); + } + if (psReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPsReplicas()); + } + if (chiefReplicas_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getChiefReplicas()); + } + if (runPolicy_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRunPolicy()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask other = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) obj; + + if (hasWorkerReplicas() != other.hasWorkerReplicas()) return false; + if (hasWorkerReplicas()) { + if (!getWorkerReplicas() + .equals(other.getWorkerReplicas())) return false; + } + if (hasPsReplicas() != other.hasPsReplicas()) return false; + if (hasPsReplicas()) { + if (!getPsReplicas() + .equals(other.getPsReplicas())) return false; + } + if (hasChiefReplicas() != other.hasChiefReplicas()) return false; + if (hasChiefReplicas()) { + if (!getChiefReplicas() + .equals(other.getChiefReplicas())) return false; + } + if (hasRunPolicy() != other.hasRunPolicy()) return false; + if (hasRunPolicy()) { + if (!getRunPolicy() + .equals(other.getRunPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWorkerReplicas()) { + hash = (37 * hash) + WORKER_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getWorkerReplicas().hashCode(); + } + if (hasPsReplicas()) { + hash = (37 * hash) + PS_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getPsReplicas().hashCode(); + } + if (hasChiefReplicas()) { + hash = (37 * hash) + CHIEF_REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getChiefReplicas().hashCode(); + } + if (hasRunPolicy()) { + hash = (37 * hash) + RUN_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getRunPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
+     * 
+ * + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTaskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + if (psReplicasBuilder_ == null) { + psReplicas_ = null; + } else { + psReplicas_ = null; + psReplicasBuilder_ = null; + } + if (chiefReplicasBuilder_ == null) { + chiefReplicas_ = null; + } else { + chiefReplicas_ = null; + chiefReplicasBuilder_ = null; + } + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask build() { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask buildPartial() { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask result = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask(this); + if (workerReplicasBuilder_ == null) { + result.workerReplicas_ = workerReplicas_; + } else { + result.workerReplicas_ = workerReplicasBuilder_.build(); + } + if (psReplicasBuilder_ == null) { + result.psReplicas_ = psReplicas_; + } else { + result.psReplicas_ = psReplicasBuilder_.build(); + } + if (chiefReplicasBuilder_ == null) { + result.chiefReplicas_ = chiefReplicas_; + } else { + result.chiefReplicas_ = chiefReplicasBuilder_.build(); + } + if (runPolicyBuilder_ == null) { + result.runPolicy_ = runPolicy_; + } else { + result.runPolicy_ = runPolicyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) { + return mergeFrom((flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask other) { + if (other == flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask.getDefaultInstance()) return this; + if (other.hasWorkerReplicas()) { + mergeWorkerReplicas(other.getWorkerReplicas()); + } + if (other.hasPsReplicas()) { + mergePsReplicas(other.getPsReplicas()); + } + if (other.hasChiefReplicas()) { + mergeChiefReplicas(other.getChiefReplicas()); + } + if (other.hasRunPolicy()) { + mergeRunPolicy(other.getRunPolicy()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec workerReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> workerReplicasBuilder_; + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public boolean hasWorkerReplicas() { + return workerReplicasBuilder_ != null || workerReplicas_ != null; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + return workerReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } else { + return workerReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workerReplicas_ = value; + onChanged(); + } else { + workerReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public Builder setWorkerReplicas( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = builderForValue.build(); + onChanged(); + } else { + workerReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public Builder mergeWorkerReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (workerReplicasBuilder_ == null) { + if (workerReplicas_ != null) { + workerReplicas_ = + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(workerReplicas_).mergeFrom(value).buildPartial(); + } else { + workerReplicas_ = value; + } + onChanged(); + } else { + workerReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public Builder clearWorkerReplicas() { + if (workerReplicasBuilder_ == null) { + workerReplicas_ = null; + onChanged(); + } else { + workerReplicas_ = null; + workerReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getWorkerReplicasBuilder() { + + onChanged(); + return getWorkerReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getWorkerReplicasOrBuilder() { + if (workerReplicasBuilder_ != null) { + return workerReplicasBuilder_.getMessageOrBuilder(); + } else { + return workerReplicas_ == null ? + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : workerReplicas_; + } + } + /** + *
+       * Worker replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> + getWorkerReplicasFieldBuilder() { + if (workerReplicasBuilder_ == null) { + workerReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( + getWorkerReplicas(), + getParentForChildren(), + isClean()); + workerReplicas_ = null; + } + return workerReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec psReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> psReplicasBuilder_; + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public boolean hasPsReplicas() { + return psReplicasBuilder_ != null || psReplicas_ != null; + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getPsReplicas() { + if (psReplicasBuilder_ == null) { + return psReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; + } else { + return psReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public Builder setPsReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (psReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + psReplicas_ = value; + onChanged(); + } else { + psReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public Builder setPsReplicas( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { + if (psReplicasBuilder_ == null) { + psReplicas_ = builderForValue.build(); + onChanged(); + } else { + psReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public Builder mergePsReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (psReplicasBuilder_ == null) { + if (psReplicas_ != null) { + psReplicas_ = + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(psReplicas_).mergeFrom(value).buildPartial(); + } else { + psReplicas_ = value; + } + onChanged(); + } else { + psReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public Builder clearPsReplicas() { + if (psReplicasBuilder_ == null) { + psReplicas_ = null; + onChanged(); + } else { + psReplicas_ = null; + psReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getPsReplicasBuilder() { + + onChanged(); + return getPsReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getPsReplicasOrBuilder() { + if (psReplicasBuilder_ != null) { + return psReplicasBuilder_.getMessageOrBuilder(); + } else { + return psReplicas_ == null ? + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : psReplicas_; + } + } + /** + *
+       * Parameter server replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> + getPsReplicasFieldBuilder() { + if (psReplicasBuilder_ == null) { + psReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( + getPsReplicas(), + getParentForChildren(), + isClean()); + psReplicas_ = null; + } + return psReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec chiefReplicas_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> chiefReplicasBuilder_; + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public boolean hasChiefReplicas() { + return chiefReplicasBuilder_ != null || chiefReplicas_ != null; + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getChiefReplicas() { + if (chiefReplicasBuilder_ == null) { + return chiefReplicas_ == null ? flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; + } else { + return chiefReplicasBuilder_.getMessage(); + } + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public Builder setChiefReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (chiefReplicasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + chiefReplicas_ = value; + onChanged(); + } else { + chiefReplicasBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public Builder setChiefReplicas( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder builderForValue) { + if (chiefReplicasBuilder_ == null) { + chiefReplicas_ = builderForValue.build(); + onChanged(); + } else { + chiefReplicasBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public Builder mergeChiefReplicas(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec value) { + if (chiefReplicasBuilder_ == null) { + if (chiefReplicas_ != null) { + chiefReplicas_ = + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder(chiefReplicas_).mergeFrom(value).buildPartial(); + } else { + chiefReplicas_ = value; + } + onChanged(); + } else { + chiefReplicasBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public Builder clearChiefReplicas() { + if (chiefReplicasBuilder_ == null) { + chiefReplicas_ = null; + onChanged(); + } else { + chiefReplicas_ = null; + chiefReplicasBuilder_ = null; + } + + return this; + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder getChiefReplicasBuilder() { + + onChanged(); + return getChiefReplicasFieldBuilder().getBuilder(); + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder getChiefReplicasOrBuilder() { + if (chiefReplicasBuilder_ != null) { + return chiefReplicasBuilder_.getMessageOrBuilder(); + } else { + return chiefReplicas_ == null ? + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance() : chiefReplicas_; + } + } + /** + *
+       * Chief replicas spec
+       * 
+ * + * .flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder> + getChiefReplicasFieldBuilder() { + if (chiefReplicasBuilder_ == null) { + chiefReplicasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder>( + getChiefReplicas(), + getParentForChildren(), + isClean()); + chiefReplicas_ = null; + } + return chiefReplicasBuilder_; + } + + private flyteidl.plugins.kubeflow.Common.RunPolicy runPolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> runPolicyBuilder_; + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public boolean hasRunPolicy() { + return runPolicyBuilder_ != null || runPolicy_ != null; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy getRunPolicy() { + if (runPolicyBuilder_ == null) { + return runPolicy_ == null ? flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } else { + return runPolicyBuilder_.getMessage(); + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public Builder setRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + runPolicy_ = value; + onChanged(); + } else { + runPolicyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public Builder setRunPolicy( + flyteidl.plugins.kubeflow.Common.RunPolicy.Builder builderForValue) { + if (runPolicyBuilder_ == null) { + runPolicy_ = builderForValue.build(); + onChanged(); + } else { + runPolicyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public Builder mergeRunPolicy(flyteidl.plugins.kubeflow.Common.RunPolicy value) { + if (runPolicyBuilder_ == null) { + if (runPolicy_ != null) { + runPolicy_ = + flyteidl.plugins.kubeflow.Common.RunPolicy.newBuilder(runPolicy_).mergeFrom(value).buildPartial(); + } else { + runPolicy_ = value; + } + onChanged(); + } else { + runPolicyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public Builder clearRunPolicy() { + if (runPolicyBuilder_ == null) { + runPolicy_ = null; + onChanged(); + } else { + runPolicy_ = null; + runPolicyBuilder_ = null; + } + + return this; + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicy.Builder getRunPolicyBuilder() { + + onChanged(); + return getRunPolicyFieldBuilder().getBuilder(); + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder getRunPolicyOrBuilder() { + if (runPolicyBuilder_ != null) { + return runPolicyBuilder_.getMessageOrBuilder(); + } else { + return runPolicy_ == null ? + flyteidl.plugins.kubeflow.Common.RunPolicy.getDefaultInstance() : runPolicy_; + } + } + /** + *
+       * RunPolicy encapsulates various runtime policies of the distributed training
+       * job, for example how to clean up resources and how long the job can stay
+       * active.
+       * 
+ * + * .flyteidl.plugins.kubeflow.RunPolicy run_policy = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder> + getRunPolicyFieldBuilder() { + if (runPolicyBuilder_ == null) { + runPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.plugins.kubeflow.Common.RunPolicy, flyteidl.plugins.kubeflow.Common.RunPolicy.Builder, flyteidl.plugins.kubeflow.Common.RunPolicyOrBuilder>( + getRunPolicy(), + getParentForChildren(), + isClean()); + runPolicy_ = null; + } + return runPolicyBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + private static final flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask(); + } + + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedTensorflowTrainingTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedTensorflowTrainingTask(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingTask getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DistributedTensorflowTrainingReplicaSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + int getReplicas(); + + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + java.lang.String getImage(); + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + com.google.protobuf.ByteString + getImageBytes(); + + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + boolean hasResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.Resources getResources(); + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder(); + + /** + *
+     * RestartPolicy Determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + int getRestartPolicyValue(); + /** + *
+     * RestartPolicy Determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy(); + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec} + */ + public static final class DistributedTensorflowTrainingReplicaSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + DistributedTensorflowTrainingReplicaSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use DistributedTensorflowTrainingReplicaSpec.newBuilder() to construct. + private DistributedTensorflowTrainingReplicaSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DistributedTensorflowTrainingReplicaSpec() { + image_ = ""; + restartPolicy_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DistributedTensorflowTrainingReplicaSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + replicas_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + image_ = s; + break; + } + case 26: { + flyteidl.core.Tasks.Resources.Builder subBuilder = null; + if (resources_ != null) { + subBuilder = resources_.toBuilder(); + } + resources_ = input.readMessage(flyteidl.core.Tasks.Resources.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resources_); + resources_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + int rawValue = input.readEnum(); + + restartPolicy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder.class); + } + + public static final int REPLICAS_FIELD_NUMBER = 1; + private int replicas_; + /** + *
+     * Number of replicas
+     * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + + public static final int IMAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object image_; + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } + } + /** + *
+     * Image used for the replica group
+     * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCES_FIELD_NUMBER = 3; + private flyteidl.core.Tasks.Resources resources_; + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resources_ != null; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + /** + *
+     * Resources required for the replica group
+     * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + return getResources(); + } + + public static final int RESTART_POLICY_FIELD_NUMBER = 4; + private int restartPolicy_; + /** + *
+     * RestartPolicy Determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+     * RestartPolicy Determines whether pods will be restarted when they exit
+     * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicas_ != 0) { + output.writeInt32(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, image_); + } + if (resources_ != null) { + output.writeMessage(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + output.writeEnum(4, restartPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (replicas_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, replicas_); + } + if (!getImageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, image_); + } + if (resources_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResources()); + } + if (restartPolicy_ != flyteidl.plugins.kubeflow.Common.RestartPolicy.RESTART_POLICY_NEVER.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, restartPolicy_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec)) { + return super.equals(obj); + } + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec other = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) obj; + + if (getReplicas() + != other.getReplicas()) return false; + if (!getImage() + .equals(other.getImage())) return false; + if (hasResources() != other.hasResources()) return false; + if (hasResources()) { + if (!getResources() + .equals(other.getResources())) return false; + } + if (restartPolicy_ != other.restartPolicy_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REPLICAS_FIELD_NUMBER; + hash = (53 * hash) + getReplicas(); + hash = (37 * hash) + IMAGE_FIELD_NUMBER; + hash = (53 * hash) + getImage().hashCode(); + if (hasResources()) { + hash = (37 * hash) + RESOURCES_FIELD_NUMBER; + hash = (53 * hash) + getResources().hashCode(); + } + hash = (37 * hash) + RESTART_POLICY_FIELD_NUMBER; + hash = (53 * hash) + restartPolicy_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.class, flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.Builder.class); + } + + // Construct using flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + replicas_ = 0; + + image_ = ""; + + if (resourcesBuilder_ == null) { + resources_ = null; + } else { + resources_ = null; + resourcesBuilder_ = null; + } + restartPolicy_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.plugins.kubeflow.Tensorflow.internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstanceForType() { + return flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec build() { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec buildPartial() { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec result = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec(this); + result.replicas_ = replicas_; + result.image_ = image_; + if (resourcesBuilder_ == null) { + result.resources_ = resources_; + } else { + result.resources_ = resourcesBuilder_.build(); + } + result.restartPolicy_ = restartPolicy_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) { + return mergeFrom((flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec other) { + if (other == flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec.getDefaultInstance()) return this; + if (other.getReplicas() != 0) { + setReplicas(other.getReplicas()); + } + if (!other.getImage().isEmpty()) { + image_ = other.image_; + onChanged(); + } + if (other.hasResources()) { + mergeResources(other.getResources()); + } + if (other.restartPolicy_ != 0) { + setRestartPolicyValue(other.getRestartPolicyValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int replicas_ ; + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public int getReplicas() { + return replicas_; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder setReplicas(int value) { + + replicas_ = value; + onChanged(); + return this; + } + /** + *
+       * Number of replicas
+       * 
+ * + * int32 replicas = 1; + */ + public Builder clearReplicas() { + + replicas_ = 0; + onChanged(); + return this; + } + + private java.lang.Object image_ = ""; + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public java.lang.String getImage() { + java.lang.Object ref = image_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + image_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public com.google.protobuf.ByteString + getImageBytes() { + java.lang.Object ref = image_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + image_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + image_ = value; + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder clearImage() { + + image_ = getDefaultInstance().getImage(); + onChanged(); + return this; + } + /** + *
+       * Image used for the replica group
+       * 
+ * + * string image = 2; + */ + public Builder setImageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + image_ = value; + onChanged(); + return this; + } + + private flyteidl.core.Tasks.Resources resources_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> resourcesBuilder_; + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public boolean hasResources() { + return resourcesBuilder_ != null || resources_ != null; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources getResources() { + if (resourcesBuilder_ == null) { + return resources_ == null ? flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } else { + return resourcesBuilder_.getMessage(); + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resources_ = value; + onChanged(); + } else { + resourcesBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder setResources( + flyteidl.core.Tasks.Resources.Builder builderForValue) { + if (resourcesBuilder_ == null) { + resources_ = builderForValue.build(); + onChanged(); + } else { + resourcesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder mergeResources(flyteidl.core.Tasks.Resources value) { + if (resourcesBuilder_ == null) { + if (resources_ != null) { + resources_ = + flyteidl.core.Tasks.Resources.newBuilder(resources_).mergeFrom(value).buildPartial(); + } else { + resources_ = value; + } + onChanged(); + } else { + resourcesBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public Builder clearResources() { + if (resourcesBuilder_ == null) { + resources_ = null; + onChanged(); + } else { + resources_ = null; + resourcesBuilder_ = null; + } + + return this; + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.Resources.Builder getResourcesBuilder() { + + onChanged(); + return getResourcesFieldBuilder().getBuilder(); + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + public flyteidl.core.Tasks.ResourcesOrBuilder getResourcesOrBuilder() { + if (resourcesBuilder_ != null) { + return resourcesBuilder_.getMessageOrBuilder(); + } else { + return resources_ == null ? + flyteidl.core.Tasks.Resources.getDefaultInstance() : resources_; + } + } + /** + *
+       * Resources required for the replica group
+       * 
+ * + * .flyteidl.core.Resources resources = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder> + getResourcesFieldBuilder() { + if (resourcesBuilder_ == null) { + resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.Resources, flyteidl.core.Tasks.Resources.Builder, flyteidl.core.Tasks.ResourcesOrBuilder>( + getResources(), + getParentForChildren(), + isClean()); + resources_ = null; + } + return resourcesBuilder_; + } + + private int restartPolicy_ = 0; + /** + *
+       * RestartPolicy Determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public int getRestartPolicyValue() { + return restartPolicy_; + } + /** + *
+       * RestartPolicy Determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicyValue(int value) { + restartPolicy_ = value; + onChanged(); + return this; + } + /** + *
+       * RestartPolicy Determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public flyteidl.plugins.kubeflow.Common.RestartPolicy getRestartPolicy() { + @SuppressWarnings("deprecation") + flyteidl.plugins.kubeflow.Common.RestartPolicy result = flyteidl.plugins.kubeflow.Common.RestartPolicy.valueOf(restartPolicy_); + return result == null ? flyteidl.plugins.kubeflow.Common.RestartPolicy.UNRECOGNIZED : result; + } + /** + *
+       * RestartPolicy Determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder setRestartPolicy(flyteidl.plugins.kubeflow.Common.RestartPolicy value) { + if (value == null) { + throw new NullPointerException(); + } + + restartPolicy_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * RestartPolicy Determines whether pods will be restarted when they exit
+       * 
+ * + * .flyteidl.plugins.kubeflow.RestartPolicy restart_policy = 4; + */ + public Builder clearRestartPolicy() { + + restartPolicy_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + private static final flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec(); + } + + public static flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DistributedTensorflowTrainingReplicaSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DistributedTensorflowTrainingReplicaSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.plugins.kubeflow.Tensorflow.DistributedTensorflowTrainingReplicaSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n*flyteidl/plugins/kubeflow/tensorflow.p" + + "roto\022\031flyteidl.plugins.kubeflow\032\031flyteid" + + "l/core/tasks.proto\032&flyteidl/plugins/kub" + + "eflow/common.proto\"\362\002\n!DistributedTensor" + + "flowTrainingTask\022\\\n\017worker_replicas\030\001 \001(" + + "\0132C.flyteidl.plugins.kubeflow.Distribute" + + "dTensorflowTrainingReplicaSpec\022X\n\013ps_rep" + + "licas\030\002 \001(\0132C.flyteidl.plugins.kubeflow." + + "DistributedTensorflowTrainingReplicaSpec" + + "\022[\n\016chief_replicas\030\003 \001(\0132C.flyteidl.plug" + + "ins.kubeflow.DistributedTensorflowTraini" + + "ngReplicaSpec\0228\n\nrun_policy\030\004 \001(\0132$.flyt" + + "eidl.plugins.kubeflow.RunPolicy\"\272\001\n(Dist" + + "ributedTensorflowTrainingReplicaSpec\022\020\n\010" + + "replicas\030\001 \001(\005\022\r\n\005image\030\002 \001(\t\022+\n\tresourc" + + "es\030\003 \001(\0132\030.flyteidl.core.Resources\022@\n\016re" + + "start_policy\030\004 \001(\0162(.flyteidl.plugins.ku" + + "beflow.RestartPolicyB9Z7github.com/flyte" + + "org/flyteidl/gen/pb-go/flyteidl/pluginsb" + + "\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.core.Tasks.getDescriptor(), + flyteidl.plugins.kubeflow.Common.getDescriptor(), + }, assigner); + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingTask_descriptor, + new java.lang.String[] { "WorkerReplicas", "PsReplicas", "ChiefReplicas", "RunPolicy", }); + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_plugins_kubeflow_DistributedTensorflowTrainingReplicaSpec_descriptor, + new java.lang.String[] { "Replicas", "Image", "Resources", "RestartPolicy", }); + flyteidl.core.Tasks.getDescriptor(); + flyteidl.plugins.kubeflow.Common.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-java/flyteidl/service/Admin.java b/gen/pb-java/flyteidl/service/Admin.java index 29c343de4..193fc74e2 100644 --- a/gen/pb-java/flyteidl/service/Admin.java +++ b/gen/pb-java/flyteidl/service/Admin.java @@ -38,254 +38,258 @@ public static void registerAllExtensions( "admin/task_execution.proto\032\034flyteidl/adm" + "in/version.proto\032\033flyteidl/admin/common." + "proto\032\'flyteidl/admin/description_entity" + - ".proto\032\036flyteidl/core/identifier.proto2\274" + - "L\n\014AdminService\022m\n\nCreateTask\022!.flyteidl" + - ".admin.TaskCreateRequest\032\".flyteidl.admi" + - "n.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/api/v1/ta" + - "sks:\001*\022\210\001\n\007GetTask\022 .flyteidl.admin.Obje" + - "ctGetRequest\032\024.flyteidl.admin.Task\"E\202\323\344\223" + - "\002?\022=/api/v1/tasks/{id.project}/{id.domai" + - "n}/{id.name}/{id.version}\022\227\001\n\013ListTaskId" + - "s\0220.flyteidl.admin.NamedEntityIdentifier" + - "ListRequest\032).flyteidl.admin.NamedEntity" + - "IdentifierList\"+\202\323\344\223\002%\022#/api/v1/task_ids" + - "/{project}/{domain}\022\256\001\n\tListTasks\022#.flyt" + - "eidl.admin.ResourceListRequest\032\030.flyteid" + - "l.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v1/tasks/" + - "{id.project}/{id.domain}/{id.name}Z(\022&/a" + - "pi/v1/tasks/{id.project}/{id.domain}\022}\n\016" + - "CreateWorkflow\022%.flyteidl.admin.Workflow" + - "CreateRequest\032&.flyteidl.admin.WorkflowC" + - "reateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/workflows" + - ":\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.admin.Obj" + - "ectGetRequest\032\030.flyteidl.admin.Workflow\"" + - "I\202\323\344\223\002C\022A/api/v1/workflows/{id.project}/" + - "{id.domain}/{id.name}/{id.version}\022\237\001\n\017L" + - "istWorkflowIds\0220.flyteidl.admin.NamedEnt" + - "ityIdentifierListRequest\032).flyteidl.admi" + - "n.NamedEntityIdentifierList\"/\202\323\344\223\002)\022\'/ap" + - "i/v1/workflow_ids/{project}/{domain}\022\276\001\n" + - "\rListWorkflows\022#.flyteidl.admin.Resource" + - "ListRequest\032\034.flyteidl.admin.WorkflowLis" + - "t\"j\202\323\344\223\002d\0224/api/v1/workflows/{id.project" + - "}/{id.domain}/{id.name}Z,\022*/api/v1/workf" + - "lows/{id.project}/{id.domain}\022\206\001\n\020Create" + - "LaunchPlan\022\'.flyteidl.admin.LaunchPlanCr" + - "eateRequest\032(.flyteidl.admin.LaunchPlanC" + - "reateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/launch_pl" + - "ans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyteidl.admi" + - "n.ObjectGetRequest\032\032.flyteidl.admin.Laun" + - "chPlan\"L\202\323\344\223\002F\022D/api/v1/launch_plans/{id" + - ".project}/{id.domain}/{id.name}/{id.vers" + - "ion}\022\242\001\n\023GetActiveLaunchPlan\022\'.flyteidl." + - "admin.ActiveLaunchPlanRequest\032\032.flyteidl" + - ".admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/v1/activ" + - "e_launch_plans/{id.project}/{id.domain}/" + - "{id.name}\022\234\001\n\025ListActiveLaunchPlans\022+.fl" + - "yteidl.admin.ActiveLaunchPlanListRequest" + - "\032\036.flyteidl.admin.LaunchPlanList\"6\202\323\344\223\0020" + - "\022./api/v1/active_launch_plans/{project}/" + - "{domain}\022\244\001\n\021ListLaunchPlanIds\0220.flyteid" + - "l.admin.NamedEntityIdentifierListRequest" + - "\032).flyteidl.admin.NamedEntityIdentifierL" + - "ist\"2\202\323\344\223\002,\022*/api/v1/launch_plan_ids/{pr" + - "oject}/{domain}\022\310\001\n\017ListLaunchPlans\022#.fl" + - "yteidl.admin.ResourceListRequest\032\036.flyte" + - "idl.admin.LaunchPlanList\"p\202\323\344\223\002j\0227/api/v" + - "1/launch_plans/{id.project}/{id.domain}/" + - "{id.name}Z/\022-/api/v1/launch_plans/{id.pr" + - "oject}/{id.domain}\022\266\001\n\020UpdateLaunchPlan\022" + - "\'.flyteidl.admin.LaunchPlanUpdateRequest" + - "\032(.flyteidl.admin.LaunchPlanUpdateRespon" + - "se\"O\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" + + ".proto2\204N\n\014AdminService\022m\n\nCreateTask\022!." + + "flyteidl.admin.TaskCreateRequest\032\".flyte" + + "idl.admin.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/a" + + "pi/v1/tasks:\001*\022\210\001\n\007GetTask\022 .flyteidl.ad" + + "min.ObjectGetRequest\032\024.flyteidl.admin.Ta" + + "sk\"E\202\323\344\223\002?\022=/api/v1/tasks/{id.project}/{" + + "id.domain}/{id.name}/{id.version}\022\227\001\n\013Li" + + "stTaskIds\0220.flyteidl.admin.NamedEntityId" + + "entifierListRequest\032).flyteidl.admin.Nam" + + "edEntityIdentifierList\"+\202\323\344\223\002%\022#/api/v1/" + + "task_ids/{project}/{domain}\022\256\001\n\tListTask" + + "s\022#.flyteidl.admin.ResourceListRequest\032\030" + + ".flyteidl.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v" + + "1/tasks/{id.project}/{id.domain}/{id.nam" + + "e}Z(\022&/api/v1/tasks/{id.project}/{id.dom" + + "ain}\022}\n\016CreateWorkflow\022%.flyteidl.admin." + + "WorkflowCreateRequest\032&.flyteidl.admin.W" + + "orkflowCreateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/w" + + "orkflows:\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.a" + + "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" + + "orkflow\"I\202\323\344\223\002C\022A/api/v1/workflows/{id.p" + + "roject}/{id.domain}/{id.name}/{id.versio" + + "n}\022\237\001\n\017ListWorkflowIds\0220.flyteidl.admin." + + "NamedEntityIdentifierListRequest\032).flyte" + + "idl.admin.NamedEntityIdentifierList\"/\202\323\344" + + "\223\002)\022\'/api/v1/workflow_ids/{project}/{dom" + + "ain}\022\276\001\n\rListWorkflows\022#.flyteidl.admin." + + "ResourceListRequest\032\034.flyteidl.admin.Wor" + + "kflowList\"j\202\323\344\223\002d\0224/api/v1/workflows/{id" + + ".project}/{id.domain}/{id.name}Z,\022*/api/" + + "v1/workflows/{id.project}/{id.domain}\022\206\001" + + "\n\020CreateLaunchPlan\022\'.flyteidl.admin.Laun" + + "chPlanCreateRequest\032(.flyteidl.admin.Lau" + + "nchPlanCreateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/l" + + "aunch_plans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyte" + + "idl.admin.ObjectGetRequest\032\032.flyteidl.ad" + + "min.LaunchPlan\"L\202\323\344\223\002F\022D/api/v1/launch_p" + + "lans/{id.project}/{id.domain}/{id.name}/" + + "{id.version}\022\242\001\n\023GetActiveLaunchPlan\022\'.f" + + "lyteidl.admin.ActiveLaunchPlanRequest\032\032." + + "flyteidl.admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/" + + "v1/active_launch_plans/{id.project}/{id." + + "domain}/{id.name}\022\234\001\n\025ListActiveLaunchPl" + + "ans\022+.flyteidl.admin.ActiveLaunchPlanLis" + + "tRequest\032\036.flyteidl.admin.LaunchPlanList" + + "\"6\202\323\344\223\0020\022./api/v1/active_launch_plans/{p" + + "roject}/{domain}\022\244\001\n\021ListLaunchPlanIds\0220" + + ".flyteidl.admin.NamedEntityIdentifierLis" + + "tRequest\032).flyteidl.admin.NamedEntityIde" + + "ntifierList\"2\202\323\344\223\002,\022*/api/v1/launch_plan" + + "_ids/{project}/{domain}\022\310\001\n\017ListLaunchPl" + + "ans\022#.flyteidl.admin.ResourceListRequest" + + "\032\036.flyteidl.admin.LaunchPlanList\"p\202\323\344\223\002j" + + "\0227/api/v1/launch_plans/{id.project}/{id." + + "domain}/{id.name}Z/\022-/api/v1/launch_plan" + + "s/{id.project}/{id.domain}\022\266\001\n\020UpdateLau" + + "nchPlan\022\'.flyteidl.admin.LaunchPlanUpdat" + + "eRequest\032(.flyteidl.admin.LaunchPlanUpda" + + "teResponse\"O\202\323\344\223\002I\032D/api/v1/launch_plans" + + "/{id.project}/{id.domain}/{id.name}/{id." + + "version}:\001*\022\201\001\n\017CreateExecution\022&.flytei" + + "dl.admin.ExecutionCreateRequest\032\'.flytei" + + "dl.admin.ExecutionCreateResponse\"\035\202\323\344\223\002\027" + + "\"\022/api/v1/executions:\001*\022\216\001\n\021RelaunchExec" + + "ution\022(.flyteidl.admin.ExecutionRelaunch" + + "Request\032\'.flyteidl.admin.ExecutionCreate" + + "Response\"&\202\323\344\223\002 \"\033/api/v1/executions/rel" + + "aunch:\001*\022\213\001\n\020RecoverExecution\022\'.flyteidl" + + ".admin.ExecutionRecoverRequest\032\'.flyteid" + + "l.admin.ExecutionCreateResponse\"%\202\323\344\223\002\037\"" + + "\032/api/v1/executions/recover:\001*\022\225\001\n\014GetEx" + + "ecution\022+.flyteidl.admin.WorkflowExecuti" + + "onGetRequest\032\031.flyteidl.admin.Execution\"" + + "=\202\323\344\223\0027\0225/api/v1/executions/{id.project}" + + "/{id.domain}/{id.name}\022\244\001\n\017UpdateExecuti" + + "on\022&.flyteidl.admin.ExecutionUpdateReque" + + "st\032\'.flyteidl.admin.ExecutionUpdateRespo" + + "nse\"@\202\323\344\223\002:\0325/api/v1/executions/{id.proj" + + "ect}/{id.domain}/{id.name}:\001*\022\271\001\n\020GetExe" + + "cutionData\022/.flyteidl.admin.WorkflowExec" + + "utionGetDataRequest\0320.flyteidl.admin.Wor" + + "kflowExecutionGetDataResponse\"B\202\323\344\223\002<\022:/" + + "api/v1/data/executions/{id.project}/{id." + + "domain}/{id.name}\022\211\001\n\016ListExecutions\022#.f" + + "lyteidl.admin.ResourceListRequest\032\035.flyt" + + "eidl.admin.ExecutionList\"3\202\323\344\223\002-\022+/api/v" + + "1/executions/{id.project}/{id.domain}\022\255\001" + + "\n\022TerminateExecution\022).flyteidl.admin.Ex" + + "ecutionTerminateRequest\032*.flyteidl.admin" + + ".ExecutionTerminateResponse\"@\202\323\344\223\002:*5/ap" + + "i/v1/executions/{id.project}/{id.domain}" + + "/{id.name}:\001*\022\322\001\n\020GetNodeExecution\022\'.fly" + + "teidl.admin.NodeExecutionGetRequest\032\035.fl" + + "yteidl.admin.NodeExecution\"v\202\323\344\223\002p\022n/api" + + "/v1/node_executions/{id.execution_id.pro" + + "ject}/{id.execution_id.domain}/{id.execu" + + "tion_id.name}/{id.node_id}\022\336\001\n\022ListNodeE" + + "xecutions\022(.flyteidl.admin.NodeExecution" + + "ListRequest\032!.flyteidl.admin.NodeExecuti" + + "onList\"{\202\323\344\223\002u\022s/api/v1/node_executions/" + + "{workflow_execution_id.project}/{workflo" + + "w_execution_id.domain}/{workflow_executi" + + "on_id.name}\022\245\004\n\031ListNodeExecutionsForTas" + + "k\022/.flyteidl.admin.NodeExecutionForTaskL" + + "istRequest\032!.flyteidl.admin.NodeExecutio" + + "nList\"\263\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_" + + "executions/{task_execution_id.node_execu" + + "tion_id.execution_id.project}/{task_exec" + + "ution_id.node_execution_id.execution_id." + + "domain}/{task_execution_id.node_executio" + + "n_id.execution_id.name}/{task_execution_" + + "id.node_execution_id.node_id}/{task_exec" + + "ution_id.task_id.project}/{task_executio" + + "n_id.task_id.domain}/{task_execution_id." + + "task_id.name}/{task_execution_id.task_id" + + ".version}/{task_execution_id.retry_attem" + + "pt}\022\356\001\n\024GetNodeExecutionData\022+.flyteidl." + + "admin.NodeExecutionGetDataRequest\032,.flyt" + + "eidl.admin.NodeExecutionGetDataResponse\"" + + "{\202\323\344\223\002u\022s/api/v1/data/node_executions/{i" + + "d.execution_id.project}/{id.execution_id" + + ".domain}/{id.execution_id.name}/{id.node" + + "_id}\022\177\n\017RegisterProject\022&.flyteidl.admin" + + ".ProjectRegisterRequest\032\'.flyteidl.admin" + + ".ProjectRegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v" + + "1/projects:\001*\022q\n\rUpdateProject\022\027.flyteid" + + "l.admin.Project\032%.flyteidl.admin.Project" + + "UpdateResponse\" \202\323\344\223\002\032\032\025/api/v1/projects" + + "/{id}:\001*\022f\n\014ListProjects\022\".flyteidl.admi" + + "n.ProjectListRequest\032\030.flyteidl.admin.Pr" + + "ojects\"\030\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023Cre" + + "ateWorkflowEvent\022-.flyteidl.admin.Workfl" + + "owExecutionEventRequest\032..flyteidl.admin" + + ".WorkflowExecutionEventResponse\"#\202\323\344\223\002\035\"" + + "\030/api/v1/events/workflows:\001*\022\211\001\n\017CreateN" + + "odeEvent\022).flyteidl.admin.NodeExecutionE" + + "ventRequest\032*.flyteidl.admin.NodeExecuti" + + "onEventResponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/" + + "nodes:\001*\022\211\001\n\017CreateTaskEvent\022).flyteidl." + + "admin.TaskExecutionEventRequest\032*.flytei" + + "dl.admin.TaskExecutionEventResponse\"\037\202\323\344" + + "\223\002\031\"\024/api/v1/events/tasks:\001*\022\200\003\n\020GetTask" + + "Execution\022\'.flyteidl.admin.TaskExecution" + + "GetRequest\032\035.flyteidl.admin.TaskExecutio" + + "n\"\243\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{i" + + "d.node_execution_id.execution_id.project" + + "}/{id.node_execution_id.execution_id.dom" + + "ain}/{id.node_execution_id.execution_id." + + "name}/{id.node_execution_id.node_id}/{id" + + ".task_id.project}/{id.task_id.domain}/{i" + + "d.task_id.name}/{id.task_id.version}/{id" + + ".retry_attempt}\022\230\002\n\022ListTaskExecutions\022(" + + ".flyteidl.admin.TaskExecutionListRequest" + + "\032!.flyteidl.admin.TaskExecutionList\"\264\001\202\323" + + "\344\223\002\255\001\022\252\001/api/v1/task_executions/{node_ex" + + "ecution_id.execution_id.project}/{node_e" + + "xecution_id.execution_id.domain}/{node_e" + + "xecution_id.execution_id.name}/{node_exe" + + "cution_id.node_id}\022\234\003\n\024GetTaskExecutionD" + + "ata\022+.flyteidl.admin.TaskExecutionGetDat" + + "aRequest\032,.flyteidl.admin.TaskExecutionG" + + "etDataResponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/" + + "task_executions/{id.node_execution_id.ex" + + "ecution_id.project}/{id.node_execution_i" + + "d.execution_id.domain}/{id.node_executio" + + "n_id.execution_id.name}/{id.node_executi" + + "on_id.node_id}/{id.task_id.project}/{id." + + "task_id.domain}/{id.task_id.name}/{id.ta" + + "sk_id.version}/{id.retry_attempt}\022\343\001\n\035Up" + + "dateProjectDomainAttributes\0224.flyteidl.a" + + "dmin.ProjectDomainAttributesUpdateReques" + + "t\0325.flyteidl.admin.ProjectDomainAttribut" + + "esUpdateResponse\"U\202\323\344\223\002O\032J/api/v1/projec" + + "t_domain_attributes/{attributes.project}" + + "/{attributes.domain}:\001*\022\301\001\n\032GetProjectDo" + + "mainAttributes\0221.flyteidl.admin.ProjectD" + + "omainAttributesGetRequest\0322.flyteidl.adm" + + "in.ProjectDomainAttributesGetResponse\"<\202" + + "\323\344\223\0026\0224/api/v1/project_domain_attributes" + + "/{project}/{domain}\022\315\001\n\035DeleteProjectDom" + + "ainAttributes\0224.flyteidl.admin.ProjectDo" + + "mainAttributesDeleteRequest\0325.flyteidl.a" + + "dmin.ProjectDomainAttributesDeleteRespon" + + "se\"?\202\323\344\223\0029*4/api/v1/project_domain_attri" + + "butes/{project}/{domain}:\001*\022\266\001\n\027UpdatePr" + + "ojectAttributes\022..flyteidl.admin.Project" + + "AttributesUpdateRequest\032/.flyteidl.admin" + + ".ProjectAttributesUpdateResponse\":\202\323\344\223\0024" + + "\032//api/v1/project_attributes/{attributes" + + ".project}:\001*\022\237\001\n\024GetProjectAttributes\022+." + + "flyteidl.admin.ProjectAttributesGetReque" + + "st\032,.flyteidl.admin.ProjectAttributesGet" + + "Response\",\202\323\344\223\002&\022$/api/v1/project_attrib" + + "utes/{project}\022\253\001\n\027DeleteProjectAttribut" + + "es\022..flyteidl.admin.ProjectAttributesDel" + + "eteRequest\032/.flyteidl.admin.ProjectAttri" + + "butesDeleteResponse\"/\202\323\344\223\002)*$/api/v1/pro" + + "ject_attributes/{project}:\001*\022\344\001\n\030UpdateW" + + "orkflowAttributes\022/.flyteidl.admin.Workf" + + "lowAttributesUpdateRequest\0320.flyteidl.ad" + + "min.WorkflowAttributesUpdateResponse\"e\202\323" + + "\344\223\002_\032Z/api/v1/workflow_attributes/{attri" + + "butes.project}/{attributes.domain}/{attr" + + "ibutes.workflow}:\001*\022\267\001\n\025GetWorkflowAttri" + + "butes\022,.flyteidl.admin.WorkflowAttribute" + + "sGetRequest\032-.flyteidl.admin.WorkflowAtt" + + "ributesGetResponse\"A\202\323\344\223\002;\0229/api/v1/work" + + "flow_attributes/{project}/{domain}/{work" + + "flow}\022\303\001\n\030DeleteWorkflowAttributes\022/.fly" + + "teidl.admin.WorkflowAttributesDeleteRequ" + + "est\0320.flyteidl.admin.WorkflowAttributesD" + + "eleteResponse\"D\202\323\344\223\002>*9/api/v1/workflow_" + + "attributes/{project}/{domain}/{workflow}" + + ":\001*\022\240\001\n\027ListMatchableAttributes\022..flytei" + + "dl.admin.ListMatchableAttributesRequest\032" + + "/.flyteidl.admin.ListMatchableAttributes" + + "Response\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attr" + + "ibutes\022\237\001\n\021ListNamedEntities\022&.flyteidl." + + "admin.NamedEntityListRequest\032\037.flyteidl." + + "admin.NamedEntityList\"A\202\323\344\223\002;\0229/api/v1/n" + + "amed_entities/{resource_type}/{project}/" + + "{domain}\022\247\001\n\016GetNamedEntity\022%.flyteidl.a" + + "dmin.NamedEntityGetRequest\032\033.flyteidl.ad" + + "min.NamedEntity\"Q\202\323\344\223\002K\022I/api/v1/named_e" + + "ntities/{resource_type}/{id.project}/{id" + + ".domain}/{id.name}\022\276\001\n\021UpdateNamedEntity" + + "\022(.flyteidl.admin.NamedEntityUpdateReque" + + "st\032).flyteidl.admin.NamedEntityUpdateRes" + + "ponse\"T\202\323\344\223\002N\032I/api/v1/named_entities/{r" + + "esource_type}/{id.project}/{id.domain}/{" + + "id.name}:\001*\022l\n\nGetVersion\022!.flyteidl.adm" + + "in.GetVersionRequest\032\".flyteidl.admin.Ge" + + "tVersionResponse\"\027\202\323\344\223\002\021\022\017/api/v1/versio" + + "n\022\304\001\n\024GetDescriptionEntity\022 .flyteidl.ad" + + "min.ObjectGetRequest\032!.flyteidl.admin.De" + + "scriptionEntity\"g\202\323\344\223\002a\022_/api/v1/descrip" + + "tion_entities/{id.resource_type}/{id.pro" + "ject}/{id.domain}/{id.name}/{id.version}" + - ":\001*\022\201\001\n\017CreateExecution\022&.flyteidl.admin" + - ".ExecutionCreateRequest\032\'.flyteidl.admin" + - ".ExecutionCreateResponse\"\035\202\323\344\223\002\027\"\022/api/v" + - "1/executions:\001*\022\216\001\n\021RelaunchExecution\022(." + - "flyteidl.admin.ExecutionRelaunchRequest\032" + - "\'.flyteidl.admin.ExecutionCreateResponse" + - "\"&\202\323\344\223\002 \"\033/api/v1/executions/relaunch:\001*" + - "\022\213\001\n\020RecoverExecution\022\'.flyteidl.admin.E" + - "xecutionRecoverRequest\032\'.flyteidl.admin." + - "ExecutionCreateResponse\"%\202\323\344\223\002\037\"\032/api/v1" + - "/executions/recover:\001*\022\225\001\n\014GetExecution\022" + - "+.flyteidl.admin.WorkflowExecutionGetReq" + - "uest\032\031.flyteidl.admin.Execution\"=\202\323\344\223\0027\022" + - "5/api/v1/executions/{id.project}/{id.dom" + - "ain}/{id.name}\022\244\001\n\017UpdateExecution\022&.fly" + - "teidl.admin.ExecutionUpdateRequest\032\'.fly" + - "teidl.admin.ExecutionUpdateResponse\"@\202\323\344" + - "\223\002:\0325/api/v1/executions/{id.project}/{id" + - ".domain}/{id.name}:\001*\022\271\001\n\020GetExecutionDa" + - "ta\022/.flyteidl.admin.WorkflowExecutionGet" + - "DataRequest\0320.flyteidl.admin.WorkflowExe" + - "cutionGetDataResponse\"B\202\323\344\223\002<\022:/api/v1/d" + - "ata/executions/{id.project}/{id.domain}/" + - "{id.name}\022\211\001\n\016ListExecutions\022#.flyteidl." + - "admin.ResourceListRequest\032\035.flyteidl.adm" + - "in.ExecutionList\"3\202\323\344\223\002-\022+/api/v1/execut" + - "ions/{id.project}/{id.domain}\022\255\001\n\022Termin" + - "ateExecution\022).flyteidl.admin.ExecutionT" + - "erminateRequest\032*.flyteidl.admin.Executi" + - "onTerminateResponse\"@\202\323\344\223\002:*5/api/v1/exe" + - "cutions/{id.project}/{id.domain}/{id.nam" + - "e}:\001*\022\322\001\n\020GetNodeExecution\022\'.flyteidl.ad" + - "min.NodeExecutionGetRequest\032\035.flyteidl.a" + - "dmin.NodeExecution\"v\202\323\344\223\002p\022n/api/v1/node" + - "_executions/{id.execution_id.project}/{i" + - "d.execution_id.domain}/{id.execution_id." + - "name}/{id.node_id}\022\336\001\n\022ListNodeExecution" + - "s\022(.flyteidl.admin.NodeExecutionListRequ" + - "est\032!.flyteidl.admin.NodeExecutionList\"{" + - "\202\323\344\223\002u\022s/api/v1/node_executions/{workflo" + - "w_execution_id.project}/{workflow_execut" + - "ion_id.domain}/{workflow_execution_id.na" + - "me}\022\245\004\n\031ListNodeExecutionsForTask\022/.flyt" + - "eidl.admin.NodeExecutionForTaskListReque" + - "st\032!.flyteidl.admin.NodeExecutionList\"\263\003" + - "\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_executio" + - "ns/{task_execution_id.node_execution_id." + - "execution_id.project}/{task_execution_id" + - ".node_execution_id.execution_id.domain}/" + - "{task_execution_id.node_execution_id.exe" + - "cution_id.name}/{task_execution_id.node_" + - "execution_id.node_id}/{task_execution_id" + - ".task_id.project}/{task_execution_id.tas" + - "k_id.domain}/{task_execution_id.task_id." + - "name}/{task_execution_id.task_id.version" + - "}/{task_execution_id.retry_attempt}\022\356\001\n\024" + - "GetNodeExecutionData\022+.flyteidl.admin.No" + - "deExecutionGetDataRequest\032,.flyteidl.adm" + - "in.NodeExecutionGetDataResponse\"{\202\323\344\223\002u\022" + - "s/api/v1/data/node_executions/{id.execut" + - "ion_id.project}/{id.execution_id.domain}" + - "/{id.execution_id.name}/{id.node_id}\022\177\n\017" + - "RegisterProject\022&.flyteidl.admin.Project" + - "RegisterRequest\032\'.flyteidl.admin.Project" + - "RegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v1/projec" + - "ts:\001*\022q\n\rUpdateProject\022\027.flyteidl.admin." + - "Project\032%.flyteidl.admin.ProjectUpdateRe" + - "sponse\" \202\323\344\223\002\032\032\025/api/v1/projects/{id}:\001*" + - "\022f\n\014ListProjects\022\".flyteidl.admin.Projec" + - "tListRequest\032\030.flyteidl.admin.Projects\"\030" + - "\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023CreateWorkf" + - "lowEvent\022-.flyteidl.admin.WorkflowExecut" + - "ionEventRequest\032..flyteidl.admin.Workflo" + - "wExecutionEventResponse\"#\202\323\344\223\002\035\"\030/api/v1" + - "/events/workflows:\001*\022\211\001\n\017CreateNodeEvent" + - "\022).flyteidl.admin.NodeExecutionEventRequ" + - "est\032*.flyteidl.admin.NodeExecutionEventR" + - "esponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*" + - "\022\211\001\n\017CreateTaskEvent\022).flyteidl.admin.Ta" + - "skExecutionEventRequest\032*.flyteidl.admin" + - ".TaskExecutionEventResponse\"\037\202\323\344\223\002\031\"\024/ap" + - "i/v1/events/tasks:\001*\022\200\003\n\020GetTaskExecutio" + - "n\022\'.flyteidl.admin.TaskExecutionGetReque" + - "st\032\035.flyteidl.admin.TaskExecution\"\243\002\202\323\344\223" + - "\002\234\002\022\231\002/api/v1/task_executions/{id.node_e" + - "xecution_id.execution_id.project}/{id.no" + - "de_execution_id.execution_id.domain}/{id" + - ".node_execution_id.execution_id.name}/{i" + - "d.node_execution_id.node_id}/{id.task_id" + - ".project}/{id.task_id.domain}/{id.task_i" + - "d.name}/{id.task_id.version}/{id.retry_a" + - "ttempt}\022\230\002\n\022ListTaskExecutions\022(.flyteid" + - "l.admin.TaskExecutionListRequest\032!.flyte" + - "idl.admin.TaskExecutionList\"\264\001\202\323\344\223\002\255\001\022\252\001" + - "/api/v1/task_executions/{node_execution_" + - "id.execution_id.project}/{node_execution" + - "_id.execution_id.domain}/{node_execution" + - "_id.execution_id.name}/{node_execution_i" + - "d.node_id}\022\234\003\n\024GetTaskExecutionData\022+.fl" + - "yteidl.admin.TaskExecutionGetDataRequest" + - "\032,.flyteidl.admin.TaskExecutionGetDataRe" + - "sponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/task_exe" + - "cutions/{id.node_execution_id.execution_" + - "id.project}/{id.node_execution_id.execut" + - "ion_id.domain}/{id.node_execution_id.exe" + - "cution_id.name}/{id.node_execution_id.no" + - "de_id}/{id.task_id.project}/{id.task_id." + - "domain}/{id.task_id.name}/{id.task_id.ve" + - "rsion}/{id.retry_attempt}\022\343\001\n\035UpdateProj" + - "ectDomainAttributes\0224.flyteidl.admin.Pro" + - "jectDomainAttributesUpdateRequest\0325.flyt" + - "eidl.admin.ProjectDomainAttributesUpdate" + - "Response\"U\202\323\344\223\002O\032J/api/v1/project_domain" + - "_attributes/{attributes.project}/{attrib" + - "utes.domain}:\001*\022\301\001\n\032GetProjectDomainAttr" + - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" + - "ributesGetRequest\0322.flyteidl.admin.Proje" + - "ctDomainAttributesGetResponse\"<\202\323\344\223\0026\0224/" + - "api/v1/project_domain_attributes/{projec" + - "t}/{domain}\022\315\001\n\035DeleteProjectDomainAttri" + - "butes\0224.flyteidl.admin.ProjectDomainAttr" + - "ibutesDeleteRequest\0325.flyteidl.admin.Pro" + - "jectDomainAttributesDeleteResponse\"?\202\323\344\223" + - "\0029*4/api/v1/project_domain_attributes/{p" + - "roject}/{domain}:\001*\022\266\001\n\027UpdateProjectAtt" + - "ributes\022..flyteidl.admin.ProjectAttribut" + - "esUpdateRequest\032/.flyteidl.admin.Project" + - "AttributesUpdateResponse\":\202\323\344\223\0024\032//api/v" + - "1/project_attributes/{attributes.project" + - "}:\001*\022\237\001\n\024GetProjectAttributes\022+.flyteidl" + - ".admin.ProjectAttributesGetRequest\032,.fly" + - "teidl.admin.ProjectAttributesGetResponse" + - "\",\202\323\344\223\002&\022$/api/v1/project_attributes/{pr" + - "oject}\022\253\001\n\027DeleteProjectAttributes\022..fly" + - "teidl.admin.ProjectAttributesDeleteReque" + - "st\032/.flyteidl.admin.ProjectAttributesDel" + - "eteResponse\"/\202\323\344\223\002)*$/api/v1/project_att" + - "ributes/{project}:\001*\022\344\001\n\030UpdateWorkflowA" + - "ttributes\022/.flyteidl.admin.WorkflowAttri" + - "butesUpdateRequest\0320.flyteidl.admin.Work" + - "flowAttributesUpdateResponse\"e\202\323\344\223\002_\032Z/a" + - "pi/v1/workflow_attributes/{attributes.pr" + - "oject}/{attributes.domain}/{attributes.w" + - "orkflow}:\001*\022\267\001\n\025GetWorkflowAttributes\022,." + - "flyteidl.admin.WorkflowAttributesGetRequ" + - "est\032-.flyteidl.admin.WorkflowAttributesG" + - "etResponse\"A\202\323\344\223\002;\0229/api/v1/workflow_att" + - "ributes/{project}/{domain}/{workflow}\022\303\001" + - "\n\030DeleteWorkflowAttributes\022/.flyteidl.ad" + - "min.WorkflowAttributesDeleteRequest\0320.fl" + - "yteidl.admin.WorkflowAttributesDeleteRes" + - "ponse\"D\202\323\344\223\002>*9/api/v1/workflow_attribut" + - "es/{project}/{domain}/{workflow}:\001*\022\240\001\n\027" + - "ListMatchableAttributes\022..flyteidl.admin" + - ".ListMatchableAttributesRequest\032/.flytei" + - "dl.admin.ListMatchableAttributesResponse" + - "\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attributes\022\237" + - "\001\n\021ListNamedEntities\022&.flyteidl.admin.Na" + - "medEntityListRequest\032\037.flyteidl.admin.Na" + - "medEntityList\"A\202\323\344\223\002;\0229/api/v1/named_ent" + - "ities/{resource_type}/{project}/{domain}" + - "\022\247\001\n\016GetNamedEntity\022%.flyteidl.admin.Nam" + - "edEntityGetRequest\032\033.flyteidl.admin.Name" + - "dEntity\"Q\202\323\344\223\002K\022I/api/v1/named_entities/" + - "{resource_type}/{id.project}/{id.domain}" + - "/{id.name}\022\276\001\n\021UpdateNamedEntity\022(.flyte" + - "idl.admin.NamedEntityUpdateRequest\032).fly" + - "teidl.admin.NamedEntityUpdateResponse\"T\202" + - "\323\344\223\002N\032I/api/v1/named_entities/{resource_" + - "type}/{id.project}/{id.domain}/{id.name}" + - ":\001*\022l\n\nGetVersion\022!.flyteidl.admin.GetVe" + - "rsionRequest\032\".flyteidl.admin.GetVersion" + - "Response\"\027\202\323\344\223\002\021\022\017/api/v1/version\022\304\001\n\024Ge" + - "tDescriptionEntity\022 .flyteidl.admin.Obje" + - "ctGetRequest\032!.flyteidl.admin.Descriptio" + - "nEntity\"g\202\323\344\223\002a\022_/api/v1/description_ent" + - "ities/{id.resource_type}/{id.project}/{i" + - "d.domain}/{id.name}/{id.version}\022\222\002\n\027Lis" + - "tDescriptionEntities\022,.flyteidl.admin.De" + - "scriptionEntityListRequest\032%.flyteidl.ad" + - "min.DescriptionEntityList\"\241\001\202\323\344\223\002\232\001\022O/ap" + - "i/v1/description_entities/{resource_type" + - "}/{id.project}/{id.domain}/{id.name}ZG\022E" + - "/api/v1/description_entities/{resource_t" + - "ype}/{id.project}/{id.domain}B9Z7github." + - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + - "/serviceb\006proto3" + "\022\222\002\n\027ListDescriptionEntities\022,.flyteidl." + + "admin.DescriptionEntityListRequest\032%.fly" + + "teidl.admin.DescriptionEntityList\"\241\001\202\323\344\223" + + "\002\232\001\022O/api/v1/description_entities/{resou" + + "rce_type}/{id.project}/{id.domain}/{id.n" + + "ame}ZG\022E/api/v1/description_entities/{re" + + "source_type}/{id.project}/{id.domain}\022\305\001" + + "\n\023GetExecutionMetrics\0222.flyteidl.admin.W" + + "orkflowExecutionGetMetricsRequest\0323.flyt" + + "eidl.admin.WorkflowExecutionGetMetricsRe" + + "sponse\"E\202\323\344\223\002?\022=/api/v1/metrics/executio" + + "ns/{id.project}/{id.domain}/{id.name}B9Z" + + "7github.com/flyteorg/flyteidl/gen/pb-go/" + + "flyteidl/serviceb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -314,7 +318,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.VersionOuterClass.getDescriptor(), flyteidl.admin.Common.getDescriptor(), flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), }, assigner); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); @@ -337,7 +340,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.VersionOuterClass.getDescriptor(); flyteidl.admin.Common.getDescriptor(); flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/service/Dataproxy.java b/gen/pb-java/flyteidl/service/Dataproxy.java index d083391d3..a97f26777 100644 --- a/gen/pb-java/flyteidl/service/Dataproxy.java +++ b/gen/pb-java/flyteidl/service/Dataproxy.java @@ -5411,34 +5411,34 @@ public interface CreateDownloadLinkResponseOrBuilder extends * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) *
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - java.util.List + @java.lang.Deprecated java.util.List getSignedUrlList(); /** *
      * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
      * 
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - int getSignedUrlCount(); + @java.lang.Deprecated int getSignedUrlCount(); /** *
      * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
      * 
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - java.lang.String getSignedUrl(int index); + @java.lang.Deprecated java.lang.String getSignedUrl(int index); /** *
      * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
      * 
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - com.google.protobuf.ByteString + @java.lang.Deprecated com.google.protobuf.ByteString getSignedUrlBytes(int index); /** @@ -5446,25 +5446,50 @@ public interface CreateDownloadLinkResponseOrBuilder extends * ExpiresAt defines when will the signed URL expire. *
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - boolean hasExpiresAt(); + @java.lang.Deprecated boolean hasExpiresAt(); /** *
      * ExpiresAt defines when will the signed URL expire.
      * 
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - com.google.protobuf.Timestamp getExpiresAt(); + @java.lang.Deprecated com.google.protobuf.Timestamp getExpiresAt(); /** *
      * ExpiresAt defines when will the signed URL expire.
      * 
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); + @java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); + + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + boolean hasPreSignedUrls(); + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls(); + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder(); } /** *
@@ -5532,6 +5557,19 @@ private CreateDownloadLinkResponse(
 
               break;
             }
+            case 26: {
+              flyteidl.service.Dataproxy.PreSignedURLs.Builder subBuilder = null;
+              if (preSignedUrls_ != null) {
+                subBuilder = preSignedUrls_.toBuilder();
+              }
+              preSignedUrls_ = input.readMessage(flyteidl.service.Dataproxy.PreSignedURLs.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(preSignedUrls_);
+                preSignedUrls_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -5575,9 +5613,9 @@ private CreateDownloadLinkResponse(
      * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
      * 
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public com.google.protobuf.ProtocolStringList + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSignedUrlList() { return signedUrl_; } @@ -5586,9 +5624,9 @@ private CreateDownloadLinkResponse( * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) *
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public int getSignedUrlCount() { + @java.lang.Deprecated public int getSignedUrlCount() { return signedUrl_.size(); } /** @@ -5596,9 +5634,9 @@ public int getSignedUrlCount() { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) *
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public java.lang.String getSignedUrl(int index) { + @java.lang.Deprecated public java.lang.String getSignedUrl(int index) { return signedUrl_.get(index); } /** @@ -5606,9 +5644,9 @@ public java.lang.String getSignedUrl(int index) { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) *
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getSignedUrlBytes(int index) { return signedUrl_.getByteString(index); } @@ -5620,9 +5658,9 @@ public java.lang.String getSignedUrl(int index) { * ExpiresAt defines when will the signed URL expire. *
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public boolean hasExpiresAt() { + @java.lang.Deprecated public boolean hasExpiresAt() { return expiresAt_ != null; } /** @@ -5630,9 +5668,9 @@ public boolean hasExpiresAt() { * ExpiresAt defines when will the signed URL expire. *
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public com.google.protobuf.Timestamp getExpiresAt() { + @java.lang.Deprecated public com.google.protobuf.Timestamp getExpiresAt() { return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; } /** @@ -5640,12 +5678,45 @@ public com.google.protobuf.Timestamp getExpiresAt() { * ExpiresAt defines when will the signed URL expire. *
* - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + @java.lang.Deprecated public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { return getExpiresAt(); } + public static final int PRE_SIGNED_URLS_FIELD_NUMBER = 3; + private flyteidl.service.Dataproxy.PreSignedURLs preSignedUrls_; + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public boolean hasPreSignedUrls() { + return preSignedUrls_ != null; + } + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { + return preSignedUrls_ == null ? flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; + } + /** + *
+     * New wrapper object containing the signed urls and expiration time
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { + return getPreSignedUrls(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -5666,6 +5737,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expiresAt_ != null) { output.writeMessage(2, getExpiresAt()); } + if (preSignedUrls_ != null) { + output.writeMessage(3, getPreSignedUrls()); + } unknownFields.writeTo(output); } @@ -5687,6 +5761,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getExpiresAt()); } + if (preSignedUrls_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPreSignedUrls()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -5709,6 +5787,11 @@ public boolean equals(final java.lang.Object obj) { if (!getExpiresAt() .equals(other.getExpiresAt())) return false; } + if (hasPreSignedUrls() != other.hasPreSignedUrls()) return false; + if (hasPreSignedUrls()) { + if (!getPreSignedUrls() + .equals(other.getPreSignedUrls())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5728,6 +5811,10 @@ public int hashCode() { hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; hash = (53 * hash) + getExpiresAt().hashCode(); } + if (hasPreSignedUrls()) { + hash = (37 * hash) + PRE_SIGNED_URLS_FIELD_NUMBER; + hash = (53 * hash) + getPreSignedUrls().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -5873,6 +5960,12 @@ public Builder clear() { expiresAt_ = null; expiresAtBuilder_ = null; } + if (preSignedUrlsBuilder_ == null) { + preSignedUrls_ = null; + } else { + preSignedUrls_ = null; + preSignedUrlsBuilder_ = null; + } return this; } @@ -5911,6 +6004,11 @@ public flyteidl.service.Dataproxy.CreateDownloadLinkResponse buildPartial() { } else { result.expiresAt_ = expiresAtBuilder_.build(); } + if (preSignedUrlsBuilder_ == null) { + result.preSignedUrls_ = preSignedUrls_; + } else { + result.preSignedUrls_ = preSignedUrlsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -5973,6 +6071,9 @@ public Builder mergeFrom(flyteidl.service.Dataproxy.CreateDownloadLinkResponse o if (other.hasExpiresAt()) { mergeExpiresAt(other.getExpiresAt()); } + if (other.hasPreSignedUrls()) { + mergePreSignedUrls(other.getPreSignedUrls()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -6015,9 +6116,9 @@ private void ensureSignedUrlIsMutable() { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) *
* - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public com.google.protobuf.ProtocolStringList + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getSignedUrlList() { return signedUrl_.getUnmodifiableView(); } @@ -6026,9 +6127,9 @@ private void ensureSignedUrlIsMutable() { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public int getSignedUrlCount() { + @java.lang.Deprecated public int getSignedUrlCount() { return signedUrl_.size(); } /** @@ -6036,9 +6137,9 @@ public int getSignedUrlCount() { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public java.lang.String getSignedUrl(int index) { + @java.lang.Deprecated public java.lang.String getSignedUrl(int index) { return signedUrl_.get(index); } /** @@ -6046,9 +6147,9 @@ public java.lang.String getSignedUrl(int index) { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getSignedUrlBytes(int index) { return signedUrl_.getByteString(index); } @@ -6057,9 +6158,9 @@ public java.lang.String getSignedUrl(int index) { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public Builder setSignedUrl( + @java.lang.Deprecated public Builder setSignedUrl( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -6074,9 +6175,9 @@ public Builder setSignedUrl( * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public Builder addSignedUrl( + @java.lang.Deprecated public Builder addSignedUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -6091,9 +6192,9 @@ public Builder addSignedUrl( * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public Builder addAllSignedUrl( + @java.lang.Deprecated public Builder addAllSignedUrl( java.lang.Iterable values) { ensureSignedUrlIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -6106,9 +6207,9 @@ public Builder addAllSignedUrl( * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public Builder clearSignedUrl() { + @java.lang.Deprecated public Builder clearSignedUrl() { signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); @@ -6119,9 +6220,9 @@ public Builder clearSignedUrl() { * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) * * - * repeated string signed_url = 1; + * repeated string signed_url = 1 [deprecated = true]; */ - public Builder addSignedUrlBytes( + @java.lang.Deprecated public Builder addSignedUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -6141,9 +6242,9 @@ public Builder addSignedUrlBytes( * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public boolean hasExpiresAt() { + @java.lang.Deprecated public boolean hasExpiresAt() { return expiresAtBuilder_ != null || expiresAt_ != null; } /** @@ -6151,9 +6252,9 @@ public boolean hasExpiresAt() { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public com.google.protobuf.Timestamp getExpiresAt() { + @java.lang.Deprecated public com.google.protobuf.Timestamp getExpiresAt() { if (expiresAtBuilder_ == null) { return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; } else { @@ -6165,9 +6266,9 @@ public com.google.protobuf.Timestamp getExpiresAt() { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public Builder setExpiresAt(com.google.protobuf.Timestamp value) { + @java.lang.Deprecated public Builder setExpiresAt(com.google.protobuf.Timestamp value) { if (expiresAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6185,9 +6286,9 @@ public Builder setExpiresAt(com.google.protobuf.Timestamp value) { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public Builder setExpiresAt( + @java.lang.Deprecated public Builder setExpiresAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (expiresAtBuilder_ == null) { expiresAt_ = builderForValue.build(); @@ -6203,9 +6304,9 @@ public Builder setExpiresAt( * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { + @java.lang.Deprecated public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { if (expiresAtBuilder_ == null) { if (expiresAt_ != null) { expiresAt_ = @@ -6225,9 +6326,9 @@ public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public Builder clearExpiresAt() { + @java.lang.Deprecated public Builder clearExpiresAt() { if (expiresAtBuilder_ == null) { expiresAt_ = null; onChanged(); @@ -6243,9 +6344,9 @@ public Builder clearExpiresAt() { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { + @java.lang.Deprecated public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { onChanged(); return getExpiresAtFieldBuilder().getBuilder(); @@ -6255,9 +6356,9 @@ public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + @java.lang.Deprecated public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { if (expiresAtBuilder_ != null) { return expiresAtBuilder_.getMessageOrBuilder(); } else { @@ -6270,7 +6371,7 @@ public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { * ExpiresAt defines when will the signed URL expire. * * - * .google.protobuf.Timestamp expires_at = 2; + * .google.protobuf.Timestamp expires_at = 2 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -6285,6 +6386,159 @@ public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { } return expiresAtBuilder_; } + + private flyteidl.service.Dataproxy.PreSignedURLs preSignedUrls_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> preSignedUrlsBuilder_; + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public boolean hasPreSignedUrls() { + return preSignedUrlsBuilder_ != null || preSignedUrls_ != null; + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { + if (preSignedUrlsBuilder_ == null) { + return preSignedUrls_ == null ? flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; + } else { + return preSignedUrlsBuilder_.getMessage(); + } + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public Builder setPreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { + if (preSignedUrlsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + preSignedUrls_ = value; + onChanged(); + } else { + preSignedUrlsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public Builder setPreSignedUrls( + flyteidl.service.Dataproxy.PreSignedURLs.Builder builderForValue) { + if (preSignedUrlsBuilder_ == null) { + preSignedUrls_ = builderForValue.build(); + onChanged(); + } else { + preSignedUrlsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public Builder mergePreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { + if (preSignedUrlsBuilder_ == null) { + if (preSignedUrls_ != null) { + preSignedUrls_ = + flyteidl.service.Dataproxy.PreSignedURLs.newBuilder(preSignedUrls_).mergeFrom(value).buildPartial(); + } else { + preSignedUrls_ = value; + } + onChanged(); + } else { + preSignedUrlsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public Builder clearPreSignedUrls() { + if (preSignedUrlsBuilder_ == null) { + preSignedUrls_ = null; + onChanged(); + } else { + preSignedUrls_ = null; + preSignedUrlsBuilder_ = null; + } + + return this; + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public flyteidl.service.Dataproxy.PreSignedURLs.Builder getPreSignedUrlsBuilder() { + + onChanged(); + return getPreSignedUrlsFieldBuilder().getBuilder(); + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { + if (preSignedUrlsBuilder_ != null) { + return preSignedUrlsBuilder_.getMessageOrBuilder(); + } else { + return preSignedUrls_ == null ? + flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance() : preSignedUrls_; + } + } + /** + *
+       * New wrapper object containing the signed urls and expiration time
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> + getPreSignedUrlsFieldBuilder() { + if (preSignedUrlsBuilder_ == null) { + preSignedUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder>( + getPreSignedUrls(), + getParentForChildren(), + isClean()); + preSignedUrls_ = null; + } + return preSignedUrlsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6338,93 +6592,2709 @@ public flyteidl.service.Dataproxy.CreateDownloadLinkResponse getDefaultInstanceF } - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable; + public interface PreSignedURLsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.PreSignedURLs) + com.google.protobuf.MessageOrBuilder { - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n flyteidl/service/dataproxy.proto\022\020flyt" + - "eidl.service\032\034google/api/annotations.pro" + - "to\032\036google/protobuf/duration.proto\032\037goog" + - "le/protobuf/timestamp.proto\032\036flyteidl/co" + - "re/identifier.proto\"v\n\034CreateUploadLocat" + - "ionResponse\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnativ" + - "e_url\030\002 \001(\t\022.\n\nexpires_at\030\003 \001(\0132\032.google" + - ".protobuf.Timestamp\"\224\001\n\033CreateUploadLoca" + - "tionRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002" + - " \001(\t\022\020\n\010filename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001" + - "(\0132\031.google.protobuf.Duration\022\023\n\013content" + - "_md5\030\005 \001(\014\"f\n\035CreateDownloadLocationRequ" + - "est\022\022\n\nnative_url\030\001 \001(\t\022-\n\nexpires_in\030\002 " + - "\001(\0132\031.google.protobuf.Duration:\002\030\001\"h\n\036Cr" + - "eateDownloadLocationResponse\022\022\n\nsigned_u" + - "rl\030\001 \001(\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.pr" + - "otobuf.Timestamp:\002\030\001\"\320\001\n\031CreateDownloadL" + - "inkRequest\0225\n\rartifact_type\030\001 \001(\0162\036.flyt" + - "eidl.service.ArtifactType\022-\n\nexpires_in\030" + - "\002 \001(\0132\031.google.protobuf.Duration\022C\n\021node" + - "_execution_id\030\003 \001(\0132&.flyteidl.core.Node" + - "ExecutionIdentifierH\000B\010\n\006source\"`\n\032Creat" + - "eDownloadLinkResponse\022\022\n\nsigned_url\030\001 \003(" + - "\t\022.\n\nexpires_at\030\002 \001(\0132\032.google.protobuf." + - "Timestamp*C\n\014ArtifactType\022\033\n\027ARTIFACT_TY" + - "PE_UNDEFINED\020\000\022\026\n\022ARTIFACT_TYPE_DECK\020\0012\374" + - "\003\n\020DataProxyService\022\240\001\n\024CreateUploadLoca" + - "tion\022-.flyteidl.service.CreateUploadLoca" + - "tionRequest\032..flyteidl.service.CreateUpl" + - "oadLocationResponse\")\202\323\344\223\002#\"\036/api/v1/dat" + - "aproxy/artifact_urn:\001*\022\246\001\n\026CreateDownloa" + - "dLocation\022/.flyteidl.service.CreateDownl" + - "oadLocationRequest\0320.flyteidl.service.Cr" + - "eateDownloadLocationResponse\")\210\002\001\202\323\344\223\002 \022" + - "\036/api/v1/dataproxy/artifact_urn\022\233\001\n\022Crea" + - "teDownloadLink\022+.flyteidl.service.Create" + - "DownloadLinkRequest\032,.flyteidl.service.C" + - "reateDownloadLinkResponse\"*\202\323\344\223\002$\"\037/api/" + - "v1/dataproxy/artifact_link:\001*B9Z7github." + - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + - "/serviceb\006proto3" - }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + java.util.List + getSignedUrlList(); + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + int getSignedUrlCount(); + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + java.lang.String getSignedUrl(int index); + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + com.google.protobuf.ByteString + getSignedUrlBytes(int index); + + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + boolean hasExpiresAt(); + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + com.google.protobuf.Timestamp getExpiresAt(); + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); + } + /** + *
+   * Wrapper object since the message is shared across this and the GetDataResponse
+   * 
+ * + * Protobuf type {@code flyteidl.service.PreSignedURLs} + */ + public static final class PreSignedURLs extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.PreSignedURLs) + PreSignedURLsOrBuilder { + private static final long serialVersionUID = 0L; + // Use PreSignedURLs.newBuilder() to construct. + private PreSignedURLs(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PreSignedURLs() { + signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PreSignedURLs( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + signedUrl_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + signedUrl_.add(s); + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expiresAt_ != null) { + subBuilder = expiresAt_.toBuilder(); + } + expiresAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expiresAt_); + expiresAt_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + signedUrl_ = signedUrl_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.PreSignedURLs.class, flyteidl.service.Dataproxy.PreSignedURLs.Builder.class); + } + + private int bitField0_; + public static final int SIGNED_URL_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList signedUrl_; + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + public com.google.protobuf.ProtocolStringList + getSignedUrlList() { + return signedUrl_; + } + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + public int getSignedUrlCount() { + return signedUrl_.size(); + } + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + public java.lang.String getSignedUrl(int index) { + return signedUrl_.get(index); + } + /** + *
+     * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+     * 
+ * + * repeated string signed_url = 1; + */ + public com.google.protobuf.ByteString + getSignedUrlBytes(int index) { + return signedUrl_.getByteString(index); + } + + public static final int EXPIRES_AT_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp expiresAt_; + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public boolean hasExpiresAt() { + return expiresAt_ != null; + } + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public com.google.protobuf.Timestamp getExpiresAt() { + return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } + /** + *
+     * ExpiresAt defines when will the signed URL expire.
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + return getExpiresAt(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < signedUrl_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedUrl_.getRaw(i)); + } + if (expiresAt_ != null) { + output.writeMessage(2, getExpiresAt()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < signedUrl_.size(); i++) { + dataSize += computeStringSizeNoTag(signedUrl_.getRaw(i)); + } + size += dataSize; + size += 1 * getSignedUrlList().size(); + } + if (expiresAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExpiresAt()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.Dataproxy.PreSignedURLs)) { + return super.equals(obj); + } + flyteidl.service.Dataproxy.PreSignedURLs other = (flyteidl.service.Dataproxy.PreSignedURLs) obj; + + if (!getSignedUrlList() + .equals(other.getSignedUrlList())) return false; + if (hasExpiresAt() != other.hasExpiresAt()) return false; + if (hasExpiresAt()) { + if (!getExpiresAt() + .equals(other.getExpiresAt())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSignedUrlCount() > 0) { + hash = (37 * hash) + SIGNED_URL_FIELD_NUMBER; + hash = (53 * hash) + getSignedUrlList().hashCode(); + } + if (hasExpiresAt()) { + hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; + hash = (53 * hash) + getExpiresAt().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.PreSignedURLs parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.Dataproxy.PreSignedURLs prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Wrapper object since the message is shared across this and the GetDataResponse
+     * 
+ * + * Protobuf type {@code flyteidl.service.PreSignedURLs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.PreSignedURLs) + flyteidl.service.Dataproxy.PreSignedURLsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.PreSignedURLs.class, flyteidl.service.Dataproxy.PreSignedURLs.Builder.class); + } + + // Construct using flyteidl.service.Dataproxy.PreSignedURLs.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (expiresAtBuilder_ == null) { + expiresAt_ = null; + } else { + expiresAt_ = null; + expiresAtBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_PreSignedURLs_descriptor; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.PreSignedURLs getDefaultInstanceForType() { + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Dataproxy.PreSignedURLs build() { + flyteidl.service.Dataproxy.PreSignedURLs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.PreSignedURLs buildPartial() { + flyteidl.service.Dataproxy.PreSignedURLs result = new flyteidl.service.Dataproxy.PreSignedURLs(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((bitField0_ & 0x00000001) != 0)) { + signedUrl_ = signedUrl_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.signedUrl_ = signedUrl_; + if (expiresAtBuilder_ == null) { + result.expiresAt_ = expiresAt_; + } else { + result.expiresAt_ = expiresAtBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.Dataproxy.PreSignedURLs) { + return mergeFrom((flyteidl.service.Dataproxy.PreSignedURLs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Dataproxy.PreSignedURLs other) { + if (other == flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance()) return this; + if (!other.signedUrl_.isEmpty()) { + if (signedUrl_.isEmpty()) { + signedUrl_ = other.signedUrl_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSignedUrlIsMutable(); + signedUrl_.addAll(other.signedUrl_); + } + onChanged(); + } + if (other.hasExpiresAt()) { + mergeExpiresAt(other.getExpiresAt()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.Dataproxy.PreSignedURLs parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Dataproxy.PreSignedURLs) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSignedUrlIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + signedUrl_ = new com.google.protobuf.LazyStringArrayList(signedUrl_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public com.google.protobuf.ProtocolStringList + getSignedUrlList() { + return signedUrl_.getUnmodifiableView(); + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public int getSignedUrlCount() { + return signedUrl_.size(); + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public java.lang.String getSignedUrl(int index) { + return signedUrl_.get(index); + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public com.google.protobuf.ByteString + getSignedUrlBytes(int index) { + return signedUrl_.getByteString(index); + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public Builder setSignedUrl( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSignedUrlIsMutable(); + signedUrl_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public Builder addSignedUrl( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSignedUrlIsMutable(); + signedUrl_.add(value); + onChanged(); + return this; + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public Builder addAllSignedUrl( + java.lang.Iterable values) { + ensureSignedUrlIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, signedUrl_); + onChanged(); + return this; + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public Builder clearSignedUrl() { + signedUrl_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
+       * 
+ * + * repeated string signed_url = 1; + */ + public Builder addSignedUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSignedUrlIsMutable(); + signedUrl_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp expiresAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiresAtBuilder_; + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public boolean hasExpiresAt() { + return expiresAtBuilder_ != null || expiresAt_ != null; + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public com.google.protobuf.Timestamp getExpiresAt() { + if (expiresAtBuilder_ == null) { + return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } else { + return expiresAtBuilder_.getMessage(); + } + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public Builder setExpiresAt(com.google.protobuf.Timestamp value) { + if (expiresAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expiresAt_ = value; + onChanged(); + } else { + expiresAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public Builder setExpiresAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (expiresAtBuilder_ == null) { + expiresAt_ = builderForValue.build(); + onChanged(); + } else { + expiresAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { + if (expiresAtBuilder_ == null) { + if (expiresAt_ != null) { + expiresAt_ = + com.google.protobuf.Timestamp.newBuilder(expiresAt_).mergeFrom(value).buildPartial(); + } else { + expiresAt_ = value; + } + onChanged(); + } else { + expiresAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public Builder clearExpiresAt() { + if (expiresAtBuilder_ == null) { + expiresAt_ = null; + onChanged(); + } else { + expiresAt_ = null; + expiresAtBuilder_ = null; + } + + return this; + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { + + onChanged(); + return getExpiresAtFieldBuilder().getBuilder(); + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + if (expiresAtBuilder_ != null) { + return expiresAtBuilder_.getMessageOrBuilder(); + } else { + return expiresAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } + } + /** + *
+       * ExpiresAt defines when will the signed URL expire.
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getExpiresAtFieldBuilder() { + if (expiresAtBuilder_ == null) { + expiresAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpiresAt(), + getParentForChildren(), + isClean()); + expiresAt_ = null; + } + return expiresAtBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.PreSignedURLs) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.PreSignedURLs) + private static final flyteidl.service.Dataproxy.PreSignedURLs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.PreSignedURLs(); + } + + public static flyteidl.service.Dataproxy.PreSignedURLs getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PreSignedURLs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PreSignedURLs(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.PreSignedURLs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetDataRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.GetDataRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+     * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+     * 
+ * + * string flyte_url = 1; + */ + java.lang.String getFlyteUrl(); + /** + *
+     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+     * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+     * 
+ * + * string flyte_url = 1; + */ + com.google.protobuf.ByteString + getFlyteUrlBytes(); + } + /** + *
+   * General request artifact to retrieve data from a Flyte artifact url.
+   * 
+ * + * Protobuf type {@code flyteidl.service.GetDataRequest} + */ + public static final class GetDataRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.GetDataRequest) + GetDataRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetDataRequest.newBuilder() to construct. + private GetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetDataRequest() { + flyteUrl_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetDataRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + flyteUrl_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.GetDataRequest.class, flyteidl.service.Dataproxy.GetDataRequest.Builder.class); + } + + public static final int FLYTE_URL_FIELD_NUMBER = 1; + private volatile java.lang.Object flyteUrl_; + /** + *
+     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+     * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+     * 
+ * + * string flyte_url = 1; + */ + public java.lang.String getFlyteUrl() { + java.lang.Object ref = flyteUrl_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flyteUrl_ = s; + return s; + } + } + /** + *
+     * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+     * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+     * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+     *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+     * 
+ * + * string flyte_url = 1; + */ + public com.google.protobuf.ByteString + getFlyteUrlBytes() { + java.lang.Object ref = flyteUrl_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + flyteUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getFlyteUrlBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flyteUrl_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getFlyteUrlBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flyteUrl_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.Dataproxy.GetDataRequest)) { + return super.equals(obj); + } + flyteidl.service.Dataproxy.GetDataRequest other = (flyteidl.service.Dataproxy.GetDataRequest) obj; + + if (!getFlyteUrl() + .equals(other.getFlyteUrl())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FLYTE_URL_FIELD_NUMBER; + hash = (53 * hash) + getFlyteUrl().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.Dataproxy.GetDataRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * General request artifact to retrieve data from a Flyte artifact url.
+     * 
+ * + * Protobuf type {@code flyteidl.service.GetDataRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.GetDataRequest) + flyteidl.service.Dataproxy.GetDataRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.GetDataRequest.class, flyteidl.service.Dataproxy.GetDataRequest.Builder.class); + } + + // Construct using flyteidl.service.Dataproxy.GetDataRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + flyteUrl_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataRequest getDefaultInstanceForType() { + return flyteidl.service.Dataproxy.GetDataRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataRequest build() { + flyteidl.service.Dataproxy.GetDataRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataRequest buildPartial() { + flyteidl.service.Dataproxy.GetDataRequest result = new flyteidl.service.Dataproxy.GetDataRequest(this); + result.flyteUrl_ = flyteUrl_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.Dataproxy.GetDataRequest) { + return mergeFrom((flyteidl.service.Dataproxy.GetDataRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataRequest other) { + if (other == flyteidl.service.Dataproxy.GetDataRequest.getDefaultInstance()) return this; + if (!other.getFlyteUrl().isEmpty()) { + flyteUrl_ = other.flyteUrl_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.Dataproxy.GetDataRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Dataproxy.GetDataRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object flyteUrl_ = ""; + /** + *
+       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+       * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+       * 
+ * + * string flyte_url = 1; + */ + public java.lang.String getFlyteUrl() { + java.lang.Object ref = flyteUrl_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + flyteUrl_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+       * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+       * 
+ * + * string flyte_url = 1; + */ + public com.google.protobuf.ByteString + getFlyteUrlBytes() { + java.lang.Object ref = flyteUrl_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + flyteUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+       * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+       * 
+ * + * string flyte_url = 1; + */ + public Builder setFlyteUrl( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + flyteUrl_ = value; + onChanged(); + return this; + } + /** + *
+       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+       * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+       * 
+ * + * string flyte_url = 1; + */ + public Builder clearFlyteUrl() { + + flyteUrl_ = getDefaultInstance().getFlyteUrl(); + onChanged(); + return this; + } + /** + *
+       * A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
+       * backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
+       * e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
+       *      flyte://v1/proj/development/execid/n2/i (for node execution input)
+       * 
+ * + * string flyte_url = 1; + */ + public Builder setFlyteUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + flyteUrl_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.GetDataRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) + private static final flyteidl.service.Dataproxy.GetDataRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.GetDataRequest(); + } + + public static flyteidl.service.Dataproxy.GetDataRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDataRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetDataResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.GetDataResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + boolean hasLiteralMap(); + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + flyteidl.core.Literals.LiteralMap getLiteralMap(); + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder(); + + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + boolean hasPreSignedUrls(); + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls(); + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder(); + + public flyteidl.service.Dataproxy.GetDataResponse.DataCase getDataCase(); + } + /** + * Protobuf type {@code flyteidl.service.GetDataResponse} + */ + public static final class GetDataResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.GetDataResponse) + GetDataResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetDataResponse.newBuilder() to construct. + private GetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetDataResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetDataResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (dataCase_ == 1) { + subBuilder = ((flyteidl.core.Literals.LiteralMap) data_).toBuilder(); + } + data_ = + input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.Literals.LiteralMap) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 1; + break; + } + case 18: { + flyteidl.service.Dataproxy.PreSignedURLs.Builder subBuilder = null; + if (dataCase_ == 2) { + subBuilder = ((flyteidl.service.Dataproxy.PreSignedURLs) data_).toBuilder(); + } + data_ = + input.readMessage(flyteidl.service.Dataproxy.PreSignedURLs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.service.Dataproxy.PreSignedURLs) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.GetDataResponse.class, flyteidl.service.Dataproxy.GetDataResponse.Builder.class); + } + + private int dataCase_ = 0; + private java.lang.Object data_; + public enum DataCase + implements com.google.protobuf.Internal.EnumLite { + LITERAL_MAP(1), + PRE_SIGNED_URLS(2), + DATA_NOT_SET(0); + private final int value; + private DataCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DataCase valueOf(int value) { + return forNumber(value); + } + + public static DataCase forNumber(int value) { + switch (value) { + case 1: return LITERAL_MAP; + case 2: return PRE_SIGNED_URLS; + case 0: return DATA_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); + } + + public static final int LITERAL_MAP_FIELD_NUMBER = 1; + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public boolean hasLiteralMap() { + return dataCase_ == 1; + } + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public flyteidl.core.Literals.LiteralMap getLiteralMap() { + if (dataCase_ == 1) { + return (flyteidl.core.Literals.LiteralMap) data_; + } + return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } + /** + *
+     * literal map data will be returned
+     * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder() { + if (dataCase_ == 1) { + return (flyteidl.core.Literals.LiteralMap) data_; + } + return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } + + public static final int PRE_SIGNED_URLS_FIELD_NUMBER = 2; + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public boolean hasPreSignedUrls() { + return dataCase_ == 2; + } + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { + if (dataCase_ == 2) { + return (flyteidl.service.Dataproxy.PreSignedURLs) data_; + } + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + /** + *
+     * Flyte deck html will be returned as a signed url users can download
+     * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { + if (dataCase_ == 2) { + return (flyteidl.service.Dataproxy.PreSignedURLs) data_; + } + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (dataCase_ == 1) { + output.writeMessage(1, (flyteidl.core.Literals.LiteralMap) data_); + } + if (dataCase_ == 2) { + output.writeMessage(2, (flyteidl.service.Dataproxy.PreSignedURLs) data_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (dataCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.core.Literals.LiteralMap) data_); + } + if (dataCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.service.Dataproxy.PreSignedURLs) data_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.Dataproxy.GetDataResponse)) { + return super.equals(obj); + } + flyteidl.service.Dataproxy.GetDataResponse other = (flyteidl.service.Dataproxy.GetDataResponse) obj; + + if (!getDataCase().equals(other.getDataCase())) return false; + switch (dataCase_) { + case 1: + if (!getLiteralMap() + .equals(other.getLiteralMap())) return false; + break; + case 2: + if (!getPreSignedUrls() + .equals(other.getPreSignedUrls())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (dataCase_) { + case 1: + hash = (37 * hash) + LITERAL_MAP_FIELD_NUMBER; + hash = (53 * hash) + getLiteralMap().hashCode(); + break; + case 2: + hash = (37 * hash) + PRE_SIGNED_URLS_FIELD_NUMBER; + hash = (53 * hash) + getPreSignedUrls().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Dataproxy.GetDataResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.Dataproxy.GetDataResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code flyteidl.service.GetDataResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.GetDataResponse) + flyteidl.service.Dataproxy.GetDataResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Dataproxy.GetDataResponse.class, flyteidl.service.Dataproxy.GetDataResponse.Builder.class); + } + + // Construct using flyteidl.service.Dataproxy.GetDataResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + dataCase_ = 0; + data_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Dataproxy.internal_static_flyteidl_service_GetDataResponse_descriptor; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataResponse getDefaultInstanceForType() { + return flyteidl.service.Dataproxy.GetDataResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataResponse build() { + flyteidl.service.Dataproxy.GetDataResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataResponse buildPartial() { + flyteidl.service.Dataproxy.GetDataResponse result = new flyteidl.service.Dataproxy.GetDataResponse(this); + if (dataCase_ == 1) { + if (literalMapBuilder_ == null) { + result.data_ = data_; + } else { + result.data_ = literalMapBuilder_.build(); + } + } + if (dataCase_ == 2) { + if (preSignedUrlsBuilder_ == null) { + result.data_ = data_; + } else { + result.data_ = preSignedUrlsBuilder_.build(); + } + } + result.dataCase_ = dataCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.Dataproxy.GetDataResponse) { + return mergeFrom((flyteidl.service.Dataproxy.GetDataResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Dataproxy.GetDataResponse other) { + if (other == flyteidl.service.Dataproxy.GetDataResponse.getDefaultInstance()) return this; + switch (other.getDataCase()) { + case LITERAL_MAP: { + mergeLiteralMap(other.getLiteralMap()); + break; + } + case PRE_SIGNED_URLS: { + mergePreSignedUrls(other.getPreSignedUrls()); + break; + } + case DATA_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.Dataproxy.GetDataResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Dataproxy.GetDataResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int dataCase_ = 0; + private java.lang.Object data_; + public DataCase + getDataCase() { + return DataCase.forNumber( + dataCase_); + } + + public Builder clearData() { + dataCase_ = 0; + data_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> literalMapBuilder_; + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public boolean hasLiteralMap() { + return dataCase_ == 1; + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public flyteidl.core.Literals.LiteralMap getLiteralMap() { + if (literalMapBuilder_ == null) { + if (dataCase_ == 1) { + return (flyteidl.core.Literals.LiteralMap) data_; + } + return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } else { + if (dataCase_ == 1) { + return literalMapBuilder_.getMessage(); + } + return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public Builder setLiteralMap(flyteidl.core.Literals.LiteralMap value) { + if (literalMapBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + data_ = value; + onChanged(); + } else { + literalMapBuilder_.setMessage(value); + } + dataCase_ = 1; + return this; + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public Builder setLiteralMap( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (literalMapBuilder_ == null) { + data_ = builderForValue.build(); + onChanged(); + } else { + literalMapBuilder_.setMessage(builderForValue.build()); + } + dataCase_ = 1; + return this; + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public Builder mergeLiteralMap(flyteidl.core.Literals.LiteralMap value) { + if (literalMapBuilder_ == null) { + if (dataCase_ == 1 && + data_ != flyteidl.core.Literals.LiteralMap.getDefaultInstance()) { + data_ = flyteidl.core.Literals.LiteralMap.newBuilder((flyteidl.core.Literals.LiteralMap) data_) + .mergeFrom(value).buildPartial(); + } else { + data_ = value; + } + onChanged(); + } else { + if (dataCase_ == 1) { + literalMapBuilder_.mergeFrom(value); + } + literalMapBuilder_.setMessage(value); + } + dataCase_ = 1; + return this; + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public Builder clearLiteralMap() { + if (literalMapBuilder_ == null) { + if (dataCase_ == 1) { + dataCase_ = 0; + data_ = null; + onChanged(); + } + } else { + if (dataCase_ == 1) { + dataCase_ = 0; + data_ = null; + } + literalMapBuilder_.clear(); + } + return this; + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public flyteidl.core.Literals.LiteralMap.Builder getLiteralMapBuilder() { + return getLiteralMapFieldBuilder().getBuilder(); + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getLiteralMapOrBuilder() { + if ((dataCase_ == 1) && (literalMapBuilder_ != null)) { + return literalMapBuilder_.getMessageOrBuilder(); + } else { + if (dataCase_ == 1) { + return (flyteidl.core.Literals.LiteralMap) data_; + } + return flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } + } + /** + *
+       * literal map data will be returned
+       * 
+ * + * .flyteidl.core.LiteralMap literal_map = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getLiteralMapFieldBuilder() { + if (literalMapBuilder_ == null) { + if (!(dataCase_ == 1)) { + data_ = flyteidl.core.Literals.LiteralMap.getDefaultInstance(); + } + literalMapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + (flyteidl.core.Literals.LiteralMap) data_, + getParentForChildren(), + isClean()); + data_ = null; + } + dataCase_ = 1; + onChanged();; + return literalMapBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> preSignedUrlsBuilder_; + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public boolean hasPreSignedUrls() { + return dataCase_ == 2; + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public flyteidl.service.Dataproxy.PreSignedURLs getPreSignedUrls() { + if (preSignedUrlsBuilder_ == null) { + if (dataCase_ == 2) { + return (flyteidl.service.Dataproxy.PreSignedURLs) data_; + } + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } else { + if (dataCase_ == 2) { + return preSignedUrlsBuilder_.getMessage(); + } + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public Builder setPreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { + if (preSignedUrlsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + data_ = value; + onChanged(); + } else { + preSignedUrlsBuilder_.setMessage(value); + } + dataCase_ = 2; + return this; + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public Builder setPreSignedUrls( + flyteidl.service.Dataproxy.PreSignedURLs.Builder builderForValue) { + if (preSignedUrlsBuilder_ == null) { + data_ = builderForValue.build(); + onChanged(); + } else { + preSignedUrlsBuilder_.setMessage(builderForValue.build()); + } + dataCase_ = 2; + return this; + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public Builder mergePreSignedUrls(flyteidl.service.Dataproxy.PreSignedURLs value) { + if (preSignedUrlsBuilder_ == null) { + if (dataCase_ == 2 && + data_ != flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance()) { + data_ = flyteidl.service.Dataproxy.PreSignedURLs.newBuilder((flyteidl.service.Dataproxy.PreSignedURLs) data_) + .mergeFrom(value).buildPartial(); + } else { + data_ = value; + } + onChanged(); + } else { + if (dataCase_ == 2) { + preSignedUrlsBuilder_.mergeFrom(value); + } + preSignedUrlsBuilder_.setMessage(value); + } + dataCase_ = 2; + return this; + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public Builder clearPreSignedUrls() { + if (preSignedUrlsBuilder_ == null) { + if (dataCase_ == 2) { + dataCase_ = 0; + data_ = null; + onChanged(); + } + } else { + if (dataCase_ == 2) { + dataCase_ = 0; + data_ = null; + } + preSignedUrlsBuilder_.clear(); + } + return this; + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public flyteidl.service.Dataproxy.PreSignedURLs.Builder getPreSignedUrlsBuilder() { + return getPreSignedUrlsFieldBuilder().getBuilder(); + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + public flyteidl.service.Dataproxy.PreSignedURLsOrBuilder getPreSignedUrlsOrBuilder() { + if ((dataCase_ == 2) && (preSignedUrlsBuilder_ != null)) { + return preSignedUrlsBuilder_.getMessageOrBuilder(); + } else { + if (dataCase_ == 2) { + return (flyteidl.service.Dataproxy.PreSignedURLs) data_; + } + return flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + } + /** + *
+       * Flyte deck html will be returned as a signed url users can download
+       * 
+ * + * .flyteidl.service.PreSignedURLs pre_signed_urls = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder> + getPreSignedUrlsFieldBuilder() { + if (preSignedUrlsBuilder_ == null) { + if (!(dataCase_ == 2)) { + data_ = flyteidl.service.Dataproxy.PreSignedURLs.getDefaultInstance(); + } + preSignedUrlsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.service.Dataproxy.PreSignedURLs, flyteidl.service.Dataproxy.PreSignedURLs.Builder, flyteidl.service.Dataproxy.PreSignedURLsOrBuilder>( + (flyteidl.service.Dataproxy.PreSignedURLs) data_, + getParentForChildren(), + isClean()); + data_ = null; + } + dataCase_ = 2; + onChanged();; + return preSignedUrlsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.GetDataResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) + private static final flyteidl.service.Dataproxy.GetDataResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Dataproxy.GetDataResponse(); + } + + public static flyteidl.service.Dataproxy.GetDataResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDataResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.Dataproxy.GetDataResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateUploadLocationResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateUploadLocationRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateUploadLocationRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateDownloadLocationRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateDownloadLocationRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateDownloadLocationResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateDownloadLocationResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateDownloadLinkRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateDownloadLinkRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_PreSignedURLs_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_GetDataRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_GetDataResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n flyteidl/service/dataproxy.proto\022\020flyt" + + "eidl.service\032\034google/api/annotations.pro" + + "to\032\036google/protobuf/duration.proto\032\037goog" + + "le/protobuf/timestamp.proto\032\036flyteidl/co" + + "re/identifier.proto\032\034flyteidl/core/liter" + + "als.proto\"v\n\034CreateUploadLocationRespons" + + "e\022\022\n\nsigned_url\030\001 \001(\t\022\022\n\nnative_url\030\002 \001(" + + "\t\022.\n\nexpires_at\030\003 \001(\0132\032.google.protobuf." + + "Timestamp\"\224\001\n\033CreateUploadLocationReques" + + "t\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010fi" + + "lename\030\003 \001(\t\022-\n\nexpires_in\030\004 \001(\0132\031.googl" + + "e.protobuf.Duration\022\023\n\013content_md5\030\005 \001(\014" + + "\"f\n\035CreateDownloadLocationRequest\022\022\n\nnat" + + "ive_url\030\001 \001(\t\022-\n\nexpires_in\030\002 \001(\0132\031.goog" + + "le.protobuf.Duration:\002\030\001\"h\n\036CreateDownlo" + + "adLocationResponse\022\022\n\nsigned_url\030\001 \001(\t\022." + + "\n\nexpires_at\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp:\002\030\001\"\320\001\n\031CreateDownloadLinkRequest" + + "\0225\n\rartifact_type\030\001 \001(\0162\036.flyteidl.servi" + + "ce.ArtifactType\022-\n\nexpires_in\030\002 \001(\0132\031.go" + + "ogle.protobuf.Duration\022C\n\021node_execution" + + "_id\030\003 \001(\0132&.flyteidl.core.NodeExecutionI" + + "dentifierH\000B\010\n\006source\"\242\001\n\032CreateDownload" + + "LinkResponse\022\026\n\nsigned_url\030\001 \003(\tB\002\030\001\0222\n\n" + + "expires_at\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\002\030\001\0228\n\017pre_signed_urls\030\003 \001(\0132\037.flyt" + + "eidl.service.PreSignedURLs\"S\n\rPreSignedU" + + "RLs\022\022\n\nsigned_url\030\001 \003(\t\022.\n\nexpires_at\030\002 " + + "\001(\0132\032.google.protobuf.Timestamp\"#\n\016GetDa" + + "taRequest\022\021\n\tflyte_url\030\001 \001(\t\"\207\001\n\017GetData" + + "Response\0220\n\013literal_map\030\001 \001(\0132\031.flyteidl" + + ".core.LiteralMapH\000\022:\n\017pre_signed_urls\030\002 " + + "\001(\0132\037.flyteidl.service.PreSignedURLsH\000B\006" + + "\n\004data*C\n\014ArtifactType\022\033\n\027ARTIFACT_TYPE_" + + "UNDEFINED\020\000\022\026\n\022ARTIFACT_TYPE_DECK\020\0012\342\004\n\020" + + "DataProxyService\022\240\001\n\024CreateUploadLocatio" + + "n\022-.flyteidl.service.CreateUploadLocatio" + + "nRequest\032..flyteidl.service.CreateUpload" + + "LocationResponse\")\202\323\344\223\002#\"\036/api/v1/datapr" + + "oxy/artifact_urn:\001*\022\246\001\n\026CreateDownloadLo" + + "cation\022/.flyteidl.service.CreateDownload" + + "LocationRequest\0320.flyteidl.service.Creat" + + "eDownloadLocationResponse\")\210\002\001\202\323\344\223\002 \022\036/a" + + "pi/v1/dataproxy/artifact_urn\022\233\001\n\022CreateD" + + "ownloadLink\022+.flyteidl.service.CreateDow" + + "nloadLinkRequest\032,.flyteidl.service.Crea" + + "teDownloadLinkResponse\"*\202\323\344\223\002$\"\037/api/v1/" + + "dataproxy/artifact_link:\001*\022d\n\007GetData\022 ." + + "flyteidl.service.GetDataRequest\032!.flytei" + + "dl.service.GetDataResponse\"\024\202\323\344\223\002\016\022\014/api" + + "/v1/dataB9Z7github.com/flyteorg/flyteidl" + + "/gen/pb-go/flyteidl/serviceb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; } }; com.google.protobuf.Descriptors.FileDescriptor @@ -6434,6 +9304,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), + flyteidl.core.Literals.getDescriptor(), }, assigner); internal_static_flyteidl_service_CreateUploadLocationResponse_descriptor = getDescriptor().getMessageTypes().get(0); @@ -6470,7 +9341,25 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_service_CreateDownloadLinkResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_service_CreateDownloadLinkResponse_descriptor, + new java.lang.String[] { "SignedUrl", "ExpiresAt", "PreSignedUrls", }); + internal_static_flyteidl_service_PreSignedURLs_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_flyteidl_service_PreSignedURLs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_PreSignedURLs_descriptor, new java.lang.String[] { "SignedUrl", "ExpiresAt", }); + internal_static_flyteidl_service_GetDataRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_flyteidl_service_GetDataRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_GetDataRequest_descriptor, + new java.lang.String[] { "FlyteUrl", }); + internal_static_flyteidl_service_GetDataResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_flyteidl_service_GetDataResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_GetDataResponse_descriptor, + new java.lang.String[] { "LiteralMap", "PreSignedUrls", "Data", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.AnnotationsProto.http); @@ -6480,6 +9369,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); + flyteidl.core.Literals.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java b/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java new file mode 100644 index 000000000..a1131d753 --- /dev/null +++ b/gen/pb-java/flyteidl/service/ExternalPluginServiceOuterClass.java @@ -0,0 +1,4742 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/external_plugin_service.proto + +package flyteidl.service; + +public final class ExternalPluginServiceOuterClass { + private ExternalPluginServiceOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + *
+   * The state of the execution is used to control its visibility in the UI/CLI.
+   * 
+ * + * Protobuf enum {@code flyteidl.service.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * RETRYABLE_FAILURE = 0; + */ + RETRYABLE_FAILURE(0), + /** + * PERMANENT_FAILURE = 1; + */ + PERMANENT_FAILURE(1), + /** + * PENDING = 2; + */ + PENDING(2), + /** + * RUNNING = 3; + */ + RUNNING(3), + /** + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + UNRECOGNIZED(-1), + ; + + /** + * RETRYABLE_FAILURE = 0; + */ + public static final int RETRYABLE_FAILURE_VALUE = 0; + /** + * PERMANENT_FAILURE = 1; + */ + public static final int PERMANENT_FAILURE_VALUE = 1; + /** + * PENDING = 2; + */ + public static final int PENDING_VALUE = 2; + /** + * RUNNING = 3; + */ + public static final int RUNNING_VALUE = 3; + /** + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + public static State forNumber(int value) { + switch (value) { + case 0: return RETRYABLE_FAILURE; + case 1: return PERMANENT_FAILURE; + case 2: return PENDING; + case 3: return RUNNING; + case 4: return SUCCEEDED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:flyteidl.service.State) + } + + public interface TaskCreateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskCreateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + boolean hasInputs(); + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + flyteidl.core.Literals.LiteralMap getInputs(); + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder(); + + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + boolean hasTemplate(); + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + flyteidl.core.Tasks.TaskTemplate getTemplate(); + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder(); + + /** + *
+     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+     * 
+ * + * string output_prefix = 3; + */ + java.lang.String getOutputPrefix(); + /** + *
+     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+     * 
+ * + * string output_prefix = 3; + */ + com.google.protobuf.ByteString + getOutputPrefixBytes(); + } + /** + *
+   * Represents a request structure to create task.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskCreateRequest} + */ + public static final class TaskCreateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskCreateRequest) + TaskCreateRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskCreateRequest.newBuilder() to construct. + private TaskCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskCreateRequest() { + outputPrefix_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskCreateRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (inputs_ != null) { + subBuilder = inputs_.toBuilder(); + } + inputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputs_); + inputs_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Tasks.TaskTemplate.Builder subBuilder = null; + if (template_ != null) { + subBuilder = template_.toBuilder(); + } + template_ = input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(template_); + template_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + outputPrefix_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.Builder.class); + } + + public static final int INPUTS_FIELD_NUMBER = 1; + private flyteidl.core.Literals.LiteralMap inputs_; + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public boolean hasInputs() { + return inputs_ != null; + } + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public flyteidl.core.Literals.LiteralMap getInputs() { + return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; + } + /** + *
+     * The inputs required to start the execution. All required inputs must be
+     * included in this map. If not required and not provided, defaults apply.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { + return getInputs(); + } + + public static final int TEMPLATE_FIELD_NUMBER = 2; + private flyteidl.core.Tasks.TaskTemplate template_; + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public boolean hasTemplate() { + return template_ != null; + } + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public flyteidl.core.Tasks.TaskTemplate getTemplate() { + return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; + } + /** + *
+     * Template of the task that encapsulates all the metadata of the task.
+     * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { + return getTemplate(); + } + + public static final int OUTPUT_PREFIX_FIELD_NUMBER = 3; + private volatile java.lang.Object outputPrefix_; + /** + *
+     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+     * 
+ * + * string output_prefix = 3; + */ + public java.lang.String getOutputPrefix() { + java.lang.Object ref = outputPrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputPrefix_ = s; + return s; + } + } + /** + *
+     * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+     * 
+ * + * string output_prefix = 3; + */ + public com.google.protobuf.ByteString + getOutputPrefixBytes() { + java.lang.Object ref = outputPrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + outputPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (inputs_ != null) { + output.writeMessage(1, getInputs()); + } + if (template_ != null) { + output.writeMessage(2, getTemplate()); + } + if (!getOutputPrefixBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outputPrefix_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (inputs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInputs()); + } + if (template_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTemplate()); + } + if (!getOutputPrefixBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputPrefix_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest) obj; + + if (hasInputs() != other.hasInputs()) return false; + if (hasInputs()) { + if (!getInputs() + .equals(other.getInputs())) return false; + } + if (hasTemplate() != other.hasTemplate()) return false; + if (hasTemplate()) { + if (!getTemplate() + .equals(other.getTemplate())) return false; + } + if (!getOutputPrefix() + .equals(other.getOutputPrefix())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasInputs()) { + hash = (37 * hash) + INPUTS_FIELD_NUMBER; + hash = (53 * hash) + getInputs().hashCode(); + } + if (hasTemplate()) { + hash = (37 * hash) + TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getTemplate().hashCode(); + } + hash = (37 * hash) + OUTPUT_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getOutputPrefix().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a request structure to create task.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskCreateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskCreateRequest) + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (inputsBuilder_ == null) { + inputs_ = null; + } else { + inputs_ = null; + inputsBuilder_ = null; + } + if (templateBuilder_ == null) { + template_ = null; + } else { + template_ = null; + templateBuilder_ = null; + } + outputPrefix_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest(this); + if (inputsBuilder_ == null) { + result.inputs_ = inputs_; + } else { + result.inputs_ = inputsBuilder_.build(); + } + if (templateBuilder_ == null) { + result.template_ = template_; + } else { + result.template_ = templateBuilder_.build(); + } + result.outputPrefix_ = outputPrefix_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest.getDefaultInstance()) return this; + if (other.hasInputs()) { + mergeInputs(other.getInputs()); + } + if (other.hasTemplate()) { + mergeTemplate(other.getTemplate()); + } + if (!other.getOutputPrefix().isEmpty()) { + outputPrefix_ = other.outputPrefix_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.Literals.LiteralMap inputs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputsBuilder_; + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public boolean hasInputs() { + return inputsBuilder_ != null || inputs_ != null; + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public flyteidl.core.Literals.LiteralMap getInputs() { + if (inputsBuilder_ == null) { + return inputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; + } else { + return inputsBuilder_.getMessage(); + } + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public Builder setInputs(flyteidl.core.Literals.LiteralMap value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputs_ = value; + onChanged(); + } else { + inputsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public Builder setInputs( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (inputsBuilder_ == null) { + inputs_ = builderForValue.build(); + onChanged(); + } else { + inputsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public Builder mergeInputs(flyteidl.core.Literals.LiteralMap value) { + if (inputsBuilder_ == null) { + if (inputs_ != null) { + inputs_ = + flyteidl.core.Literals.LiteralMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); + } else { + inputs_ = value; + } + onChanged(); + } else { + inputsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public Builder clearInputs() { + if (inputsBuilder_ == null) { + inputs_ = null; + onChanged(); + } else { + inputs_ = null; + inputsBuilder_ = null; + } + + return this; + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public flyteidl.core.Literals.LiteralMap.Builder getInputsBuilder() { + + onChanged(); + return getInputsFieldBuilder().getBuilder(); + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputsOrBuilder() { + if (inputsBuilder_ != null) { + return inputsBuilder_.getMessageOrBuilder(); + } else { + return inputs_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputs_; + } + } + /** + *
+       * The inputs required to start the execution. All required inputs must be
+       * included in this map. If not required and not provided, defaults apply.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap inputs = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getInputsFieldBuilder() { + if (inputsBuilder_ == null) { + inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getInputs(), + getParentForChildren(), + isClean()); + inputs_ = null; + } + return inputsBuilder_; + } + + private flyteidl.core.Tasks.TaskTemplate template_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> templateBuilder_; + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public boolean hasTemplate() { + return templateBuilder_ != null || template_ != null; + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public flyteidl.core.Tasks.TaskTemplate getTemplate() { + if (templateBuilder_ == null) { + return template_ == null ? flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; + } else { + return templateBuilder_.getMessage(); + } + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public Builder setTemplate(flyteidl.core.Tasks.TaskTemplate value) { + if (templateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + template_ = value; + onChanged(); + } else { + templateBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public Builder setTemplate( + flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) { + if (templateBuilder_ == null) { + template_ = builderForValue.build(); + onChanged(); + } else { + templateBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public Builder mergeTemplate(flyteidl.core.Tasks.TaskTemplate value) { + if (templateBuilder_ == null) { + if (template_ != null) { + template_ = + flyteidl.core.Tasks.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); + } else { + template_ = value; + } + onChanged(); + } else { + templateBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public Builder clearTemplate() { + if (templateBuilder_ == null) { + template_ = null; + onChanged(); + } else { + template_ = null; + templateBuilder_ = null; + } + + return this; + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public flyteidl.core.Tasks.TaskTemplate.Builder getTemplateBuilder() { + + onChanged(); + return getTemplateFieldBuilder().getBuilder(); + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + public flyteidl.core.Tasks.TaskTemplateOrBuilder getTemplateOrBuilder() { + if (templateBuilder_ != null) { + return templateBuilder_.getMessageOrBuilder(); + } else { + return template_ == null ? + flyteidl.core.Tasks.TaskTemplate.getDefaultInstance() : template_; + } + } + /** + *
+       * Template of the task that encapsulates all the metadata of the task.
+       * 
+ * + * .flyteidl.core.TaskTemplate template = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> + getTemplateFieldBuilder() { + if (templateBuilder_ == null) { + templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>( + getTemplate(), + getParentForChildren(), + isClean()); + template_ = null; + } + return templateBuilder_; + } + + private java.lang.Object outputPrefix_ = ""; + /** + *
+       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+       * 
+ * + * string output_prefix = 3; + */ + public java.lang.String getOutputPrefix() { + java.lang.Object ref = outputPrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputPrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+       * 
+ * + * string output_prefix = 3; + */ + public com.google.protobuf.ByteString + getOutputPrefixBytes() { + java.lang.Object ref = outputPrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + outputPrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+       * 
+ * + * string output_prefix = 3; + */ + public Builder setOutputPrefix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + outputPrefix_ = value; + onChanged(); + return this; + } + /** + *
+       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+       * 
+ * + * string output_prefix = 3; + */ + public Builder clearOutputPrefix() { + + outputPrefix_ = getDefaultInstance().getOutputPrefix(); + onChanged(); + return this; + } + /** + *
+       * Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring)
+       * 
+ * + * string output_prefix = 3; + */ + public Builder setOutputPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + outputPrefix_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskCreateRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateRequest) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskCreateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskCreateRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskCreateResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskCreateResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string job_id = 1; + */ + java.lang.String getJobId(); + /** + * string job_id = 1; + */ + com.google.protobuf.ByteString + getJobIdBytes(); + } + /** + *
+   * Represents a create response structure.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskCreateResponse} + */ + public static final class TaskCreateResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskCreateResponse) + TaskCreateResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskCreateResponse.newBuilder() to construct. + private TaskCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskCreateResponse() { + jobId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskCreateResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + jobId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.Builder.class); + } + + public static final int JOB_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object jobId_; + /** + * string job_id = 1; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } + } + /** + * string job_id = 1; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getJobIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, jobId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getJobIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, jobId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse) obj; + + if (!getJobId() + .equals(other.getJobId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getJobId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a create response structure.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskCreateResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskCreateResponse) + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + jobId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskCreateResponse_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse(this); + result.jobId_ = jobId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse.getDefaultInstance()) return this; + if (!other.getJobId().isEmpty()) { + jobId_ = other.jobId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object jobId_ = ""; + /** + * string job_id = 1; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string job_id = 1; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string job_id = 1; + */ + public Builder setJobId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + jobId_ = value; + onChanged(); + return this; + } + /** + * string job_id = 1; + */ + public Builder clearJobId() { + + jobId_ = getDefaultInstance().getJobId(); + onChanged(); + return this; + } + /** + * string job_id = 1; + */ + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + jobId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskCreateResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateResponse) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskCreateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskCreateResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskCreateResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskGetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskGetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + java.lang.String getTaskType(); + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + com.google.protobuf.ByteString + getTaskTypeBytes(); + + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + java.lang.String getJobId(); + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + com.google.protobuf.ByteString + getJobIdBytes(); + } + /** + *
+   * A message used to fetch a job state from backend plugin server.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskGetRequest} + */ + public static final class TaskGetRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskGetRequest) + TaskGetRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskGetRequest.newBuilder() to construct. + private TaskGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskGetRequest() { + taskType_ = ""; + jobId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskGetRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + taskType_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + jobId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.Builder.class); + } + + public static final int TASK_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object taskType_; + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + public java.lang.String getTaskType() { + java.lang.Object ref = taskType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskType_ = s; + return s; + } + } + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + public com.google.protobuf.ByteString + getTaskTypeBytes() { + java.lang.Object ref = taskType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JOB_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object jobId_; + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } + } + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getTaskTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); + } + if (!getJobIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getTaskTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); + } + if (!getJobIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest) obj; + + if (!getTaskType() + .equals(other.getTaskType())) return false; + if (!getJobId() + .equals(other.getJobId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getTaskType().hashCode(); + hash = (37 * hash) + JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getJobId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * A message used to fetch a job state from backend plugin server.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskGetRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskGetRequest) + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + taskType_ = ""; + + jobId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest(this); + result.taskType_ = taskType_; + result.jobId_ = jobId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest.getDefaultInstance()) return this; + if (!other.getTaskType().isEmpty()) { + taskType_ = other.taskType_; + onChanged(); + } + if (!other.getJobId().isEmpty()) { + jobId_ = other.jobId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object taskType_ = ""; + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public java.lang.String getTaskType() { + java.lang.Object ref = taskType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public com.google.protobuf.ByteString + getTaskTypeBytes() { + java.lang.Object ref = taskType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder setTaskType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + taskType_ = value; + onChanged(); + return this; + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder clearTaskType() { + + taskType_ = getDefaultInstance().getTaskType(); + onChanged(); + return this; + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder setTaskTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + taskType_ = value; + onChanged(); + return this; + } + + private java.lang.Object jobId_ = ""; + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder setJobId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + jobId_ = value; + onChanged(); + return this; + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder clearJobId() { + + jobId_ = getDefaultInstance().getJobId(); + onChanged(); + return this; + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + jobId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskGetRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetRequest) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskGetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskGetRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskGetResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskGetResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The state of the execution is used to control its visibility in the UI/CLI.
+     * 
+ * + * .flyteidl.service.State state = 1; + */ + int getStateValue(); + /** + *
+     * The state of the execution is used to control its visibility in the UI/CLI.
+     * 
+ * + * .flyteidl.service.State state = 1; + */ + flyteidl.service.ExternalPluginServiceOuterClass.State getState(); + + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + boolean hasOutputs(); + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + flyteidl.core.Literals.LiteralMap getOutputs(); + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder(); + } + /** + *
+   * Response to get an individual task state.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskGetResponse} + */ + public static final class TaskGetResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskGetResponse) + TaskGetResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskGetResponse.newBuilder() to construct. + private TaskGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskGetResponse() { + state_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskGetResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 18: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (outputs_ != null) { + subBuilder = outputs_.toBuilder(); + } + outputs_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputs_); + outputs_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.Builder.class); + } + + public static final int STATE_FIELD_NUMBER = 1; + private int state_; + /** + *
+     * The state of the execution is used to control its visibility in the UI/CLI.
+     * 
+ * + * .flyteidl.service.State state = 1; + */ + public int getStateValue() { + return state_; + } + /** + *
+     * The state of the execution is used to control its visibility in the UI/CLI.
+     * 
+ * + * .flyteidl.service.State state = 1; + */ + public flyteidl.service.ExternalPluginServiceOuterClass.State getState() { + @SuppressWarnings("deprecation") + flyteidl.service.ExternalPluginServiceOuterClass.State result = flyteidl.service.ExternalPluginServiceOuterClass.State.valueOf(state_); + return result == null ? flyteidl.service.ExternalPluginServiceOuterClass.State.UNRECOGNIZED : result; + } + + public static final int OUTPUTS_FIELD_NUMBER = 2; + private flyteidl.core.Literals.LiteralMap outputs_; + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public boolean hasOutputs() { + return outputs_ != null; + } + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputs() { + return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; + } + /** + *
+     * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+     * Structured dataset pointing to the query result table.
+     * +optional
+     * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { + return getOutputs(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != flyteidl.service.ExternalPluginServiceOuterClass.State.RETRYABLE_FAILURE.getNumber()) { + output.writeEnum(1, state_); + } + if (outputs_ != null) { + output.writeMessage(2, getOutputs()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (state_ != flyteidl.service.ExternalPluginServiceOuterClass.State.RETRYABLE_FAILURE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); + } + if (outputs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputs()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse) obj; + + if (state_ != other.state_) return false; + if (hasOutputs() != other.hasOutputs()) return false; + if (hasOutputs()) { + if (!getOutputs() + .equals(other.getOutputs())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasOutputs()) { + hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; + hash = (53 * hash) + getOutputs().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Response to get an individual task state.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskGetResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskGetResponse) + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + state_ = 0; + + if (outputsBuilder_ == null) { + outputs_ = null; + } else { + outputs_ = null; + outputsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskGetResponse_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse(this); + result.state_ = state_; + if (outputsBuilder_ == null) { + result.outputs_ = outputs_; + } else { + result.outputs_ = outputsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse.getDefaultInstance()) return this; + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasOutputs()) { + mergeOutputs(other.getOutputs()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int state_ = 0; + /** + *
+       * The state of the execution is used to control its visibility in the UI/CLI.
+       * 
+ * + * .flyteidl.service.State state = 1; + */ + public int getStateValue() { + return state_; + } + /** + *
+       * The state of the execution is used to control its visibility in the UI/CLI.
+       * 
+ * + * .flyteidl.service.State state = 1; + */ + public Builder setStateValue(int value) { + state_ = value; + onChanged(); + return this; + } + /** + *
+       * The state of the execution is used to control its visibility in the UI/CLI.
+       * 
+ * + * .flyteidl.service.State state = 1; + */ + public flyteidl.service.ExternalPluginServiceOuterClass.State getState() { + @SuppressWarnings("deprecation") + flyteidl.service.ExternalPluginServiceOuterClass.State result = flyteidl.service.ExternalPluginServiceOuterClass.State.valueOf(state_); + return result == null ? flyteidl.service.ExternalPluginServiceOuterClass.State.UNRECOGNIZED : result; + } + /** + *
+       * The state of the execution is used to control its visibility in the UI/CLI.
+       * 
+ * + * .flyteidl.service.State state = 1; + */ + public Builder setState(flyteidl.service.ExternalPluginServiceOuterClass.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * The state of the execution is used to control its visibility in the UI/CLI.
+       * 
+ * + * .flyteidl.service.State state = 1; + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private flyteidl.core.Literals.LiteralMap outputs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputsBuilder_; + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public boolean hasOutputs() { + return outputsBuilder_ != null || outputs_ != null; + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputs() { + if (outputsBuilder_ == null) { + return outputs_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; + } else { + return outputsBuilder_.getMessage(); + } + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public Builder setOutputs(flyteidl.core.Literals.LiteralMap value) { + if (outputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputs_ = value; + onChanged(); + } else { + outputsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public Builder setOutputs( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (outputsBuilder_ == null) { + outputs_ = builderForValue.build(); + onChanged(); + } else { + outputsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public Builder mergeOutputs(flyteidl.core.Literals.LiteralMap value) { + if (outputsBuilder_ == null) { + if (outputs_ != null) { + outputs_ = + flyteidl.core.Literals.LiteralMap.newBuilder(outputs_).mergeFrom(value).buildPartial(); + } else { + outputs_ = value; + } + onChanged(); + } else { + outputsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public Builder clearOutputs() { + if (outputsBuilder_ == null) { + outputs_ = null; + onChanged(); + } else { + outputs_ = null; + outputsBuilder_ = null; + } + + return this; + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public flyteidl.core.Literals.LiteralMap.Builder getOutputsBuilder() { + + onChanged(); + return getOutputsFieldBuilder().getBuilder(); + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputsOrBuilder() { + if (outputsBuilder_ != null) { + return outputsBuilder_.getMessageOrBuilder(); + } else { + return outputs_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputs_; + } + } + /** + *
+       * The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a
+       * Structured dataset pointing to the query result table.
+       * +optional
+       * 
+ * + * .flyteidl.core.LiteralMap outputs = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getOutputsFieldBuilder() { + if (outputsBuilder_ == null) { + outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getOutputs(), + getParentForChildren(), + isClean()); + outputs_ = null; + } + return outputsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskGetResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetResponse) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskGetResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskGetResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskGetResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskDeleteRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskDeleteRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + java.lang.String getTaskType(); + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + com.google.protobuf.ByteString + getTaskTypeBytes(); + + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + java.lang.String getJobId(); + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + com.google.protobuf.ByteString + getJobIdBytes(); + } + /** + *
+   * A message used to delete a task.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskDeleteRequest} + */ + public static final class TaskDeleteRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskDeleteRequest) + TaskDeleteRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskDeleteRequest.newBuilder() to construct. + private TaskDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskDeleteRequest() { + taskType_ = ""; + jobId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskDeleteRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + taskType_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + jobId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.Builder.class); + } + + public static final int TASK_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object taskType_; + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + public java.lang.String getTaskType() { + java.lang.Object ref = taskType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskType_ = s; + return s; + } + } + /** + *
+     * A predefined yet extensible Task type identifier.
+     * 
+ * + * string task_type = 1; + */ + public com.google.protobuf.ByteString + getTaskTypeBytes() { + java.lang.Object ref = taskType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JOB_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object jobId_; + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } + } + /** + *
+     * The unique id identifying the job.
+     * 
+ * + * string job_id = 2; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getTaskTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, taskType_); + } + if (!getJobIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getTaskTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, taskType_); + } + if (!getJobIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest) obj; + + if (!getTaskType() + .equals(other.getTaskType())) return false; + if (!getJobId() + .equals(other.getJobId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getTaskType().hashCode(); + hash = (37 * hash) + JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getJobId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * A message used to delete a task.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskDeleteRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskDeleteRequest) + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + taskType_ = ""; + + jobId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest(this); + result.taskType_ = taskType_; + result.jobId_ = jobId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest.getDefaultInstance()) return this; + if (!other.getTaskType().isEmpty()) { + taskType_ = other.taskType_; + onChanged(); + } + if (!other.getJobId().isEmpty()) { + jobId_ = other.jobId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object taskType_ = ""; + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public java.lang.String getTaskType() { + java.lang.Object ref = taskType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + taskType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public com.google.protobuf.ByteString + getTaskTypeBytes() { + java.lang.Object ref = taskType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder setTaskType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + taskType_ = value; + onChanged(); + return this; + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder clearTaskType() { + + taskType_ = getDefaultInstance().getTaskType(); + onChanged(); + return this; + } + /** + *
+       * A predefined yet extensible Task type identifier.
+       * 
+ * + * string task_type = 1; + */ + public Builder setTaskTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + taskType_ = value; + onChanged(); + return this; + } + + private java.lang.Object jobId_ = ""; + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public java.lang.String getJobId() { + java.lang.Object ref = jobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jobId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public com.google.protobuf.ByteString + getJobIdBytes() { + java.lang.Object ref = jobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder setJobId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + jobId_ = value; + onChanged(); + return this; + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder clearJobId() { + + jobId_ = getDefaultInstance().getJobId(); + onChanged(); + return this; + } + /** + *
+       * The unique id identifying the job.
+       * 
+ * + * string job_id = 2; + */ + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + jobId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskDeleteRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteRequest) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskDeleteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskDeleteRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskDeleteResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.TaskDeleteResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Response to delete a task.
+   * 
+ * + * Protobuf type {@code flyteidl.service.TaskDeleteResponse} + */ + public static final class TaskDeleteResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.TaskDeleteResponse) + TaskDeleteResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskDeleteResponse.newBuilder() to construct. + private TaskDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskDeleteResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskDeleteResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse)) { + return super.equals(obj); + } + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse other = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Response to delete a task.
+     * 
+ * + * Protobuf type {@code flyteidl.service.TaskDeleteResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.TaskDeleteResponse) + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.class, flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.Builder.class); + } + + // Construct using flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.internal_static_flyteidl_service_TaskDeleteResponse_descriptor; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstanceForType() { + return flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse build() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse buildPartial() { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse result = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) { + return mergeFrom((flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse other) { + if (other == flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.service.TaskDeleteResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteResponse) + private static final flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse(); + } + + public static flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskDeleteResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskDeleteResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.service.ExternalPluginServiceOuterClass.TaskDeleteResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskCreateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskCreateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskGetRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskGetResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskDeleteRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_TaskDeleteResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.flyteidl/service/external_plugin_servi" + + "ce.proto\022\020flyteidl.service\032\034flyteidl/cor" + + "e/literals.proto\032\031flyteidl/core/tasks.pr" + + "oto\032\035flyteidl/core/interface.proto\"\204\001\n\021T" + + "askCreateRequest\022)\n\006inputs\030\001 \001(\0132\031.flyte" + + "idl.core.LiteralMap\022-\n\010template\030\002 \001(\0132\033." + + "flyteidl.core.TaskTemplate\022\025\n\routput_pre" + + "fix\030\003 \001(\t\"$\n\022TaskCreateResponse\022\016\n\006job_i" + + "d\030\001 \001(\t\"3\n\016TaskGetRequest\022\021\n\ttask_type\030\001" + + " \001(\t\022\016\n\006job_id\030\002 \001(\t\"e\n\017TaskGetResponse\022" + + "&\n\005state\030\001 \001(\0162\027.flyteidl.service.State\022" + + "*\n\007outputs\030\002 \001(\0132\031.flyteidl.core.Literal" + + "Map\"6\n\021TaskDeleteRequest\022\021\n\ttask_type\030\001 " + + "\001(\t\022\016\n\006job_id\030\002 \001(\t\"\024\n\022TaskDeleteRespons" + + "e*^\n\005State\022\025\n\021RETRYABLE_FAILURE\020\000\022\025\n\021PER" + + "MANENT_FAILURE\020\001\022\013\n\007PENDING\020\002\022\013\n\007RUNNING" + + "\020\003\022\r\n\tSUCCEEDED\020\0042\237\002\n\025ExternalPluginServ" + + "ice\022Y\n\nCreateTask\022#.flyteidl.service.Tas" + + "kCreateRequest\032$.flyteidl.service.TaskCr" + + "eateResponse\"\000\022P\n\007GetTask\022 .flyteidl.ser" + + "vice.TaskGetRequest\032!.flyteidl.service.T" + + "askGetResponse\"\000\022Y\n\nDeleteTask\022#.flyteid" + + "l.service.TaskDeleteRequest\032$.flyteidl.s" + + "ervice.TaskDeleteResponse\"\000B9Z7github.co" + + "m/flyteorg/flyteidl/gen/pb-go/flyteidl/s" + + "erviceb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.core.Literals.getDescriptor(), + flyteidl.core.Tasks.getDescriptor(), + flyteidl.core.Interface.getDescriptor(), + }, assigner); + internal_static_flyteidl_service_TaskCreateRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_service_TaskCreateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskCreateRequest_descriptor, + new java.lang.String[] { "Inputs", "Template", "OutputPrefix", }); + internal_static_flyteidl_service_TaskCreateResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_service_TaskCreateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskCreateResponse_descriptor, + new java.lang.String[] { "JobId", }); + internal_static_flyteidl_service_TaskGetRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_service_TaskGetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskGetRequest_descriptor, + new java.lang.String[] { "TaskType", "JobId", }); + internal_static_flyteidl_service_TaskGetResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_service_TaskGetResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskGetResponse_descriptor, + new java.lang.String[] { "State", "Outputs", }); + internal_static_flyteidl_service_TaskDeleteRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_flyteidl_service_TaskDeleteRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskDeleteRequest_descriptor, + new java.lang.String[] { "TaskType", "JobId", }); + internal_static_flyteidl_service_TaskDeleteResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_flyteidl_service_TaskDeleteResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_TaskDeleteResponse_descriptor, + new java.lang.String[] { }); + flyteidl.core.Literals.getDescriptor(); + flyteidl.core.Tasks.getDescriptor(); + flyteidl.core.Interface.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-js/flyteidl.d.ts b/gen/pb-js/flyteidl.d.ts index afd1cb6f8..1ccfa80c2 100644 --- a/gen/pb-js/flyteidl.d.ts +++ b/gen/pb-js/flyteidl.d.ts @@ -5635,6 +5635,9 @@ export namespace flyteidl { /** K8sPod podSpec */ podSpec?: (google.protobuf.IStruct|null); + + /** K8sPod dataConfig */ + dataConfig?: (flyteidl.core.IDataLoadingConfig|null); } /** Represents a K8sPod. */ @@ -5652,6 +5655,9 @@ export namespace flyteidl { /** K8sPod podSpec. */ public podSpec?: (google.protobuf.IStruct|null); + /** K8sPod dataConfig. */ + public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + /** * Creates a new K8sPod instance using the specified properties. * @param [properties] Properties to set @@ -5961,6 +5967,9 @@ export namespace flyteidl { /** Identity oauth2Client */ oauth2Client?: (flyteidl.core.IOAuth2Client|null); + + /** Identity executionIdentity */ + executionIdentity?: (string|null); } /** Represents an Identity. */ @@ -5981,6 +5990,9 @@ export namespace flyteidl { /** Identity oauth2Client. */ public oauth2Client?: (flyteidl.core.IOAuth2Client|null); + /** Identity executionIdentity. */ + public executionIdentity: string; + /** * Creates a new Identity instance using the specified properties. * @param [properties] Properties to set @@ -6369,6 +6381,97 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a Span. */ + interface ISpan { + + /** Span startTime */ + startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime */ + endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId */ + workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId */ + nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId */ + taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId */ + operationId?: (string|null); + + /** Span spans */ + spans?: (flyteidl.core.ISpan[]|null); + } + + /** Represents a Span. */ + class Span implements ISpan { + + /** + * Constructs a new Span. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISpan); + + /** Span startTime. */ + public startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime. */ + public endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId. */ + public workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId. */ + public nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId. */ + public taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId. */ + public operationId: string; + + /** Span spans. */ + public spans: flyteidl.core.ISpan[]; + + /** Span id. */ + public id?: ("workflowId"|"nodeId"|"taskId"|"operationId"); + + /** + * Creates a new Span instance using the specified properties. + * @param [properties] Properties to set + * @returns Span instance + */ + public static create(properties?: flyteidl.core.ISpan): flyteidl.core.Span; + + /** + * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * @param message Span message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISpan, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Span message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Span + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Span; + + /** + * Verifies a Span message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a WorkflowClosure. */ interface IWorkflowClosure { @@ -6584,6 +6687,9 @@ export namespace flyteidl { /** NodeExecutionEvent deckUri */ deckUri?: (string|null); + + /** NodeExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); } /** Represents a NodeExecutionEvent. */ @@ -6655,6 +6761,9 @@ export namespace flyteidl { /** NodeExecutionEvent deckUri. */ public deckUri: string; + /** NodeExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); + /** NodeExecutionEvent inputValue. */ public inputValue?: ("inputUri"|"inputData"); @@ -6833,6 +6942,9 @@ export namespace flyteidl { /** DynamicWorkflowNodeMetadata compiledWorkflow */ compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } /** Represents a DynamicWorkflowNodeMetadata. */ @@ -6850,6 +6962,9 @@ export namespace flyteidl { /** DynamicWorkflowNodeMetadata compiledWorkflow. */ public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + /** * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set @@ -7043,6 +7158,9 @@ export namespace flyteidl { /** TaskExecutionEvent eventVersion */ eventVersion?: (number|null); + + /** TaskExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); } /** Represents a TaskExecutionEvent. */ @@ -7108,6 +7226,9 @@ export namespace flyteidl { /** TaskExecutionEvent eventVersion. */ public eventVersion: number; + /** TaskExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); + /** TaskExecutionEvent inputValue. */ public inputValue?: ("inputUri"|"inputData"); @@ -8661,6 +8782,58 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of an Envs. */ + interface IEnvs { + + /** Envs values */ + values?: (flyteidl.core.IKeyValuePair[]|null); + } + + /** Represents an Envs. */ + class Envs implements IEnvs { + + /** + * Constructs a new Envs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEnvs); + + /** Envs values. */ + public values: flyteidl.core.IKeyValuePair[]; + + /** + * Creates a new Envs instance using the specified properties. + * @param [properties] Properties to set + * @returns Envs instance + */ + public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; + + /** + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * @param message Envs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Envs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Envs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Envs; + + /** + * Verifies an Envs message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of an AuthRole. */ interface IAuthRole { @@ -8771,6 +8944,70 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a FlyteURLs. */ + interface IFlyteURLs { + + /** FlyteURLs inputs */ + inputs?: (string|null); + + /** FlyteURLs outputs */ + outputs?: (string|null); + + /** FlyteURLs deck */ + deck?: (string|null); + } + + /** Represents a FlyteURLs. */ + class FlyteURLs implements IFlyteURLs { + + /** + * Constructs a new FlyteURLs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFlyteURLs); + + /** FlyteURLs inputs. */ + public inputs: string; + + /** FlyteURLs outputs. */ + public outputs: string; + + /** FlyteURLs deck. */ + public deck: string; + + /** + * Creates a new FlyteURLs instance using the specified properties. + * @param [properties] Properties to set + * @returns FlyteURLs instance + */ + public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; + + /** + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * @param message FlyteURLs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FlyteURLs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FlyteURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FlyteURLs; + + /** + * Verifies a FlyteURLs message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a DescriptionEntity. */ interface IDescriptionEntity { @@ -10531,6 +10768,9 @@ export namespace flyteidl { /** ExecutionSpec overwriteCache */ overwriteCache?: (boolean|null); + + /** ExecutionSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); } /** Represents an ExecutionSpec. */ @@ -10587,6 +10827,9 @@ export namespace flyteidl { /** ExecutionSpec overwriteCache. */ public overwriteCache: boolean; + /** ExecutionSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + /** ExecutionSpec notificationOverrides. */ public notificationOverrides?: ("notifications"|"disableAll"); @@ -11023,6 +11266,116 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a WorkflowExecutionGetMetricsRequest. */ + interface IWorkflowExecutionGetMetricsRequest { + + /** WorkflowExecutionGetMetricsRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth */ + depth?: (number|null); + } + + /** Represents a WorkflowExecutionGetMetricsRequest. */ + class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { + + /** + * Constructs a new WorkflowExecutionGetMetricsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); + + /** WorkflowExecutionGetMetricsRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth. */ + public depth: number; + + /** + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetMetricsRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + + /** + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetMetricsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + + /** + * Verifies a WorkflowExecutionGetMetricsRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowExecutionGetMetricsResponse. */ + interface IWorkflowExecutionGetMetricsResponse { + + /** WorkflowExecutionGetMetricsResponse span */ + span?: (flyteidl.core.ISpan|null); + } + + /** Represents a WorkflowExecutionGetMetricsResponse. */ + class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { + + /** + * Constructs a new WorkflowExecutionGetMetricsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); + + /** WorkflowExecutionGetMetricsResponse span. */ + public span?: (flyteidl.core.ISpan|null); + + /** + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetMetricsResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + + /** + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetMetricsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + + /** + * Verifies a WorkflowExecutionGetMetricsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a LaunchPlanCreateRequest. */ interface ILaunchPlanCreateRequest { @@ -11360,6 +11713,9 @@ export namespace flyteidl { /** LaunchPlanSpec overwriteCache */ overwriteCache?: (boolean|null); + + /** LaunchPlanSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); } /** Represents a LaunchPlanSpec. */ @@ -11416,6 +11772,9 @@ export namespace flyteidl { /** LaunchPlanSpec overwriteCache. */ public overwriteCache: boolean; + /** LaunchPlanSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + /** * Creates a new LaunchPlanSpec instance using the specified properties. * @param [properties] Properties to set @@ -12461,6 +12820,9 @@ export namespace flyteidl { /** WorkflowExecutionConfig overwriteCache */ overwriteCache?: (boolean|null); + + /** WorkflowExecutionConfig envs */ + envs?: (flyteidl.admin.IEnvs|null); } /** Represents a WorkflowExecutionConfig. */ @@ -12493,6 +12855,9 @@ export namespace flyteidl { /** WorkflowExecutionConfig overwriteCache. */ public overwriteCache: boolean; + /** WorkflowExecutionConfig envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + /** * Creates a new WorkflowExecutionConfig instance using the specified properties. * @param [properties] Properties to set @@ -13246,6 +13611,9 @@ export namespace flyteidl { /** NodeExecutionClosure deckUri */ deckUri?: (string|null); + + /** NodeExecutionClosure dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } /** Represents a NodeExecutionClosure. */ @@ -13290,6 +13658,9 @@ export namespace flyteidl { /** NodeExecutionClosure deckUri. */ public deckUri: string; + /** NodeExecutionClosure dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + /** NodeExecutionClosure outputResult. */ public outputResult?: ("outputUri"|"error"|"outputData"); @@ -13453,6 +13824,9 @@ export namespace flyteidl { /** DynamicWorkflowNodeMetadata compiledWorkflow */ compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } /** Represents a DynamicWorkflowNodeMetadata. */ @@ -13470,6 +13844,9 @@ export namespace flyteidl { /** DynamicWorkflowNodeMetadata compiledWorkflow. */ public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + /** * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set @@ -13572,6 +13949,9 @@ export namespace flyteidl { /** NodeExecutionGetDataResponse dynamicWorkflow */ dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + + /** NodeExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); } /** Represents a NodeExecutionGetDataResponse. */ @@ -13598,6 +13978,9 @@ export namespace flyteidl { /** NodeExecutionGetDataResponse dynamicWorkflow. */ public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + /** NodeExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** * Creates a new NodeExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set @@ -15883,6 +16266,9 @@ export namespace flyteidl { /** TaskExecutionClosure eventVersion */ eventVersion?: (number|null); + + /** TaskExecutionClosure reasons */ + reasons?: (flyteidl.admin.IReason[]|null); } /** Represents a TaskExecutionClosure. */ @@ -15936,6 +16322,9 @@ export namespace flyteidl { /** TaskExecutionClosure eventVersion. */ public eventVersion: number; + /** TaskExecutionClosure reasons. */ + public reasons: flyteidl.admin.IReason[]; + /** TaskExecutionClosure outputResult. */ public outputResult?: ("outputUri"|"error"|"outputData"); @@ -15972,6 +16361,64 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a Reason. */ + interface IReason { + + /** Reason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** Reason message */ + message?: (string|null); + } + + /** Represents a Reason. */ + class Reason implements IReason { + + /** + * Constructs a new Reason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IReason); + + /** Reason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** Reason message. */ + public message: string; + + /** + * Creates a new Reason instance using the specified properties. + * @param [properties] Properties to set + * @returns Reason instance + */ + public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; + + /** + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. + * @param message Reason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Reason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Reason + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Reason; + + /** + * Verifies a Reason message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a TaskExecutionGetDataRequest. */ interface ITaskExecutionGetDataRequest { @@ -16038,6 +16485,9 @@ export namespace flyteidl { /** TaskExecutionGetDataResponse fullOutputs */ fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); } /** Represents a TaskExecutionGetDataResponse. */ @@ -16061,6 +16511,9 @@ export namespace flyteidl { /** TaskExecutionGetDataResponse fullOutputs. */ public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** TaskExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set @@ -17926,6 +18379,20 @@ export namespace flyteidl { * @returns Promise */ public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, callback: flyteidl.service.AdminService.GetExecutionMetricsCallback): void; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @returns Promise + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): Promise; } namespace AdminService { @@ -18293,9 +18760,16 @@ export namespace flyteidl { * @param [response] DescriptionEntityList */ type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void; - } - /** Properties of a OAuth2MetadataRequest. */ + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. + * @param error Error, if any + * @param [response] WorkflowExecutionGetMetricsResponse + */ + type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void; + } + + /** Properties of a OAuth2MetadataRequest. */ interface IOAuth2MetadataRequest { } @@ -18978,6 +19452,9 @@ export namespace flyteidl { /** CreateDownloadLinkResponse expiresAt */ expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateDownloadLinkResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); } /** Represents a CreateDownloadLinkResponse. */ @@ -18995,6 +19472,9 @@ export namespace flyteidl { /** CreateDownloadLinkResponse expiresAt. */ public expiresAt?: (google.protobuf.ITimestamp|null); + /** CreateDownloadLinkResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + /** * Creates a new CreateDownloadLinkResponse instance using the specified properties. * @param [properties] Properties to set @@ -19028,6 +19508,177 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a PreSignedURLs. */ + interface IPreSignedURLs { + + /** PreSignedURLs signedUrl */ + signedUrl?: (string[]|null); + + /** PreSignedURLs expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a PreSignedURLs. */ + class PreSignedURLs implements IPreSignedURLs { + + /** + * Constructs a new PreSignedURLs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPreSignedURLs); + + /** PreSignedURLs signedUrl. */ + public signedUrl: string[]; + + /** PreSignedURLs expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new PreSignedURLs instance using the specified properties. + * @param [properties] Properties to set + * @returns PreSignedURLs instance + */ + public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs; + + /** + * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * @param message PreSignedURLs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PreSignedURLs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PreSignedURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs; + + /** + * Verifies a PreSignedURLs message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a GetDataRequest. */ + interface IGetDataRequest { + + /** GetDataRequest flyteUrl */ + flyteUrl?: (string|null); + } + + /** Represents a GetDataRequest. */ + class GetDataRequest implements IGetDataRequest { + + /** + * Constructs a new GetDataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IGetDataRequest); + + /** GetDataRequest flyteUrl. */ + public flyteUrl: string; + + /** + * Creates a new GetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataRequest instance + */ + public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest; + + /** + * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * @param message GetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest; + + /** + * Verifies a GetDataRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a GetDataResponse. */ + interface IGetDataResponse { + + /** GetDataResponse literalMap */ + literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + } + + /** Represents a GetDataResponse. */ + class GetDataResponse implements IGetDataResponse { + + /** + * Constructs a new GetDataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IGetDataResponse); + + /** GetDataResponse literalMap. */ + public literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** GetDataResponse data. */ + public data?: ("literalMap"|"preSignedUrls"); + + /** + * Creates a new GetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataResponse instance + */ + public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse; + + /** + * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * @param message GetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse; + + /** + * Verifies a GetDataResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Represents a DataProxyService */ class DataProxyService extends $protobuf.rpc.Service { @@ -19089,6 +19740,20 @@ export namespace flyteidl { * @returns Promise */ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise; + + /** + * Calls GetData. + * @param request GetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetDataResponse + */ + public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void; + + /** + * Calls GetData. + * @param request GetDataRequest message or plain object + * @returns Promise + */ + public getData(request: flyteidl.service.IGetDataRequest): Promise; } namespace DataProxyService { @@ -19113,6 +19778,445 @@ export namespace flyteidl { * @param [response] CreateDownloadLinkResponse */ type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#getData}. + * @param error Error, if any + * @param [response] GetDataResponse + */ + type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void; + } + + /** Represents an ExternalPluginService */ + class ExternalPluginService extends $protobuf.rpc.Service { + + /** + * Constructs a new ExternalPluginService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new ExternalPluginService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskCreateResponse + */ + public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @returns Promise + */ + public createTask(request: flyteidl.service.ITaskCreateRequest): Promise; + + /** + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskGetResponse + */ + public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.service.ITaskGetRequest): Promise; + + /** + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse + */ + public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void; + + /** + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @returns Promise + */ + public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise; + } + + namespace ExternalPluginService { + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. + * @param error Error, if any + * @param [response] TaskCreateResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. + * @param error Error, if any + * @param [response] TaskGetResponse + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. + * @param error Error, if any + * @param [response] TaskDeleteResponse + */ + type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void; + } + + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 + } + + /** Properties of a TaskCreateRequest. */ + interface ITaskCreateRequest { + + /** TaskCreateRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskCreateRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskCreateRequest outputPrefix */ + outputPrefix?: (string|null); + } + + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { + + /** + * Constructs a new TaskCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskCreateRequest); + + /** TaskCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskCreateRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskCreateRequest outputPrefix. */ + public outputPrefix: string; + + /** + * Creates a new TaskCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateRequest instance + */ + public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest; + + /** + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * @param message TaskCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest; + + /** + * Verifies a TaskCreateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskCreateResponse. */ + interface ITaskCreateResponse { + + /** TaskCreateResponse jobId */ + jobId?: (string|null); + } + + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { + + /** + * Constructs a new TaskCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskCreateResponse); + + /** TaskCreateResponse jobId. */ + public jobId: string; + + /** + * Creates a new TaskCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateResponse instance + */ + public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse; + + /** + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * @param message TaskCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse; + + /** + * Verifies a TaskCreateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskGetRequest. */ + interface ITaskGetRequest { + + /** TaskGetRequest taskType */ + taskType?: (string|null); + + /** TaskGetRequest jobId */ + jobId?: (string|null); + } + + /** Represents a TaskGetRequest. */ + class TaskGetRequest implements ITaskGetRequest { + + /** + * Constructs a new TaskGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskGetRequest); + + /** TaskGetRequest taskType. */ + public taskType: string; + + /** TaskGetRequest jobId. */ + public jobId: string; + + /** + * Creates a new TaskGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetRequest instance + */ + public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest; + + /** + * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * @param message TaskGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest; + + /** + * Verifies a TaskGetRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskGetResponse. */ + interface ITaskGetResponse { + + /** TaskGetResponse state */ + state?: (flyteidl.service.State|null); + + /** TaskGetResponse outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a TaskGetResponse. */ + class TaskGetResponse implements ITaskGetResponse { + + /** + * Constructs a new TaskGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskGetResponse); + + /** TaskGetResponse state. */ + public state: flyteidl.service.State; + + /** TaskGetResponse outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** + * Creates a new TaskGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetResponse instance + */ + public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse; + + /** + * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. + * @param message TaskGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse; + + /** + * Verifies a TaskGetResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskDeleteRequest. */ + interface ITaskDeleteRequest { + + /** TaskDeleteRequest taskType */ + taskType?: (string|null); + + /** TaskDeleteRequest jobId */ + jobId?: (string|null); + } + + /** Represents a TaskDeleteRequest. */ + class TaskDeleteRequest implements ITaskDeleteRequest { + + /** + * Constructs a new TaskDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskDeleteRequest); + + /** TaskDeleteRequest taskType. */ + public taskType: string; + + /** TaskDeleteRequest jobId. */ + public jobId: string; + + /** + * Creates a new TaskDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskDeleteRequest instance + */ + public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest; + + /** + * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * @param message TaskDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest; + + /** + * Verifies a TaskDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a TaskDeleteResponse. */ + interface ITaskDeleteResponse { + } + + /** Represents a TaskDeleteResponse. */ + class TaskDeleteResponse implements ITaskDeleteResponse { + + /** + * Constructs a new TaskDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskDeleteResponse); + + /** + * Creates a new TaskDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskDeleteResponse instance + */ + public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse; + + /** + * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. + * @param message TaskDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse; + + /** + * Verifies a TaskDeleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); } /** Properties of a UserInfoRequest. */ diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js index e9d6775fa..8ba73b8db 100644 --- a/gen/pb-js/flyteidl.js +++ b/gen/pb-js/flyteidl.js @@ -13498,6 +13498,7 @@ * @interface IK8sPod * @property {flyteidl.core.IK8sObjectMetadata|null} [metadata] K8sPod metadata * @property {google.protobuf.IStruct|null} [podSpec] K8sPod podSpec + * @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] K8sPod dataConfig */ /** @@ -13531,6 +13532,14 @@ */ K8sPod.prototype.podSpec = null; + /** + * K8sPod dataConfig. + * @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig + * @memberof flyteidl.core.K8sPod + * @instance + */ + K8sPod.prototype.dataConfig = null; + /** * Creates a new K8sPod instance using the specified properties. * @function create @@ -13559,6 +13568,8 @@ $root.flyteidl.core.K8sObjectMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.podSpec != null && message.hasOwnProperty("podSpec")) $root.google.protobuf.Struct.encode(message.podSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) + $root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -13586,6 +13597,9 @@ case 2: message.podSpec = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; + case 3: + message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -13615,6 +13629,11 @@ if (error) return "podSpec." + error; } + if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) { + var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig); + if (error) + return "dataConfig." + error; + } return null; }; @@ -14245,6 +14264,7 @@ * @property {string|null} [iamRole] Identity iamRole * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client + * @property {string|null} [executionIdentity] Identity executionIdentity */ /** @@ -14286,6 +14306,14 @@ */ Identity.prototype.oauth2Client = null; + /** + * Identity executionIdentity. + * @member {string} executionIdentity + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.executionIdentity = ""; + /** * Creates a new Identity instance using the specified properties. * @function create @@ -14316,6 +14344,8 @@ writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount); if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity); return writer; }; @@ -14346,6 +14376,9 @@ case 3: message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); break; + case 4: + message.executionIdentity = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -14376,6 +14409,9 @@ if (error) return "oauth2Client." + error; } + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + if (!$util.isString(message.executionIdentity)) + return "executionIdentity: string expected"; return null; }; @@ -15260,6 +15296,270 @@ return ErrorDocument; })(); + core.Span = (function() { + + /** + * Properties of a Span. + * @memberof flyteidl.core + * @interface ISpan + * @property {google.protobuf.ITimestamp|null} [startTime] Span startTime + * @property {google.protobuf.ITimestamp|null} [endTime] Span endTime + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId + * @property {string|null} [operationId] Span operationId + * @property {Array.|null} [spans] Span spans + */ + + /** + * Constructs a new Span. + * @memberof flyteidl.core + * @classdesc Represents a Span. + * @implements ISpan + * @constructor + * @param {flyteidl.core.ISpan=} [properties] Properties to set + */ + function Span(properties) { + this.spans = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Span startTime. + * @member {google.protobuf.ITimestamp|null|undefined} startTime + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.startTime = null; + + /** + * Span endTime. + * @member {google.protobuf.ITimestamp|null|undefined} endTime + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.endTime = null; + + /** + * Span workflowId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.workflowId = null; + + /** + * Span nodeId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.nodeId = null; + + /** + * Span taskId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.taskId = null; + + /** + * Span operationId. + * @member {string} operationId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.operationId = ""; + + /** + * Span spans. + * @member {Array.} spans + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.spans = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Span id. + * @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id + * @memberof flyteidl.core.Span + * @instance + */ + Object.defineProperty(Span.prototype, "id", { + get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Span instance using the specified properties. + * @function create + * @memberof flyteidl.core.Span + * @static + * @param {flyteidl.core.ISpan=} [properties] Properties to set + * @returns {flyteidl.core.Span} Span instance + */ + Span.create = function create(properties) { + return new Span(properties); + }; + + /** + * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Span + * @static + * @param {flyteidl.core.ISpan} message Span message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Span.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.startTime != null && message.hasOwnProperty("startTime")) + $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.endTime != null && message.hasOwnProperty("endTime")) + $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.taskId != null && message.hasOwnProperty("taskId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.operationId != null && message.hasOwnProperty("operationId")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId); + if (message.spans != null && message.spans.length) + for (var i = 0; i < message.spans.length; ++i) + $root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a Span message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Span + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Span} Span + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Span.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Span(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 2: + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 3: + message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 4: + message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 5: + message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 6: + message.operationId = reader.string(); + break; + case 7: + if (!(message.spans && message.spans.length)) + message.spans = []; + message.spans.push($root.flyteidl.core.Span.decode(reader, reader.uint32())); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Span message. + * @function verify + * @memberof flyteidl.core.Span + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Span.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.startTime != null && message.hasOwnProperty("startTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.startTime); + if (error) + return "startTime." + error; + } + if (message.endTime != null && message.hasOwnProperty("endTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.endTime); + if (error) + return "endTime." + error; + } + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + properties.id = 1; + { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + } + if (message.nodeId != null && message.hasOwnProperty("nodeId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId); + if (error) + return "nodeId." + error; + } + } + if (message.taskId != null && message.hasOwnProperty("taskId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId); + if (error) + return "taskId." + error; + } + } + if (message.operationId != null && message.hasOwnProperty("operationId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + if (!$util.isString(message.operationId)) + return "operationId: string expected"; + } + if (message.spans != null && message.hasOwnProperty("spans")) { + if (!Array.isArray(message.spans)) + return "spans: array expected"; + for (var i = 0; i < message.spans.length; ++i) { + var error = $root.flyteidl.core.Span.verify(message.spans[i]); + if (error) + return "spans." + error; + } + } + return null; + }; + + return Span; + })(); + core.WorkflowClosure = (function() { /** @@ -15697,6 +15997,7 @@ * @property {boolean|null} [isParent] NodeExecutionEvent isParent * @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic * @property {string|null} [deckUri] NodeExecutionEvent deckUri + * @property {google.protobuf.ITimestamp|null} [reportedAt] NodeExecutionEvent reportedAt */ /** @@ -15874,6 +16175,14 @@ */ NodeExecutionEvent.prototype.deckUri = ""; + /** + * NodeExecutionEvent reportedAt. + * @member {google.protobuf.ITimestamp|null|undefined} reportedAt + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.reportedAt = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -15974,6 +16283,8 @@ writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri); if (message.inputData != null && message.hasOwnProperty("inputData")) $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) + $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); return writer; }; @@ -16055,6 +16366,9 @@ case 19: message.deckUri = reader.string(); break; + case 21: + message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -16194,6 +16508,11 @@ if (message.deckUri != null && message.hasOwnProperty("deckUri")) if (!$util.isString(message.deckUri)) return "deckUri: string expected"; + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); + if (error) + return "reportedAt." + error; + } return null; }; @@ -16520,6 +16839,7 @@ * @interface IDynamicWorkflowNodeMetadata * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow + * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri */ /** @@ -16553,6 +16873,14 @@ */ DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; + /** + * DynamicWorkflowNodeMetadata dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + /** * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @function create @@ -16581,6 +16909,8 @@ $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); return writer; }; @@ -16608,6 +16938,9 @@ case 2: message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); break; + case 3: + message.dynamicJobSpecUri = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -16637,6 +16970,9 @@ if (error) return "compiledWorkflow." + error; } + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; @@ -16889,6 +17225,7 @@ * @property {string|null} [taskType] TaskExecutionEvent taskType * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata * @property {number|null} [eventVersion] TaskExecutionEvent eventVersion + * @property {google.protobuf.ITimestamp|null} [reportedAt] TaskExecutionEvent reportedAt */ /** @@ -17051,6 +17388,14 @@ */ TaskExecutionEvent.prototype.eventVersion = 0; + /** + * TaskExecutionEvent reportedAt. + * @member {google.protobuf.ITimestamp|null|undefined} reportedAt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.reportedAt = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -17137,6 +17482,8 @@ writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion); if (message.inputData != null && message.hasOwnProperty("inputData")) $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) + $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); return writer; }; @@ -17214,6 +17561,9 @@ case 18: message.eventVersion = reader.int32(); break; + case 20: + message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -17340,6 +17690,11 @@ if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) if (!$util.isInteger(message.eventVersion)) return "eventVersion: integer expected"; + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); + if (error) + return "reportedAt." + error; + } return null; }; @@ -20955,25 +21310,25 @@ return Annotations; })(); - admin.AuthRole = (function() { + admin.Envs = (function() { /** - * Properties of an AuthRole. + * Properties of an Envs. * @memberof flyteidl.admin - * @interface IAuthRole - * @property {string|null} [assumableIamRole] AuthRole assumableIamRole - * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount + * @interface IEnvs + * @property {Array.|null} [values] Envs values */ /** - * Constructs a new AuthRole. + * Constructs a new Envs. * @memberof flyteidl.admin - * @classdesc Represents an AuthRole. - * @implements IAuthRole + * @classdesc Represents an Envs. + * @implements IEnvs * @constructor - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set */ - function AuthRole(properties) { + function Envs(properties) { + this.values = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20981,75 +21336,65 @@ } /** - * AuthRole assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.AuthRole - * @instance - */ - AuthRole.prototype.assumableIamRole = ""; - - /** - * AuthRole kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.AuthRole + * Envs values. + * @member {Array.} values + * @memberof flyteidl.admin.Envs * @instance */ - AuthRole.prototype.kubernetesServiceAccount = ""; + Envs.prototype.values = $util.emptyArray; /** - * Creates a new AuthRole instance using the specified properties. + * Creates a new Envs instance using the specified properties. * @function create - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.Envs * @static - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set - * @returns {flyteidl.admin.AuthRole} AuthRole instance + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set + * @returns {flyteidl.admin.Envs} Envs instance */ - AuthRole.create = function create(properties) { - return new AuthRole(properties); + Envs.create = function create(properties) { + return new Envs(properties); }; /** - * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.Envs * @static - * @param {flyteidl.admin.IAuthRole} message AuthRole message or plain object to encode + * @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AuthRole.encode = function encode(message, writer) { + Envs.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); + if (message.values != null && message.values.length) + for (var i = 0; i < message.values.length; ++i) + $root.flyteidl.core.KeyValuePair.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an AuthRole message from the specified reader or buffer. + * Decodes an Envs message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.Envs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.AuthRole} AuthRole + * @returns {flyteidl.admin.Envs} Envs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AuthRole.decode = function decode(reader, length) { + Envs.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AuthRole(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Envs(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.assumableIamRole = reader.string(); - break; - case 2: - message.kubernetesServiceAccount = reader.string(); + if (!(message.values && message.values.length)) + message.values = []; + message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -21060,29 +21405,159 @@ }; /** - * Verifies an AuthRole message. + * Verifies an Envs message. * @function verify - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.Envs * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - AuthRole.verify = function verify(message) { + Envs.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - if (!$util.isString(message.assumableIamRole)) - return "assumableIamRole: string expected"; - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - if (!$util.isString(message.kubernetesServiceAccount)) - return "kubernetesServiceAccount: string expected"; - return null; - }; - - return AuthRole; - })(); - - admin.RawOutputDataConfig = (function() { + if (message.values != null && message.hasOwnProperty("values")) { + if (!Array.isArray(message.values)) + return "values: array expected"; + for (var i = 0; i < message.values.length; ++i) { + var error = $root.flyteidl.core.KeyValuePair.verify(message.values[i]); + if (error) + return "values." + error; + } + } + return null; + }; + + return Envs; + })(); + + admin.AuthRole = (function() { + + /** + * Properties of an AuthRole. + * @memberof flyteidl.admin + * @interface IAuthRole + * @property {string|null} [assumableIamRole] AuthRole assumableIamRole + * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount + */ + + /** + * Constructs a new AuthRole. + * @memberof flyteidl.admin + * @classdesc Represents an AuthRole. + * @implements IAuthRole + * @constructor + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + */ + function AuthRole(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * AuthRole assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.AuthRole + * @instance + */ + AuthRole.prototype.assumableIamRole = ""; + + /** + * AuthRole kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.AuthRole + * @instance + */ + AuthRole.prototype.kubernetesServiceAccount = ""; + + /** + * Creates a new AuthRole instance using the specified properties. + * @function create + * @memberof flyteidl.admin.AuthRole + * @static + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @returns {flyteidl.admin.AuthRole} AuthRole instance + */ + AuthRole.create = function create(properties) { + return new AuthRole(properties); + }; + + /** + * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.AuthRole + * @static + * @param {flyteidl.admin.IAuthRole} message AuthRole message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AuthRole.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); + return writer; + }; + + /** + * Decodes an AuthRole message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.AuthRole + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.AuthRole} AuthRole + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AuthRole.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AuthRole(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.assumableIamRole = reader.string(); + break; + case 2: + message.kubernetesServiceAccount = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an AuthRole message. + * @function verify + * @memberof flyteidl.admin.AuthRole + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AuthRole.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + if (!$util.isString(message.assumableIamRole)) + return "assumableIamRole: string expected"; + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + if (!$util.isString(message.kubernetesServiceAccount)) + return "kubernetesServiceAccount: string expected"; + return null; + }; + + return AuthRole; + })(); + + admin.RawOutputDataConfig = (function() { /** * Properties of a RawOutputDataConfig. @@ -21192,6 +21667,150 @@ return RawOutputDataConfig; })(); + admin.FlyteURLs = (function() { + + /** + * Properties of a FlyteURLs. + * @memberof flyteidl.admin + * @interface IFlyteURLs + * @property {string|null} [inputs] FlyteURLs inputs + * @property {string|null} [outputs] FlyteURLs outputs + * @property {string|null} [deck] FlyteURLs deck + */ + + /** + * Constructs a new FlyteURLs. + * @memberof flyteidl.admin + * @classdesc Represents a FlyteURLs. + * @implements IFlyteURLs + * @constructor + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + */ + function FlyteURLs(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FlyteURLs inputs. + * @member {string} inputs + * @memberof flyteidl.admin.FlyteURLs + * @instance + */ + FlyteURLs.prototype.inputs = ""; + + /** + * FlyteURLs outputs. + * @member {string} outputs + * @memberof flyteidl.admin.FlyteURLs + * @instance + */ + FlyteURLs.prototype.outputs = ""; + + /** + * FlyteURLs deck. + * @member {string} deck + * @memberof flyteidl.admin.FlyteURLs + * @instance + */ + FlyteURLs.prototype.deck = ""; + + /** + * Creates a new FlyteURLs instance using the specified properties. + * @function create + * @memberof flyteidl.admin.FlyteURLs + * @static + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance + */ + FlyteURLs.create = function create(properties) { + return new FlyteURLs(properties); + }; + + /** + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.FlyteURLs + * @static + * @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FlyteURLs.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.inputs); + if (message.outputs != null && message.hasOwnProperty("outputs")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.outputs); + if (message.deck != null && message.hasOwnProperty("deck")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.deck); + return writer; + }; + + /** + * Decodes a FlyteURLs message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.FlyteURLs + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.FlyteURLs} FlyteURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FlyteURLs.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FlyteURLs(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.inputs = reader.string(); + break; + case 2: + message.outputs = reader.string(); + break; + case 3: + message.deck = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a FlyteURLs message. + * @function verify + * @memberof flyteidl.admin.FlyteURLs + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FlyteURLs.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) + if (!$util.isString(message.inputs)) + return "inputs: string expected"; + if (message.outputs != null && message.hasOwnProperty("outputs")) + if (!$util.isString(message.outputs)) + return "outputs: string expected"; + if (message.deck != null && message.hasOwnProperty("deck")) + if (!$util.isString(message.deck)) + return "deck: string expected"; + return null; + }; + + return FlyteURLs; + })(); + admin.DescriptionEntity = (function() { /** @@ -25265,6 +25884,7 @@ * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment * @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible * @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs */ /** @@ -25402,6 +26022,14 @@ */ ExecutionSpec.prototype.overwriteCache = false; + /** + * ExecutionSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.ExecutionSpec + * @instance + */ + ExecutionSpec.prototype.envs = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -25470,6 +26098,8 @@ $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); return writer; }; @@ -25536,6 +26166,9 @@ case 22: message.overwriteCache = reader.bool(); break; + case 23: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -25632,6 +26265,11 @@ if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) if (typeof message.overwriteCache !== "boolean") return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } return null; }; @@ -26533,25 +27171,25 @@ return ExecutionUpdateResponse; })(); - admin.LaunchPlanCreateRequest = (function() { + admin.WorkflowExecutionGetMetricsRequest = (function() { /** - * Properties of a LaunchPlanCreateRequest. + * Properties of a WorkflowExecutionGetMetricsRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id - * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec + * @interface IWorkflowExecutionGetMetricsRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id + * @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth */ /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new WorkflowExecutionGetMetricsRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateRequest. - * @implements ILaunchPlanCreateRequest + * @classdesc Represents a WorkflowExecutionGetMetricsRequest. + * @implements IWorkflowExecutionGetMetricsRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set */ - function LaunchPlanCreateRequest(properties) { + function WorkflowExecutionGetMetricsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26559,17 +27197,258 @@ } /** - * LaunchPlanCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * WorkflowExecutionGetMetricsRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @instance */ - LaunchPlanCreateRequest.prototype.id = null; + WorkflowExecutionGetMetricsRequest.prototype.id = null; /** - * LaunchPlanCreateRequest spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * WorkflowExecutionGetMetricsRequest depth. + * @member {number} depth + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @instance + */ + WorkflowExecutionGetMetricsRequest.prototype.depth = 0; + + /** + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @static + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance + */ + WorkflowExecutionGetMetricsRequest.create = function create(properties) { + return new WorkflowExecutionGetMetricsRequest(properties); + }; + + /** + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @static + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} message WorkflowExecutionGetMetricsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowExecutionGetMetricsRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.depth != null && message.hasOwnProperty("depth")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.depth); + return writer; + }; + + /** + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WorkflowExecutionGetMetricsRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.depth = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowExecutionGetMetricsRequest message. + * @function verify + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WorkflowExecutionGetMetricsRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.depth != null && message.hasOwnProperty("depth")) + if (!$util.isInteger(message.depth)) + return "depth: integer expected"; + return null; + }; + + return WorkflowExecutionGetMetricsRequest; + })(); + + admin.WorkflowExecutionGetMetricsResponse = (function() { + + /** + * Properties of a WorkflowExecutionGetMetricsResponse. + * @memberof flyteidl.admin + * @interface IWorkflowExecutionGetMetricsResponse + * @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span + */ + + /** + * Constructs a new WorkflowExecutionGetMetricsResponse. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowExecutionGetMetricsResponse. + * @implements IWorkflowExecutionGetMetricsResponse + * @constructor + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + */ + function WorkflowExecutionGetMetricsResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * WorkflowExecutionGetMetricsResponse span. + * @member {flyteidl.core.ISpan|null|undefined} span + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @instance + */ + WorkflowExecutionGetMetricsResponse.prototype.span = null; + + /** + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @static + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse instance + */ + WorkflowExecutionGetMetricsResponse.create = function create(properties) { + return new WorkflowExecutionGetMetricsResponse(properties); + }; + + /** + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @static + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse} message WorkflowExecutionGetMetricsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowExecutionGetMetricsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.span != null && message.hasOwnProperty("span")) + $root.flyteidl.core.Span.encode(message.span, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WorkflowExecutionGetMetricsResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.span = $root.flyteidl.core.Span.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowExecutionGetMetricsResponse message. + * @function verify + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WorkflowExecutionGetMetricsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.span != null && message.hasOwnProperty("span")) { + var error = $root.flyteidl.core.Span.verify(message.span); + if (error) + return "span." + error; + } + return null; + }; + + return WorkflowExecutionGetMetricsResponse; + })(); + + admin.LaunchPlanCreateRequest = (function() { + + /** + * Properties of a LaunchPlanCreateRequest. + * @memberof flyteidl.admin + * @interface ILaunchPlanCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id + * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec + */ + + /** + * Constructs a new LaunchPlanCreateRequest. + * @memberof flyteidl.admin + * @classdesc Represents a LaunchPlanCreateRequest. + * @implements ILaunchPlanCreateRequest + * @constructor + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + */ + function LaunchPlanCreateRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LaunchPlanCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @instance + */ + LaunchPlanCreateRequest.prototype.id = null; + + /** + * LaunchPlanCreateRequest spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ LaunchPlanCreateRequest.prototype.spec = null; @@ -27206,6 +28085,7 @@ * @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism * @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible * @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs */ /** @@ -27343,6 +28223,14 @@ */ LaunchPlanSpec.prototype.overwriteCache = false; + /** + * LaunchPlanSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.envs = null; + /** * Creates a new LaunchPlanSpec instance using the specified properties. * @function create @@ -27397,6 +28285,8 @@ $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); return writer; }; @@ -27463,6 +28353,9 @@ case 20: message.overwriteCache = reader.bool(); break; + case 21: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -27551,6 +28444,11 @@ if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) if (typeof message.overwriteCache !== "boolean") return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } return null; }; @@ -29863,6 +30761,7 @@ * @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations * @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible * @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] WorkflowExecutionConfig envs */ /** @@ -29936,6 +30835,14 @@ */ WorkflowExecutionConfig.prototype.overwriteCache = false; + /** + * WorkflowExecutionConfig envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.envs = null; + /** * Creates a new WorkflowExecutionConfig instance using the specified properties. * @function create @@ -29974,6 +30881,8 @@ $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; @@ -30016,6 +30925,9 @@ case 7: message.overwriteCache = reader.bool(); break; + case 8: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -30066,6 +30978,11 @@ if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) if (typeof message.overwriteCache !== "boolean") return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } return null; }; @@ -31766,6 +32683,7 @@ * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata * @property {flyteidl.admin.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionClosure taskNodeMetadata * @property {string|null} [deckUri] NodeExecutionClosure deckUri + * @property {string|null} [dynamicJobSpecUri] NodeExecutionClosure dynamicJobSpecUri */ /** @@ -31871,6 +32789,14 @@ */ NodeExecutionClosure.prototype.deckUri = ""; + /** + * NodeExecutionClosure dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.dynamicJobSpecUri = ""; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -31942,6 +32868,8 @@ $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); if (message.deckUri != null && message.hasOwnProperty("deckUri")) writer.uint32(/* id 11, wireType 2 =*/90).string(message.deckUri); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 12, wireType 2 =*/98).string(message.dynamicJobSpecUri); return writer; }; @@ -31996,6 +32924,9 @@ case 11: message.deckUri = reader.string(); break; + case 12: + message.dynamicJobSpecUri = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -32099,6 +33030,9 @@ if (message.deckUri != null && message.hasOwnProperty("deckUri")) if (!$util.isString(message.deckUri)) return "deckUri: string expected"; + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; @@ -32381,6 +33315,7 @@ * @interface IDynamicWorkflowNodeMetadata * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow + * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri */ /** @@ -32414,6 +33349,14 @@ */ DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; + /** + * DynamicWorkflowNodeMetadata dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + /** * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @function create @@ -32442,6 +33385,8 @@ $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); return writer; }; @@ -32469,6 +33414,9 @@ case 2: message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); break; + case 3: + message.dynamicJobSpecUri = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -32498,6 +33446,9 @@ if (error) return "compiledWorkflow." + error; } + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; @@ -32627,6 +33578,7 @@ * @property {flyteidl.core.ILiteralMap|null} [fullInputs] NodeExecutionGetDataResponse fullInputs * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] NodeExecutionGetDataResponse fullOutputs * @property {flyteidl.admin.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] NodeExecutionGetDataResponse dynamicWorkflow + * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] NodeExecutionGetDataResponse flyteUrls */ /** @@ -32684,6 +33636,14 @@ */ NodeExecutionGetDataResponse.prototype.dynamicWorkflow = null; + /** + * NodeExecutionGetDataResponse flyteUrls. + * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @instance + */ + NodeExecutionGetDataResponse.prototype.flyteUrls = null; + /** * Creates a new NodeExecutionGetDataResponse instance using the specified properties. * @function create @@ -32718,6 +33678,8 @@ $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) $root.flyteidl.admin.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) + $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); return writer; }; @@ -32754,6 +33716,9 @@ case 16: message.dynamicWorkflow = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); break; + case 17: + message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -32798,6 +33763,11 @@ if (error) return "dynamicWorkflow." + error; } + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { + var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (error) + return "flyteUrls." + error; + } return null; }; @@ -37819,6 +38789,7 @@ * @property {string|null} [taskType] TaskExecutionClosure taskType * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata * @property {number|null} [eventVersion] TaskExecutionClosure eventVersion + * @property {Array.|null} [reasons] TaskExecutionClosure reasons */ /** @@ -37831,6 +38802,7 @@ */ function TaskExecutionClosure(properties) { this.logs = []; + this.reasons = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37949,6 +38921,14 @@ */ TaskExecutionClosure.prototype.eventVersion = 0; + /** + * TaskExecutionClosure reasons. + * @member {Array.} reasons + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.reasons = $util.emptyArray; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -38016,6 +38996,9 @@ $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion); + if (message.reasons != null && message.reasons.length) + for (var i = 0; i < message.reasons.length; ++i) + $root.flyteidl.admin.Reason.encode(message.reasons[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); return writer; }; @@ -38081,6 +39064,11 @@ case 17: message.eventVersion = reader.int32(); break; + case 18: + if (!(message.reasons && message.reasons.length)) + message.reasons = []; + message.reasons.push($root.flyteidl.admin.Reason.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -38188,30 +39176,40 @@ if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) if (!$util.isInteger(message.eventVersion)) return "eventVersion: integer expected"; + if (message.reasons != null && message.hasOwnProperty("reasons")) { + if (!Array.isArray(message.reasons)) + return "reasons: array expected"; + for (var i = 0; i < message.reasons.length; ++i) { + var error = $root.flyteidl.admin.Reason.verify(message.reasons[i]); + if (error) + return "reasons." + error; + } + } return null; }; return TaskExecutionClosure; })(); - admin.TaskExecutionGetDataRequest = (function() { + admin.Reason = (function() { /** - * Properties of a TaskExecutionGetDataRequest. + * Properties of a Reason. * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id + * @interface IReason + * @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt + * @property {string|null} [message] Reason message */ /** - * Constructs a new TaskExecutionGetDataRequest. + * Constructs a new Reason. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataRequest. - * @implements ITaskExecutionGetDataRequest + * @classdesc Represents a Reason. + * @implements IReason * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IReason=} [properties] Properties to set */ - function TaskExecutionGetDataRequest(properties) { + function Reason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38219,31 +39217,159 @@ } /** - * TaskExecutionGetDataRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * Reason occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.admin.Reason * @instance */ - TaskExecutionGetDataRequest.prototype.id = null; + Reason.prototype.occurredAt = null; /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * Reason message. + * @member {string} message + * @memberof flyteidl.admin.Reason + * @instance + */ + Reason.prototype.message = ""; + + /** + * Creates a new Reason instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance + * @param {flyteidl.admin.IReason=} [properties] Properties to set + * @returns {flyteidl.admin.Reason} Reason instance */ - TaskExecutionGetDataRequest.create = function create(properties) { - return new TaskExecutionGetDataRequest(properties); + Reason.create = function create(properties) { + return new Reason(properties); }; /** - * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.admin.IReason} message Reason message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Reason.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + return writer; + }; + + /** + * Decodes a Reason message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Reason + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Reason} Reason + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Reason.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Reason(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 2: + message.message = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Reason message. + * @function verify + * @memberof flyteidl.admin.Reason + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Reason.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (error) + return "occurredAt." + error; + } + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; + return null; + }; + + return Reason; + })(); + + admin.TaskExecutionGetDataRequest = (function() { + + /** + * Properties of a TaskExecutionGetDataRequest. + * @memberof flyteidl.admin + * @interface ITaskExecutionGetDataRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id + */ + + /** + * Constructs a new TaskExecutionGetDataRequest. + * @memberof flyteidl.admin + * @classdesc Represents a TaskExecutionGetDataRequest. + * @implements ITaskExecutionGetDataRequest + * @constructor + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + */ + function TaskExecutionGetDataRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskExecutionGetDataRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @instance + */ + TaskExecutionGetDataRequest.prototype.id = null; + + /** + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @static + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance + */ + TaskExecutionGetDataRequest.create = function create(properties) { + return new TaskExecutionGetDataRequest(properties); + }; + + /** + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @static + * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ @@ -38316,6 +39442,7 @@ * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs * @property {flyteidl.core.ILiteralMap|null} [fullInputs] TaskExecutionGetDataResponse fullInputs * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] TaskExecutionGetDataResponse fullOutputs + * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] TaskExecutionGetDataResponse flyteUrls */ /** @@ -38365,6 +39492,14 @@ */ TaskExecutionGetDataResponse.prototype.fullOutputs = null; + /** + * TaskExecutionGetDataResponse flyteUrls. + * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls + * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @instance + */ + TaskExecutionGetDataResponse.prototype.flyteUrls = null; + /** * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @function create @@ -38397,6 +39532,8 @@ $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) + $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -38430,6 +39567,9 @@ case 4: message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; + case 5: + message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -38469,6 +39609,11 @@ if (error) return "fullOutputs." + error; } + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { + var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (error) + return "flyteUrls." + error; + } return null; }; @@ -42677,6 +43822,39 @@ * @variation 2 */ + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. + * @memberof flyteidl.service.AdminService + * @typedef GetExecutionMetricsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowExecutionGetMetricsResponse} [response] WorkflowExecutionGetMetricsResponse + */ + + /** + * Calls GetExecutionMetrics. + * @function getExecutionMetrics + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object + * @param {flyteidl.service.AdminService.GetExecutionMetricsCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.getExecutionMetrics = function getExecutionMetrics(request, callback) { + return this.rpcCall(getExecutionMetrics, $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest, $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse, request, callback); + }, "name", { value: "GetExecutionMetrics" }); + + /** + * Calls GetExecutionMetrics. + * @function getExecutionMetrics + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + return AdminService; })(); @@ -44250,6 +45428,7 @@ * @interface ICreateDownloadLinkResponse * @property {Array.|null} [signedUrl] CreateDownloadLinkResponse signedUrl * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLinkResponse expiresAt + * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] CreateDownloadLinkResponse preSignedUrls */ /** @@ -44284,6 +45463,14 @@ */ CreateDownloadLinkResponse.prototype.expiresAt = null; + /** + * CreateDownloadLinkResponse preSignedUrls. + * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls + * @memberof flyteidl.service.CreateDownloadLinkResponse + * @instance + */ + CreateDownloadLinkResponse.prototype.preSignedUrls = null; + /** * Creates a new CreateDownloadLinkResponse instance using the specified properties. * @function create @@ -44313,6 +45500,8 @@ writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) + $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -44342,6 +45531,9 @@ case 2: message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; + case 3: + message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -44373,144 +45565,1479 @@ if (error) return "expiresAt." + error; } + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { + var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); + if (error) + return "preSignedUrls." + error; + } return null; }; return CreateDownloadLinkResponse; })(); - service.DataProxyService = (function() { + service.PreSignedURLs = (function() { /** - * Constructs a new DataProxyService service. + * Properties of a PreSignedURLs. * @memberof flyteidl.service - * @classdesc Represents a DataProxyService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function DataProxyService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - - (DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService; - - /** - * Creates new DataProxyService service using the specified rpc implementation. - * @function create - * @memberof flyteidl.service.DataProxyService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed. + * @interface IPreSignedURLs + * @property {Array.|null} [signedUrl] PreSignedURLs signedUrl + * @property {google.protobuf.ITimestamp|null} [expiresAt] PreSignedURLs expiresAt */ - DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; /** - * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateUploadLocationCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateUploadLocationResponse} [response] CreateUploadLocationResponse + * Constructs a new PreSignedURLs. + * @memberof flyteidl.service + * @classdesc Represents a PreSignedURLs. + * @implements IPreSignedURLs + * @constructor + * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set */ + function PreSignedURLs(properties) { + this.signedUrl = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * Calls CreateUploadLocation. - * @function createUploadLocation - * @memberof flyteidl.service.DataProxyService + * PreSignedURLs signedUrl. + * @member {Array.} signedUrl + * @memberof flyteidl.service.PreSignedURLs * @instance - * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) { - return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback); - }, "name", { value: "CreateUploadLocation" }); + PreSignedURLs.prototype.signedUrl = $util.emptyArray; /** - * Calls CreateUploadLocation. - * @function createUploadLocation - * @memberof flyteidl.service.DataProxyService + * PreSignedURLs expiresAt. + * @member {google.protobuf.ITimestamp|null|undefined} expiresAt + * @memberof flyteidl.service.PreSignedURLs * @instance - * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + PreSignedURLs.prototype.expiresAt = null; /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateDownloadLocationCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateDownloadLocationResponse} [response] CreateDownloadLocationResponse + * Creates a new PreSignedURLs instance using the specified properties. + * @function create + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set + * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs instance */ + PreSignedURLs.create = function create(properties) { + return new PreSignedURLs(properties); + }; /** - * Calls CreateDownloadLocation. - * @function createDownloadLocation - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateDownloadLocationCallback} callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse - * @returns {undefined} - * @variation 1 + * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {flyteidl.service.IPreSignedURLs} message PreSignedURLs message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Object.defineProperty(DataProxyService.prototype.createDownloadLocation = function createDownloadLocation(request, callback) { - return this.rpcCall(createDownloadLocation, $root.flyteidl.service.CreateDownloadLocationRequest, $root.flyteidl.service.CreateDownloadLocationResponse, request, callback); - }, "name", { value: "CreateDownloadLocation" }); + PreSignedURLs.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.signedUrl != null && message.signedUrl.length) + for (var i = 0; i < message.signedUrl.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]); + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) + $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * Calls CreateDownloadLocation. - * @function createDownloadLocation - * @memberof flyteidl.service.DataProxyService - * @instance - * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Decodes a PreSignedURLs message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - - /** - * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. - * @memberof flyteidl.service.DataProxyService - * @typedef CreateDownloadLinkCallback + PreSignedURLs.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.PreSignedURLs(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.signedUrl && message.signedUrl.length)) + message.signedUrl = []; + message.signedUrl.push(reader.string()); + break; + case 2: + message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a PreSignedURLs message. + * @function verify + * @memberof flyteidl.service.PreSignedURLs + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + PreSignedURLs.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) { + if (!Array.isArray(message.signedUrl)) + return "signedUrl: array expected"; + for (var i = 0; i < message.signedUrl.length; ++i) + if (!$util.isString(message.signedUrl[i])) + return "signedUrl: string[] expected"; + } + if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.expiresAt); + if (error) + return "expiresAt." + error; + } + return null; + }; + + return PreSignedURLs; + })(); + + service.GetDataRequest = (function() { + + /** + * Properties of a GetDataRequest. + * @memberof flyteidl.service + * @interface IGetDataRequest + * @property {string|null} [flyteUrl] GetDataRequest flyteUrl + */ + + /** + * Constructs a new GetDataRequest. + * @memberof flyteidl.service + * @classdesc Represents a GetDataRequest. + * @implements IGetDataRequest + * @constructor + * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set + */ + function GetDataRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetDataRequest flyteUrl. + * @member {string} flyteUrl + * @memberof flyteidl.service.GetDataRequest + * @instance + */ + GetDataRequest.prototype.flyteUrl = ""; + + /** + * Creates a new GetDataRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.service.GetDataRequest} GetDataRequest instance + */ + GetDataRequest.create = function create(properties) { + return new GetDataRequest(properties); + }; + + /** + * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {flyteidl.service.IGetDataRequest} message GetDataRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetDataRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.flyteUrl); + return writer; + }; + + /** + * Decodes a GetDataRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.GetDataRequest} GetDataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetDataRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.flyteUrl = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a GetDataRequest message. + * @function verify + * @memberof flyteidl.service.GetDataRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetDataRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl")) + if (!$util.isString(message.flyteUrl)) + return "flyteUrl: string expected"; + return null; + }; + + return GetDataRequest; + })(); + + service.GetDataResponse = (function() { + + /** + * Properties of a GetDataResponse. + * @memberof flyteidl.service + * @interface IGetDataResponse + * @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap + * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls + */ + + /** + * Constructs a new GetDataResponse. + * @memberof flyteidl.service + * @classdesc Represents a GetDataResponse. + * @implements IGetDataResponse + * @constructor + * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set + */ + function GetDataResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * GetDataResponse literalMap. + * @member {flyteidl.core.ILiteralMap|null|undefined} literalMap + * @memberof flyteidl.service.GetDataResponse + * @instance + */ + GetDataResponse.prototype.literalMap = null; + + /** + * GetDataResponse preSignedUrls. + * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls + * @memberof flyteidl.service.GetDataResponse + * @instance + */ + GetDataResponse.prototype.preSignedUrls = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * GetDataResponse data. + * @member {"literalMap"|"preSignedUrls"|undefined} data + * @memberof flyteidl.service.GetDataResponse + * @instance + */ + Object.defineProperty(GetDataResponse.prototype, "data", { + get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GetDataResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.service.GetDataResponse} GetDataResponse instance + */ + GetDataResponse.create = function create(properties) { + return new GetDataResponse(properties); + }; + + /** + * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {flyteidl.service.IGetDataResponse} message GetDataResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GetDataResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.literalMap != null && message.hasOwnProperty("literalMap")) + $root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) + $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a GetDataResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.GetDataResponse} GetDataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GetDataResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.literalMap = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 2: + message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a GetDataResponse message. + * @function verify + * @memberof flyteidl.service.GetDataResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GetDataResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.literalMap != null && message.hasOwnProperty("literalMap")) { + properties.data = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.literalMap); + if (error) + return "literalMap." + error; + } + } + if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) { + if (properties.data === 1) + return "data: multiple values"; + properties.data = 1; + { + var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls); + if (error) + return "preSignedUrls." + error; + } + } + return null; + }; + + return GetDataResponse; + })(); + + service.DataProxyService = (function() { + + /** + * Constructs a new DataProxyService service. + * @memberof flyteidl.service + * @classdesc Represents a DataProxyService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function DataProxyService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService; + + /** + * Creates new DataProxyService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.DataProxyService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed. + */ + DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateUploadLocationCallback * @type {function} * @param {Error|null} error Error, if any - * @param {flyteidl.service.CreateDownloadLinkResponse} [response] CreateDownloadLinkResponse + * @param {flyteidl.service.CreateUploadLocationResponse} [response] CreateUploadLocationResponse + */ + + /** + * Calls CreateUploadLocation. + * @function createUploadLocation + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) { + return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback); + }, "name", { value: "CreateUploadLocation" }); + + /** + * Calls CreateUploadLocation. + * @function createUploadLocation + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateDownloadLocationCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.CreateDownloadLocationResponse} [response] CreateDownloadLocationResponse + */ + + /** + * Calls CreateDownloadLocation. + * @function createDownloadLocation + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateDownloadLocationCallback} callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(DataProxyService.prototype.createDownloadLocation = function createDownloadLocation(request, callback) { + return this.rpcCall(createDownloadLocation, $root.flyteidl.service.CreateDownloadLocationRequest, $root.flyteidl.service.CreateDownloadLocationResponse, request, callback); + }, "name", { value: "CreateDownloadLocation" }); + + /** + * Calls CreateDownloadLocation. + * @function createDownloadLocation + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateDownloadLocationRequest} request CreateDownloadLocationRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. + * @memberof flyteidl.service.DataProxyService + * @typedef CreateDownloadLinkCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.CreateDownloadLinkResponse} [response] CreateDownloadLinkResponse + */ + + /** + * Calls CreateDownloadLink. + * @function createDownloadLink + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object + * @param {flyteidl.service.DataProxyService.CreateDownloadLinkCallback} callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(DataProxyService.prototype.createDownloadLink = function createDownloadLink(request, callback) { + return this.rpcCall(createDownloadLink, $root.flyteidl.service.CreateDownloadLinkRequest, $root.flyteidl.service.CreateDownloadLinkResponse, request, callback); + }, "name", { value: "CreateDownloadLink" }); + + /** + * Calls CreateDownloadLink. + * @function createDownloadLink + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#getData}. + * @memberof flyteidl.service.DataProxyService + * @typedef GetDataCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.GetDataResponse} [response] GetDataResponse + */ + + /** + * Calls GetData. + * @function getData + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object + * @param {flyteidl.service.DataProxyService.GetDataCallback} callback Node-style callback called with the error, if any, and GetDataResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(DataProxyService.prototype.getData = function getData(request, callback) { + return this.rpcCall(getData, $root.flyteidl.service.GetDataRequest, $root.flyteidl.service.GetDataResponse, request, callback); + }, "name", { value: "GetData" }); + + /** + * Calls GetData. + * @function getData + * @memberof flyteidl.service.DataProxyService + * @instance + * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return DataProxyService; + })(); + + service.ExternalPluginService = (function() { + + /** + * Constructs a new ExternalPluginService service. + * @memberof flyteidl.service + * @classdesc Represents an ExternalPluginService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function ExternalPluginService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (ExternalPluginService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ExternalPluginService; + + /** + * Creates new ExternalPluginService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.ExternalPluginService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {ExternalPluginService} RPC service. Useful where requests and/or responses are streamed. + */ + ExternalPluginService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef CreateTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.TaskCreateResponse} [response] TaskCreateResponse + */ + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(ExternalPluginService.prototype.createTask = function createTask(request, callback) { + return this.rpcCall(createTask, $root.flyteidl.service.TaskCreateRequest, $root.flyteidl.service.TaskCreateResponse, request, callback); + }, "name", { value: "CreateTask" }); + + /** + * Calls CreateTask. + * @function createTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef GetTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.TaskGetResponse} [response] TaskGetResponse + */ + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.GetTaskCallback} callback Node-style callback called with the error, if any, and TaskGetResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(ExternalPluginService.prototype.getTask = function getTask(request, callback) { + return this.rpcCall(getTask, $root.flyteidl.service.TaskGetRequest, $root.flyteidl.service.TaskGetResponse, request, callback); + }, "name", { value: "GetTask" }); + + /** + * Calls GetTask. + * @function getTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. + * @memberof flyteidl.service.ExternalPluginService + * @typedef DeleteTaskCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.TaskDeleteResponse} [response] TaskDeleteResponse + */ + + /** + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object + * @param {flyteidl.service.ExternalPluginService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and TaskDeleteResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(ExternalPluginService.prototype.deleteTask = function deleteTask(request, callback) { + return this.rpcCall(deleteTask, $root.flyteidl.service.TaskDeleteRequest, $root.flyteidl.service.TaskDeleteResponse, request, callback); + }, "name", { value: "DeleteTask" }); + + /** + * Calls DeleteTask. + * @function deleteTask + * @memberof flyteidl.service.ExternalPluginService + * @instance + * @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return ExternalPluginService; + })(); + + /** + * State enum. + * @name flyteidl.service.State + * @enum {string} + * @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value + * @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value + * @property {number} PENDING=2 PENDING value + * @property {number} RUNNING=3 RUNNING value + * @property {number} SUCCEEDED=4 SUCCEEDED value + */ + service.State = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RETRYABLE_FAILURE"] = 0; + values[valuesById[1] = "PERMANENT_FAILURE"] = 1; + values[valuesById[2] = "PENDING"] = 2; + values[valuesById[3] = "RUNNING"] = 3; + values[valuesById[4] = "SUCCEEDED"] = 4; + return values; + })(); + + service.TaskCreateRequest = (function() { + + /** + * Properties of a TaskCreateRequest. + * @memberof flyteidl.service + * @interface ITaskCreateRequest + * @property {flyteidl.core.ILiteralMap|null} [inputs] TaskCreateRequest inputs + * @property {flyteidl.core.ITaskTemplate|null} [template] TaskCreateRequest template + * @property {string|null} [outputPrefix] TaskCreateRequest outputPrefix + */ + + /** + * Constructs a new TaskCreateRequest. + * @memberof flyteidl.service + * @classdesc Represents a TaskCreateRequest. + * @implements ITaskCreateRequest + * @constructor + * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set + */ + function TaskCreateRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskCreateRequest inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.service.TaskCreateRequest + * @instance + */ + TaskCreateRequest.prototype.inputs = null; + + /** + * TaskCreateRequest template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.service.TaskCreateRequest + * @instance + */ + TaskCreateRequest.prototype.template = null; + + /** + * TaskCreateRequest outputPrefix. + * @member {string} outputPrefix + * @memberof flyteidl.service.TaskCreateRequest + * @instance + */ + TaskCreateRequest.prototype.outputPrefix = ""; + + /** + * Creates a new TaskCreateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest instance + */ + TaskCreateRequest.create = function create(properties) { + return new TaskCreateRequest(properties); + }; + + /** + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {flyteidl.service.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskCreateRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix); + return writer; + }; + + /** + * Decodes a TaskCreateRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskCreateRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskCreateRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 2: + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + break; + case 3: + message.outputPrefix = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskCreateRequest message. + * @function verify + * @memberof flyteidl.service.TaskCreateRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskCreateRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (error) + return "template." + error; + } + if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix")) + if (!$util.isString(message.outputPrefix)) + return "outputPrefix: string expected"; + return null; + }; + + return TaskCreateRequest; + })(); + + service.TaskCreateResponse = (function() { + + /** + * Properties of a TaskCreateResponse. + * @memberof flyteidl.service + * @interface ITaskCreateResponse + * @property {string|null} [jobId] TaskCreateResponse jobId + */ + + /** + * Constructs a new TaskCreateResponse. + * @memberof flyteidl.service + * @classdesc Represents a TaskCreateResponse. + * @implements ITaskCreateResponse + * @constructor + * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set + */ + function TaskCreateResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskCreateResponse jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskCreateResponse + * @instance + */ + TaskCreateResponse.prototype.jobId = ""; + + /** + * Creates a new TaskCreateResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse instance + */ + TaskCreateResponse.create = function create(properties) { + return new TaskCreateResponse(properties); + }; + + /** + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {flyteidl.service.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskCreateResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.jobId); + return writer; + }; + + /** + * Decodes a TaskCreateResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskCreateResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskCreateResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskCreateResponse message. + * @function verify + * @memberof flyteidl.service.TaskCreateResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskCreateResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; + + return TaskCreateResponse; + })(); + + service.TaskGetRequest = (function() { + + /** + * Properties of a TaskGetRequest. + * @memberof flyteidl.service + * @interface ITaskGetRequest + * @property {string|null} [taskType] TaskGetRequest taskType + * @property {string|null} [jobId] TaskGetRequest jobId + */ + + /** + * Constructs a new TaskGetRequest. + * @memberof flyteidl.service + * @classdesc Represents a TaskGetRequest. + * @implements ITaskGetRequest + * @constructor + * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set + */ + function TaskGetRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskGetRequest taskType. + * @member {string} taskType + * @memberof flyteidl.service.TaskGetRequest + * @instance + */ + TaskGetRequest.prototype.taskType = ""; + + /** + * TaskGetRequest jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskGetRequest + * @instance + */ + TaskGetRequest.prototype.jobId = ""; + + /** + * Creates a new TaskGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest instance + */ + TaskGetRequest.create = function create(properties) { + return new TaskGetRequest(properties); + }; + + /** + * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {flyteidl.service.ITaskGetRequest} message TaskGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskGetRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); + if (message.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); + return writer; + }; + + /** + * Decodes a TaskGetRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskGetRequest} TaskGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskGetRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskGetRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskType = reader.string(); + break; + case 2: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskGetRequest message. + * @function verify + * @memberof flyteidl.service.TaskGetRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskGetRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; + + return TaskGetRequest; + })(); + + service.TaskGetResponse = (function() { + + /** + * Properties of a TaskGetResponse. + * @memberof flyteidl.service + * @interface ITaskGetResponse + * @property {flyteidl.service.State|null} [state] TaskGetResponse state + * @property {flyteidl.core.ILiteralMap|null} [outputs] TaskGetResponse outputs */ /** - * Calls CreateDownloadLink. - * @function createDownloadLink - * @memberof flyteidl.service.DataProxyService + * Constructs a new TaskGetResponse. + * @memberof flyteidl.service + * @classdesc Represents a TaskGetResponse. + * @implements ITaskGetResponse + * @constructor + * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set + */ + function TaskGetResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskGetResponse state. + * @member {flyteidl.service.State} state + * @memberof flyteidl.service.TaskGetResponse * @instance - * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object - * @param {flyteidl.service.DataProxyService.CreateDownloadLinkCallback} callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(DataProxyService.prototype.createDownloadLink = function createDownloadLink(request, callback) { - return this.rpcCall(createDownloadLink, $root.flyteidl.service.CreateDownloadLinkRequest, $root.flyteidl.service.CreateDownloadLinkResponse, request, callback); - }, "name", { value: "CreateDownloadLink" }); + TaskGetResponse.prototype.state = 0; /** - * Calls CreateDownloadLink. - * @function createDownloadLink - * @memberof flyteidl.service.DataProxyService + * TaskGetResponse outputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputs + * @memberof flyteidl.service.TaskGetResponse * @instance - * @param {flyteidl.service.ICreateDownloadLinkRequest} request CreateDownloadLinkRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + TaskGetResponse.prototype.outputs = null; - return DataProxyService; + /** + * Creates a new TaskGetResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskGetResponse + * @static + * @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse instance + */ + TaskGetResponse.create = function create(properties) { + return new TaskGetResponse(properties); + }; + + /** + * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskGetResponse + * @static + * @param {flyteidl.service.ITaskGetResponse} message TaskGetResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskGetResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a TaskGetResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskGetResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskGetResponse} TaskGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskGetResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskGetResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.state = reader.int32(); + break; + case 2: + message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskGetResponse message. + * @function verify + * @memberof flyteidl.service.TaskGetResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskGetResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputs); + if (error) + return "outputs." + error; + } + return null; + }; + + return TaskGetResponse; + })(); + + service.TaskDeleteRequest = (function() { + + /** + * Properties of a TaskDeleteRequest. + * @memberof flyteidl.service + * @interface ITaskDeleteRequest + * @property {string|null} [taskType] TaskDeleteRequest taskType + * @property {string|null} [jobId] TaskDeleteRequest jobId + */ + + /** + * Constructs a new TaskDeleteRequest. + * @memberof flyteidl.service + * @classdesc Represents a TaskDeleteRequest. + * @implements ITaskDeleteRequest + * @constructor + * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set + */ + function TaskDeleteRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskDeleteRequest taskType. + * @member {string} taskType + * @memberof flyteidl.service.TaskDeleteRequest + * @instance + */ + TaskDeleteRequest.prototype.taskType = ""; + + /** + * TaskDeleteRequest jobId. + * @member {string} jobId + * @memberof flyteidl.service.TaskDeleteRequest + * @instance + */ + TaskDeleteRequest.prototype.jobId = ""; + + /** + * Creates a new TaskDeleteRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest instance + */ + TaskDeleteRequest.create = function create(properties) { + return new TaskDeleteRequest(properties); + }; + + /** + * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {flyteidl.service.ITaskDeleteRequest} message TaskDeleteRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskDeleteRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); + if (message.jobId != null && message.hasOwnProperty("jobId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId); + return writer; + }; + + /** + * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskDeleteRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskDeleteRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskType = reader.string(); + break; + case 2: + message.jobId = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskDeleteRequest message. + * @function verify + * @memberof flyteidl.service.TaskDeleteRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskDeleteRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.jobId != null && message.hasOwnProperty("jobId")) + if (!$util.isString(message.jobId)) + return "jobId: string expected"; + return null; + }; + + return TaskDeleteRequest; + })(); + + service.TaskDeleteResponse = (function() { + + /** + * Properties of a TaskDeleteResponse. + * @memberof flyteidl.service + * @interface ITaskDeleteResponse + */ + + /** + * Constructs a new TaskDeleteResponse. + * @memberof flyteidl.service + * @classdesc Represents a TaskDeleteResponse. + * @implements ITaskDeleteResponse + * @constructor + * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set + */ + function TaskDeleteResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new TaskDeleteResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.TaskDeleteResponse + * @static + * @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse instance + */ + TaskDeleteResponse.create = function create(properties) { + return new TaskDeleteResponse(properties); + }; + + /** + * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.TaskDeleteResponse + * @static + * @param {flyteidl.service.ITaskDeleteResponse} message TaskDeleteResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TaskDeleteResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a TaskDeleteResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.TaskDeleteResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TaskDeleteResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskDeleteResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a TaskDeleteResponse message. + * @function verify + * @memberof flyteidl.service.TaskDeleteResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskDeleteResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return TaskDeleteResponse; })(); service.UserInfoRequest = (function() { diff --git a/gen/pb_python/flyteidl/admin/common_pb2.py b/gen/pb_python/flyteidl/admin/common_pb2.py index 4d411451a..858eeafff 100644 --- a/gen/pb_python/flyteidl/admin/common_pb2.py +++ b/gen/pb_python/flyteidl/admin/common_pb2.py @@ -16,6 +16,8 @@ from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -23,9 +25,9 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n\x1b\x66lyteidl/admin/common.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\"F\n\x15NamedEntityIdentifier\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"[\n\x13NamedEntityMetadata\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .flyteidl.admin.NamedEntityState\"\xab\x01\n\x0bNamedEntity\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\x35\n\x08metadata\x18\x03 \x01(\x0b\x32#.flyteidl.admin.NamedEntityMetadata\"r\n\x04Sort\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\tdirection\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.Sort.Direction\"*\n\tDirection\x12\x0e\n\nDESCENDING\x10\x00\x12\r\n\tASCENDING\x10\x01\"\x99\x01\n NamedEntityIdentifierListRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\x12\r\n\x05token\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x0f\n\x07\x66ilters\x18\x06 \x01(\t\"\xc3\x01\n\x16NamedEntityListRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\r\x12\r\n\x05token\x18\x05 \x01(\t\x12%\n\x07sort_by\x18\x06 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x0f\n\x07\x66ilters\x18\x07 \x01(\t\"c\n\x19NamedEntityIdentifierList\x12\x37\n\x08\x65ntities\x18\x01 \x03(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\r\n\x05token\x18\x02 \x01(\t\"O\n\x0fNamedEntityList\x12-\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x1b.flyteidl.admin.NamedEntity\x12\r\n\x05token\x18\x02 \x01(\t\"~\n\x15NamedEntityGetRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\"\xb8\x01\n\x18NamedEntityUpdateRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\x35\n\x08metadata\x18\x03 \x01(\x0b\x32#.flyteidl.admin.NamedEntityMetadata\"\x1b\n\x19NamedEntityUpdateResponse\"9\n\x10ObjectGetRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\"\x9e\x01\n\x13ResourceListRequest\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"-\n\x11\x45mailNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"1\n\x15PagerDutyNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"-\n\x11SlackNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"\xf3\x01\n\x0cNotification\x12\x36\n\x06phases\x18\x01 \x03(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12\x32\n\x05\x65mail\x18\x02 \x01(\x0b\x32!.flyteidl.admin.EmailNotificationH\x00\x12;\n\npager_duty\x18\x03 \x01(\x0b\x32%.flyteidl.admin.PagerDutyNotificationH\x00\x12\x32\n\x05slack\x18\x04 \x01(\x0b\x32!.flyteidl.admin.SlackNotificationH\x00\x42\x06\n\x04type\")\n\x07UrlBlob\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03:\x02\x18\x01\"k\n\x06Labels\x12\x32\n\x06values\x18\x01 \x03(\x0b\x32\".flyteidl.admin.Labels.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x0b\x41nnotations\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.flyteidl.admin.Annotations.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x08\x41uthRole\x12\x1a\n\x12\x61ssumable_iam_role\x18\x01 \x01(\t\x12\"\n\x1akubernetes_service_account\x18\x02 \x01(\t:\x02\x18\x01\"5\n\x13RawOutputDataConfig\x12\x1e\n\x16output_location_prefix\x18\x01 \x01(\t*\\\n\x10NamedEntityState\x12\x17\n\x13NAMED_ENTITY_ACTIVE\x10\x00\x12\x19\n\x15NAMED_ENTITY_ARCHIVED\x10\x01\x12\x14\n\x10SYSTEM_GENERATED\x10\x02\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n\x1b\x66lyteidl/admin/common.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n\x15NamedEntityIdentifier\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\"[\n\x13NamedEntityMetadata\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .flyteidl.admin.NamedEntityState\"\xab\x01\n\x0bNamedEntity\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\x35\n\x08metadata\x18\x03 \x01(\x0b\x32#.flyteidl.admin.NamedEntityMetadata\"r\n\x04Sort\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\tdirection\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.Sort.Direction\"*\n\tDirection\x12\x0e\n\nDESCENDING\x10\x00\x12\r\n\tASCENDING\x10\x01\"\x99\x01\n NamedEntityIdentifierListRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\x12\r\n\x05token\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x0f\n\x07\x66ilters\x18\x06 \x01(\t\"\xc3\x01\n\x16NamedEntityListRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\r\x12\r\n\x05token\x18\x05 \x01(\t\x12%\n\x07sort_by\x18\x06 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x0f\n\x07\x66ilters\x18\x07 \x01(\t\"c\n\x19NamedEntityIdentifierList\x12\x37\n\x08\x65ntities\x18\x01 \x03(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\r\n\x05token\x18\x02 \x01(\t\"O\n\x0fNamedEntityList\x12-\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x1b.flyteidl.admin.NamedEntity\x12\r\n\x05token\x18\x02 \x01(\t\"~\n\x15NamedEntityGetRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\"\xb8\x01\n\x18NamedEntityUpdateRequest\x12\x32\n\rresource_type\x18\x01 \x01(\x0e\x32\x1b.flyteidl.core.ResourceType\x12\x31\n\x02id\x18\x02 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\x35\n\x08metadata\x18\x03 \x01(\x0b\x32#.flyteidl.admin.NamedEntityMetadata\"\x1b\n\x19NamedEntityUpdateResponse\"9\n\x10ObjectGetRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\"\x9e\x01\n\x13ResourceListRequest\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"-\n\x11\x45mailNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"1\n\x15PagerDutyNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"-\n\x11SlackNotification\x12\x18\n\x10recipients_email\x18\x01 \x03(\t\"\xf3\x01\n\x0cNotification\x12\x36\n\x06phases\x18\x01 \x03(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12\x32\n\x05\x65mail\x18\x02 \x01(\x0b\x32!.flyteidl.admin.EmailNotificationH\x00\x12;\n\npager_duty\x18\x03 \x01(\x0b\x32%.flyteidl.admin.PagerDutyNotificationH\x00\x12\x32\n\x05slack\x18\x04 \x01(\x0b\x32!.flyteidl.admin.SlackNotificationH\x00\x42\x06\n\x04type\")\n\x07UrlBlob\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03:\x02\x18\x01\"k\n\x06Labels\x12\x32\n\x06values\x18\x01 \x03(\x0b\x32\".flyteidl.admin.Labels.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x0b\x41nnotations\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.flyteidl.admin.Annotations.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"3\n\x04\x45nvs\x12+\n\x06values\x18\x01 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePair\"N\n\x08\x41uthRole\x12\x1a\n\x12\x61ssumable_iam_role\x18\x01 \x01(\t\x12\"\n\x1akubernetes_service_account\x18\x02 \x01(\t:\x02\x18\x01\"5\n\x13RawOutputDataConfig\x12\x1e\n\x16output_location_prefix\x18\x01 \x01(\t\":\n\tFlyteURLs\x12\x0e\n\x06inputs\x18\x01 \x01(\t\x12\x0f\n\x07outputs\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x65\x63k\x18\x03 \x01(\t*\\\n\x10NamedEntityState\x12\x17\n\x13NAMED_ENTITY_ACTIVE\x10\x00\x12\x19\n\x15NAMED_ENTITY_ARCHIVED\x10\x01\x12\x14\n\x10SYSTEM_GENERATED\x10\x02\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , - dependencies=[flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,]) + dependencies=[flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) _NAMEDENTITYSTATE = _descriptor.EnumDescriptor( name='NamedEntityState', @@ -48,8 +50,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2462, - serialized_end=2554, + serialized_start=2638, + serialized_end=2730, ) _sym_db.RegisterEnumDescriptor(_NAMEDENTITYSTATE) @@ -76,8 +78,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=521, - serialized_end=563, + serialized_start=584, + serialized_end=626, ) _sym_db.RegisterEnumDescriptor(_SORT_DIRECTION) @@ -122,8 +124,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=110, - serialized_end=180, + serialized_start=173, + serialized_end=243, ) @@ -160,8 +162,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=182, - serialized_end=273, + serialized_start=245, + serialized_end=336, ) @@ -205,8 +207,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=276, - serialized_end=447, + serialized_start=339, + serialized_end=510, ) @@ -244,8 +246,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=449, - serialized_end=563, + serialized_start=512, + serialized_end=626, ) @@ -310,8 +312,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=566, - serialized_end=719, + serialized_start=629, + serialized_end=782, ) @@ -383,8 +385,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=722, - serialized_end=917, + serialized_start=785, + serialized_end=980, ) @@ -421,8 +423,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=919, - serialized_end=1018, + serialized_start=982, + serialized_end=1081, ) @@ -459,8 +461,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1020, - serialized_end=1099, + serialized_start=1083, + serialized_end=1162, ) @@ -497,8 +499,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1101, - serialized_end=1227, + serialized_start=1164, + serialized_end=1290, ) @@ -542,8 +544,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1230, - serialized_end=1414, + serialized_start=1293, + serialized_end=1477, ) @@ -566,8 +568,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1416, - serialized_end=1443, + serialized_start=1479, + serialized_end=1506, ) @@ -597,8 +599,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1445, - serialized_end=1502, + serialized_start=1508, + serialized_end=1565, ) @@ -656,8 +658,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1505, - serialized_end=1663, + serialized_start=1568, + serialized_end=1726, ) @@ -687,8 +689,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1665, - serialized_end=1710, + serialized_start=1728, + serialized_end=1773, ) @@ -718,8 +720,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1712, - serialized_end=1761, + serialized_start=1775, + serialized_end=1824, ) @@ -749,8 +751,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1763, - serialized_end=1808, + serialized_start=1826, + serialized_end=1871, ) @@ -804,8 +806,8 @@ name='type', full_name='flyteidl.admin.Notification.type', index=0, containing_type=None, fields=[]), ], - serialized_start=1811, - serialized_end=2054, + serialized_start=1874, + serialized_end=2117, ) @@ -842,8 +844,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2056, - serialized_end=2097, + serialized_start=2119, + serialized_end=2160, ) @@ -880,8 +882,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2161, - serialized_end=2206, + serialized_start=2224, + serialized_end=2269, ) _LABELS = _descriptor.Descriptor( @@ -910,8 +912,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2099, - serialized_end=2206, + serialized_start=2162, + serialized_end=2269, ) @@ -948,8 +950,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2161, - serialized_end=2206, + serialized_start=2224, + serialized_end=2269, ) _ANNOTATIONS = _descriptor.Descriptor( @@ -978,8 +980,39 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2208, - serialized_end=2325, + serialized_start=2271, + serialized_end=2388, +) + + +_ENVS = _descriptor.Descriptor( + name='Envs', + full_name='flyteidl.admin.Envs', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='values', full_name='flyteidl.admin.Envs.values', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2390, + serialized_end=2441, ) @@ -1016,8 +1049,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2327, - serialized_end=2405, + serialized_start=2443, + serialized_end=2521, ) @@ -1047,8 +1080,53 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2407, - serialized_end=2460, + serialized_start=2523, + serialized_end=2576, +) + + +_FLYTEURLS = _descriptor.Descriptor( + name='FlyteURLs', + full_name='flyteidl.admin.FlyteURLs', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='inputs', full_name='flyteidl.admin.FlyteURLs.inputs', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='outputs', full_name='flyteidl.admin.FlyteURLs.outputs', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='deck', full_name='flyteidl.admin.FlyteURLs.deck', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2578, + serialized_end=2636, ) _NAMEDENTITYMETADATA.fields_by_name['state'].enum_type = _NAMEDENTITYSTATE @@ -1087,6 +1165,7 @@ _LABELS.fields_by_name['values'].message_type = _LABELS_VALUESENTRY _ANNOTATIONS_VALUESENTRY.containing_type = _ANNOTATIONS _ANNOTATIONS.fields_by_name['values'].message_type = _ANNOTATIONS_VALUESENTRY +_ENVS.fields_by_name['values'].message_type = flyteidl_dot_core_dot_literals__pb2._KEYVALUEPAIR DESCRIPTOR.message_types_by_name['NamedEntityIdentifier'] = _NAMEDENTITYIDENTIFIER DESCRIPTOR.message_types_by_name['NamedEntityMetadata'] = _NAMEDENTITYMETADATA DESCRIPTOR.message_types_by_name['NamedEntity'] = _NAMEDENTITY @@ -1107,8 +1186,10 @@ DESCRIPTOR.message_types_by_name['UrlBlob'] = _URLBLOB DESCRIPTOR.message_types_by_name['Labels'] = _LABELS DESCRIPTOR.message_types_by_name['Annotations'] = _ANNOTATIONS +DESCRIPTOR.message_types_by_name['Envs'] = _ENVS DESCRIPTOR.message_types_by_name['AuthRole'] = _AUTHROLE DESCRIPTOR.message_types_by_name['RawOutputDataConfig'] = _RAWOUTPUTDATACONFIG +DESCRIPTOR.message_types_by_name['FlyteURLs'] = _FLYTEURLS DESCRIPTOR.enum_types_by_name['NamedEntityState'] = _NAMEDENTITYSTATE _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -1268,6 +1349,13 @@ _sym_db.RegisterMessage(Annotations) _sym_db.RegisterMessage(Annotations.ValuesEntry) +Envs = _reflection.GeneratedProtocolMessageType('Envs', (_message.Message,), dict( + DESCRIPTOR = _ENVS, + __module__ = 'flyteidl.admin.common_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.Envs) + )) +_sym_db.RegisterMessage(Envs) + AuthRole = _reflection.GeneratedProtocolMessageType('AuthRole', (_message.Message,), dict( DESCRIPTOR = _AUTHROLE, __module__ = 'flyteidl.admin.common_pb2' @@ -1282,6 +1370,13 @@ )) _sym_db.RegisterMessage(RawOutputDataConfig) +FlyteURLs = _reflection.GeneratedProtocolMessageType('FlyteURLs', (_message.Message,), dict( + DESCRIPTOR = _FLYTEURLS, + __module__ = 'flyteidl.admin.common_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.FlyteURLs) + )) +_sym_db.RegisterMessage(FlyteURLs) + DESCRIPTOR._options = None _URLBLOB._options = None diff --git a/gen/pb_python/flyteidl/admin/execution_pb2.py b/gen/pb_python/flyteidl/admin/execution_pb2.py index bc1452658..ddc3e85dd 100644 --- a/gen/pb_python/flyteidl/admin/execution_pb2.py +++ b/gen/pb_python/flyteidl/admin/execution_pb2.py @@ -19,6 +19,7 @@ from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from flyteidl.core import metrics_pb2 as flyteidl_dot_core_dot_metrics__pb2 from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 @@ -30,9 +31,9 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x9f\x01\n\x16\x45xecutionCreateRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12+\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpec\x12)\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\"\x7f\n\x18\x45xecutionRelaunchRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x17\n\x0foverwrite_cache\x18\x04 \x01(\x08J\x04\x08\x02\x10\x03\"\x94\x01\n\x17\x45xecutionRecoverRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadata\"Q\n\x17\x45xecutionCreateResponse\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"U\n\x1bWorkflowExecutionGetRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xa3\x01\n\tExecution\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12+\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpec\x12\x31\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosure\"M\n\rExecutionList\x12-\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.Execution\x12\r\n\x05token\x18\x02 \x01(\t\"X\n\x0eLiteralMapBlob\x12/\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\r\n\x03uri\x18\x02 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"1\n\rAbortMetadata\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12\x11\n\tprincipal\x18\x02 \x01(\t\"\xf0\x05\n\x10\x45xecutionClosure\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x19\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00\x12\x37\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00\x12\x34\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x36\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01\x12\x35\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12.\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.Notification\x12.\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12I\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsB\x0f\n\routput_result\"+\n\x0eSystemMetadata\x12\x19\n\x11\x65xecution_cluster\x18\x01 \x01(\t\"\xda\x03\n\x11\x45xecutionMetadata\x12=\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionMode\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x0f\n\x07nesting\x18\x03 \x01(\r\x12\x30\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12G\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x37\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadata\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"G\n\x10NotificationList\x12\x33\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.Notification\"\x80\x06\n\rExecutionSpec\x12.\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12-\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01\x12\x33\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadata\x12\x39\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00\x12\x15\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00\x12&\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12\x38\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12/\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01\x12;\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfService\x12\x17\n\x0fmax_parallelism\x18\x12 \x01(\x05\x12\x43\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12=\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignment\x12\x31\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x16 \x01(\x08\x42\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"b\n\x19\x45xecutionTerminateRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\"\x1c\n\x1a\x45xecutionTerminateResponse\"Y\n\x1fWorkflowExecutionGetDataRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xde\x01\n WorkflowExecutionGetDataResponse\x12,\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12+\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\"\x7f\n\x16\x45xecutionUpdateRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionState\"\x90\x01\n\x1b\x45xecutionStateChangeDetails\x12-\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionState\x12/\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tprincipal\x18\x03 \x01(\t\"\x19\n\x17\x45xecutionUpdateResponse*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/metrics.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x9f\x01\n\x16\x45xecutionCreateRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12+\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpec\x12)\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\"\x7f\n\x18\x45xecutionRelaunchRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x17\n\x0foverwrite_cache\x18\x04 \x01(\x08J\x04\x08\x02\x10\x03\"\x94\x01\n\x17\x45xecutionRecoverRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x33\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadata\"Q\n\x17\x45xecutionCreateResponse\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"U\n\x1bWorkflowExecutionGetRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xa3\x01\n\tExecution\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12+\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpec\x12\x31\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosure\"M\n\rExecutionList\x12-\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.Execution\x12\r\n\x05token\x18\x02 \x01(\t\"X\n\x0eLiteralMapBlob\x12/\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\r\n\x03uri\x18\x02 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"1\n\rAbortMetadata\x12\r\n\x05\x63\x61use\x18\x01 \x01(\t\x12\x11\n\tprincipal\x18\x02 \x01(\t\"\xf0\x05\n\x10\x45xecutionClosure\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x19\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00\x12\x37\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00\x12\x34\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x36\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01\x12\x35\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12.\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.Notification\x12.\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12I\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsB\x0f\n\routput_result\"+\n\x0eSystemMetadata\x12\x19\n\x11\x65xecution_cluster\x18\x01 \x01(\t\"\xda\x03\n\x11\x45xecutionMetadata\x12=\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionMode\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x0f\n\x07nesting\x18\x03 \x01(\r\x12\x30\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12G\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x37\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadata\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"G\n\x10NotificationList\x12\x33\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.Notification\"\xa4\x06\n\rExecutionSpec\x12.\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12-\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01\x12\x33\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadata\x12\x39\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00\x12\x15\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00\x12&\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12\x38\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12/\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01\x12;\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfService\x12\x17\n\x0fmax_parallelism\x18\x12 \x01(\x05\x12\x43\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12=\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignment\x12\x31\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x16 \x01(\x08\x12\"\n\x04\x65nvs\x18\x17 \x01(\x0b\x32\x14.flyteidl.admin.EnvsB\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"b\n\x19\x45xecutionTerminateRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\r\n\x05\x63\x61use\x18\x02 \x01(\t\"\x1c\n\x1a\x45xecutionTerminateResponse\"Y\n\x1fWorkflowExecutionGetDataRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xde\x01\n WorkflowExecutionGetDataResponse\x12,\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12+\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\"\x7f\n\x16\x45xecutionUpdateRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionState\"\x90\x01\n\x1b\x45xecutionStateChangeDetails\x12-\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionState\x12/\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tprincipal\x18\x03 \x01(\t\"\x19\n\x17\x45xecutionUpdateResponse\"k\n\"WorkflowExecutionGetMetricsRequest\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\r\n\x05\x64\x65pth\x18\x02 \x01(\x05\"H\n#WorkflowExecutionGetMetricsResponse\x12!\n\x04span\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.Span*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , - dependencies=[flyteidl_dot_admin_dot_cluster__assignment__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_security__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[flyteidl_dot_admin_dot_cluster__assignment__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_metrics__pb2.DESCRIPTOR,flyteidl_dot_core_dot_security__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) _EXECUTIONSTATE = _descriptor.EnumDescriptor( name='ExecutionState', @@ -51,8 +52,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4208, - serialized_end=4270, + serialized_start=4456, + serialized_end=4518, ) _sym_db.RegisterEnumDescriptor(_EXECUTIONSTATE) @@ -94,8 +95,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2510, - serialized_end=2613, + serialized_start=2539, + serialized_end=2642, ) _sym_db.RegisterEnumDescriptor(_EXECUTIONMETADATA_EXECUTIONMODE) @@ -154,8 +155,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=341, - serialized_end=500, + serialized_start=370, + serialized_end=529, ) @@ -199,8 +200,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=502, - serialized_end=629, + serialized_start=531, + serialized_end=658, ) @@ -244,8 +245,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=632, - serialized_end=780, + serialized_start=661, + serialized_end=809, ) @@ -275,8 +276,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=782, - serialized_end=863, + serialized_start=811, + serialized_end=892, ) @@ -306,8 +307,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=865, - serialized_end=950, + serialized_start=894, + serialized_end=979, ) @@ -351,8 +352,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=953, - serialized_end=1116, + serialized_start=982, + serialized_end=1145, ) @@ -389,8 +390,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1118, - serialized_end=1195, + serialized_start=1147, + serialized_end=1224, ) @@ -430,8 +431,8 @@ name='data', full_name='flyteidl.admin.LiteralMapBlob.data', index=0, containing_type=None, fields=[]), ], - serialized_start=1197, - serialized_end=1285, + serialized_start=1226, + serialized_end=1314, ) @@ -468,8 +469,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1287, - serialized_end=1336, + serialized_start=1316, + serialized_end=1365, ) @@ -593,8 +594,8 @@ name='output_result', full_name='flyteidl.admin.ExecutionClosure.output_result', index=0, containing_type=None, fields=[]), ], - serialized_start=1339, - serialized_end=2091, + serialized_start=1368, + serialized_end=2120, ) @@ -624,8 +625,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2093, - serialized_end=2136, + serialized_start=2122, + serialized_end=2165, ) @@ -698,8 +699,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2139, - serialized_end=2613, + serialized_start=2168, + serialized_end=2642, ) @@ -729,8 +730,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2615, - serialized_end=2686, + serialized_start=2644, + serialized_end=2715, ) @@ -846,6 +847,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='envs', full_name='flyteidl.admin.ExecutionSpec.envs', index=15, + number=23, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -861,8 +869,8 @@ name='notification_overrides', full_name='flyteidl.admin.ExecutionSpec.notification_overrides', index=0, containing_type=None, fields=[]), ], - serialized_start=2689, - serialized_end=3457, + serialized_start=2718, + serialized_end=3522, ) @@ -899,8 +907,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3459, - serialized_end=3557, + serialized_start=3524, + serialized_end=3622, ) @@ -923,8 +931,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3559, - serialized_end=3587, + serialized_start=3624, + serialized_end=3652, ) @@ -954,8 +962,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3589, - serialized_end=3678, + serialized_start=3654, + serialized_end=3743, ) @@ -1006,8 +1014,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3681, - serialized_end=3903, + serialized_start=3746, + serialized_end=3968, ) @@ -1044,8 +1052,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3905, - serialized_end=4032, + serialized_start=3970, + serialized_end=4097, ) @@ -1089,8 +1097,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4035, - serialized_end=4179, + serialized_start=4100, + serialized_end=4244, ) @@ -1113,8 +1121,77 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4181, - serialized_end=4206, + serialized_start=4246, + serialized_end=4271, +) + + +_WORKFLOWEXECUTIONGETMETRICSREQUEST = _descriptor.Descriptor( + name='WorkflowExecutionGetMetricsRequest', + full_name='flyteidl.admin.WorkflowExecutionGetMetricsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='flyteidl.admin.WorkflowExecutionGetMetricsRequest.id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='depth', full_name='flyteidl.admin.WorkflowExecutionGetMetricsRequest.depth', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4273, + serialized_end=4380, +) + + +_WORKFLOWEXECUTIONGETMETRICSRESPONSE = _descriptor.Descriptor( + name='WorkflowExecutionGetMetricsResponse', + full_name='flyteidl.admin.WorkflowExecutionGetMetricsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='span', full_name='flyteidl.admin.WorkflowExecutionGetMetricsResponse.span', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4382, + serialized_end=4454, ) _EXECUTIONCREATEREQUEST.fields_by_name['spec'].message_type = _EXECUTIONSPEC @@ -1182,6 +1259,7 @@ _EXECUTIONSPEC.fields_by_name['raw_output_data_config'].message_type = flyteidl_dot_admin_dot_common__pb2._RAWOUTPUTDATACONFIG _EXECUTIONSPEC.fields_by_name['cluster_assignment'].message_type = flyteidl_dot_admin_dot_cluster__assignment__pb2._CLUSTERASSIGNMENT _EXECUTIONSPEC.fields_by_name['interruptible'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_EXECUTIONSPEC.fields_by_name['envs'].message_type = flyteidl_dot_admin_dot_common__pb2._ENVS _EXECUTIONSPEC.oneofs_by_name['notification_overrides'].fields.append( _EXECUTIONSPEC.fields_by_name['notifications']) _EXECUTIONSPEC.fields_by_name['notifications'].containing_oneof = _EXECUTIONSPEC.oneofs_by_name['notification_overrides'] @@ -1198,6 +1276,8 @@ _EXECUTIONUPDATEREQUEST.fields_by_name['state'].enum_type = _EXECUTIONSTATE _EXECUTIONSTATECHANGEDETAILS.fields_by_name['state'].enum_type = _EXECUTIONSTATE _EXECUTIONSTATECHANGEDETAILS.fields_by_name['occurred_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_WORKFLOWEXECUTIONGETMETRICSREQUEST.fields_by_name['id'].message_type = flyteidl_dot_core_dot_identifier__pb2._WORKFLOWEXECUTIONIDENTIFIER +_WORKFLOWEXECUTIONGETMETRICSRESPONSE.fields_by_name['span'].message_type = flyteidl_dot_core_dot_metrics__pb2._SPAN DESCRIPTOR.message_types_by_name['ExecutionCreateRequest'] = _EXECUTIONCREATEREQUEST DESCRIPTOR.message_types_by_name['ExecutionRelaunchRequest'] = _EXECUTIONRELAUNCHREQUEST DESCRIPTOR.message_types_by_name['ExecutionRecoverRequest'] = _EXECUTIONRECOVERREQUEST @@ -1219,6 +1299,8 @@ DESCRIPTOR.message_types_by_name['ExecutionUpdateRequest'] = _EXECUTIONUPDATEREQUEST DESCRIPTOR.message_types_by_name['ExecutionStateChangeDetails'] = _EXECUTIONSTATECHANGEDETAILS DESCRIPTOR.message_types_by_name['ExecutionUpdateResponse'] = _EXECUTIONUPDATERESPONSE +DESCRIPTOR.message_types_by_name['WorkflowExecutionGetMetricsRequest'] = _WORKFLOWEXECUTIONGETMETRICSREQUEST +DESCRIPTOR.message_types_by_name['WorkflowExecutionGetMetricsResponse'] = _WORKFLOWEXECUTIONGETMETRICSRESPONSE DESCRIPTOR.enum_types_by_name['ExecutionState'] = _EXECUTIONSTATE _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -1369,6 +1451,20 @@ )) _sym_db.RegisterMessage(ExecutionUpdateResponse) +WorkflowExecutionGetMetricsRequest = _reflection.GeneratedProtocolMessageType('WorkflowExecutionGetMetricsRequest', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWEXECUTIONGETMETRICSREQUEST, + __module__ = 'flyteidl.admin.execution_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsRequest) + )) +_sym_db.RegisterMessage(WorkflowExecutionGetMetricsRequest) + +WorkflowExecutionGetMetricsResponse = _reflection.GeneratedProtocolMessageType('WorkflowExecutionGetMetricsResponse', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWEXECUTIONGETMETRICSRESPONSE, + __module__ = 'flyteidl.admin.execution_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowExecutionGetMetricsResponse) + )) +_sym_db.RegisterMessage(WorkflowExecutionGetMetricsResponse) + DESCRIPTOR._options = None _LITERALMAPBLOB.fields_by_name['values']._options = None diff --git a/gen/pb_python/flyteidl/admin/launch_plan_pb2.py b/gen/pb_python/flyteidl/admin/launch_plan_pb2.py index bf4de8eee..7dd302f89 100644 --- a/gen/pb_python/flyteidl/admin/launch_plan_pb2.py +++ b/gen/pb_python/flyteidl/admin/launch_plan_pb2.py @@ -30,7 +30,7 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"n\n\x17LaunchPlanCreateRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12,\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpec\"\x1a\n\x18LaunchPlanCreateResponse\"\x95\x01\n\nLaunchPlan\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12,\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpec\x12\x32\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosure\"Q\n\x0eLaunchPlanList\x12\x30\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlan\x12\r\n\x05token\x18\x02 \x01(\t\"J\n\x04\x41uth\x12\x1a\n\x12\x61ssumable_iam_role\x18\x01 \x01(\t\x12\"\n\x1akubernetes_service_account\x18\x02 \x01(\t:\x02\x18\x01\"\xc9\x05\n\x0eLaunchPlanSpec\x12.\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12;\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadata\x12\x33\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMap\x12/\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12\x10\n\x04role\x18\x05 \x01(\tB\x02\x18\x01\x12&\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12&\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01\x12/\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01\x12\x38\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12;\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfService\x12\x43\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12\x17\n\x0fmax_parallelism\x18\x12 \x01(\x05\x12\x31\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x14 \x01(\x08\"\x8f\x02\n\x11LaunchPlanClosure\x12.\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanState\x12\x34\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMap\x12\x34\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMap\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n\x12LaunchPlanMetadata\x12*\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Schedule\x12\x33\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.Notification\"p\n\x17LaunchPlanUpdateRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanState\"\x1a\n\x18LaunchPlanUpdateResponse\"L\n\x17\x41\x63tiveLaunchPlanRequest\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\"\x83\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\x12\r\n\x05token\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"n\n\x17LaunchPlanCreateRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12,\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpec\"\x1a\n\x18LaunchPlanCreateResponse\"\x95\x01\n\nLaunchPlan\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12,\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpec\x12\x32\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosure\"Q\n\x0eLaunchPlanList\x12\x30\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlan\x12\r\n\x05token\x18\x02 \x01(\t\"J\n\x04\x41uth\x12\x1a\n\x12\x61ssumable_iam_role\x18\x01 \x01(\t\x12\"\n\x1akubernetes_service_account\x18\x02 \x01(\t:\x02\x18\x01\"\xed\x05\n\x0eLaunchPlanSpec\x12.\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12;\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadata\x12\x33\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMap\x12/\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12\x10\n\x04role\x18\x05 \x01(\tB\x02\x18\x01\x12&\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12&\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01\x12/\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01\x12\x38\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12;\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfService\x12\x43\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12\x17\n\x0fmax_parallelism\x18\x12 \x01(\x05\x12\x31\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x14 \x01(\x08\x12\"\n\x04\x65nvs\x18\x15 \x01(\x0b\x32\x14.flyteidl.admin.Envs\"\x8f\x02\n\x11LaunchPlanClosure\x12.\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanState\x12\x34\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMap\x12\x34\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMap\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n\x12LaunchPlanMetadata\x12*\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Schedule\x12\x33\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.Notification\"p\n\x17LaunchPlanUpdateRequest\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanState\"\x1a\n\x18LaunchPlanUpdateResponse\"L\n\x17\x41\x63tiveLaunchPlanRequest\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifier\"\x83\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\r\x12\r\n\x05token\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , dependencies=[flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_interface__pb2.DESCRIPTOR,flyteidl_dot_core_dot_security__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_schedule__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) @@ -51,8 +51,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2245, - serialized_end=2288, + serialized_start=2281, + serialized_end=2324, ) _sym_db.RegisterEnumDescriptor(_LAUNCHPLANSTATE) @@ -357,6 +357,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='envs', full_name='flyteidl.admin.LaunchPlanSpec.envs', index=15, + number=21, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -370,7 +377,7 @@ oneofs=[ ], serialized_start=783, - serialized_end=1496, + serialized_end=1532, ) @@ -428,8 +435,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1499, - serialized_end=1770, + serialized_start=1535, + serialized_end=1806, ) @@ -466,8 +473,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1772, - serialized_end=1889, + serialized_start=1808, + serialized_end=1925, ) @@ -504,8 +511,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1891, - serialized_end=2003, + serialized_start=1927, + serialized_end=2039, ) @@ -528,8 +535,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2005, - serialized_end=2031, + serialized_start=2041, + serialized_end=2067, ) @@ -559,8 +566,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2033, - serialized_end=2109, + serialized_start=2069, + serialized_end=2145, ) @@ -618,8 +625,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2112, - serialized_end=2243, + serialized_start=2148, + serialized_end=2279, ) _LAUNCHPLANCREATEREQUEST.fields_by_name['id'].message_type = flyteidl_dot_core_dot_identifier__pb2._IDENTIFIER @@ -640,6 +647,7 @@ _LAUNCHPLANSPEC.fields_by_name['quality_of_service'].message_type = flyteidl_dot_core_dot_execution__pb2._QUALITYOFSERVICE _LAUNCHPLANSPEC.fields_by_name['raw_output_data_config'].message_type = flyteidl_dot_admin_dot_common__pb2._RAWOUTPUTDATACONFIG _LAUNCHPLANSPEC.fields_by_name['interruptible'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_LAUNCHPLANSPEC.fields_by_name['envs'].message_type = flyteidl_dot_admin_dot_common__pb2._ENVS _LAUNCHPLANCLOSURE.fields_by_name['state'].enum_type = _LAUNCHPLANSTATE _LAUNCHPLANCLOSURE.fields_by_name['expected_inputs'].message_type = flyteidl_dot_core_dot_interface__pb2._PARAMETERMAP _LAUNCHPLANCLOSURE.fields_by_name['expected_outputs'].message_type = flyteidl_dot_core_dot_interface__pb2._VARIABLEMAP diff --git a/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py b/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py index 5c1430df9..a1e5aa864 100644 --- a/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py +++ b/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py @@ -26,7 +26,7 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n\'flyteidl/admin/matchable_resource.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/wrappers.proto\"h\n\x10TaskResourceSpec\x12\x0b\n\x03\x63pu\x18\x01 \x01(\t\x12\x0b\n\x03gpu\x18\x02 \x01(\t\x12\x0e\n\x06memory\x18\x03 \x01(\t\x12\x0f\n\x07storage\x18\x04 \x01(\t\x12\x19\n\x11\x65phemeral_storage\x18\x05 \x01(\t\"~\n\x16TaskResourceAttributes\x12\x32\n\x08\x64\x65\x66\x61ults\x18\x01 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\x12\x30\n\x06limits\x18\x02 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\"\x9d\x01\n\x19\x43lusterResourceAttributes\x12M\n\nattributes\x18\x01 \x03(\x0b\x32\x39.flyteidl.admin.ClusterResourceAttributes.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x18\x45xecutionQueueAttributes\x12\x0c\n\x04tags\x18\x01 \x03(\t\"&\n\x15\x45xecutionClusterLabel\x12\r\n\x05value\x18\x01 \x01(\t\"\xc1\x01\n\x0ePluginOverride\x12\x11\n\ttask_type\x18\x01 \x01(\t\x12\x11\n\tplugin_id\x18\x02 \x03(\t\x12U\n\x17missing_plugin_behavior\x18\x04 \x01(\x0e\x32\x34.flyteidl.admin.PluginOverride.MissingPluginBehavior\"2\n\x15MissingPluginBehavior\x12\x08\n\x04\x46\x41IL\x10\x00\x12\x0f\n\x0bUSE_DEFAULT\x10\x01\"D\n\x0fPluginOverrides\x12\x31\n\toverrides\x18\x01 \x03(\x0b\x32\x1e.flyteidl.admin.PluginOverride\"\xd7\x02\n\x17WorkflowExecutionConfig\x12\x17\n\x0fmax_parallelism\x18\x01 \x01(\x05\x12\x38\n\x10security_context\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12\x43\n\x16raw_output_data_config\x18\x03 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12&\n\x06labels\x18\x04 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x05 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12\x31\n\rinterruptible\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x07 \x01(\x08\"\xe1\x04\n\x12MatchingAttributes\x12J\n\x18task_resource_attributes\x18\x01 \x01(\x0b\x32&.flyteidl.admin.TaskResourceAttributesH\x00\x12P\n\x1b\x63luster_resource_attributes\x18\x02 \x01(\x0b\x32).flyteidl.admin.ClusterResourceAttributesH\x00\x12N\n\x1a\x65xecution_queue_attributes\x18\x03 \x01(\x0b\x32(.flyteidl.admin.ExecutionQueueAttributesH\x00\x12H\n\x17\x65xecution_cluster_label\x18\x04 \x01(\x0b\x32%.flyteidl.admin.ExecutionClusterLabelH\x00\x12=\n\x12quality_of_service\x18\x05 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceH\x00\x12;\n\x10plugin_overrides\x18\x06 \x01(\x0b\x32\x1f.flyteidl.admin.PluginOverridesH\x00\x12L\n\x19workflow_execution_config\x18\x07 \x01(\x0b\x32\'.flyteidl.admin.WorkflowExecutionConfigH\x00\x12?\n\x12\x63luster_assignment\x18\x08 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentH\x00\x42\x08\n\x06target\"\xa2\x01\n MatchableAttributesConfiguration\x12\x36\n\nattributes\x18\x01 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x10\n\x08workflow\x18\x04 \x01(\t\x12\x13\n\x0blaunch_plan\x18\x05 \x01(\t\"Z\n\x1eListMatchableAttributesRequest\x12\x38\n\rresource_type\x18\x01 \x01(\x0e\x32!.flyteidl.admin.MatchableResource\"k\n\x1fListMatchableAttributesResponse\x12H\n\x0e\x63onfigurations\x18\x01 \x03(\x0b\x32\x30.flyteidl.admin.MatchableAttributesConfiguration*\xe0\x01\n\x11MatchableResource\x12\x11\n\rTASK_RESOURCE\x10\x00\x12\x14\n\x10\x43LUSTER_RESOURCE\x10\x01\x12\x13\n\x0f\x45XECUTION_QUEUE\x10\x02\x12\x1b\n\x17\x45XECUTION_CLUSTER_LABEL\x10\x03\x12$\n QUALITY_OF_SERVICE_SPECIFICATION\x10\x04\x12\x13\n\x0fPLUGIN_OVERRIDE\x10\x05\x12\x1d\n\x19WORKFLOW_EXECUTION_CONFIG\x10\x06\x12\x16\n\x12\x43LUSTER_ASSIGNMENT\x10\x07\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n\'flyteidl/admin/matchable_resource.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/wrappers.proto\"h\n\x10TaskResourceSpec\x12\x0b\n\x03\x63pu\x18\x01 \x01(\t\x12\x0b\n\x03gpu\x18\x02 \x01(\t\x12\x0e\n\x06memory\x18\x03 \x01(\t\x12\x0f\n\x07storage\x18\x04 \x01(\t\x12\x19\n\x11\x65phemeral_storage\x18\x05 \x01(\t\"~\n\x16TaskResourceAttributes\x12\x32\n\x08\x64\x65\x66\x61ults\x18\x01 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\x12\x30\n\x06limits\x18\x02 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\"\x9d\x01\n\x19\x43lusterResourceAttributes\x12M\n\nattributes\x18\x01 \x03(\x0b\x32\x39.flyteidl.admin.ClusterResourceAttributes.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x18\x45xecutionQueueAttributes\x12\x0c\n\x04tags\x18\x01 \x03(\t\"&\n\x15\x45xecutionClusterLabel\x12\r\n\x05value\x18\x01 \x01(\t\"\xc1\x01\n\x0ePluginOverride\x12\x11\n\ttask_type\x18\x01 \x01(\t\x12\x11\n\tplugin_id\x18\x02 \x03(\t\x12U\n\x17missing_plugin_behavior\x18\x04 \x01(\x0e\x32\x34.flyteidl.admin.PluginOverride.MissingPluginBehavior\"2\n\x15MissingPluginBehavior\x12\x08\n\x04\x46\x41IL\x10\x00\x12\x0f\n\x0bUSE_DEFAULT\x10\x01\"D\n\x0fPluginOverrides\x12\x31\n\toverrides\x18\x01 \x03(\x0b\x32\x1e.flyteidl.admin.PluginOverride\"\xfb\x02\n\x17WorkflowExecutionConfig\x12\x17\n\x0fmax_parallelism\x18\x01 \x01(\x05\x12\x38\n\x10security_context\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12\x43\n\x16raw_output_data_config\x18\x03 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfig\x12&\n\x06labels\x18\x04 \x01(\x0b\x32\x16.flyteidl.admin.Labels\x12\x30\n\x0b\x61nnotations\x18\x05 \x01(\x0b\x32\x1b.flyteidl.admin.Annotations\x12\x31\n\rinterruptible\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0foverwrite_cache\x18\x07 \x01(\x08\x12\"\n\x04\x65nvs\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.Envs\"\xe1\x04\n\x12MatchingAttributes\x12J\n\x18task_resource_attributes\x18\x01 \x01(\x0b\x32&.flyteidl.admin.TaskResourceAttributesH\x00\x12P\n\x1b\x63luster_resource_attributes\x18\x02 \x01(\x0b\x32).flyteidl.admin.ClusterResourceAttributesH\x00\x12N\n\x1a\x65xecution_queue_attributes\x18\x03 \x01(\x0b\x32(.flyteidl.admin.ExecutionQueueAttributesH\x00\x12H\n\x17\x65xecution_cluster_label\x18\x04 \x01(\x0b\x32%.flyteidl.admin.ExecutionClusterLabelH\x00\x12=\n\x12quality_of_service\x18\x05 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceH\x00\x12;\n\x10plugin_overrides\x18\x06 \x01(\x0b\x32\x1f.flyteidl.admin.PluginOverridesH\x00\x12L\n\x19workflow_execution_config\x18\x07 \x01(\x0b\x32\'.flyteidl.admin.WorkflowExecutionConfigH\x00\x12?\n\x12\x63luster_assignment\x18\x08 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentH\x00\x42\x08\n\x06target\"\xa2\x01\n MatchableAttributesConfiguration\x12\x36\n\nattributes\x18\x01 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x10\n\x08workflow\x18\x04 \x01(\t\x12\x13\n\x0blaunch_plan\x18\x05 \x01(\t\"Z\n\x1eListMatchableAttributesRequest\x12\x38\n\rresource_type\x18\x01 \x01(\x0e\x32!.flyteidl.admin.MatchableResource\"k\n\x1fListMatchableAttributesResponse\x12H\n\x0e\x63onfigurations\x18\x01 \x03(\x0b\x32\x30.flyteidl.admin.MatchableAttributesConfiguration*\xe0\x01\n\x11MatchableResource\x12\x11\n\rTASK_RESOURCE\x10\x00\x12\x14\n\x10\x43LUSTER_RESOURCE\x10\x01\x12\x13\n\x0f\x45XECUTION_QUEUE\x10\x02\x12\x1b\n\x17\x45XECUTION_CLUSTER_LABEL\x10\x03\x12$\n QUALITY_OF_SERVICE_SPECIFICATION\x10\x04\x12\x13\n\x0fPLUGIN_OVERRIDE\x10\x05\x12\x1d\n\x19WORKFLOW_EXECUTION_CONFIG\x10\x06\x12\x16\n\x12\x43LUSTER_ASSIGNMENT\x10\x07\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , dependencies=[flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_cluster__assignment__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_security__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) @@ -71,8 +71,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2289, - serialized_end=2513, + serialized_start=2325, + serialized_end=2549, ) _sym_db.RegisterEnumDescriptor(_MATCHABLERESOURCE) @@ -470,6 +470,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='envs', full_name='flyteidl.admin.WorkflowExecutionConfig.envs', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -483,7 +490,7 @@ oneofs=[ ], serialized_start=965, - serialized_end=1308, + serialized_end=1344, ) @@ -565,8 +572,8 @@ name='target', full_name='flyteidl.admin.MatchingAttributes.target', index=0, containing_type=None, fields=[]), ], - serialized_start=1311, - serialized_end=1920, + serialized_start=1347, + serialized_end=1956, ) @@ -624,8 +631,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1923, - serialized_end=2085, + serialized_start=1959, + serialized_end=2121, ) @@ -655,8 +662,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2087, - serialized_end=2177, + serialized_start=2123, + serialized_end=2213, ) @@ -686,8 +693,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2179, - serialized_end=2286, + serialized_start=2215, + serialized_end=2322, ) _TASKRESOURCEATTRIBUTES.fields_by_name['defaults'].message_type = _TASKRESOURCESPEC @@ -702,6 +709,7 @@ _WORKFLOWEXECUTIONCONFIG.fields_by_name['labels'].message_type = flyteidl_dot_admin_dot_common__pb2._LABELS _WORKFLOWEXECUTIONCONFIG.fields_by_name['annotations'].message_type = flyteidl_dot_admin_dot_common__pb2._ANNOTATIONS _WORKFLOWEXECUTIONCONFIG.fields_by_name['interruptible'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_WORKFLOWEXECUTIONCONFIG.fields_by_name['envs'].message_type = flyteidl_dot_admin_dot_common__pb2._ENVS _MATCHINGATTRIBUTES.fields_by_name['task_resource_attributes'].message_type = _TASKRESOURCEATTRIBUTES _MATCHINGATTRIBUTES.fields_by_name['cluster_resource_attributes'].message_type = _CLUSTERRESOURCEATTRIBUTES _MATCHINGATTRIBUTES.fields_by_name['execution_queue_attributes'].message_type = _EXECUTIONQUEUEATTRIBUTES diff --git a/gen/pb_python/flyteidl/admin/node_execution_pb2.py b/gen/pb_python/flyteidl/admin/node_execution_pb2.py index 073867ef4..27d499028 100644 --- a/gen/pb_python/flyteidl/admin/node_execution_pb2.py +++ b/gen/pb_python/flyteidl/admin/node_execution_pb2.py @@ -28,7 +28,7 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n#flyteidl/admin/node_execution.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1b\x66lyteidl/core/catalog.proto\x1a\x1c\x66lyteidl/core/compiler.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"M\n\x17NodeExecutionGetRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\"\xd5\x01\n\x18NodeExecutionListRequest\x12I\n\x15workflow_execution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x18\n\x10unique_parent_id\x18\x06 \x01(\t\"\xba\x01\n\x1fNodeExecutionForTaskListRequest\x12\x41\n\x11task_execution_id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"\xc6\x01\n\rNodeExecution\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x11\n\tinput_uri\x18\x02 \x01(\t\x12\x35\n\x07\x63losure\x18\x03 \x01(\x0b\x32$.flyteidl.admin.NodeExecutionClosure\x12\x37\n\x08metadata\x18\x04 \x01(\x0b\x32%.flyteidl.admin.NodeExecutionMetaData\"n\n\x15NodeExecutionMetaData\x12\x13\n\x0bretry_group\x18\x01 \x01(\t\x12\x16\n\x0eis_parent_node\x18\x02 \x01(\x08\x12\x14\n\x0cspec_node_id\x18\x03 \x01(\t\x12\x12\n\nis_dynamic\x18\x04 \x01(\x08\"Z\n\x11NodeExecutionList\x12\x36\n\x0fnode_executions\x18\x01 \x03(\x0b\x32\x1d.flyteidl.admin.NodeExecution\x12\r\n\x05token\x18\x02 \x01(\t\"\xc4\x04\n\x14NodeExecutionClosure\x12\x18\n\noutput_uri\x18\x01 \x01(\tB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x34\n\x0boutput_data\x18\n \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.NodeExecution.Phase\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x16workflow_node_metadata\x18\x08 \x01(\x0b\x32$.flyteidl.admin.WorkflowNodeMetadataH\x01\x12>\n\x12task_node_metadata\x18\t \x01(\x0b\x32 .flyteidl.admin.TaskNodeMetadataH\x01\x12\x10\n\x08\x64\x65\x63k_uri\x18\x0b \x01(\tB\x0f\n\routput_resultB\x11\n\x0ftarget_metadata\"W\n\x14WorkflowNodeMetadata\x12?\n\x0b\x65xecutionId\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\x98\x01\n\x10TaskNodeMetadata\x12\x37\n\x0c\x63\x61\x63he_status\x18\x01 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12\x33\n\x0b\x63\x61talog_key\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.CatalogMetadata\x12\x16\n\x0e\x63heckpoint_uri\x18\x04 \x01(\t\"\x87\x01\n\x1b\x44ynamicWorkflowNodeMetadata\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x41\n\x11\x63ompiled_workflow\x18\x02 \x01(\x0b\x32&.flyteidl.core.CompiledWorkflowClosure\"Q\n\x1bNodeExecutionGetDataRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\"\xa1\x02\n\x1cNodeExecutionGetDataResponse\x12+\n\x06inputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12,\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12\x45\n\x10\x64ynamic_workflow\x18\x10 \x01(\x0b\x32+.flyteidl.admin.DynamicWorkflowNodeMetadataB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n#flyteidl/admin/node_execution.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1b\x66lyteidl/core/catalog.proto\x1a\x1c\x66lyteidl/core/compiler.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"M\n\x17NodeExecutionGetRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\"\xd5\x01\n\x18NodeExecutionListRequest\x12I\n\x15workflow_execution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\x12\x18\n\x10unique_parent_id\x18\x06 \x01(\t\"\xba\x01\n\x1fNodeExecutionForTaskListRequest\x12\x41\n\x11task_execution_id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"\xc6\x01\n\rNodeExecution\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x11\n\tinput_uri\x18\x02 \x01(\t\x12\x35\n\x07\x63losure\x18\x03 \x01(\x0b\x32$.flyteidl.admin.NodeExecutionClosure\x12\x37\n\x08metadata\x18\x04 \x01(\x0b\x32%.flyteidl.admin.NodeExecutionMetaData\"n\n\x15NodeExecutionMetaData\x12\x13\n\x0bretry_group\x18\x01 \x01(\t\x12\x16\n\x0eis_parent_node\x18\x02 \x01(\x08\x12\x14\n\x0cspec_node_id\x18\x03 \x01(\t\x12\x12\n\nis_dynamic\x18\x04 \x01(\x08\"Z\n\x11NodeExecutionList\x12\x36\n\x0fnode_executions\x18\x01 \x03(\x0b\x32\x1d.flyteidl.admin.NodeExecution\x12\r\n\x05token\x18\x02 \x01(\t\"\xe2\x04\n\x14NodeExecutionClosure\x12\x18\n\noutput_uri\x18\x01 \x01(\tB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x34\n\x0boutput_data\x18\n \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.NodeExecution.Phase\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x16workflow_node_metadata\x18\x08 \x01(\x0b\x32$.flyteidl.admin.WorkflowNodeMetadataH\x01\x12>\n\x12task_node_metadata\x18\t \x01(\x0b\x32 .flyteidl.admin.TaskNodeMetadataH\x01\x12\x10\n\x08\x64\x65\x63k_uri\x18\x0b \x01(\t\x12\x1c\n\x14\x64ynamic_job_spec_uri\x18\x0c \x01(\tB\x0f\n\routput_resultB\x11\n\x0ftarget_metadata\"W\n\x14WorkflowNodeMetadata\x12?\n\x0b\x65xecutionId\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\x98\x01\n\x10TaskNodeMetadata\x12\x37\n\x0c\x63\x61\x63he_status\x18\x01 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12\x33\n\x0b\x63\x61talog_key\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.CatalogMetadata\x12\x16\n\x0e\x63heckpoint_uri\x18\x04 \x01(\t\"\xa5\x01\n\x1b\x44ynamicWorkflowNodeMetadata\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x41\n\x11\x63ompiled_workflow\x18\x02 \x01(\x0b\x32&.flyteidl.core.CompiledWorkflowClosure\x12\x1c\n\x14\x64ynamic_job_spec_uri\x18\x03 \x01(\t\"Q\n\x1bNodeExecutionGetDataRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\"\xd0\x02\n\x1cNodeExecutionGetDataResponse\x12+\n\x06inputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12,\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12\x45\n\x10\x64ynamic_workflow\x18\x10 \x01(\x0b\x32+.flyteidl.admin.DynamicWorkflowNodeMetadata\x12-\n\nflyte_urls\x18\x11 \x01(\x0b\x32\x19.flyteidl.admin.FlyteURLsB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , dependencies=[flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_catalog__pb2.DESCRIPTOR,flyteidl_dot_core_dot_compiler__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,]) @@ -417,6 +417,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dynamic_job_spec_uri', full_name='flyteidl.admin.NodeExecutionClosure.dynamic_job_spec_uri', index=11, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -436,7 +443,7 @@ index=1, containing_type=None, fields=[]), ], serialized_start=1191, - serialized_end=1771, + serialized_end=1801, ) @@ -466,8 +473,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1773, - serialized_end=1860, + serialized_start=1803, + serialized_end=1890, ) @@ -511,8 +518,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1863, - serialized_end=2015, + serialized_start=1893, + serialized_end=2045, ) @@ -537,6 +544,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dynamic_job_spec_uri', full_name='flyteidl.admin.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -549,8 +563,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2018, - serialized_end=2153, + serialized_start=2048, + serialized_end=2213, ) @@ -580,8 +594,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2155, - serialized_end=2236, + serialized_start=2215, + serialized_end=2296, ) @@ -627,6 +641,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='flyte_urls', full_name='flyteidl.admin.NodeExecutionGetDataResponse.flyte_urls', index=5, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -639,8 +660,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2239, - serialized_end=2528, + serialized_start=2299, + serialized_end=2635, ) _NODEEXECUTIONGETREQUEST.fields_by_name['id'].message_type = flyteidl_dot_core_dot_identifier__pb2._NODEEXECUTIONIDENTIFIER @@ -687,6 +708,7 @@ _NODEEXECUTIONGETDATARESPONSE.fields_by_name['full_inputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP _NODEEXECUTIONGETDATARESPONSE.fields_by_name['full_outputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP _NODEEXECUTIONGETDATARESPONSE.fields_by_name['dynamic_workflow'].message_type = _DYNAMICWORKFLOWNODEMETADATA +_NODEEXECUTIONGETDATARESPONSE.fields_by_name['flyte_urls'].message_type = flyteidl_dot_admin_dot_common__pb2._FLYTEURLS DESCRIPTOR.message_types_by_name['NodeExecutionGetRequest'] = _NODEEXECUTIONGETREQUEST DESCRIPTOR.message_types_by_name['NodeExecutionListRequest'] = _NODEEXECUTIONLISTREQUEST DESCRIPTOR.message_types_by_name['NodeExecutionForTaskListRequest'] = _NODEEXECUTIONFORTASKLISTREQUEST diff --git a/gen/pb_python/flyteidl/admin/task_execution_pb2.py b/gen/pb_python/flyteidl/admin/task_execution_pb2.py index 8fe2b762b..2254aca4e 100644 --- a/gen/pb_python/flyteidl/admin/task_execution_pb2.py +++ b/gen/pb_python/flyteidl/admin/task_execution_pb2.py @@ -28,7 +28,7 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n#flyteidl/admin/task_execution.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"M\n\x17TaskExecutionGetRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\"\xb3\x01\n\x18TaskExecutionListRequest\x12\x41\n\x11node_execution_id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"\xa0\x01\n\rTaskExecution\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\x12\x11\n\tinput_uri\x18\x02 \x01(\t\x12\x35\n\x07\x63losure\x18\x03 \x01(\x0b\x32$.flyteidl.admin.TaskExecutionClosure\x12\x11\n\tis_parent\x18\x04 \x01(\x08\"Z\n\x11TaskExecutionList\x12\x36\n\x0ftask_executions\x18\x01 \x03(\x0b\x32\x1d.flyteidl.admin.TaskExecution\x12\r\n\x05token\x18\x02 \x01(\t\"\xde\x04\n\x14TaskExecutionClosure\x12\x18\n\noutput_uri\x18\x01 \x01(\tB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x34\n\x0boutput_data\x18\x0c \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12$\n\x04logs\x18\x04 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\x12.\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x0b\x63ustom_info\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0e\n\x06reason\x18\n \x01(\t\x12\x11\n\ttask_type\x18\x0b \x01(\t\x12\x37\n\x08metadata\x18\x10 \x01(\x0b\x32%.flyteidl.event.TaskExecutionMetadata\x12\x15\n\revent_version\x18\x11 \x01(\x05\x42\x0f\n\routput_result\"Q\n\x1bTaskExecutionGetDataRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\"\xda\x01\n\x1cTaskExecutionGetDataResponse\x12+\n\x06inputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12,\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + serialized_pb=_b('\n#flyteidl/admin/task_execution.proto\x12\x0e\x66lyteidl.admin\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"M\n\x17TaskExecutionGetRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\"\xb3\x01\n\x18TaskExecutionListRequest\x12\x41\n\x11node_execution_id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\r\n\x05limit\x18\x02 \x01(\r\x12\r\n\x05token\x18\x03 \x01(\t\x12\x0f\n\x07\x66ilters\x18\x04 \x01(\t\x12%\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.Sort\"\xa0\x01\n\rTaskExecution\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\x12\x11\n\tinput_uri\x18\x02 \x01(\t\x12\x35\n\x07\x63losure\x18\x03 \x01(\x0b\x32$.flyteidl.admin.TaskExecutionClosure\x12\x11\n\tis_parent\x18\x04 \x01(\x08\"Z\n\x11TaskExecutionList\x12\x36\n\x0ftask_executions\x18\x01 \x03(\x0b\x32\x1d.flyteidl.admin.TaskExecution\x12\r\n\x05token\x18\x02 \x01(\t\"\x87\x05\n\x14TaskExecutionClosure\x12\x18\n\noutput_uri\x18\x01 \x01(\tB\x02\x18\x01H\x00\x12.\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x34\n\x0boutput_data\x18\x0c \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12$\n\x04logs\x18\x04 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\x12.\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x0b\x63ustom_info\x18\t \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0e\n\x06reason\x18\n \x01(\t\x12\x11\n\ttask_type\x18\x0b \x01(\t\x12\x37\n\x08metadata\x18\x10 \x01(\x0b\x32%.flyteidl.event.TaskExecutionMetadata\x12\x15\n\revent_version\x18\x11 \x01(\x05\x12\'\n\x07reasons\x18\x12 \x03(\x0b\x32\x16.flyteidl.admin.ReasonB\x0f\n\routput_result\"J\n\x06Reason\x12/\n\x0boccurred_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07message\x18\x02 \x01(\t\"Q\n\x1bTaskExecutionGetDataRequest\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\"\x89\x02\n\x1cTaskExecutionGetDataResponse\x12+\n\x06inputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12,\n\x07outputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01\x12.\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12/\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12-\n\nflyte_urls\x18\x05 \x01(\x0b\x32\x19.flyteidl.admin.FlyteURLsB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') , dependencies=[flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_event_dot_event__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,]) @@ -320,6 +320,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reasons', full_name='flyteidl.admin.TaskExecutionClosure.reasons', index=14, + number=18, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -336,7 +343,45 @@ index=0, containing_type=None, fields=[]), ], serialized_start=817, - serialized_end=1423, + serialized_end=1464, +) + + +_REASON = _descriptor.Descriptor( + name='Reason', + full_name='flyteidl.admin.Reason', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='occurred_at', full_name='flyteidl.admin.Reason.occurred_at', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='message', full_name='flyteidl.admin.Reason.message', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1466, + serialized_end=1540, ) @@ -366,8 +411,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1425, - serialized_end=1506, + serialized_start=1542, + serialized_end=1623, ) @@ -406,6 +451,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='flyte_urls', full_name='flyteidl.admin.TaskExecutionGetDataResponse.flyte_urls', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -418,8 +470,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1509, - serialized_end=1727, + serialized_start=1626, + serialized_end=1891, ) _TASKEXECUTIONGETREQUEST.fields_by_name['id'].message_type = flyteidl_dot_core_dot_identifier__pb2._TASKEXECUTIONIDENTIFIER @@ -438,6 +490,7 @@ _TASKEXECUTIONCLOSURE.fields_by_name['updated_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _TASKEXECUTIONCLOSURE.fields_by_name['custom_info'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT _TASKEXECUTIONCLOSURE.fields_by_name['metadata'].message_type = flyteidl_dot_event_dot_event__pb2._TASKEXECUTIONMETADATA +_TASKEXECUTIONCLOSURE.fields_by_name['reasons'].message_type = _REASON _TASKEXECUTIONCLOSURE.oneofs_by_name['output_result'].fields.append( _TASKEXECUTIONCLOSURE.fields_by_name['output_uri']) _TASKEXECUTIONCLOSURE.fields_by_name['output_uri'].containing_oneof = _TASKEXECUTIONCLOSURE.oneofs_by_name['output_result'] @@ -447,16 +500,19 @@ _TASKEXECUTIONCLOSURE.oneofs_by_name['output_result'].fields.append( _TASKEXECUTIONCLOSURE.fields_by_name['output_data']) _TASKEXECUTIONCLOSURE.fields_by_name['output_data'].containing_oneof = _TASKEXECUTIONCLOSURE.oneofs_by_name['output_result'] +_REASON.fields_by_name['occurred_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _TASKEXECUTIONGETDATAREQUEST.fields_by_name['id'].message_type = flyteidl_dot_core_dot_identifier__pb2._TASKEXECUTIONIDENTIFIER _TASKEXECUTIONGETDATARESPONSE.fields_by_name['inputs'].message_type = flyteidl_dot_admin_dot_common__pb2._URLBLOB _TASKEXECUTIONGETDATARESPONSE.fields_by_name['outputs'].message_type = flyteidl_dot_admin_dot_common__pb2._URLBLOB _TASKEXECUTIONGETDATARESPONSE.fields_by_name['full_inputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP _TASKEXECUTIONGETDATARESPONSE.fields_by_name['full_outputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP +_TASKEXECUTIONGETDATARESPONSE.fields_by_name['flyte_urls'].message_type = flyteidl_dot_admin_dot_common__pb2._FLYTEURLS DESCRIPTOR.message_types_by_name['TaskExecutionGetRequest'] = _TASKEXECUTIONGETREQUEST DESCRIPTOR.message_types_by_name['TaskExecutionListRequest'] = _TASKEXECUTIONLISTREQUEST DESCRIPTOR.message_types_by_name['TaskExecution'] = _TASKEXECUTION DESCRIPTOR.message_types_by_name['TaskExecutionList'] = _TASKEXECUTIONLIST DESCRIPTOR.message_types_by_name['TaskExecutionClosure'] = _TASKEXECUTIONCLOSURE +DESCRIPTOR.message_types_by_name['Reason'] = _REASON DESCRIPTOR.message_types_by_name['TaskExecutionGetDataRequest'] = _TASKEXECUTIONGETDATAREQUEST DESCRIPTOR.message_types_by_name['TaskExecutionGetDataResponse'] = _TASKEXECUTIONGETDATARESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -496,6 +552,13 @@ )) _sym_db.RegisterMessage(TaskExecutionClosure) +Reason = _reflection.GeneratedProtocolMessageType('Reason', (_message.Message,), dict( + DESCRIPTOR = _REASON, + __module__ = 'flyteidl.admin.task_execution_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.Reason) + )) +_sym_db.RegisterMessage(Reason) + TaskExecutionGetDataRequest = _reflection.GeneratedProtocolMessageType('TaskExecutionGetDataRequest', (_message.Message,), dict( DESCRIPTOR = _TASKEXECUTIONGETDATAREQUEST, __module__ = 'flyteidl.admin.task_execution_pb2' diff --git a/gen/pb_python/flyteidl/core/metrics_pb2.py b/gen/pb_python/flyteidl/core/metrics_pb2.py new file mode 100644 index 000000000..6ce85ed83 --- /dev/null +++ b/gen/pb_python/flyteidl/core/metrics_pb2.py @@ -0,0 +1,137 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/core/metrics.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/core/metrics.proto', + package='flyteidl.core', + syntax='proto3', + serialized_options=_b('Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core'), + serialized_pb=_b('\n\x1b\x66lyteidl/core/metrics.proto\x12\rflyteidl.core\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x02\n\x04Span\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierH\x00\x12\x39\n\x07node_id\x18\x04 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierH\x00\x12\x39\n\x07task_id\x18\x05 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierH\x00\x12\x16\n\x0coperation_id\x18\x06 \x01(\tH\x00\x12\"\n\x05spans\x18\x07 \x03(\x0b\x32\x13.flyteidl.core.SpanB\x04\n\x02idB6Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/coreb\x06proto3') + , + dependencies=[flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) + + + + +_SPAN = _descriptor.Descriptor( + name='Span', + full_name='flyteidl.core.Span', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='start_time', full_name='flyteidl.core.Span.start_time', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='end_time', full_name='flyteidl.core.Span.end_time', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_id', full_name='flyteidl.core.Span.workflow_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='node_id', full_name='flyteidl.core.Span.node_id', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='task_id', full_name='flyteidl.core.Span.task_id', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operation_id', full_name='flyteidl.core.Span.operation_id', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='spans', full_name='flyteidl.core.Span.spans', index=6, + number=7, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='id', full_name='flyteidl.core.Span.id', + index=0, containing_type=None, fields=[]), + ], + serialized_start=112, + serialized_end=463, +) + +_SPAN.fields_by_name['start_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SPAN.fields_by_name['end_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_SPAN.fields_by_name['workflow_id'].message_type = flyteidl_dot_core_dot_identifier__pb2._WORKFLOWEXECUTIONIDENTIFIER +_SPAN.fields_by_name['node_id'].message_type = flyteidl_dot_core_dot_identifier__pb2._NODEEXECUTIONIDENTIFIER +_SPAN.fields_by_name['task_id'].message_type = flyteidl_dot_core_dot_identifier__pb2._TASKEXECUTIONIDENTIFIER +_SPAN.fields_by_name['spans'].message_type = _SPAN +_SPAN.oneofs_by_name['id'].fields.append( + _SPAN.fields_by_name['workflow_id']) +_SPAN.fields_by_name['workflow_id'].containing_oneof = _SPAN.oneofs_by_name['id'] +_SPAN.oneofs_by_name['id'].fields.append( + _SPAN.fields_by_name['node_id']) +_SPAN.fields_by_name['node_id'].containing_oneof = _SPAN.oneofs_by_name['id'] +_SPAN.oneofs_by_name['id'].fields.append( + _SPAN.fields_by_name['task_id']) +_SPAN.fields_by_name['task_id'].containing_oneof = _SPAN.oneofs_by_name['id'] +_SPAN.oneofs_by_name['id'].fields.append( + _SPAN.fields_by_name['operation_id']) +_SPAN.fields_by_name['operation_id'].containing_oneof = _SPAN.oneofs_by_name['id'] +DESCRIPTOR.message_types_by_name['Span'] = _SPAN +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Span = _reflection.GeneratedProtocolMessageType('Span', (_message.Message,), dict( + DESCRIPTOR = _SPAN, + __module__ = 'flyteidl.core.metrics_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.core.Span) + )) +_sym_db.RegisterMessage(Span) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/core/metrics_pb2_grpc.py b/gen/pb_python/flyteidl/core/metrics_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/core/metrics_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/gen/pb_python/flyteidl/core/security_pb2.py b/gen/pb_python/flyteidl/core/security_pb2.py index d732779bb..bcd2ba678 100644 --- a/gen/pb_python/flyteidl/core/security_pb2.py +++ b/gen/pb_python/flyteidl/core/security_pb2.py @@ -20,7 +20,7 @@ package='flyteidl.core', syntax='proto3', serialized_options=_b('Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core'), - serialized_pb=_b('\n\x1c\x66lyteidl/core/security.proto\x12\rflyteidl.core\"\xa4\x01\n\x06Secret\x12\r\n\x05group\x18\x01 \x01(\t\x12\x15\n\rgroup_version\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\x12:\n\x11mount_requirement\x18\x04 \x01(\x0e\x32\x1f.flyteidl.core.Secret.MountType\"+\n\tMountType\x12\x07\n\x03\x41NY\x10\x00\x12\x0b\n\x07\x45NV_VAR\x10\x01\x12\x08\n\x04\x46ILE\x10\x02\"O\n\x0cOAuth2Client\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\rclient_secret\x18\x02 \x01(\x0b\x32\x15.flyteidl.core.Secret\"m\n\x08Identity\x12\x10\n\x08iam_role\x18\x01 \x01(\t\x12\x1b\n\x13k8s_service_account\x18\x02 \x01(\t\x12\x32\n\roauth2_client\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.OAuth2Client\"\xdd\x01\n\x12OAuth2TokenRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.flyteidl.core.OAuth2TokenRequest.Type\x12+\n\x06\x63lient\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.OAuth2Client\x12\x1e\n\x16idp_discovery_endpoint\x18\x04 \x01(\t\x12\x16\n\x0etoken_endpoint\x18\x05 \x01(\t\"\x1e\n\x04Type\x12\x16\n\x12\x43LIENT_CREDENTIALS\x10\x00\"\x95\x01\n\x0fSecurityContext\x12\'\n\x06run_as\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.Identity\x12&\n\x07secrets\x18\x02 \x03(\x0b\x32\x15.flyteidl.core.Secret\x12\x31\n\x06tokens\x18\x03 \x03(\x0b\x32!.flyteidl.core.OAuth2TokenRequestB6Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/coreb\x06proto3') + serialized_pb=_b('\n\x1c\x66lyteidl/core/security.proto\x12\rflyteidl.core\"\xa4\x01\n\x06Secret\x12\r\n\x05group\x18\x01 \x01(\t\x12\x15\n\rgroup_version\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\x12:\n\x11mount_requirement\x18\x04 \x01(\x0e\x32\x1f.flyteidl.core.Secret.MountType\"+\n\tMountType\x12\x07\n\x03\x41NY\x10\x00\x12\x0b\n\x07\x45NV_VAR\x10\x01\x12\x08\n\x04\x46ILE\x10\x02\"O\n\x0cOAuth2Client\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12,\n\rclient_secret\x18\x02 \x01(\x0b\x32\x15.flyteidl.core.Secret\"\x89\x01\n\x08Identity\x12\x10\n\x08iam_role\x18\x01 \x01(\t\x12\x1b\n\x13k8s_service_account\x18\x02 \x01(\t\x12\x32\n\roauth2_client\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.OAuth2Client\x12\x1a\n\x12\x65xecution_identity\x18\x04 \x01(\t\"\xdd\x01\n\x12OAuth2TokenRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.flyteidl.core.OAuth2TokenRequest.Type\x12+\n\x06\x63lient\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.OAuth2Client\x12\x1e\n\x16idp_discovery_endpoint\x18\x04 \x01(\t\x12\x16\n\x0etoken_endpoint\x18\x05 \x01(\t\"\x1e\n\x04Type\x12\x16\n\x12\x43LIENT_CREDENTIALS\x10\x00\"\x95\x01\n\x0fSecurityContext\x12\'\n\x06run_as\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.Identity\x12&\n\x07secrets\x18\x02 \x03(\x0b\x32\x15.flyteidl.core.Secret\x12\x31\n\x06tokens\x18\x03 \x03(\x0b\x32!.flyteidl.core.OAuth2TokenRequestB6Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/coreb\x06proto3') ) @@ -64,8 +64,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=598, - serialized_end=628, + serialized_start=627, + serialized_end=657, ) _sym_db.RegisterEnumDescriptor(_OAUTH2TOKENREQUEST_TYPE) @@ -189,6 +189,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='execution_identity', full_name='flyteidl.core.Identity.execution_identity', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -201,8 +208,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=295, - serialized_end=404, + serialized_start=296, + serialized_end=433, ) @@ -261,8 +268,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=407, - serialized_end=628, + serialized_start=436, + serialized_end=657, ) @@ -306,8 +313,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=631, - serialized_end=780, + serialized_start=660, + serialized_end=809, ) _SECRET.fields_by_name['mount_requirement'].enum_type = _SECRET_MOUNTTYPE diff --git a/gen/pb_python/flyteidl/core/tasks_pb2.py b/gen/pb_python/flyteidl/core/tasks_pb2.py index 9f9ad0f88..6ec8bba26 100644 --- a/gen/pb_python/flyteidl/core/tasks_pb2.py +++ b/gen/pb_python/flyteidl/core/tasks_pb2.py @@ -26,7 +26,7 @@ package='flyteidl.core', syntax='proto3', serialized_options=_b('Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core'), - serialized_pb=_b('\n\x19\x66lyteidl/core/tasks.proto\x12\rflyteidl.core\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb1\x02\n\tResources\x12\x38\n\x08requests\x18\x01 \x03(\x0b\x32&.flyteidl.core.Resources.ResourceEntry\x12\x36\n\x06limits\x18\x02 \x03(\x0b\x32&.flyteidl.core.Resources.ResourceEntry\x1aS\n\rResourceEntry\x12\x33\n\x04name\x18\x01 \x01(\x0e\x32%.flyteidl.core.Resources.ResourceName\x12\r\n\x05value\x18\x02 \x01(\t\"]\n\x0cResourceName\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x12\n\n\x06MEMORY\x10\x03\x12\x0b\n\x07STORAGE\x10\x04\x12\x15\n\x11\x45PHEMERAL_STORAGE\x10\x05\"\x95\x01\n\x0fRuntimeMetadata\x12\x38\n\x04type\x18\x01 \x01(\x0e\x32*.flyteidl.core.RuntimeMetadata.RuntimeType\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0e\n\x06\x66lavor\x18\x03 \x01(\t\"\'\n\x0bRuntimeType\x12\t\n\x05OTHER\x10\x00\x12\r\n\tFLYTE_SDK\x10\x01\"\xce\x03\n\x0cTaskMetadata\x12\x14\n\x0c\x64iscoverable\x18\x01 \x01(\x08\x12/\n\x07runtime\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.RuntimeMetadata\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\x07retries\x18\x05 \x01(\x0b\x32\x1c.flyteidl.core.RetryStrategy\x12\x19\n\x11\x64iscovery_version\x18\x06 \x01(\t\x12 \n\x18\x64\x65precated_error_message\x18\x07 \x01(\t\x12\x17\n\rinterruptible\x18\x08 \x01(\x08H\x00\x12\x1a\n\x12\x63\x61\x63he_serializable\x18\t \x01(\x08\x12\x16\n\x0egenerates_deck\x18\n \x01(\x08\x12\x33\n\x04tags\x18\x0b \x03(\x0b\x32%.flyteidl.core.TaskMetadata.TagsEntry\x12\x19\n\x11pod_template_name\x18\x0c \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x15\n\x13interruptible_value\"\x90\x04\n\x0cTaskTemplate\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x0c\n\x04type\x18\x02 \x01(\t\x12-\n\x08metadata\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.TaskMetadata\x12\x30\n\tinterface\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterface\x12\'\n\x06\x63ustom\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12-\n\tcontainer\x18\x06 \x01(\x0b\x32\x18.flyteidl.core.ContainerH\x00\x12(\n\x07k8s_pod\x18\x11 \x01(\x0b\x32\x15.flyteidl.core.K8sPodH\x00\x12!\n\x03sql\x18\x12 \x01(\x0b\x32\x12.flyteidl.core.SqlH\x00\x12\x19\n\x11task_type_version\x18\x07 \x01(\x05\x12\x38\n\x10security_context\x18\x08 \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12\x37\n\x06\x63onfig\x18\x10 \x03(\x0b\x32\'.flyteidl.core.TaskTemplate.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06target\"\'\n\rContainerPort\x12\x16\n\x0e\x63ontainer_port\x18\x01 \x01(\r\"\xad\x03\n\tContainer\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12+\n\tresources\x18\x04 \x01(\x0b\x32\x18.flyteidl.core.Resources\x12(\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePair\x12/\n\x06\x63onfig\x18\x06 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePairB\x02\x18\x01\x12+\n\x05ports\x18\x07 \x03(\x0b\x32\x1c.flyteidl.core.ContainerPort\x12\x35\n\x0b\x64\x61ta_config\x18\t \x01(\x0b\x32 .flyteidl.core.DataLoadingConfig\x12;\n\x0c\x61rchitecture\x18\n \x01(\x0e\x32%.flyteidl.core.Container.Architecture\"I\n\x0c\x41rchitecture\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41MD64\x10\x01\x12\t\n\x05\x41RM64\x10\x02\x12\n\n\x06\x41RM_V6\x10\x03\x12\n\n\x06\x41RM_V7\x10\x04\"\x9b\x02\n\nIOStrategy\x12=\n\rdownload_mode\x18\x01 \x01(\x0e\x32&.flyteidl.core.IOStrategy.DownloadMode\x12\x39\n\x0bupload_mode\x18\x02 \x01(\x0e\x32$.flyteidl.core.IOStrategy.UploadMode\"L\n\x0c\x44ownloadMode\x12\x12\n\x0e\x44OWNLOAD_EAGER\x10\x00\x12\x13\n\x0f\x44OWNLOAD_STREAM\x10\x01\x12\x13\n\x0f\x44O_NOT_DOWNLOAD\x10\x02\"E\n\nUploadMode\x12\x12\n\x0eUPLOAD_ON_EXIT\x10\x00\x12\x10\n\x0cUPLOAD_EAGER\x10\x01\x12\x11\n\rDO_NOT_UPLOAD\x10\x02\"\xf3\x01\n\x11\x44\x61taLoadingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x12\n\ninput_path\x18\x02 \x01(\t\x12\x13\n\x0boutput_path\x18\x03 \x01(\t\x12\x41\n\x06\x66ormat\x18\x04 \x01(\x0e\x32\x31.flyteidl.core.DataLoadingConfig.LiteralMapFormat\x12.\n\x0bio_strategy\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.IOStrategy\"1\n\x10LiteralMapFormat\x12\x08\n\x04JSON\x10\x00\x12\x08\n\x04YAML\x10\x01\x12\t\n\x05PROTO\x10\x02\"g\n\x06K8sPod\x12\x32\n\x08metadata\x18\x01 \x01(\x0b\x32 .flyteidl.core.K8sObjectMetadata\x12)\n\x08pod_spec\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xfc\x01\n\x11K8sObjectMetadata\x12<\n\x06labels\x18\x01 \x03(\x0b\x32,.flyteidl.core.K8sObjectMetadata.LabelsEntry\x12\x46\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x31.flyteidl.core.K8sObjectMetadata.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x03Sql\x12\x11\n\tstatement\x18\x01 \x01(\t\x12+\n\x07\x64ialect\x18\x02 \x01(\x0e\x32\x1a.flyteidl.core.Sql.Dialect\"7\n\x07\x44ialect\x12\r\n\tUNDEFINED\x10\x00\x12\x08\n\x04\x41NSI\x10\x01\x12\x08\n\x04HIVE\x10\x02\x12\t\n\x05OTHER\x10\x03\x42\x36Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/coreb\x06proto3') + serialized_pb=_b('\n\x19\x66lyteidl/core/tasks.proto\x12\rflyteidl.core\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xb1\x02\n\tResources\x12\x38\n\x08requests\x18\x01 \x03(\x0b\x32&.flyteidl.core.Resources.ResourceEntry\x12\x36\n\x06limits\x18\x02 \x03(\x0b\x32&.flyteidl.core.Resources.ResourceEntry\x1aS\n\rResourceEntry\x12\x33\n\x04name\x18\x01 \x01(\x0e\x32%.flyteidl.core.Resources.ResourceName\x12\r\n\x05value\x18\x02 \x01(\t\"]\n\x0cResourceName\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03\x43PU\x10\x01\x12\x07\n\x03GPU\x10\x02\x12\n\n\x06MEMORY\x10\x03\x12\x0b\n\x07STORAGE\x10\x04\x12\x15\n\x11\x45PHEMERAL_STORAGE\x10\x05\"\x95\x01\n\x0fRuntimeMetadata\x12\x38\n\x04type\x18\x01 \x01(\x0e\x32*.flyteidl.core.RuntimeMetadata.RuntimeType\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0e\n\x06\x66lavor\x18\x03 \x01(\t\"\'\n\x0bRuntimeType\x12\t\n\x05OTHER\x10\x00\x12\r\n\tFLYTE_SDK\x10\x01\"\xce\x03\n\x0cTaskMetadata\x12\x14\n\x0c\x64iscoverable\x18\x01 \x01(\x08\x12/\n\x07runtime\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.RuntimeMetadata\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\x07retries\x18\x05 \x01(\x0b\x32\x1c.flyteidl.core.RetryStrategy\x12\x19\n\x11\x64iscovery_version\x18\x06 \x01(\t\x12 \n\x18\x64\x65precated_error_message\x18\x07 \x01(\t\x12\x17\n\rinterruptible\x18\x08 \x01(\x08H\x00\x12\x1a\n\x12\x63\x61\x63he_serializable\x18\t \x01(\x08\x12\x16\n\x0egenerates_deck\x18\n \x01(\x08\x12\x33\n\x04tags\x18\x0b \x03(\x0b\x32%.flyteidl.core.TaskMetadata.TagsEntry\x12\x19\n\x11pod_template_name\x18\x0c \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x15\n\x13interruptible_value\"\x90\x04\n\x0cTaskTemplate\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x0c\n\x04type\x18\x02 \x01(\t\x12-\n\x08metadata\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.TaskMetadata\x12\x30\n\tinterface\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterface\x12\'\n\x06\x63ustom\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12-\n\tcontainer\x18\x06 \x01(\x0b\x32\x18.flyteidl.core.ContainerH\x00\x12(\n\x07k8s_pod\x18\x11 \x01(\x0b\x32\x15.flyteidl.core.K8sPodH\x00\x12!\n\x03sql\x18\x12 \x01(\x0b\x32\x12.flyteidl.core.SqlH\x00\x12\x19\n\x11task_type_version\x18\x07 \x01(\x05\x12\x38\n\x10security_context\x18\x08 \x01(\x0b\x32\x1e.flyteidl.core.SecurityContext\x12\x37\n\x06\x63onfig\x18\x10 \x03(\x0b\x32\'.flyteidl.core.TaskTemplate.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06target\"\'\n\rContainerPort\x12\x16\n\x0e\x63ontainer_port\x18\x01 \x01(\r\"\xad\x03\n\tContainer\x12\r\n\x05image\x18\x01 \x01(\t\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12+\n\tresources\x18\x04 \x01(\x0b\x32\x18.flyteidl.core.Resources\x12(\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePair\x12/\n\x06\x63onfig\x18\x06 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePairB\x02\x18\x01\x12+\n\x05ports\x18\x07 \x03(\x0b\x32\x1c.flyteidl.core.ContainerPort\x12\x35\n\x0b\x64\x61ta_config\x18\t \x01(\x0b\x32 .flyteidl.core.DataLoadingConfig\x12;\n\x0c\x61rchitecture\x18\n \x01(\x0e\x32%.flyteidl.core.Container.Architecture\"I\n\x0c\x41rchitecture\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41MD64\x10\x01\x12\t\n\x05\x41RM64\x10\x02\x12\n\n\x06\x41RM_V6\x10\x03\x12\n\n\x06\x41RM_V7\x10\x04\"\x9b\x02\n\nIOStrategy\x12=\n\rdownload_mode\x18\x01 \x01(\x0e\x32&.flyteidl.core.IOStrategy.DownloadMode\x12\x39\n\x0bupload_mode\x18\x02 \x01(\x0e\x32$.flyteidl.core.IOStrategy.UploadMode\"L\n\x0c\x44ownloadMode\x12\x12\n\x0e\x44OWNLOAD_EAGER\x10\x00\x12\x13\n\x0f\x44OWNLOAD_STREAM\x10\x01\x12\x13\n\x0f\x44O_NOT_DOWNLOAD\x10\x02\"E\n\nUploadMode\x12\x12\n\x0eUPLOAD_ON_EXIT\x10\x00\x12\x10\n\x0cUPLOAD_EAGER\x10\x01\x12\x11\n\rDO_NOT_UPLOAD\x10\x02\"\xf3\x01\n\x11\x44\x61taLoadingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x12\n\ninput_path\x18\x02 \x01(\t\x12\x13\n\x0boutput_path\x18\x03 \x01(\t\x12\x41\n\x06\x66ormat\x18\x04 \x01(\x0e\x32\x31.flyteidl.core.DataLoadingConfig.LiteralMapFormat\x12.\n\x0bio_strategy\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.IOStrategy\"1\n\x10LiteralMapFormat\x12\x08\n\x04JSON\x10\x00\x12\x08\n\x04YAML\x10\x01\x12\t\n\x05PROTO\x10\x02\"\x9e\x01\n\x06K8sPod\x12\x32\n\x08metadata\x18\x01 \x01(\x0b\x32 .flyteidl.core.K8sObjectMetadata\x12)\n\x08pod_spec\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x35\n\x0b\x64\x61ta_config\x18\x03 \x01(\x0b\x32 .flyteidl.core.DataLoadingConfig\"\xfc\x01\n\x11K8sObjectMetadata\x12<\n\x06labels\x18\x01 \x03(\x0b\x32,.flyteidl.core.K8sObjectMetadata.LabelsEntry\x12\x46\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x31.flyteidl.core.K8sObjectMetadata.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\n\x03Sql\x12\x11\n\tstatement\x18\x01 \x01(\t\x12+\n\x07\x64ialect\x18\x02 \x01(\x0e\x32\x1a.flyteidl.core.Sql.Dialect\"7\n\x07\x44ialect\x12\r\n\tUNDEFINED\x10\x00\x12\x08\n\x04\x41NSI\x10\x01\x12\x08\n\x04HIVE\x10\x02\x12\t\n\x05OTHER\x10\x03\x42\x36Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/coreb\x06proto3') , dependencies=[flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_interface__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_security__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,]) @@ -229,8 +229,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=3121, - serialized_end=3176, + serialized_start=3177, + serialized_end=3232, ) _sym_db.RegisterEnumDescriptor(_SQL_DIALECT) @@ -879,6 +879,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='data_config', full_name='flyteidl.core.K8sPod.data_config', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -891,8 +898,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2690, - serialized_end=2793, + serialized_start=2691, + serialized_end=2849, ) @@ -929,8 +936,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2951, - serialized_end=2996, + serialized_start=3007, + serialized_end=3052, ) _K8SOBJECTMETADATA_ANNOTATIONSENTRY = _descriptor.Descriptor( @@ -966,8 +973,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2998, - serialized_end=3048, + serialized_start=3054, + serialized_end=3104, ) _K8SOBJECTMETADATA = _descriptor.Descriptor( @@ -1003,8 +1010,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2796, - serialized_end=3048, + serialized_start=2852, + serialized_end=3104, ) @@ -1042,8 +1049,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3050, - serialized_end=3176, + serialized_start=3106, + serialized_end=3232, ) _RESOURCES_RESOURCEENTRY.fields_by_name['name'].enum_type = _RESOURCES_RESOURCENAME @@ -1096,6 +1103,7 @@ _DATALOADINGCONFIG_LITERALMAPFORMAT.containing_type = _DATALOADINGCONFIG _K8SPOD.fields_by_name['metadata'].message_type = _K8SOBJECTMETADATA _K8SPOD.fields_by_name['pod_spec'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT +_K8SPOD.fields_by_name['data_config'].message_type = _DATALOADINGCONFIG _K8SOBJECTMETADATA_LABELSENTRY.containing_type = _K8SOBJECTMETADATA _K8SOBJECTMETADATA_ANNOTATIONSENTRY.containing_type = _K8SOBJECTMETADATA _K8SOBJECTMETADATA.fields_by_name['labels'].message_type = _K8SOBJECTMETADATA_LABELSENTRY diff --git a/gen/pb_python/flyteidl/event/event_pb2.py b/gen/pb_python/flyteidl/event/event_pb2.py index a9f3f4ce8..e871d2862 100644 --- a/gen/pb_python/flyteidl/event/event_pb2.py +++ b/gen/pb_python/flyteidl/event/event_pb2.py @@ -27,7 +27,7 @@ package='flyteidl.event', syntax='proto3', serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/event'), - serialized_pb=_b('\n\x1a\x66lyteidl/event/event.proto\x12\x0e\x66lyteidl.event\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1c\x66lyteidl/core/compiler.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/catalog.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xe0\x02\n\x16WorkflowExecutionEvent\x12@\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x13\n\x0bproducer_id\x18\x02 \x01(\t\x12\x35\n\x05phase\x18\x03 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12/\n\x0boccurred_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\noutput_uri\x18\x05 \x01(\tH\x00\x12.\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x30\n\x0boutput_data\x18\x07 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x42\x0f\n\routput_result\"\xde\x06\n\x12NodeExecutionEvent\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x13\n\x0bproducer_id\x18\x02 \x01(\t\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.NodeExecution.Phase\x12/\n\x0boccurred_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\tinput_uri\x18\x05 \x01(\tH\x00\x12/\n\ninput_data\x18\x14 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x12\x14\n\noutput_uri\x18\x06 \x01(\tH\x01\x12.\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x01\x12\x30\n\x0boutput_data\x18\x0f \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x01\x12\x46\n\x16workflow_node_metadata\x18\x08 \x01(\x0b\x32$.flyteidl.event.WorkflowNodeMetadataH\x02\x12>\n\x12task_node_metadata\x18\x0e \x01(\x0b\x32 .flyteidl.event.TaskNodeMetadataH\x02\x12I\n\x14parent_task_metadata\x18\t \x01(\x0b\x32+.flyteidl.event.ParentTaskExecutionMetadata\x12I\n\x14parent_node_metadata\x18\n \x01(\x0b\x32+.flyteidl.event.ParentNodeExecutionMetadata\x12\x13\n\x0bretry_group\x18\x0b \x01(\t\x12\x14\n\x0cspec_node_id\x18\x0c \x01(\t\x12\x11\n\tnode_name\x18\r \x01(\t\x12\x15\n\revent_version\x18\x10 \x01(\x05\x12\x11\n\tis_parent\x18\x11 \x01(\x08\x12\x12\n\nis_dynamic\x18\x12 \x01(\x08\x12\x10\n\x08\x64\x65\x63k_uri\x18\x13 \x01(\tB\r\n\x0binput_valueB\x0f\n\routput_resultB\x11\n\x0ftarget_metadata\"X\n\x14WorkflowNodeMetadata\x12@\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xa5\x02\n\x10TaskNodeMetadata\x12\x37\n\x0c\x63\x61\x63he_status\x18\x01 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12\x33\n\x0b\x63\x61talog_key\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.CatalogMetadata\x12\x44\n\x12reservation_status\x18\x03 \x01(\x0e\x32(.flyteidl.core.CatalogReservation.Status\x12\x16\n\x0e\x63heckpoint_uri\x18\x04 \x01(\t\x12\x45\n\x10\x64ynamic_workflow\x18\x10 \x01(\x0b\x32+.flyteidl.event.DynamicWorkflowNodeMetadata\"\x87\x01\n\x1b\x44ynamicWorkflowNodeMetadata\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x41\n\x11\x63ompiled_workflow\x18\x02 \x01(\x0b\x32&.flyteidl.core.CompiledWorkflowClosure\"Q\n\x1bParentTaskExecutionMetadata\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\".\n\x1bParentNodeExecutionMetadata\x12\x0f\n\x07node_id\x18\x01 \x01(\t\"\xd6\x05\n\x12TaskExecutionEvent\x12*\n\x07task_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12H\n\x18parent_node_execution_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x15\n\rretry_attempt\x18\x03 \x01(\r\x12\x31\n\x05phase\x18\x04 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12\x13\n\x0bproducer_id\x18\x05 \x01(\t\x12$\n\x04logs\x18\x06 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\x12/\n\x0boccurred_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\tinput_uri\x18\x08 \x01(\tH\x00\x12/\n\ninput_data\x18\x13 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x12\x14\n\noutput_uri\x18\t \x01(\tH\x01\x12.\n\x05\x65rror\x18\n \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x01\x12\x30\n\x0boutput_data\x18\x11 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x01\x12,\n\x0b\x63ustom_info\x18\x0b \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rphase_version\x18\x0c \x01(\r\x12\x0e\n\x06reason\x18\r \x01(\t\x12\x11\n\ttask_type\x18\x0e \x01(\t\x12\x37\n\x08metadata\x18\x10 \x01(\x0b\x32%.flyteidl.event.TaskExecutionMetadata\x12\x15\n\revent_version\x18\x12 \x01(\x05\x42\r\n\x0binput_valueB\x0f\n\routput_result\"\xe3\x01\n\x14\x45xternalResourceInfo\x12\x13\n\x0b\x65xternal_id\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\r\x12\x15\n\rretry_attempt\x18\x03 \x01(\r\x12\x31\n\x05phase\x18\x04 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12\x37\n\x0c\x63\x61\x63he_status\x18\x05 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12$\n\x04logs\x18\x06 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\"?\n\x10ResourcePoolInfo\x12\x18\n\x10\x61llocation_token\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\"\xc8\x02\n\x15TaskExecutionMetadata\x12\x16\n\x0egenerated_name\x18\x01 \x01(\t\x12@\n\x12\x65xternal_resources\x18\x02 \x03(\x0b\x32$.flyteidl.event.ExternalResourceInfo\x12<\n\x12resource_pool_info\x18\x03 \x03(\x0b\x32 .flyteidl.event.ResourcePoolInfo\x12\x19\n\x11plugin_identifier\x18\x04 \x01(\t\x12K\n\x0einstance_class\x18\x10 \x01(\x0e\x32\x33.flyteidl.event.TaskExecutionMetadata.InstanceClass\"/\n\rInstanceClass\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x11\n\rINTERRUPTIBLE\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/eventb\x06proto3') + serialized_pb=_b('\n\x1a\x66lyteidl/event/event.proto\x12\x0e\x66lyteidl.event\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1c\x66lyteidl/core/compiler.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/catalog.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xe0\x02\n\x16WorkflowExecutionEvent\x12@\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\x12\x13\n\x0bproducer_id\x18\x02 \x01(\t\x12\x35\n\x05phase\x18\x03 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.Phase\x12/\n\x0boccurred_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\noutput_uri\x18\x05 \x01(\tH\x00\x12.\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00\x12\x30\n\x0boutput_data\x18\x07 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x42\x0f\n\routput_result\"\x8f\x07\n\x12NodeExecutionEvent\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x13\n\x0bproducer_id\x18\x02 \x01(\t\x12\x31\n\x05phase\x18\x03 \x01(\x0e\x32\".flyteidl.core.NodeExecution.Phase\x12/\n\x0boccurred_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\tinput_uri\x18\x05 \x01(\tH\x00\x12/\n\ninput_data\x18\x14 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x12\x14\n\noutput_uri\x18\x06 \x01(\tH\x01\x12.\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x01\x12\x30\n\x0boutput_data\x18\x0f \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x01\x12\x46\n\x16workflow_node_metadata\x18\x08 \x01(\x0b\x32$.flyteidl.event.WorkflowNodeMetadataH\x02\x12>\n\x12task_node_metadata\x18\x0e \x01(\x0b\x32 .flyteidl.event.TaskNodeMetadataH\x02\x12I\n\x14parent_task_metadata\x18\t \x01(\x0b\x32+.flyteidl.event.ParentTaskExecutionMetadata\x12I\n\x14parent_node_metadata\x18\n \x01(\x0b\x32+.flyteidl.event.ParentNodeExecutionMetadata\x12\x13\n\x0bretry_group\x18\x0b \x01(\t\x12\x14\n\x0cspec_node_id\x18\x0c \x01(\t\x12\x11\n\tnode_name\x18\r \x01(\t\x12\x15\n\revent_version\x18\x10 \x01(\x05\x12\x11\n\tis_parent\x18\x11 \x01(\x08\x12\x12\n\nis_dynamic\x18\x12 \x01(\x08\x12\x10\n\x08\x64\x65\x63k_uri\x18\x13 \x01(\t\x12/\n\x0breported_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\n\x0binput_valueB\x0f\n\routput_resultB\x11\n\x0ftarget_metadata\"X\n\x14WorkflowNodeMetadata\x12@\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifier\"\xa5\x02\n\x10TaskNodeMetadata\x12\x37\n\x0c\x63\x61\x63he_status\x18\x01 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12\x33\n\x0b\x63\x61talog_key\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.CatalogMetadata\x12\x44\n\x12reservation_status\x18\x03 \x01(\x0e\x32(.flyteidl.core.CatalogReservation.Status\x12\x16\n\x0e\x63heckpoint_uri\x18\x04 \x01(\t\x12\x45\n\x10\x64ynamic_workflow\x18\x10 \x01(\x0b\x32+.flyteidl.event.DynamicWorkflowNodeMetadata\"\xa5\x01\n\x1b\x44ynamicWorkflowNodeMetadata\x12%\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12\x41\n\x11\x63ompiled_workflow\x18\x02 \x01(\x0b\x32&.flyteidl.core.CompiledWorkflowClosure\x12\x1c\n\x14\x64ynamic_job_spec_uri\x18\x03 \x01(\t\"Q\n\x1bParentTaskExecutionMetadata\x12\x32\n\x02id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifier\".\n\x1bParentNodeExecutionMetadata\x12\x0f\n\x07node_id\x18\x01 \x01(\t\"\x87\x06\n\x12TaskExecutionEvent\x12*\n\x07task_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.Identifier\x12H\n\x18parent_node_execution_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifier\x12\x15\n\rretry_attempt\x18\x03 \x01(\r\x12\x31\n\x05phase\x18\x04 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12\x13\n\x0bproducer_id\x18\x05 \x01(\t\x12$\n\x04logs\x18\x06 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\x12/\n\x0boccurred_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\tinput_uri\x18\x08 \x01(\tH\x00\x12/\n\ninput_data\x18\x13 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x12\x14\n\noutput_uri\x18\t \x01(\tH\x01\x12.\n\x05\x65rror\x18\n \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x01\x12\x30\n\x0boutput_data\x18\x11 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x01\x12,\n\x0b\x63ustom_info\x18\x0b \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x15\n\rphase_version\x18\x0c \x01(\r\x12\x0e\n\x06reason\x18\r \x01(\t\x12\x11\n\ttask_type\x18\x0e \x01(\t\x12\x37\n\x08metadata\x18\x10 \x01(\x0b\x32%.flyteidl.event.TaskExecutionMetadata\x12\x15\n\revent_version\x18\x12 \x01(\x05\x12/\n\x0breported_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\r\n\x0binput_valueB\x0f\n\routput_result\"\xe3\x01\n\x14\x45xternalResourceInfo\x12\x13\n\x0b\x65xternal_id\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\r\x12\x15\n\rretry_attempt\x18\x03 \x01(\r\x12\x31\n\x05phase\x18\x04 \x01(\x0e\x32\".flyteidl.core.TaskExecution.Phase\x12\x37\n\x0c\x63\x61\x63he_status\x18\x05 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatus\x12$\n\x04logs\x18\x06 \x03(\x0b\x32\x16.flyteidl.core.TaskLog\"?\n\x10ResourcePoolInfo\x12\x18\n\x10\x61llocation_token\x18\x01 \x01(\t\x12\x11\n\tnamespace\x18\x02 \x01(\t\"\xc8\x02\n\x15TaskExecutionMetadata\x12\x16\n\x0egenerated_name\x18\x01 \x01(\t\x12@\n\x12\x65xternal_resources\x18\x02 \x03(\x0b\x32$.flyteidl.event.ExternalResourceInfo\x12<\n\x12resource_pool_info\x18\x03 \x03(\x0b\x32 .flyteidl.event.ResourcePoolInfo\x12\x19\n\x11plugin_identifier\x18\x04 \x01(\t\x12K\n\x0einstance_class\x18\x10 \x01(\x0e\x32\x33.flyteidl.event.TaskExecutionMetadata.InstanceClass\"/\n\rInstanceClass\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x11\n\rINTERRUPTIBLE\x10\x01\x42\x37Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/eventb\x06proto3') , dependencies=[flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_compiler__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_catalog__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,]) @@ -50,8 +50,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=3442, - serialized_end=3489, + serialized_start=3570, + serialized_end=3617, ) _sym_db.RegisterEnumDescriptor(_TASKEXECUTIONMETADATA_INSTANCECLASS) @@ -279,6 +279,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reported_at', full_name='flyteidl.event.NodeExecutionEvent.reported_at', index=20, + number=21, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -301,7 +308,7 @@ index=2, containing_type=None, fields=[]), ], serialized_start=617, - serialized_end=1479, + serialized_end=1528, ) @@ -331,8 +338,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1481, - serialized_end=1569, + serialized_start=1530, + serialized_end=1618, ) @@ -390,8 +397,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1572, - serialized_end=1865, + serialized_start=1621, + serialized_end=1914, ) @@ -416,6 +423,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dynamic_job_spec_uri', full_name='flyteidl.event.DynamicWorkflowNodeMetadata.dynamic_job_spec_uri', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -428,8 +442,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1868, - serialized_end=2003, + serialized_start=1917, + serialized_end=2082, ) @@ -459,8 +473,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2005, - serialized_end=2086, + serialized_start=2084, + serialized_end=2165, ) @@ -490,8 +504,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2088, - serialized_end=2134, + serialized_start=2167, + serialized_end=2213, ) @@ -628,6 +642,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reported_at', full_name='flyteidl.event.TaskExecutionEvent.reported_at', index=18, + number=20, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -646,8 +667,8 @@ name='output_result', full_name='flyteidl.event.TaskExecutionEvent.output_result', index=1, containing_type=None, fields=[]), ], - serialized_start=2137, - serialized_end=2863, + serialized_start=2216, + serialized_end=2991, ) @@ -712,8 +733,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2866, - serialized_end=3093, + serialized_start=2994, + serialized_end=3221, ) @@ -750,8 +771,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3095, - serialized_end=3158, + serialized_start=3223, + serialized_end=3286, ) @@ -810,8 +831,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3161, - serialized_end=3489, + serialized_start=3289, + serialized_end=3617, ) _WORKFLOWEXECUTIONEVENT.fields_by_name['execution_id'].message_type = flyteidl_dot_core_dot_identifier__pb2._WORKFLOWEXECUTIONIDENTIFIER @@ -838,6 +859,7 @@ _NODEEXECUTIONEVENT.fields_by_name['task_node_metadata'].message_type = _TASKNODEMETADATA _NODEEXECUTIONEVENT.fields_by_name['parent_task_metadata'].message_type = _PARENTTASKEXECUTIONMETADATA _NODEEXECUTIONEVENT.fields_by_name['parent_node_metadata'].message_type = _PARENTNODEEXECUTIONMETADATA +_NODEEXECUTIONEVENT.fields_by_name['reported_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _NODEEXECUTIONEVENT.oneofs_by_name['input_value'].fields.append( _NODEEXECUTIONEVENT.fields_by_name['input_uri']) _NODEEXECUTIONEVENT.fields_by_name['input_uri'].containing_oneof = _NODEEXECUTIONEVENT.oneofs_by_name['input_value'] @@ -877,6 +899,7 @@ _TASKEXECUTIONEVENT.fields_by_name['output_data'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP _TASKEXECUTIONEVENT.fields_by_name['custom_info'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT _TASKEXECUTIONEVENT.fields_by_name['metadata'].message_type = _TASKEXECUTIONMETADATA +_TASKEXECUTIONEVENT.fields_by_name['reported_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _TASKEXECUTIONEVENT.oneofs_by_name['input_value'].fields.append( _TASKEXECUTIONEVENT.fields_by_name['input_uri']) _TASKEXECUTIONEVENT.fields_by_name['input_uri'].containing_oneof = _TASKEXECUTIONEVENT.oneofs_by_name['input_value'] diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/__init__.py b/gen/pb_python/flyteidl/plugins/kubeflow/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2.py b/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2.py new file mode 100644 index 000000000..3af8edd71 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2.py @@ -0,0 +1,156 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/plugins/kubeflow/common.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/plugins/kubeflow/common.proto', + package='flyteidl.plugins.kubeflow', + syntax='proto3', + serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins'), + serialized_pb=_b('\n&flyteidl/plugins/kubeflow/common.proto\x12\x19\x66lyteidl.plugins.kubeflow\"\xac\x01\n\tRunPolicy\x12\x43\n\x10\x63lean_pod_policy\x18\x01 \x01(\x0e\x32).flyteidl.plugins.kubeflow.CleanPodPolicy\x12\"\n\x1attl_seconds_after_finished\x18\x02 \x01(\x05\x12\x1f\n\x17\x61\x63tive_deadline_seconds\x18\x03 \x01(\x05\x12\x15\n\rbackoff_limit\x18\x04 \x01(\x05*c\n\rRestartPolicy\x12\x18\n\x14RESTART_POLICY_NEVER\x10\x00\x12\x1d\n\x19RESTART_POLICY_ON_FAILURE\x10\x01\x12\x19\n\x15RESTART_POLICY_ALWAYS\x10\x02*`\n\x0e\x43leanPodPolicy\x12\x18\n\x14\x43LEANPOD_POLICY_NONE\x10\x00\x12\x1b\n\x17\x43LEANPOD_POLICY_RUNNING\x10\x01\x12\x17\n\x13\x43LEANPOD_POLICY_ALL\x10\x02\x42\x39Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') +) + +_RESTARTPOLICY = _descriptor.EnumDescriptor( + name='RestartPolicy', + full_name='flyteidl.plugins.kubeflow.RestartPolicy', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='RESTART_POLICY_NEVER', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='RESTART_POLICY_ON_FAILURE', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='RESTART_POLICY_ALWAYS', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=244, + serialized_end=343, +) +_sym_db.RegisterEnumDescriptor(_RESTARTPOLICY) + +RestartPolicy = enum_type_wrapper.EnumTypeWrapper(_RESTARTPOLICY) +_CLEANPODPOLICY = _descriptor.EnumDescriptor( + name='CleanPodPolicy', + full_name='flyteidl.plugins.kubeflow.CleanPodPolicy', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='CLEANPOD_POLICY_NONE', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLEANPOD_POLICY_RUNNING', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLEANPOD_POLICY_ALL', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=345, + serialized_end=441, +) +_sym_db.RegisterEnumDescriptor(_CLEANPODPOLICY) + +CleanPodPolicy = enum_type_wrapper.EnumTypeWrapper(_CLEANPODPOLICY) +RESTART_POLICY_NEVER = 0 +RESTART_POLICY_ON_FAILURE = 1 +RESTART_POLICY_ALWAYS = 2 +CLEANPOD_POLICY_NONE = 0 +CLEANPOD_POLICY_RUNNING = 1 +CLEANPOD_POLICY_ALL = 2 + + + +_RUNPOLICY = _descriptor.Descriptor( + name='RunPolicy', + full_name='flyteidl.plugins.kubeflow.RunPolicy', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='clean_pod_policy', full_name='flyteidl.plugins.kubeflow.RunPolicy.clean_pod_policy', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ttl_seconds_after_finished', full_name='flyteidl.plugins.kubeflow.RunPolicy.ttl_seconds_after_finished', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='active_deadline_seconds', full_name='flyteidl.plugins.kubeflow.RunPolicy.active_deadline_seconds', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='backoff_limit', full_name='flyteidl.plugins.kubeflow.RunPolicy.backoff_limit', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=70, + serialized_end=242, +) + +_RUNPOLICY.fields_by_name['clean_pod_policy'].enum_type = _CLEANPODPOLICY +DESCRIPTOR.message_types_by_name['RunPolicy'] = _RUNPOLICY +DESCRIPTOR.enum_types_by_name['RestartPolicy'] = _RESTARTPOLICY +DESCRIPTOR.enum_types_by_name['CleanPodPolicy'] = _CLEANPODPOLICY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +RunPolicy = _reflection.GeneratedProtocolMessageType('RunPolicy', (_message.Message,), dict( + DESCRIPTOR = _RUNPOLICY, + __module__ = 'flyteidl.plugins.kubeflow.common_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.RunPolicy) + )) +_sym_db.RegisterMessage(RunPolicy) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2_grpc.py b/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/common_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2.py b/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2.py new file mode 100644 index 000000000..4df0529b4 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2.py @@ -0,0 +1,167 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/plugins/kubeflow/mpi.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2 +from flyteidl.plugins.kubeflow import common_pb2 as flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/plugins/kubeflow/mpi.proto', + package='flyteidl.plugins.kubeflow', + syntax='proto3', + serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins'), + serialized_pb=_b('\n#flyteidl/plugins/kubeflow/mpi.proto\x12\x19\x66lyteidl.plugins.kubeflow\x1a\x19\x66lyteidl/core/tasks.proto\x1a&flyteidl/plugins/kubeflow/common.proto\"\x95\x02\n\x1a\x44istributedMPITrainingTask\x12U\n\x0fworker_replicas\x18\x01 \x01(\x0b\x32<.flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec\x12W\n\x11launcher_replicas\x18\x02 \x01(\x0b\x32<.flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec\x12\x38\n\nrun_policy\x18\x03 \x01(\x0b\x32$.flyteidl.plugins.kubeflow.RunPolicy\x12\r\n\x05slots\x18\x04 \x01(\x05\"\xc4\x01\n!DistributedMPITrainingReplicaSpec\x12\x10\n\x08replicas\x18\x01 \x01(\x05\x12\r\n\x05image\x18\x02 \x01(\t\x12+\n\tresources\x18\x03 \x01(\x0b\x32\x18.flyteidl.core.Resources\x12@\n\x0erestart_policy\x18\x04 \x01(\x0e\x32(.flyteidl.plugins.kubeflow.RestartPolicy\x12\x0f\n\x07\x63ommand\x18\x05 \x03(\tB9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') + , + dependencies=[flyteidl_dot_core_dot_tasks__pb2.DESCRIPTOR,flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2.DESCRIPTOR,]) + + + + +_DISTRIBUTEDMPITRAININGTASK = _descriptor.Descriptor( + name='DistributedMPITrainingTask', + full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingTask', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='worker_replicas', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingTask.worker_replicas', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launcher_replicas', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingTask.launcher_replicas', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='run_policy', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingTask.run_policy', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='slots', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingTask.slots', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=134, + serialized_end=411, +) + + +_DISTRIBUTEDMPITRAININGREPLICASPEC = _descriptor.Descriptor( + name='DistributedMPITrainingReplicaSpec', + full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='replicas', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.replicas', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='image', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.image', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resources', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.resources', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='restart_policy', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.restart_policy', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='command', full_name='flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec.command', index=4, + number=5, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=414, + serialized_end=610, +) + +_DISTRIBUTEDMPITRAININGTASK.fields_by_name['worker_replicas'].message_type = _DISTRIBUTEDMPITRAININGREPLICASPEC +_DISTRIBUTEDMPITRAININGTASK.fields_by_name['launcher_replicas'].message_type = _DISTRIBUTEDMPITRAININGREPLICASPEC +_DISTRIBUTEDMPITRAININGTASK.fields_by_name['run_policy'].message_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RUNPOLICY +_DISTRIBUTEDMPITRAININGREPLICASPEC.fields_by_name['resources'].message_type = flyteidl_dot_core_dot_tasks__pb2._RESOURCES +_DISTRIBUTEDMPITRAININGREPLICASPEC.fields_by_name['restart_policy'].enum_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RESTARTPOLICY +DESCRIPTOR.message_types_by_name['DistributedMPITrainingTask'] = _DISTRIBUTEDMPITRAININGTASK +DESCRIPTOR.message_types_by_name['DistributedMPITrainingReplicaSpec'] = _DISTRIBUTEDMPITRAININGREPLICASPEC +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DistributedMPITrainingTask = _reflection.GeneratedProtocolMessageType('DistributedMPITrainingTask', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDMPITRAININGTASK, + __module__ = 'flyteidl.plugins.kubeflow.mpi_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingTask) + )) +_sym_db.RegisterMessage(DistributedMPITrainingTask) + +DistributedMPITrainingReplicaSpec = _reflection.GeneratedProtocolMessageType('DistributedMPITrainingReplicaSpec', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDMPITRAININGREPLICASPEC, + __module__ = 'flyteidl.plugins.kubeflow.mpi_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedMPITrainingReplicaSpec) + )) +_sym_db.RegisterMessage(DistributedMPITrainingReplicaSpec) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2_grpc.py b/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/mpi_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2.py b/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2.py new file mode 100644 index 000000000..cacd08cc2 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2.py @@ -0,0 +1,228 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/plugins/kubeflow/pytorch.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2 +from flyteidl.plugins.kubeflow import common_pb2 as flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/plugins/kubeflow/pytorch.proto', + package='flyteidl.plugins.kubeflow', + syntax='proto3', + serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins'), + serialized_pb=_b('\n\'flyteidl/plugins/kubeflow/pytorch.proto\x12\x19\x66lyteidl.plugins.kubeflow\x1a\x19\x66lyteidl/core/tasks.proto\x1a&flyteidl/plugins/kubeflow/common.proto\"\x7f\n\rElasticConfig\x12\x14\n\x0crdzv_backend\x18\x01 \x01(\t\x12\x14\n\x0cmin_replicas\x18\x02 \x01(\x05\x12\x14\n\x0cmax_replicas\x18\x03 \x01(\x05\x12\x16\n\x0enproc_per_node\x18\x04 \x01(\x05\x12\x14\n\x0cmax_restarts\x18\x05 \x01(\x05\"\xd2\x02\n\x1e\x44istributedPyTorchTrainingTask\x12Y\n\x0fworker_replicas\x18\x01 \x01(\x0b\x32@.flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec\x12Y\n\x0fmaster_replicas\x18\x02 \x01(\x0b\x32@.flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec\x12\x38\n\nrun_policy\x18\x03 \x01(\x0b\x32$.flyteidl.plugins.kubeflow.RunPolicy\x12@\n\x0e\x65lastic_config\x18\x04 \x01(\x0b\x32(.flyteidl.plugins.kubeflow.ElasticConfig\"\xb7\x01\n%DistributedPyTorchTrainingReplicaSpec\x12\x10\n\x08replicas\x18\x01 \x01(\x05\x12\r\n\x05image\x18\x02 \x01(\t\x12+\n\tresources\x18\x03 \x01(\x0b\x32\x18.flyteidl.core.Resources\x12@\n\x0erestart_policy\x18\x04 \x01(\x0e\x32(.flyteidl.plugins.kubeflow.RestartPolicyB9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') + , + dependencies=[flyteidl_dot_core_dot_tasks__pb2.DESCRIPTOR,flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2.DESCRIPTOR,]) + + + + +_ELASTICCONFIG = _descriptor.Descriptor( + name='ElasticConfig', + full_name='flyteidl.plugins.kubeflow.ElasticConfig', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='rdzv_backend', full_name='flyteidl.plugins.kubeflow.ElasticConfig.rdzv_backend', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='min_replicas', full_name='flyteidl.plugins.kubeflow.ElasticConfig.min_replicas', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_replicas', full_name='flyteidl.plugins.kubeflow.ElasticConfig.max_replicas', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='nproc_per_node', full_name='flyteidl.plugins.kubeflow.ElasticConfig.nproc_per_node', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_restarts', full_name='flyteidl.plugins.kubeflow.ElasticConfig.max_restarts', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=264, +) + + +_DISTRIBUTEDPYTORCHTRAININGTASK = _descriptor.Descriptor( + name='DistributedPyTorchTrainingTask', + full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='worker_replicas', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.worker_replicas', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='master_replicas', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.master_replicas', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='run_policy', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.run_policy', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='elastic_config', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask.elastic_config', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=267, + serialized_end=605, +) + + +_DISTRIBUTEDPYTORCHTRAININGREPLICASPEC = _descriptor.Descriptor( + name='DistributedPyTorchTrainingReplicaSpec', + full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='replicas', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.replicas', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='image', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.image', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resources', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.resources', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='restart_policy', full_name='flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.restart_policy', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=608, + serialized_end=791, +) + +_DISTRIBUTEDPYTORCHTRAININGTASK.fields_by_name['worker_replicas'].message_type = _DISTRIBUTEDPYTORCHTRAININGREPLICASPEC +_DISTRIBUTEDPYTORCHTRAININGTASK.fields_by_name['master_replicas'].message_type = _DISTRIBUTEDPYTORCHTRAININGREPLICASPEC +_DISTRIBUTEDPYTORCHTRAININGTASK.fields_by_name['run_policy'].message_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RUNPOLICY +_DISTRIBUTEDPYTORCHTRAININGTASK.fields_by_name['elastic_config'].message_type = _ELASTICCONFIG +_DISTRIBUTEDPYTORCHTRAININGREPLICASPEC.fields_by_name['resources'].message_type = flyteidl_dot_core_dot_tasks__pb2._RESOURCES +_DISTRIBUTEDPYTORCHTRAININGREPLICASPEC.fields_by_name['restart_policy'].enum_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RESTARTPOLICY +DESCRIPTOR.message_types_by_name['ElasticConfig'] = _ELASTICCONFIG +DESCRIPTOR.message_types_by_name['DistributedPyTorchTrainingTask'] = _DISTRIBUTEDPYTORCHTRAININGTASK +DESCRIPTOR.message_types_by_name['DistributedPyTorchTrainingReplicaSpec'] = _DISTRIBUTEDPYTORCHTRAININGREPLICASPEC +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ElasticConfig = _reflection.GeneratedProtocolMessageType('ElasticConfig', (_message.Message,), dict( + DESCRIPTOR = _ELASTICCONFIG, + __module__ = 'flyteidl.plugins.kubeflow.pytorch_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.ElasticConfig) + )) +_sym_db.RegisterMessage(ElasticConfig) + +DistributedPyTorchTrainingTask = _reflection.GeneratedProtocolMessageType('DistributedPyTorchTrainingTask', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDPYTORCHTRAININGTASK, + __module__ = 'flyteidl.plugins.kubeflow.pytorch_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingTask) + )) +_sym_db.RegisterMessage(DistributedPyTorchTrainingTask) + +DistributedPyTorchTrainingReplicaSpec = _reflection.GeneratedProtocolMessageType('DistributedPyTorchTrainingReplicaSpec', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDPYTORCHTRAININGREPLICASPEC, + __module__ = 'flyteidl.plugins.kubeflow.pytorch_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec) + )) +_sym_db.RegisterMessage(DistributedPyTorchTrainingReplicaSpec) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2_grpc.py b/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/pytorch_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2.py b/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2.py new file mode 100644 index 000000000..ad4f73b7c --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2.py @@ -0,0 +1,161 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/plugins/kubeflow/tensorflow.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2 +from flyteidl.plugins.kubeflow import common_pb2 as flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/plugins/kubeflow/tensorflow.proto', + package='flyteidl.plugins.kubeflow', + syntax='proto3', + serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins'), + serialized_pb=_b('\n*flyteidl/plugins/kubeflow/tensorflow.proto\x12\x19\x66lyteidl.plugins.kubeflow\x1a\x19\x66lyteidl/core/tasks.proto\x1a&flyteidl/plugins/kubeflow/common.proto\"\xf2\x02\n!DistributedTensorflowTrainingTask\x12\\\n\x0fworker_replicas\x18\x01 \x01(\x0b\x32\x43.flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec\x12X\n\x0bps_replicas\x18\x02 \x01(\x0b\x32\x43.flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec\x12[\n\x0e\x63hief_replicas\x18\x03 \x01(\x0b\x32\x43.flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec\x12\x38\n\nrun_policy\x18\x04 \x01(\x0b\x32$.flyteidl.plugins.kubeflow.RunPolicy\"\xba\x01\n(DistributedTensorflowTrainingReplicaSpec\x12\x10\n\x08replicas\x18\x01 \x01(\x05\x12\r\n\x05image\x18\x02 \x01(\t\x12+\n\tresources\x18\x03 \x01(\x0b\x32\x18.flyteidl.core.Resources\x12@\n\x0erestart_policy\x18\x04 \x01(\x0e\x32(.flyteidl.plugins.kubeflow.RestartPolicyB9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') + , + dependencies=[flyteidl_dot_core_dot_tasks__pb2.DESCRIPTOR,flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2.DESCRIPTOR,]) + + + + +_DISTRIBUTEDTENSORFLOWTRAININGTASK = _descriptor.Descriptor( + name='DistributedTensorflowTrainingTask', + full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='worker_replicas', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.worker_replicas', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ps_replicas', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.ps_replicas', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='chief_replicas', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.chief_replicas', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='run_policy', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask.run_policy', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=141, + serialized_end=511, +) + + +_DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC = _descriptor.Descriptor( + name='DistributedTensorflowTrainingReplicaSpec', + full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='replicas', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.replicas', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='image', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.image', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resources', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.resources', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='restart_policy', full_name='flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.restart_policy', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=514, + serialized_end=700, +) + +_DISTRIBUTEDTENSORFLOWTRAININGTASK.fields_by_name['worker_replicas'].message_type = _DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC +_DISTRIBUTEDTENSORFLOWTRAININGTASK.fields_by_name['ps_replicas'].message_type = _DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC +_DISTRIBUTEDTENSORFLOWTRAININGTASK.fields_by_name['chief_replicas'].message_type = _DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC +_DISTRIBUTEDTENSORFLOWTRAININGTASK.fields_by_name['run_policy'].message_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RUNPOLICY +_DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC.fields_by_name['resources'].message_type = flyteidl_dot_core_dot_tasks__pb2._RESOURCES +_DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC.fields_by_name['restart_policy'].enum_type = flyteidl_dot_plugins_dot_kubeflow_dot_common__pb2._RESTARTPOLICY +DESCRIPTOR.message_types_by_name['DistributedTensorflowTrainingTask'] = _DISTRIBUTEDTENSORFLOWTRAININGTASK +DESCRIPTOR.message_types_by_name['DistributedTensorflowTrainingReplicaSpec'] = _DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DistributedTensorflowTrainingTask = _reflection.GeneratedProtocolMessageType('DistributedTensorflowTrainingTask', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDTENSORFLOWTRAININGTASK, + __module__ = 'flyteidl.plugins.kubeflow.tensorflow_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingTask) + )) +_sym_db.RegisterMessage(DistributedTensorflowTrainingTask) + +DistributedTensorflowTrainingReplicaSpec = _reflection.GeneratedProtocolMessageType('DistributedTensorflowTrainingReplicaSpec', (_message.Message,), dict( + DESCRIPTOR = _DISTRIBUTEDTENSORFLOWTRAININGREPLICASPEC, + __module__ = 'flyteidl.plugins.kubeflow.tensorflow_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec) + )) +_sym_db.RegisterMessage(DistributedTensorflowTrainingReplicaSpec) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2_grpc.py b/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/plugins/kubeflow/tensorflow_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/gen/pb_python/flyteidl/plugins/pytorch_pb2.py b/gen/pb_python/flyteidl/plugins/pytorch_pb2.py index ea46266e4..c9d657fd4 100644 --- a/gen/pb_python/flyteidl/plugins/pytorch_pb2.py +++ b/gen/pb_python/flyteidl/plugins/pytorch_pb2.py @@ -20,12 +20,71 @@ package='flyteidl.plugins', syntax='proto3', serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins'), - serialized_pb=_b('\n\x1e\x66lyteidl/plugins/pytorch.proto\x12\x10\x66lyteidl.plugins\"1\n\x1e\x44istributedPyTorchTrainingTask\x12\x0f\n\x07workers\x18\x01 \x01(\x05\x42\x39Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') + serialized_pb=_b('\n\x1e\x66lyteidl/plugins/pytorch.proto\x12\x10\x66lyteidl.plugins\"\x7f\n\rElasticConfig\x12\x14\n\x0crdzv_backend\x18\x01 \x01(\t\x12\x14\n\x0cmin_replicas\x18\x02 \x01(\x05\x12\x14\n\x0cmax_replicas\x18\x03 \x01(\x05\x12\x16\n\x0enproc_per_node\x18\x04 \x01(\x05\x12\x14\n\x0cmax_restarts\x18\x05 \x01(\x05\"j\n\x1e\x44istributedPyTorchTrainingTask\x12\x0f\n\x07workers\x18\x01 \x01(\x05\x12\x37\n\x0e\x65lastic_config\x18\x02 \x01(\x0b\x32\x1f.flyteidl.plugins.ElasticConfigB9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/pluginsb\x06proto3') ) +_ELASTICCONFIG = _descriptor.Descriptor( + name='ElasticConfig', + full_name='flyteidl.plugins.ElasticConfig', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='rdzv_backend', full_name='flyteidl.plugins.ElasticConfig.rdzv_backend', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='min_replicas', full_name='flyteidl.plugins.ElasticConfig.min_replicas', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_replicas', full_name='flyteidl.plugins.ElasticConfig.max_replicas', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='nproc_per_node', full_name='flyteidl.plugins.ElasticConfig.nproc_per_node', index=3, + number=4, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_restarts', full_name='flyteidl.plugins.ElasticConfig.max_restarts', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=52, + serialized_end=179, +) + + _DISTRIBUTEDPYTORCHTRAININGTASK = _descriptor.Descriptor( name='DistributedPyTorchTrainingTask', full_name='flyteidl.plugins.DistributedPyTorchTrainingTask', @@ -40,6 +99,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='elastic_config', full_name='flyteidl.plugins.DistributedPyTorchTrainingTask.elastic_config', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -52,13 +118,22 @@ extension_ranges=[], oneofs=[ ], - serialized_start=52, - serialized_end=101, + serialized_start=181, + serialized_end=287, ) +_DISTRIBUTEDPYTORCHTRAININGTASK.fields_by_name['elastic_config'].message_type = _ELASTICCONFIG +DESCRIPTOR.message_types_by_name['ElasticConfig'] = _ELASTICCONFIG DESCRIPTOR.message_types_by_name['DistributedPyTorchTrainingTask'] = _DISTRIBUTEDPYTORCHTRAININGTASK _sym_db.RegisterFileDescriptor(DESCRIPTOR) +ElasticConfig = _reflection.GeneratedProtocolMessageType('ElasticConfig', (_message.Message,), dict( + DESCRIPTOR = _ELASTICCONFIG, + __module__ = 'flyteidl.plugins.pytorch_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.plugins.ElasticConfig) + )) +_sym_db.RegisterMessage(ElasticConfig) + DistributedPyTorchTrainingTask = _reflection.GeneratedProtocolMessageType('DistributedPyTorchTrainingTask', (_message.Message,), dict( DESCRIPTOR = _DISTRIBUTEDPYTORCHTRAININGTASK, __module__ = 'flyteidl.plugins.pytorch_pb2' diff --git a/gen/pb_python/flyteidl/service/admin_pb2.py b/gen/pb_python/flyteidl/service/admin_pb2.py index cf4bbdeab..251a02878 100644 --- a/gen/pb_python/flyteidl/service/admin_pb2.py +++ b/gen/pb_python/flyteidl/service/admin_pb2.py @@ -29,7 +29,6 @@ from flyteidl.admin import version_pb2 as flyteidl_dot_admin_dot_version__pb2 from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 from flyteidl.admin import description_entity_pb2 as flyteidl_dot_admin_dot_description__entity__pb2 -from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -37,9 +36,9 @@ package='flyteidl.service', syntax='proto3', serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service'), - serialized_pb=_b('\n\x1c\x66lyteidl/service/admin.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x66lyteidl/admin/project.proto\x1a.flyteidl/admin/project_domain_attributes.proto\x1a\'flyteidl/admin/project_attributes.proto\x1a\x19\x66lyteidl/admin/task.proto\x1a\x1d\x66lyteidl/admin/workflow.proto\x1a(flyteidl/admin/workflow_attributes.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1a\x66lyteidl/admin/event.proto\x1a\x1e\x66lyteidl/admin/execution.proto\x1a\'flyteidl/admin/matchable_resource.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1c\x66lyteidl/admin/version.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/description_entity.proto\x1a\x1e\x66lyteidl/core/identifier.proto2\xbcL\n\x0c\x41\x64minService\x12m\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\x18\x82\xd3\xe4\x93\x02\x12\"\r/api/v1/tasks:\x01*\x12\x88\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"E\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x97\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"+\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x12\xae\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"b\x82\xd3\xe4\x93\x02\\\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x12}\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/api/v1/workflows:\x01*\x12\x94\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x9f\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"/\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\xbe\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"j\x82\xd3\xe4\x93\x02\x64\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x12\x86\x01\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/launch_plans:\x01*\x12\x9b\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xa2\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"F\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\x9c\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xa4\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"2\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\xc8\x01\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"p\x82\xd3\xe4\x93\x02j\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x12\xb6\x01\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"O\x82\xd3\xe4\x93\x02I\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}:\x01*\x12\x81\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api/v1/executions:\x01*\x12\x8e\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/api/v1/executions/relaunch:\x01*\x12\x8b\x01\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v1/executions/recover:\x01*\x12\x95\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xa4\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"@\x82\xd3\xe4\x93\x02:\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x12\xb9\x01\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\x89\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"3\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xad\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"@\x82\xd3\xe4\x93\x02:*5/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x12\xd2\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"v\x82\xd3\xe4\x93\x02p\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\xde\x01\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xa5\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb3\x03\x82\xd3\xe4\x93\x02\xac\x03\x12\xa9\x03/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}\x12\xee\x01\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\x7f\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/api/v1/projects:\x01*\x12q\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\" \x82\xd3\xe4\x93\x02\x1a\x1a\x15/api/v1/projects/{id}:\x01*\x12\x66\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x12\x99\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v1/events/workflows:\x01*\x12\x89\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/nodes:\x01*\x12\x89\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/tasks:\x01*\x12\x80\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xa3\x02\x82\xd3\xe4\x93\x02\x9c\x02\x12\x99\x02/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x12\x98\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\x12\xaa\x01/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\x12\x9c\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xa8\x02\x82\xd3\xe4\x93\x02\xa1\x02\x12\x9e\x02/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x12\xe3\x01\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"U\x82\xd3\xe4\x93\x02O\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}:\x01*\x12\xc1\x01\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\xcd\x01\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"?\x82\xd3\xe4\x93\x02\x39*4/api/v1/project_domain_attributes/{project}/{domain}:\x01*\x12\xb6\x01\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\":\x82\xd3\xe4\x93\x02\x34\x1a//api/v1/project_attributes/{attributes.project}:\x01*\x12\x9f\x01\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\",\x82\xd3\xe4\x93\x02&\x12$/api/v1/project_attributes/{project}\x12\xab\x01\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"/\x82\xd3\xe4\x93\x02)*$/api/v1/project_attributes/{project}:\x01*\x12\xe4\x01\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"e\x82\xd3\xe4\x93\x02_\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}:\x01*\x12\xb7\x01\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xc3\x01\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"D\x82\xd3\xe4\x93\x02>*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}:\x01*\x12\xa0\x01\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/matchable_attributes\x12\x9f\x01\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x12\xa7\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"Q\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\xbe\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"T\x82\xd3\xe4\x93\x02N\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}:\x01*\x12l\n\nGetVersion\x12!.flyteidl.admin.GetVersionRequest\x1a\".flyteidl.admin.GetVersionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/version\x12\xc4\x01\n\x14GetDescriptionEntity\x12 .flyteidl.admin.ObjectGetRequest\x1a!.flyteidl.admin.DescriptionEntity\"g\x82\xd3\xe4\x93\x02\x61\x12_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x92\x02\n\x17ListDescriptionEntities\x12,.flyteidl.admin.DescriptionEntityListRequest\x1a%.flyteidl.admin.DescriptionEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01\x12O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}ZG\x12\x45/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}B9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') + serialized_pb=_b('\n\x1c\x66lyteidl/service/admin.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x66lyteidl/admin/project.proto\x1a.flyteidl/admin/project_domain_attributes.proto\x1a\'flyteidl/admin/project_attributes.proto\x1a\x19\x66lyteidl/admin/task.proto\x1a\x1d\x66lyteidl/admin/workflow.proto\x1a(flyteidl/admin/workflow_attributes.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1a\x66lyteidl/admin/event.proto\x1a\x1e\x66lyteidl/admin/execution.proto\x1a\'flyteidl/admin/matchable_resource.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1c\x66lyteidl/admin/version.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/description_entity.proto2\x84N\n\x0c\x41\x64minService\x12m\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\x18\x82\xd3\xe4\x93\x02\x12\"\r/api/v1/tasks:\x01*\x12\x88\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"E\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x97\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"+\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x12\xae\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"b\x82\xd3\xe4\x93\x02\\\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x12}\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/api/v1/workflows:\x01*\x12\x94\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x9f\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"/\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\xbe\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"j\x82\xd3\xe4\x93\x02\x64\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x12\x86\x01\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/launch_plans:\x01*\x12\x9b\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xa2\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"F\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\x9c\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xa4\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"2\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\xc8\x01\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"p\x82\xd3\xe4\x93\x02j\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x12\xb6\x01\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"O\x82\xd3\xe4\x93\x02I\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}:\x01*\x12\x81\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/api/v1/executions:\x01*\x12\x8e\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/api/v1/executions/relaunch:\x01*\x12\x8b\x01\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v1/executions/recover:\x01*\x12\x95\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xa4\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"@\x82\xd3\xe4\x93\x02:\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x12\xb9\x01\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\x89\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"3\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xad\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"@\x82\xd3\xe4\x93\x02:*5/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x12\xd2\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"v\x82\xd3\xe4\x93\x02p\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\xde\x01\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xa5\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb3\x03\x82\xd3\xe4\x93\x02\xac\x03\x12\xa9\x03/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}\x12\xee\x01\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x12\x7f\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/api/v1/projects:\x01*\x12q\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\" \x82\xd3\xe4\x93\x02\x1a\x1a\x15/api/v1/projects/{id}:\x01*\x12\x66\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x12\x99\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"#\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v1/events/workflows:\x01*\x12\x89\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/nodes:\x01*\x12\x89\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/tasks:\x01*\x12\x80\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xa3\x02\x82\xd3\xe4\x93\x02\x9c\x02\x12\x99\x02/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x12\x98\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\x12\xaa\x01/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\x12\x9c\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xa8\x02\x82\xd3\xe4\x93\x02\xa1\x02\x12\x9e\x02/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x12\xe3\x01\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"U\x82\xd3\xe4\x93\x02O\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}:\x01*\x12\xc1\x01\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\xcd\x01\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"?\x82\xd3\xe4\x93\x02\x39*4/api/v1/project_domain_attributes/{project}/{domain}:\x01*\x12\xb6\x01\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\":\x82\xd3\xe4\x93\x02\x34\x1a//api/v1/project_attributes/{attributes.project}:\x01*\x12\x9f\x01\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\",\x82\xd3\xe4\x93\x02&\x12$/api/v1/project_attributes/{project}\x12\xab\x01\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"/\x82\xd3\xe4\x93\x02)*$/api/v1/project_attributes/{project}:\x01*\x12\xe4\x01\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"e\x82\xd3\xe4\x93\x02_\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}:\x01*\x12\xb7\x01\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xc3\x01\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"D\x82\xd3\xe4\x93\x02>*9/api/v1/workflow_attributes/{project}/{domain}/{workflow}:\x01*\x12\xa0\x01\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/matchable_attributes\x12\x9f\x01\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x12\xa7\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"Q\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\xbe\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"T\x82\xd3\xe4\x93\x02N\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}:\x01*\x12l\n\nGetVersion\x12!.flyteidl.admin.GetVersionRequest\x1a\".flyteidl.admin.GetVersionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/version\x12\xc4\x01\n\x14GetDescriptionEntity\x12 .flyteidl.admin.ObjectGetRequest\x1a!.flyteidl.admin.DescriptionEntity\"g\x82\xd3\xe4\x93\x02\x61\x12_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x92\x02\n\x17ListDescriptionEntities\x12,.flyteidl.admin.DescriptionEntityListRequest\x1a%.flyteidl.admin.DescriptionEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01\x12O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}ZG\x12\x45/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}\x12\xc5\x01\n\x13GetExecutionMetrics\x12\x32.flyteidl.admin.WorkflowExecutionGetMetricsRequest\x1a\x33.flyteidl.admin.WorkflowExecutionGetMetricsResponse\"E\x82\xd3\xe4\x93\x02?\x12=/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}B9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__domain__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_launch__plan__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_event__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_node__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_version__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_description__entity__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,]) + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__domain__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_launch__plan__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_event__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_node__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_version__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_description__entity__pb2.DESCRIPTOR,]) @@ -54,8 +53,8 @@ file=DESCRIPTOR, index=0, serialized_options=None, - serialized_start=641, - serialized_end=10429, + serialized_start=609, + serialized_end=10597, methods=[ _descriptor.MethodDescriptor( name='CreateTask', @@ -525,6 +524,15 @@ output_type=flyteidl_dot_admin_dot_description__entity__pb2._DESCRIPTIONENTITYLIST, serialized_options=_b('\202\323\344\223\002\232\001\022O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}ZG\022E/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}'), ), + _descriptor.MethodDescriptor( + name='GetExecutionMetrics', + full_name='flyteidl.service.AdminService.GetExecutionMetrics', + index=52, + containing_service=None, + input_type=flyteidl_dot_admin_dot_execution__pb2._WORKFLOWEXECUTIONGETMETRICSREQUEST, + output_type=flyteidl_dot_admin_dot_execution__pb2._WORKFLOWEXECUTIONGETMETRICSRESPONSE, + serialized_options=_b('\202\323\344\223\002?\022=/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}'), + ), ]) _sym_db.RegisterServiceDescriptor(_ADMINSERVICE) diff --git a/gen/pb_python/flyteidl/service/admin_pb2_grpc.py b/gen/pb_python/flyteidl/service/admin_pb2_grpc.py index 25aba89bd..f327bd30e 100644 --- a/gen/pb_python/flyteidl/service/admin_pb2_grpc.py +++ b/gen/pb_python/flyteidl/service/admin_pb2_grpc.py @@ -289,6 +289,11 @@ def __init__(self, channel): request_serializer=flyteidl_dot_admin_dot_description__entity__pb2.DescriptionEntityListRequest.SerializeToString, response_deserializer=flyteidl_dot_admin_dot_description__entity__pb2.DescriptionEntityList.FromString, ) + self.GetExecutionMetrics = channel.unary_unary( + '/flyteidl.service.AdminService/GetExecutionMetrics', + request_serializer=flyteidl_dot_admin_dot_execution__pb2.WorkflowExecutionGetMetricsRequest.SerializeToString, + response_deserializer=flyteidl_dot_admin_dot_execution__pb2.WorkflowExecutionGetMetricsResponse.FromString, + ) class AdminServiceServicer(object): @@ -666,6 +671,13 @@ def ListDescriptionEntities(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetExecutionMetrics(self, request, context): + """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_AdminServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -929,6 +941,11 @@ def add_AdminServiceServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_admin_dot_description__entity__pb2.DescriptionEntityListRequest.FromString, response_serializer=flyteidl_dot_admin_dot_description__entity__pb2.DescriptionEntityList.SerializeToString, ), + 'GetExecutionMetrics': grpc.unary_unary_rpc_method_handler( + servicer.GetExecutionMetrics, + request_deserializer=flyteidl_dot_admin_dot_execution__pb2.WorkflowExecutionGetMetricsRequest.FromString, + response_serializer=flyteidl_dot_admin_dot_execution__pb2.WorkflowExecutionGetMetricsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'flyteidl.service.AdminService', rpc_method_handlers) diff --git a/gen/pb_python/flyteidl/service/dataproxy_pb2.py b/gen/pb_python/flyteidl/service/dataproxy_pb2.py index 8e70dd20d..b45819ea8 100644 --- a/gen/pb_python/flyteidl/service/dataproxy_pb2.py +++ b/gen/pb_python/flyteidl/service/dataproxy_pb2.py @@ -18,6 +18,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -25,9 +26,9 @@ package='flyteidl.service', syntax='proto3', serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service'), - serialized_pb=_b('\n flyteidl/service/dataproxy.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x66lyteidl/core/identifier.proto\"v\n\x1c\x43reateUploadLocationResponse\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12\x12\n\nnative_url\x18\x02 \x01(\t\x12.\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x94\x01\n\x1b\x43reateUploadLocationRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12-\n\nexpires_in\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x63ontent_md5\x18\x05 \x01(\x0c\"f\n\x1d\x43reateDownloadLocationRequest\x12\x12\n\nnative_url\x18\x01 \x01(\t\x12-\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x18\x01\"h\n\x1e\x43reateDownloadLocationResponse\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x02\x18\x01\"\xd0\x01\n\x19\x43reateDownloadLinkRequest\x12\x35\n\rartifact_type\x18\x01 \x01(\x0e\x32\x1e.flyteidl.service.ArtifactType\x12-\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x11node_execution_id\x18\x03 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierH\x00\x42\x08\n\x06source\"`\n\x1a\x43reateDownloadLinkResponse\x12\x12\n\nsigned_url\x18\x01 \x03(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*C\n\x0c\x41rtifactType\x12\x1b\n\x17\x41RTIFACT_TYPE_UNDEFINED\x10\x00\x12\x16\n\x12\x41RTIFACT_TYPE_DECK\x10\x01\x32\xfc\x03\n\x10\x44\x61taProxyService\x12\xa0\x01\n\x14\x43reateUploadLocation\x12-.flyteidl.service.CreateUploadLocationRequest\x1a..flyteidl.service.CreateUploadLocationResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/api/v1/dataproxy/artifact_urn:\x01*\x12\xa6\x01\n\x16\x43reateDownloadLocation\x12/.flyteidl.service.CreateDownloadLocationRequest\x1a\x30.flyteidl.service.CreateDownloadLocationResponse\")\x88\x02\x01\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/dataproxy/artifact_urn\x12\x9b\x01\n\x12\x43reateDownloadLink\x12+.flyteidl.service.CreateDownloadLinkRequest\x1a,.flyteidl.service.CreateDownloadLinkResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/api/v1/dataproxy/artifact_link:\x01*B9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') + serialized_pb=_b('\n flyteidl/service/dataproxy.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1c\x66lyteidl/core/literals.proto\"v\n\x1c\x43reateUploadLocationResponse\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12\x12\n\nnative_url\x18\x02 \x01(\t\x12.\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x94\x01\n\x1b\x43reateUploadLocationRequest\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12-\n\nexpires_in\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x63ontent_md5\x18\x05 \x01(\x0c\"f\n\x1d\x43reateDownloadLocationRequest\x12\x12\n\nnative_url\x18\x01 \x01(\t\x12-\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x18\x01\"h\n\x1e\x43reateDownloadLocationResponse\x12\x12\n\nsigned_url\x18\x01 \x01(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x02\x18\x01\"\xd0\x01\n\x19\x43reateDownloadLinkRequest\x12\x35\n\rartifact_type\x18\x01 \x01(\x0e\x32\x1e.flyteidl.service.ArtifactType\x12-\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x11node_execution_id\x18\x03 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierH\x00\x42\x08\n\x06source\"\xa2\x01\n\x1a\x43reateDownloadLinkResponse\x12\x16\n\nsigned_url\x18\x01 \x03(\tB\x02\x18\x01\x12\x32\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x38\n\x0fpre_signed_urls\x18\x03 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLs\"S\n\rPreSignedURLs\x12\x12\n\nsigned_url\x18\x01 \x03(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"#\n\x0eGetDataRequest\x12\x11\n\tflyte_url\x18\x01 \x01(\t\"\x87\x01\n\x0fGetDataResponse\x12\x30\n\x0bliteral_map\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00\x12:\n\x0fpre_signed_urls\x18\x02 \x01(\x0b\x32\x1f.flyteidl.service.PreSignedURLsH\x00\x42\x06\n\x04\x64\x61ta*C\n\x0c\x41rtifactType\x12\x1b\n\x17\x41RTIFACT_TYPE_UNDEFINED\x10\x00\x12\x16\n\x12\x41RTIFACT_TYPE_DECK\x10\x01\x32\xe2\x04\n\x10\x44\x61taProxyService\x12\xa0\x01\n\x14\x43reateUploadLocation\x12-.flyteidl.service.CreateUploadLocationRequest\x1a..flyteidl.service.CreateUploadLocationResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/api/v1/dataproxy/artifact_urn:\x01*\x12\xa6\x01\n\x16\x43reateDownloadLocation\x12/.flyteidl.service.CreateDownloadLocationRequest\x1a\x30.flyteidl.service.CreateDownloadLocationResponse\")\x88\x02\x01\x82\xd3\xe4\x93\x02 \x12\x1e/api/v1/dataproxy/artifact_urn\x12\x9b\x01\n\x12\x43reateDownloadLink\x12+.flyteidl.service.CreateDownloadLinkRequest\x1a,.flyteidl.service.CreateDownloadLinkResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/api/v1/dataproxy/artifact_link:\x01*\x12\x64\n\x07GetData\x12 .flyteidl.service.GetDataRequest\x1a!.flyteidl.service.GetDataResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/v1/dataB9Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,]) + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,flyteidl_dot_core_dot_identifier__pb2.DESCRIPTOR,flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,]) _ARTIFACTTYPE = _descriptor.EnumDescriptor( name='ArtifactType', @@ -46,8 +47,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=971, - serialized_end=1038, + serialized_start=1328, + serialized_end=1395, ) _sym_db.RegisterEnumDescriptor(_ARTIFACTTYPE) @@ -97,8 +98,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=181, - serialized_end=299, + serialized_start=211, + serialized_end=329, ) @@ -156,8 +157,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=302, - serialized_end=450, + serialized_start=332, + serialized_end=480, ) @@ -194,8 +195,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=452, - serialized_end=554, + serialized_start=482, + serialized_end=584, ) @@ -232,8 +233,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=556, - serialized_end=660, + serialized_start=586, + serialized_end=690, ) @@ -280,8 +281,8 @@ name='source', full_name='flyteidl.service.CreateDownloadLinkRequest.source', index=0, containing_type=None, fields=[]), ], - serialized_start=663, - serialized_end=871, + serialized_start=693, + serialized_end=901, ) @@ -298,13 +299,127 @@ has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( name='expires_at', full_name='flyteidl.service.CreateDownloadLinkResponse.expires_at', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, + serialized_options=_b('\030\001'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='pre_signed_urls', full_name='flyteidl.service.CreateDownloadLinkResponse.pre_signed_urls', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=904, + serialized_end=1066, +) + + +_PRESIGNEDURLS = _descriptor.Descriptor( + name='PreSignedURLs', + full_name='flyteidl.service.PreSignedURLs', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='signed_url', full_name='flyteidl.service.PreSignedURLs.signed_url', index=0, + number=1, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='expires_at', full_name='flyteidl.service.PreSignedURLs.expires_at', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1068, + serialized_end=1151, +) + + +_GETDATAREQUEST = _descriptor.Descriptor( + name='GetDataRequest', + full_name='flyteidl.service.GetDataRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='flyte_url', full_name='flyteidl.service.GetDataRequest.flyte_url', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1153, + serialized_end=1188, +) + + +_GETDATARESPONSE = _descriptor.Descriptor( + name='GetDataResponse', + full_name='flyteidl.service.GetDataResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='literal_map', full_name='flyteidl.service.GetDataResponse.literal_map', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='pre_signed_urls', full_name='flyteidl.service.GetDataResponse.pre_signed_urls', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ @@ -317,9 +432,12 @@ syntax='proto3', extension_ranges=[], oneofs=[ + _descriptor.OneofDescriptor( + name='data', full_name='flyteidl.service.GetDataResponse.data', + index=0, containing_type=None, fields=[]), ], - serialized_start=873, - serialized_end=969, + serialized_start=1191, + serialized_end=1326, ) _CREATEUPLOADLOCATIONRESPONSE.fields_by_name['expires_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP @@ -333,12 +451,25 @@ _CREATEDOWNLOADLINKREQUEST.fields_by_name['node_execution_id']) _CREATEDOWNLOADLINKREQUEST.fields_by_name['node_execution_id'].containing_oneof = _CREATEDOWNLOADLINKREQUEST.oneofs_by_name['source'] _CREATEDOWNLOADLINKRESPONSE.fields_by_name['expires_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_CREATEDOWNLOADLINKRESPONSE.fields_by_name['pre_signed_urls'].message_type = _PRESIGNEDURLS +_PRESIGNEDURLS.fields_by_name['expires_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP +_GETDATARESPONSE.fields_by_name['literal_map'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP +_GETDATARESPONSE.fields_by_name['pre_signed_urls'].message_type = _PRESIGNEDURLS +_GETDATARESPONSE.oneofs_by_name['data'].fields.append( + _GETDATARESPONSE.fields_by_name['literal_map']) +_GETDATARESPONSE.fields_by_name['literal_map'].containing_oneof = _GETDATARESPONSE.oneofs_by_name['data'] +_GETDATARESPONSE.oneofs_by_name['data'].fields.append( + _GETDATARESPONSE.fields_by_name['pre_signed_urls']) +_GETDATARESPONSE.fields_by_name['pre_signed_urls'].containing_oneof = _GETDATARESPONSE.oneofs_by_name['data'] DESCRIPTOR.message_types_by_name['CreateUploadLocationResponse'] = _CREATEUPLOADLOCATIONRESPONSE DESCRIPTOR.message_types_by_name['CreateUploadLocationRequest'] = _CREATEUPLOADLOCATIONREQUEST DESCRIPTOR.message_types_by_name['CreateDownloadLocationRequest'] = _CREATEDOWNLOADLOCATIONREQUEST DESCRIPTOR.message_types_by_name['CreateDownloadLocationResponse'] = _CREATEDOWNLOADLOCATIONRESPONSE DESCRIPTOR.message_types_by_name['CreateDownloadLinkRequest'] = _CREATEDOWNLOADLINKREQUEST DESCRIPTOR.message_types_by_name['CreateDownloadLinkResponse'] = _CREATEDOWNLOADLINKRESPONSE +DESCRIPTOR.message_types_by_name['PreSignedURLs'] = _PRESIGNEDURLS +DESCRIPTOR.message_types_by_name['GetDataRequest'] = _GETDATAREQUEST +DESCRIPTOR.message_types_by_name['GetDataResponse'] = _GETDATARESPONSE DESCRIPTOR.enum_types_by_name['ArtifactType'] = _ARTIFACTTYPE _sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -384,10 +515,33 @@ )) _sym_db.RegisterMessage(CreateDownloadLinkResponse) +PreSignedURLs = _reflection.GeneratedProtocolMessageType('PreSignedURLs', (_message.Message,), dict( + DESCRIPTOR = _PRESIGNEDURLS, + __module__ = 'flyteidl.service.dataproxy_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.PreSignedURLs) + )) +_sym_db.RegisterMessage(PreSignedURLs) + +GetDataRequest = _reflection.GeneratedProtocolMessageType('GetDataRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDATAREQUEST, + __module__ = 'flyteidl.service.dataproxy_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.GetDataRequest) + )) +_sym_db.RegisterMessage(GetDataRequest) + +GetDataResponse = _reflection.GeneratedProtocolMessageType('GetDataResponse', (_message.Message,), dict( + DESCRIPTOR = _GETDATARESPONSE, + __module__ = 'flyteidl.service.dataproxy_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.GetDataResponse) + )) +_sym_db.RegisterMessage(GetDataResponse) + DESCRIPTOR._options = None _CREATEDOWNLOADLOCATIONREQUEST._options = None _CREATEDOWNLOADLOCATIONRESPONSE._options = None +_CREATEDOWNLOADLINKRESPONSE.fields_by_name['signed_url']._options = None +_CREATEDOWNLOADLINKRESPONSE.fields_by_name['expires_at']._options = None _DATAPROXYSERVICE = _descriptor.ServiceDescriptor( name='DataProxyService', @@ -395,8 +549,8 @@ file=DESCRIPTOR, index=0, serialized_options=None, - serialized_start=1041, - serialized_end=1549, + serialized_start=1398, + serialized_end=2008, methods=[ _descriptor.MethodDescriptor( name='CreateUploadLocation', @@ -425,6 +579,15 @@ output_type=_CREATEDOWNLOADLINKRESPONSE, serialized_options=_b('\202\323\344\223\002$\"\037/api/v1/dataproxy/artifact_link:\001*'), ), + _descriptor.MethodDescriptor( + name='GetData', + full_name='flyteidl.service.DataProxyService.GetData', + index=3, + containing_service=None, + input_type=_GETDATAREQUEST, + output_type=_GETDATARESPONSE, + serialized_options=_b('\202\323\344\223\002\016\022\014/api/v1/data'), + ), ]) _sym_db.RegisterServiceDescriptor(_DATAPROXYSERVICE) diff --git a/gen/pb_python/flyteidl/service/dataproxy_pb2_grpc.py b/gen/pb_python/flyteidl/service/dataproxy_pb2_grpc.py index f58e6b701..ffd12cfc7 100644 --- a/gen/pb_python/flyteidl/service/dataproxy_pb2_grpc.py +++ b/gen/pb_python/flyteidl/service/dataproxy_pb2_grpc.py @@ -29,6 +29,11 @@ def __init__(self, channel): request_serializer=flyteidl_dot_service_dot_dataproxy__pb2.CreateDownloadLinkRequest.SerializeToString, response_deserializer=flyteidl_dot_service_dot_dataproxy__pb2.CreateDownloadLinkResponse.FromString, ) + self.GetData = channel.unary_unary( + '/flyteidl.service.DataProxyService/GetData', + request_serializer=flyteidl_dot_service_dot_dataproxy__pb2.GetDataRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_dataproxy__pb2.GetDataResponse.FromString, + ) class DataProxyServiceServicer(object): @@ -56,6 +61,13 @@ def CreateDownloadLink(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetData(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_DataProxyServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -74,6 +86,11 @@ def add_DataProxyServiceServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_service_dot_dataproxy__pb2.CreateDownloadLinkRequest.FromString, response_serializer=flyteidl_dot_service_dot_dataproxy__pb2.CreateDownloadLinkResponse.SerializeToString, ), + 'GetData': grpc.unary_unary_rpc_method_handler( + servicer.GetData, + request_deserializer=flyteidl_dot_service_dot_dataproxy__pb2.GetDataRequest.FromString, + response_serializer=flyteidl_dot_service_dot_dataproxy__pb2.GetDataResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'flyteidl.service.DataProxyService', rpc_method_handlers) diff --git a/gen/pb_python/flyteidl/service/external_plugin_service_pb2.py b/gen/pb_python/flyteidl/service/external_plugin_service_pb2.py new file mode 100644 index 000000000..b5922316e --- /dev/null +++ b/gen/pb_python/flyteidl/service/external_plugin_service_pb2.py @@ -0,0 +1,386 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/service/external_plugin_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2 +from flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/service/external_plugin_service.proto', + package='flyteidl.service', + syntax='proto3', + serialized_options=_b('Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service'), + serialized_pb=_b('\n.flyteidl/service/external_plugin_service.proto\x12\x10\x66lyteidl.service\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/tasks.proto\x1a\x1d\x66lyteidl/core/interface.proto\"\x84\x01\n\x11TaskCreateRequest\x12)\n\x06inputs\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\x12-\n\x08template\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.TaskTemplate\x12\x15\n\routput_prefix\x18\x03 \x01(\t\"$\n\x12TaskCreateResponse\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"3\n\x0eTaskGetRequest\x12\x11\n\ttask_type\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"e\n\x0fTaskGetResponse\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.flyteidl.service.State\x12*\n\x07outputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMap\"6\n\x11TaskDeleteRequest\x12\x11\n\ttask_type\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\"\x14\n\x12TaskDeleteResponse*^\n\x05State\x12\x15\n\x11RETRYABLE_FAILURE\x10\x00\x12\x15\n\x11PERMANENT_FAILURE\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x32\x9f\x02\n\x15\x45xternalPluginService\x12Y\n\nCreateTask\x12#.flyteidl.service.TaskCreateRequest\x1a$.flyteidl.service.TaskCreateResponse\"\x00\x12P\n\x07GetTask\x12 .flyteidl.service.TaskGetRequest\x1a!.flyteidl.service.TaskGetResponse\"\x00\x12Y\n\nDeleteTask\x12#.flyteidl.service.TaskDeleteRequest\x1a$.flyteidl.service.TaskDeleteResponse\"\x00\x42\x39Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') + , + dependencies=[flyteidl_dot_core_dot_literals__pb2.DESCRIPTOR,flyteidl_dot_core_dot_tasks__pb2.DESCRIPTOR,flyteidl_dot_core_dot_interface__pb2.DESCRIPTOR,]) + +_STATE = _descriptor.EnumDescriptor( + name='State', + full_name='flyteidl.service.State', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='RETRYABLE_FAILURE', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PERMANENT_FAILURE', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PENDING', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='RUNNING', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SUCCEEDED', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=563, + serialized_end=657, +) +_sym_db.RegisterEnumDescriptor(_STATE) + +State = enum_type_wrapper.EnumTypeWrapper(_STATE) +RETRYABLE_FAILURE = 0 +PERMANENT_FAILURE = 1 +PENDING = 2 +RUNNING = 3 +SUCCEEDED = 4 + + + +_TASKCREATEREQUEST = _descriptor.Descriptor( + name='TaskCreateRequest', + full_name='flyteidl.service.TaskCreateRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='inputs', full_name='flyteidl.service.TaskCreateRequest.inputs', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='template', full_name='flyteidl.service.TaskCreateRequest.template', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='output_prefix', full_name='flyteidl.service.TaskCreateRequest.output_prefix', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=157, + serialized_end=289, +) + + +_TASKCREATERESPONSE = _descriptor.Descriptor( + name='TaskCreateResponse', + full_name='flyteidl.service.TaskCreateResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='job_id', full_name='flyteidl.service.TaskCreateResponse.job_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=291, + serialized_end=327, +) + + +_TASKGETREQUEST = _descriptor.Descriptor( + name='TaskGetRequest', + full_name='flyteidl.service.TaskGetRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='task_type', full_name='flyteidl.service.TaskGetRequest.task_type', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='job_id', full_name='flyteidl.service.TaskGetRequest.job_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=329, + serialized_end=380, +) + + +_TASKGETRESPONSE = _descriptor.Descriptor( + name='TaskGetResponse', + full_name='flyteidl.service.TaskGetResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='state', full_name='flyteidl.service.TaskGetResponse.state', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='outputs', full_name='flyteidl.service.TaskGetResponse.outputs', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=382, + serialized_end=483, +) + + +_TASKDELETEREQUEST = _descriptor.Descriptor( + name='TaskDeleteRequest', + full_name='flyteidl.service.TaskDeleteRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='task_type', full_name='flyteidl.service.TaskDeleteRequest.task_type', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='job_id', full_name='flyteidl.service.TaskDeleteRequest.job_id', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=485, + serialized_end=539, +) + + +_TASKDELETERESPONSE = _descriptor.Descriptor( + name='TaskDeleteResponse', + full_name='flyteidl.service.TaskDeleteResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=541, + serialized_end=561, +) + +_TASKCREATEREQUEST.fields_by_name['inputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP +_TASKCREATEREQUEST.fields_by_name['template'].message_type = flyteidl_dot_core_dot_tasks__pb2._TASKTEMPLATE +_TASKGETRESPONSE.fields_by_name['state'].enum_type = _STATE +_TASKGETRESPONSE.fields_by_name['outputs'].message_type = flyteidl_dot_core_dot_literals__pb2._LITERALMAP +DESCRIPTOR.message_types_by_name['TaskCreateRequest'] = _TASKCREATEREQUEST +DESCRIPTOR.message_types_by_name['TaskCreateResponse'] = _TASKCREATERESPONSE +DESCRIPTOR.message_types_by_name['TaskGetRequest'] = _TASKGETREQUEST +DESCRIPTOR.message_types_by_name['TaskGetResponse'] = _TASKGETRESPONSE +DESCRIPTOR.message_types_by_name['TaskDeleteRequest'] = _TASKDELETEREQUEST +DESCRIPTOR.message_types_by_name['TaskDeleteResponse'] = _TASKDELETERESPONSE +DESCRIPTOR.enum_types_by_name['State'] = _STATE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TaskCreateRequest = _reflection.GeneratedProtocolMessageType('TaskCreateRequest', (_message.Message,), dict( + DESCRIPTOR = _TASKCREATEREQUEST, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateRequest) + )) +_sym_db.RegisterMessage(TaskCreateRequest) + +TaskCreateResponse = _reflection.GeneratedProtocolMessageType('TaskCreateResponse', (_message.Message,), dict( + DESCRIPTOR = _TASKCREATERESPONSE, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskCreateResponse) + )) +_sym_db.RegisterMessage(TaskCreateResponse) + +TaskGetRequest = _reflection.GeneratedProtocolMessageType('TaskGetRequest', (_message.Message,), dict( + DESCRIPTOR = _TASKGETREQUEST, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetRequest) + )) +_sym_db.RegisterMessage(TaskGetRequest) + +TaskGetResponse = _reflection.GeneratedProtocolMessageType('TaskGetResponse', (_message.Message,), dict( + DESCRIPTOR = _TASKGETRESPONSE, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskGetResponse) + )) +_sym_db.RegisterMessage(TaskGetResponse) + +TaskDeleteRequest = _reflection.GeneratedProtocolMessageType('TaskDeleteRequest', (_message.Message,), dict( + DESCRIPTOR = _TASKDELETEREQUEST, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteRequest) + )) +_sym_db.RegisterMessage(TaskDeleteRequest) + +TaskDeleteResponse = _reflection.GeneratedProtocolMessageType('TaskDeleteResponse', (_message.Message,), dict( + DESCRIPTOR = _TASKDELETERESPONSE, + __module__ = 'flyteidl.service.external_plugin_service_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.service.TaskDeleteResponse) + )) +_sym_db.RegisterMessage(TaskDeleteResponse) + + +DESCRIPTOR._options = None + +_EXTERNALPLUGINSERVICE = _descriptor.ServiceDescriptor( + name='ExternalPluginService', + full_name='flyteidl.service.ExternalPluginService', + file=DESCRIPTOR, + index=0, + serialized_options=None, + serialized_start=660, + serialized_end=947, + methods=[ + _descriptor.MethodDescriptor( + name='CreateTask', + full_name='flyteidl.service.ExternalPluginService.CreateTask', + index=0, + containing_service=None, + input_type=_TASKCREATEREQUEST, + output_type=_TASKCREATERESPONSE, + serialized_options=None, + ), + _descriptor.MethodDescriptor( + name='GetTask', + full_name='flyteidl.service.ExternalPluginService.GetTask', + index=1, + containing_service=None, + input_type=_TASKGETREQUEST, + output_type=_TASKGETRESPONSE, + serialized_options=None, + ), + _descriptor.MethodDescriptor( + name='DeleteTask', + full_name='flyteidl.service.ExternalPluginService.DeleteTask', + index=2, + containing_service=None, + input_type=_TASKDELETEREQUEST, + output_type=_TASKDELETERESPONSE, + serialized_options=None, + ), +]) +_sym_db.RegisterServiceDescriptor(_EXTERNALPLUGINSERVICE) + +DESCRIPTOR.services_by_name['ExternalPluginService'] = _EXTERNALPLUGINSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/service/external_plugin_service_pb2_grpc.py b/gen/pb_python/flyteidl/service/external_plugin_service_pb2_grpc.py new file mode 100644 index 000000000..0c1443792 --- /dev/null +++ b/gen/pb_python/flyteidl/service/external_plugin_service_pb2_grpc.py @@ -0,0 +1,80 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from flyteidl.service import external_plugin_service_pb2 as flyteidl_dot_service_dot_external__plugin__service__pb2 + + +class ExternalPluginServiceStub(object): + """ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateTask = channel.unary_unary( + '/flyteidl.service.ExternalPluginService/CreateTask', + request_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskCreateRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskCreateResponse.FromString, + ) + self.GetTask = channel.unary_unary( + '/flyteidl.service.ExternalPluginService/GetTask', + request_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskGetRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskGetResponse.FromString, + ) + self.DeleteTask = channel.unary_unary( + '/flyteidl.service.ExternalPluginService/DeleteTask', + request_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskDeleteRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskDeleteResponse.FromString, + ) + + +class ExternalPluginServiceServicer(object): + """ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. + """ + + def CreateTask(self, request, context): + """Send a task create request to the backend plugin server. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTask(self, request, context): + """Get job status. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTask(self, request, context): + """Delete the task resource. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ExternalPluginServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateTask': grpc.unary_unary_rpc_method_handler( + servicer.CreateTask, + request_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskCreateRequest.FromString, + response_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskCreateResponse.SerializeToString, + ), + 'GetTask': grpc.unary_unary_rpc_method_handler( + servicer.GetTask, + request_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskGetRequest.FromString, + response_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskGetResponse.SerializeToString, + ), + 'DeleteTask': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTask, + request_deserializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskDeleteRequest.FromString, + response_serializer=flyteidl_dot_service_dot_external__plugin__service__pb2.TaskDeleteResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'flyteidl.service.ExternalPluginService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/README.md b/gen/pb_python/flyteidl/service/flyteadmin/README.md index 48565101a..c84594ae0 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ b/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -84,6 +84,7 @@ Class | Method | HTTP request | Description *AdminServiceApi* | [**get_description_entity**](docs/AdminServiceApi.md#get_description_entity) | **GET** /api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.DescriptionEntity` object. *AdminServiceApi* | [**get_execution**](docs/AdminServiceApi.md#get_execution) | **GET** /api/v1/executions/{id.project}/{id.domain}/{id.name} | Fetches a :ref:`ref_flyteidl.admin.Execution`. *AdminServiceApi* | [**get_execution_data**](docs/AdminServiceApi.md#get_execution_data) | **GET** /api/v1/data/executions/{id.project}/{id.domain}/{id.name} | Fetches input and output data for a :ref:`ref_flyteidl.admin.Execution`. +*AdminServiceApi* | [**get_execution_metrics**](docs/AdminServiceApi.md#get_execution_metrics) | **GET** /api/v1/metrics/executions/{id.project}/{id.domain}/{id.name} | Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. *AdminServiceApi* | [**get_launch_plan**](docs/AdminServiceApi.md#get_launch_plan) | **GET** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. *AdminServiceApi* | [**get_named_entity**](docs/AdminServiceApi.md#get_named_entity) | **GET** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | Returns a :ref:`ref_flyteidl.admin.NamedEntity` object. *AdminServiceApi* | [**get_node_execution**](docs/AdminServiceApi.md#get_node_execution) | **GET** /api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id} | Fetches a :ref:`ref_flyteidl.admin.NodeExecution`. @@ -143,6 +144,7 @@ Class | Method | HTTP request | Description - [AdminDescriptionFormat](docs/AdminDescriptionFormat.md) - [AdminDomain](docs/AdminDomain.md) - [AdminEmailNotification](docs/AdminEmailNotification.md) + - [AdminEnvs](docs/AdminEnvs.md) - [AdminExecution](docs/AdminExecution.md) - [AdminExecutionClosure](docs/AdminExecutionClosure.md) - [AdminExecutionClusterLabel](docs/AdminExecutionClusterLabel.md) @@ -162,6 +164,7 @@ Class | Method | HTTP request | Description - [AdminExecutionUpdateResponse](docs/AdminExecutionUpdateResponse.md) - [AdminFixedRate](docs/AdminFixedRate.md) - [AdminFixedRateUnit](docs/AdminFixedRateUnit.md) + - [AdminFlyteURLs](docs/AdminFlyteURLs.md) - [AdminGetVersionResponse](docs/AdminGetVersionResponse.md) - [AdminLabels](docs/AdminLabels.md) - [AdminLaunchPlan](docs/AdminLaunchPlan.md) @@ -216,6 +219,7 @@ Class | Method | HTTP request | Description - [AdminProjectUpdateResponse](docs/AdminProjectUpdateResponse.md) - [AdminProjects](docs/AdminProjects.md) - [AdminRawOutputDataConfig](docs/AdminRawOutputDataConfig.md) + - [AdminReason](docs/AdminReason.md) - [AdminSchedule](docs/AdminSchedule.md) - [AdminSlackNotification](docs/AdminSlackNotification.md) - [AdminSort](docs/AdminSort.md) @@ -223,8 +227,6 @@ Class | Method | HTTP request | Description - [AdminSystemMetadata](docs/AdminSystemMetadata.md) - [AdminTask](docs/AdminTask.md) - [AdminTaskClosure](docs/AdminTaskClosure.md) - - [AdminTaskCreateRequest](docs/AdminTaskCreateRequest.md) - - [AdminTaskCreateResponse](docs/AdminTaskCreateResponse.md) - [AdminTaskExecutionClosure](docs/AdminTaskExecutionClosure.md) - [AdminTaskExecutionEventRequest](docs/AdminTaskExecutionEventRequest.md) - [AdminTaskExecutionEventResponse](docs/AdminTaskExecutionEventResponse.md) @@ -250,6 +252,7 @@ Class | Method | HTTP request | Description - [AdminWorkflowExecutionEventRequest](docs/AdminWorkflowExecutionEventRequest.md) - [AdminWorkflowExecutionEventResponse](docs/AdminWorkflowExecutionEventResponse.md) - [AdminWorkflowExecutionGetDataResponse](docs/AdminWorkflowExecutionGetDataResponse.md) + - [AdminWorkflowExecutionGetMetricsResponse](docs/AdminWorkflowExecutionGetMetricsResponse.md) - [AdminWorkflowList](docs/AdminWorkflowList.md) - [AdminWorkflowSpec](docs/AdminWorkflowSpec.md) - [BlobTypeBlobDimensionality](docs/BlobTypeBlobDimensionality.md) @@ -324,6 +327,7 @@ Class | Method | HTTP request | Description - [CoreSignalCondition](docs/CoreSignalCondition.md) - [CoreSimpleType](docs/CoreSimpleType.md) - [CoreSleepCondition](docs/CoreSleepCondition.md) + - [CoreSpan](docs/CoreSpan.md) - [CoreSql](docs/CoreSql.md) - [CoreStructuredDataset](docs/CoreStructuredDataset.md) - [CoreStructuredDatasetMetadata](docs/CoreStructuredDatasetMetadata.md) @@ -363,6 +367,8 @@ Class | Method | HTTP request | Description - [ExecutionMetadataExecutionMode](docs/ExecutionMetadataExecutionMode.md) - [FlyteidladminDynamicWorkflowNodeMetadata](docs/FlyteidladminDynamicWorkflowNodeMetadata.md) - [FlyteidladminNodeExecution](docs/FlyteidladminNodeExecution.md) + - [FlyteidladminTaskCreateRequest](docs/FlyteidladminTaskCreateRequest.md) + - [FlyteidladminTaskCreateResponse](docs/FlyteidladminTaskCreateResponse.md) - [FlyteidladminTaskExecution](docs/FlyteidladminTaskExecution.md) - [FlyteidladminTaskNodeMetadata](docs/FlyteidladminTaskNodeMetadata.md) - [FlyteidladminWorkflowNodeMetadata](docs/FlyteidladminWorkflowNodeMetadata.md) diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py index 6e2a90c3d..bff4ed60f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -35,6 +35,7 @@ from flyteadmin.models.admin_description_format import AdminDescriptionFormat from flyteadmin.models.admin_domain import AdminDomain from flyteadmin.models.admin_email_notification import AdminEmailNotification +from flyteadmin.models.admin_envs import AdminEnvs from flyteadmin.models.admin_execution import AdminExecution from flyteadmin.models.admin_execution_closure import AdminExecutionClosure from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel @@ -54,6 +55,7 @@ from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse from flyteadmin.models.admin_fixed_rate import AdminFixedRate from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit +from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse from flyteadmin.models.admin_labels import AdminLabels from flyteadmin.models.admin_launch_plan import AdminLaunchPlan @@ -108,6 +110,7 @@ from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse from flyteadmin.models.admin_projects import AdminProjects from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig +from flyteadmin.models.admin_reason import AdminReason from flyteadmin.models.admin_schedule import AdminSchedule from flyteadmin.models.admin_slack_notification import AdminSlackNotification from flyteadmin.models.admin_sort import AdminSort @@ -115,8 +118,6 @@ from flyteadmin.models.admin_system_metadata import AdminSystemMetadata from flyteadmin.models.admin_task import AdminTask from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse @@ -142,6 +143,7 @@ from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse +from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse from flyteadmin.models.admin_workflow_list import AdminWorkflowList from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality @@ -216,6 +218,7 @@ from flyteadmin.models.core_signal_condition import CoreSignalCondition from flyteadmin.models.core_simple_type import CoreSimpleType from flyteadmin.models.core_sleep_condition import CoreSleepCondition +from flyteadmin.models.core_span import CoreSpan from flyteadmin.models.core_sql import CoreSql from flyteadmin.models.core_structured_dataset import CoreStructuredDataset from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata @@ -255,6 +258,8 @@ from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution +from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest +from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py index 580832f37..01e9838ee 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py @@ -333,8 +333,8 @@ def create_task(self, body, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param AdminTaskCreateRequest body: (required) - :return: AdminTaskCreateResponse + :param FlyteidladminTaskCreateRequest body: (required) + :return: FlyteidladminTaskCreateResponse If the method is called asynchronously, returns the request thread. """ @@ -354,8 +354,8 @@ def create_task_with_http_info(self, body, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param AdminTaskCreateRequest body: (required) - :return: AdminTaskCreateResponse + :param FlyteidladminTaskCreateRequest body: (required) + :return: FlyteidladminTaskCreateResponse If the method is called asynchronously, returns the request thread. """ @@ -413,7 +413,7 @@ def create_task_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='AdminTaskCreateResponse', # noqa: E501 + response_type='FlyteidladminTaskCreateResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1519,6 +1519,123 @@ def get_execution_data_with_http_info(self, id_project, id_domain, id_name, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_execution_metrics(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution_metrics(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. + :return: AdminWorkflowExecutionGetMetricsResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_execution_metrics_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + else: + (data) = self.get_execution_metrics_with_http_info(id_project, id_domain, id_name, **kwargs) # noqa: E501 + return data + + def get_execution_metrics_with_http_info(self, id_project, id_domain, id_name, **kwargs): # noqa: E501 + """Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_execution_metrics_with_http_info(id_project, id_domain, id_name, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id_project: Name of the project the resource belongs to. (required) + :param str id_domain: Name of the domain the resource belongs to. A domain can be considered as a subset within a specific project. (required) + :param str id_name: User or system provided value for the resource. (required) + :param int depth: depth defines the number of Flyte entity levels to traverse when breaking down execution details. + :return: AdminWorkflowExecutionGetMetricsResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id_project', 'id_domain', 'id_name', 'depth'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_execution_metrics" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id_project' is set + if ('id_project' not in params or + params['id_project'] is None): + raise ValueError("Missing the required parameter `id_project` when calling `get_execution_metrics`") # noqa: E501 + # verify the required parameter 'id_domain' is set + if ('id_domain' not in params or + params['id_domain'] is None): + raise ValueError("Missing the required parameter `id_domain` when calling `get_execution_metrics`") # noqa: E501 + # verify the required parameter 'id_name' is set + if ('id_name' not in params or + params['id_name'] is None): + raise ValueError("Missing the required parameter `id_name` when calling `get_execution_metrics`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id_project' in params: + path_params['id.project'] = params['id_project'] # noqa: E501 + if 'id_domain' in params: + path_params['id.domain'] = params['id_domain'] # noqa: E501 + if 'id_name' in params: + path_params['id.name'] = params['id_name'] # noqa: E501 + + query_params = [] + if 'depth' in params: + query_params.append(('depth', params['depth'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowExecutionGetMetricsResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_launch_plan(self, id_project, id_domain, id_name, id_version, **kwargs): # noqa: E501 """Fetch a :ref:`ref_flyteidl.admin.LaunchPlan` definition. # noqa: E501 diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py index 26f0f636d..849be2c42 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -28,6 +28,7 @@ from flyteadmin.models.admin_description_format import AdminDescriptionFormat from flyteadmin.models.admin_domain import AdminDomain from flyteadmin.models.admin_email_notification import AdminEmailNotification +from flyteadmin.models.admin_envs import AdminEnvs from flyteadmin.models.admin_execution import AdminExecution from flyteadmin.models.admin_execution_closure import AdminExecutionClosure from flyteadmin.models.admin_execution_cluster_label import AdminExecutionClusterLabel @@ -47,6 +48,7 @@ from flyteadmin.models.admin_execution_update_response import AdminExecutionUpdateResponse from flyteadmin.models.admin_fixed_rate import AdminFixedRate from flyteadmin.models.admin_fixed_rate_unit import AdminFixedRateUnit +from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs from flyteadmin.models.admin_get_version_response import AdminGetVersionResponse from flyteadmin.models.admin_labels import AdminLabels from flyteadmin.models.admin_launch_plan import AdminLaunchPlan @@ -101,6 +103,7 @@ from flyteadmin.models.admin_project_update_response import AdminProjectUpdateResponse from flyteadmin.models.admin_projects import AdminProjects from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig +from flyteadmin.models.admin_reason import AdminReason from flyteadmin.models.admin_schedule import AdminSchedule from flyteadmin.models.admin_slack_notification import AdminSlackNotification from flyteadmin.models.admin_sort import AdminSort @@ -108,8 +111,6 @@ from flyteadmin.models.admin_system_metadata import AdminSystemMetadata from flyteadmin.models.admin_task import AdminTask from flyteadmin.models.admin_task_closure import AdminTaskClosure -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse from flyteadmin.models.admin_task_execution_closure import AdminTaskExecutionClosure from flyteadmin.models.admin_task_execution_event_request import AdminTaskExecutionEventRequest from flyteadmin.models.admin_task_execution_event_response import AdminTaskExecutionEventResponse @@ -135,6 +136,7 @@ from flyteadmin.models.admin_workflow_execution_event_request import AdminWorkflowExecutionEventRequest from flyteadmin.models.admin_workflow_execution_event_response import AdminWorkflowExecutionEventResponse from flyteadmin.models.admin_workflow_execution_get_data_response import AdminWorkflowExecutionGetDataResponse +from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse from flyteadmin.models.admin_workflow_list import AdminWorkflowList from flyteadmin.models.admin_workflow_spec import AdminWorkflowSpec from flyteadmin.models.blob_type_blob_dimensionality import BlobTypeBlobDimensionality @@ -209,6 +211,7 @@ from flyteadmin.models.core_signal_condition import CoreSignalCondition from flyteadmin.models.core_simple_type import CoreSimpleType from flyteadmin.models.core_sleep_condition import CoreSleepCondition +from flyteadmin.models.core_span import CoreSpan from flyteadmin.models.core_sql import CoreSql from flyteadmin.models.core_structured_dataset import CoreStructuredDataset from flyteadmin.models.core_structured_dataset_metadata import CoreStructuredDatasetMetadata @@ -248,6 +251,8 @@ from flyteadmin.models.execution_metadata_execution_mode import ExecutionMetadataExecutionMode from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata from flyteadmin.models.flyteidladmin_node_execution import FlyteidladminNodeExecution +from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest +from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse from flyteadmin.models.flyteidladmin_task_execution import FlyteidladminTaskExecution from flyteadmin.models.flyteidladmin_task_node_metadata import FlyteidladminTaskNodeMetadata from flyteadmin.models.flyteidladmin_workflow_node_metadata import FlyteidladminWorkflowNodeMetadata diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py new file mode 100644 index 000000000..c4531a9b6 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_envs.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_key_value_pair import CoreKeyValuePair # noqa: F401,E501 + + +class AdminEnvs(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'values': 'list[CoreKeyValuePair]' + } + + attribute_map = { + 'values': 'values' + } + + def __init__(self, values=None): # noqa: E501 + """AdminEnvs - a model defined in Swagger""" # noqa: E501 + + self._values = None + self.discriminator = None + + if values is not None: + self.values = values + + @property + def values(self): + """Gets the values of this AdminEnvs. # noqa: E501 + + Map of custom environment variables to be applied to the execution resource. # noqa: E501 + + :return: The values of this AdminEnvs. # noqa: E501 + :rtype: list[CoreKeyValuePair] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this AdminEnvs. + + Map of custom environment variables to be applied to the execution resource. # noqa: E501 + + :param values: The values of this AdminEnvs. # noqa: E501 + :type: list[CoreKeyValuePair] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminEnvs, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminEnvs): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py index 9a017465c..861bb4c19 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_spec.py @@ -19,6 +19,7 @@ from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 from flyteadmin.models.admin_cluster_assignment import AdminClusterAssignment # noqa: F401,E501 +from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata # noqa: F401,E501 from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 from flyteadmin.models.admin_notification_list import AdminNotificationList # noqa: F401,E501 @@ -57,7 +58,8 @@ class AdminExecutionSpec(object): 'raw_output_data_config': 'AdminRawOutputDataConfig', 'cluster_assignment': 'AdminClusterAssignment', 'interruptible': 'bool', - 'overwrite_cache': 'bool' + 'overwrite_cache': 'bool', + 'envs': 'AdminEnvs' } attribute_map = { @@ -75,10 +77,11 @@ class AdminExecutionSpec(object): 'raw_output_data_config': 'raw_output_data_config', 'cluster_assignment': 'cluster_assignment', 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache' + 'overwrite_cache': 'overwrite_cache', + 'envs': 'envs' } - def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=None, disable_all=None, labels=None, annotations=None, security_context=None, auth_role=None, quality_of_service=None, max_parallelism=None, raw_output_data_config=None, cluster_assignment=None, interruptible=None, overwrite_cache=None): # noqa: E501 + def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=None, disable_all=None, labels=None, annotations=None, security_context=None, auth_role=None, quality_of_service=None, max_parallelism=None, raw_output_data_config=None, cluster_assignment=None, interruptible=None, overwrite_cache=None, envs=None): # noqa: E501 """AdminExecutionSpec - a model defined in Swagger""" # noqa: E501 self._launch_plan = None @@ -96,6 +99,7 @@ def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=N self._cluster_assignment = None self._interruptible = None self._overwrite_cache = None + self._envs = None self.discriminator = None if launch_plan is not None: @@ -128,6 +132,8 @@ def __init__(self, launch_plan=None, inputs=None, metadata=None, notifications=N self.interruptible = interruptible if overwrite_cache is not None: self.overwrite_cache = overwrite_cache + if envs is not None: + self.envs = envs @property def launch_plan(self): @@ -466,6 +472,29 @@ def overwrite_cache(self, overwrite_cache): self._overwrite_cache = overwrite_cache + @property + def envs(self): + """Gets the envs of this AdminExecutionSpec. # noqa: E501 + + Environment variables to be set for the execution. # noqa: E501 + + :return: The envs of this AdminExecutionSpec. # noqa: E501 + :rtype: AdminEnvs + """ + return self._envs + + @envs.setter + def envs(self, envs): + """Sets the envs of this AdminExecutionSpec. + + Environment variables to be set for the execution. # noqa: E501 + + :param envs: The envs of this AdminExecutionSpec. # noqa: E501 + :type: AdminEnvs + """ + + self._envs = envs + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py new file mode 100644 index 000000000..f99e18dc4 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_flyte_ur_ls.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminFlyteURLs(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'inputs': 'str', + 'outputs': 'str', + 'deck': 'str' + } + + attribute_map = { + 'inputs': 'inputs', + 'outputs': 'outputs', + 'deck': 'deck' + } + + def __init__(self, inputs=None, outputs=None, deck=None): # noqa: E501 + """AdminFlyteURLs - a model defined in Swagger""" # noqa: E501 + + self._inputs = None + self._outputs = None + self._deck = None + self.discriminator = None + + if inputs is not None: + self.inputs = inputs + if outputs is not None: + self.outputs = outputs + if deck is not None: + self.deck = deck + + @property + def inputs(self): + """Gets the inputs of this AdminFlyteURLs. # noqa: E501 + + + :return: The inputs of this AdminFlyteURLs. # noqa: E501 + :rtype: str + """ + return self._inputs + + @inputs.setter + def inputs(self, inputs): + """Sets the inputs of this AdminFlyteURLs. + + + :param inputs: The inputs of this AdminFlyteURLs. # noqa: E501 + :type: str + """ + + self._inputs = inputs + + @property + def outputs(self): + """Gets the outputs of this AdminFlyteURLs. # noqa: E501 + + + :return: The outputs of this AdminFlyteURLs. # noqa: E501 + :rtype: str + """ + return self._outputs + + @outputs.setter + def outputs(self, outputs): + """Sets the outputs of this AdminFlyteURLs. + + + :param outputs: The outputs of this AdminFlyteURLs. # noqa: E501 + :type: str + """ + + self._outputs = outputs + + @property + def deck(self): + """Gets the deck of this AdminFlyteURLs. # noqa: E501 + + + :return: The deck of this AdminFlyteURLs. # noqa: E501 + :rtype: str + """ + return self._deck + + @deck.setter + def deck(self, deck): + """Sets the deck of this AdminFlyteURLs. + + + :param deck: The deck of this AdminFlyteURLs. # noqa: E501 + :type: str + """ + + self._deck = deck + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminFlyteURLs, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminFlyteURLs): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py index 88426454d..8eb1aed4f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_launch_plan_spec.py @@ -19,6 +19,7 @@ from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 from flyteadmin.models.admin_auth import AdminAuth # noqa: F401,E501 from flyteadmin.models.admin_auth_role import AdminAuthRole # noqa: F401,E501 +from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 from flyteadmin.models.admin_launch_plan_metadata import AdminLaunchPlanMetadata # noqa: F401,E501 from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 @@ -57,7 +58,8 @@ class AdminLaunchPlanSpec(object): 'raw_output_data_config': 'AdminRawOutputDataConfig', 'max_parallelism': 'int', 'interruptible': 'bool', - 'overwrite_cache': 'bool' + 'overwrite_cache': 'bool', + 'envs': 'AdminEnvs' } attribute_map = { @@ -75,10 +77,11 @@ class AdminLaunchPlanSpec(object): 'raw_output_data_config': 'raw_output_data_config', 'max_parallelism': 'max_parallelism', 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache' + 'overwrite_cache': 'overwrite_cache', + 'envs': 'envs' } - def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, fixed_inputs=None, role=None, labels=None, annotations=None, auth=None, auth_role=None, security_context=None, quality_of_service=None, raw_output_data_config=None, max_parallelism=None, interruptible=None, overwrite_cache=None): # noqa: E501 + def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, fixed_inputs=None, role=None, labels=None, annotations=None, auth=None, auth_role=None, security_context=None, quality_of_service=None, raw_output_data_config=None, max_parallelism=None, interruptible=None, overwrite_cache=None, envs=None): # noqa: E501 """AdminLaunchPlanSpec - a model defined in Swagger""" # noqa: E501 self._workflow_id = None @@ -96,6 +99,7 @@ def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, self._max_parallelism = None self._interruptible = None self._overwrite_cache = None + self._envs = None self.discriminator = None if workflow_id is not None: @@ -128,6 +132,8 @@ def __init__(self, workflow_id=None, entity_metadata=None, default_inputs=None, self.interruptible = interruptible if overwrite_cache is not None: self.overwrite_cache = overwrite_cache + if envs is not None: + self.envs = envs @property def workflow_id(self): @@ -464,6 +470,29 @@ def overwrite_cache(self, overwrite_cache): self._overwrite_cache = overwrite_cache + @property + def envs(self): + """Gets the envs of this AdminLaunchPlanSpec. # noqa: E501 + + Environment variables to be set for the execution. # noqa: E501 + + :return: The envs of this AdminLaunchPlanSpec. # noqa: E501 + :rtype: AdminEnvs + """ + return self._envs + + @envs.setter + def envs(self, envs): + """Sets the envs of this AdminLaunchPlanSpec. + + Environment variables to be set for the execution. # noqa: E501 + + :param envs: The envs of this AdminLaunchPlanSpec. # noqa: E501 + :type: AdminEnvs + """ + + self._envs = envs + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py index 48c933218..67eb4c68b 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_closure.py @@ -47,7 +47,8 @@ class AdminNodeExecutionClosure(object): 'updated_at': 'datetime', 'workflow_node_metadata': 'FlyteidladminWorkflowNodeMetadata', 'task_node_metadata': 'FlyteidladminTaskNodeMetadata', - 'deck_uri': 'str' + 'deck_uri': 'str', + 'dynamic_job_spec_uri': 'str' } attribute_map = { @@ -61,10 +62,11 @@ class AdminNodeExecutionClosure(object): 'updated_at': 'updated_at', 'workflow_node_metadata': 'workflow_node_metadata', 'task_node_metadata': 'task_node_metadata', - 'deck_uri': 'deck_uri' + 'deck_uri': 'deck_uri', + 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' } - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, workflow_node_metadata=None, task_node_metadata=None, deck_uri=None): # noqa: E501 + def __init__(self, output_uri=None, error=None, output_data=None, phase=None, started_at=None, duration=None, created_at=None, updated_at=None, workflow_node_metadata=None, task_node_metadata=None, deck_uri=None, dynamic_job_spec_uri=None): # noqa: E501 """AdminNodeExecutionClosure - a model defined in Swagger""" # noqa: E501 self._output_uri = None @@ -78,6 +80,7 @@ def __init__(self, output_uri=None, error=None, output_data=None, phase=None, st self._workflow_node_metadata = None self._task_node_metadata = None self._deck_uri = None + self._dynamic_job_spec_uri = None self.discriminator = None if output_uri is not None: @@ -102,6 +105,8 @@ def __init__(self, output_uri=None, error=None, output_data=None, phase=None, st self.task_node_metadata = task_node_metadata if deck_uri is not None: self.deck_uri = deck_uri + if dynamic_job_spec_uri is not None: + self.dynamic_job_spec_uri = dynamic_job_spec_uri @property def output_uri(self): @@ -348,6 +353,29 @@ def deck_uri(self, deck_uri): self._deck_uri = deck_uri + @property + def dynamic_job_spec_uri(self): + """Gets the dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 + + :return: The dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 + :rtype: str + """ + return self._dynamic_job_spec_uri + + @dynamic_job_spec_uri.setter + def dynamic_job_spec_uri(self, dynamic_job_spec_uri): + """Sets the dynamic_job_spec_uri of this AdminNodeExecutionClosure. + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 + + :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this AdminNodeExecutionClosure. # noqa: E501 + :type: str + """ + + self._dynamic_job_spec_uri = dynamic_job_spec_uri + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py index 3f6a52845..846033296 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_node_execution_get_data_response.py @@ -16,6 +16,7 @@ import six +from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: F401,E501 from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 from flyteadmin.models.flyteidladmin_dynamic_workflow_node_metadata import FlyteidladminDynamicWorkflowNodeMetadata # noqa: F401,E501 @@ -39,7 +40,8 @@ class AdminNodeExecutionGetDataResponse(object): 'outputs': 'AdminUrlBlob', 'full_inputs': 'CoreLiteralMap', 'full_outputs': 'CoreLiteralMap', - 'dynamic_workflow': 'FlyteidladminDynamicWorkflowNodeMetadata' + 'dynamic_workflow': 'FlyteidladminDynamicWorkflowNodeMetadata', + 'flyte_urls': 'AdminFlyteURLs' } attribute_map = { @@ -47,10 +49,11 @@ class AdminNodeExecutionGetDataResponse(object): 'outputs': 'outputs', 'full_inputs': 'full_inputs', 'full_outputs': 'full_outputs', - 'dynamic_workflow': 'dynamic_workflow' + 'dynamic_workflow': 'dynamic_workflow', + 'flyte_urls': 'flyte_urls' } - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, dynamic_workflow=None): # noqa: E501 + def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, dynamic_workflow=None, flyte_urls=None): # noqa: E501 """AdminNodeExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 self._inputs = None @@ -58,6 +61,7 @@ def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=Non self._full_inputs = None self._full_outputs = None self._dynamic_workflow = None + self._flyte_urls = None self.discriminator = None if inputs is not None: @@ -70,6 +74,8 @@ def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=Non self.full_outputs = full_outputs if dynamic_workflow is not None: self.dynamic_workflow = dynamic_workflow + if flyte_urls is not None: + self.flyte_urls = flyte_urls @property def inputs(self): @@ -186,6 +192,27 @@ def dynamic_workflow(self, dynamic_workflow): self._dynamic_workflow = dynamic_workflow + @property + def flyte_urls(self): + """Gets the flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 + + + :return: The flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :rtype: AdminFlyteURLs + """ + return self._flyte_urls + + @flyte_urls.setter + def flyte_urls(self, flyte_urls): + """Sets the flyte_urls of this AdminNodeExecutionGetDataResponse. + + + :param flyte_urls: The flyte_urls of this AdminNodeExecutionGetDataResponse. # noqa: E501 + :type: AdminFlyteURLs + """ + + self._flyte_urls = flyte_urls + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py new file mode 100644 index 000000000..bf839c6b1 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_reason.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminReason(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'occurred_at': 'datetime', + 'message': 'str' + } + + attribute_map = { + 'occurred_at': 'occurred_at', + 'message': 'message' + } + + def __init__(self, occurred_at=None, message=None): # noqa: E501 + """AdminReason - a model defined in Swagger""" # noqa: E501 + + self._occurred_at = None + self._message = None + self.discriminator = None + + if occurred_at is not None: + self.occurred_at = occurred_at + if message is not None: + self.message = message + + @property + def occurred_at(self): + """Gets the occurred_at of this AdminReason. # noqa: E501 + + occurred_at is the timestamp indicating the instant that this reason happened. # noqa: E501 + + :return: The occurred_at of this AdminReason. # noqa: E501 + :rtype: datetime + """ + return self._occurred_at + + @occurred_at.setter + def occurred_at(self, occurred_at): + """Sets the occurred_at of this AdminReason. + + occurred_at is the timestamp indicating the instant that this reason happened. # noqa: E501 + + :param occurred_at: The occurred_at of this AdminReason. # noqa: E501 + :type: datetime + """ + + self._occurred_at = occurred_at + + @property + def message(self): + """Gets the message of this AdminReason. # noqa: E501 + + message is the explanation for the most recent phase transition or status update. # noqa: E501 + + :return: The message of this AdminReason. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this AdminReason. + + message is the explanation for the most recent phase transition or status update. # noqa: E501 + + :param message: The message of this AdminReason. # noqa: E501 + :type: str + """ + + self._message = message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminReason, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminReason): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py index d840e190b..157e88be5 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_closure.py @@ -16,6 +16,7 @@ import six +from flyteadmin.models.admin_reason import AdminReason # noqa: F401,E501 from flyteadmin.models.core_execution_error import CoreExecutionError # noqa: F401,E501 from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 from flyteadmin.models.core_task_execution_phase import CoreTaskExecutionPhase # noqa: F401,E501 @@ -51,7 +52,8 @@ class AdminTaskExecutionClosure(object): 'reason': 'str', 'task_type': 'str', 'metadata': 'EventTaskExecutionMetadata', - 'event_version': 'int' + 'event_version': 'int', + 'reasons': 'list[AdminReason]' } attribute_map = { @@ -68,10 +70,11 @@ class AdminTaskExecutionClosure(object): 'reason': 'reason', 'task_type': 'task_type', 'metadata': 'metadata', - 'event_version': 'event_version' + 'event_version': 'event_version', + 'reasons': 'reasons' } - def __init__(self, output_uri=None, error=None, output_data=None, phase=None, logs=None, started_at=None, duration=None, created_at=None, updated_at=None, custom_info=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 + def __init__(self, output_uri=None, error=None, output_data=None, phase=None, logs=None, started_at=None, duration=None, created_at=None, updated_at=None, custom_info=None, reason=None, task_type=None, metadata=None, event_version=None, reasons=None): # noqa: E501 """AdminTaskExecutionClosure - a model defined in Swagger""" # noqa: E501 self._output_uri = None @@ -88,6 +91,7 @@ def __init__(self, output_uri=None, error=None, output_data=None, phase=None, lo self._task_type = None self._metadata = None self._event_version = None + self._reasons = None self.discriminator = None if output_uri is not None: @@ -118,6 +122,8 @@ def __init__(self, output_uri=None, error=None, output_data=None, phase=None, lo self.metadata = metadata if event_version is not None: self.event_version = event_version + if reasons is not None: + self.reasons = reasons @property def output_uri(self): @@ -441,6 +447,29 @@ def event_version(self, event_version): self._event_version = event_version + @property + def reasons(self): + """Gets the reasons of this AdminTaskExecutionClosure. # noqa: E501 + + A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. # noqa: E501 + + :return: The reasons of this AdminTaskExecutionClosure. # noqa: E501 + :rtype: list[AdminReason] + """ + return self._reasons + + @reasons.setter + def reasons(self, reasons): + """Sets the reasons of this AdminTaskExecutionClosure. + + A time-series of the phase transition or update explanations. This, when compared to storing a singular reason as previously done, is much more valuable in visualizing and understanding historical evaluations. # noqa: E501 + + :param reasons: The reasons of this AdminTaskExecutionClosure. # noqa: E501 + :type: list[AdminReason] + """ + + self._reasons = reasons + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py index cfb7c545a..fb095426c 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_execution_get_data_response.py @@ -16,6 +16,7 @@ import six +from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: F401,E501 from flyteadmin.models.admin_url_blob import AdminUrlBlob # noqa: F401,E501 from flyteadmin.models.core_literal_map import CoreLiteralMap # noqa: F401,E501 @@ -37,23 +38,26 @@ class AdminTaskExecutionGetDataResponse(object): 'inputs': 'AdminUrlBlob', 'outputs': 'AdminUrlBlob', 'full_inputs': 'CoreLiteralMap', - 'full_outputs': 'CoreLiteralMap' + 'full_outputs': 'CoreLiteralMap', + 'flyte_urls': 'AdminFlyteURLs' } attribute_map = { 'inputs': 'inputs', 'outputs': 'outputs', 'full_inputs': 'full_inputs', - 'full_outputs': 'full_outputs' + 'full_outputs': 'full_outputs', + 'flyte_urls': 'flyte_urls' } - def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None): # noqa: E501 + def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=None, flyte_urls=None): # noqa: E501 """AdminTaskExecutionGetDataResponse - a model defined in Swagger""" # noqa: E501 self._inputs = None self._outputs = None self._full_inputs = None self._full_outputs = None + self._flyte_urls = None self.discriminator = None if inputs is not None: @@ -64,6 +68,8 @@ def __init__(self, inputs=None, outputs=None, full_inputs=None, full_outputs=Non self.full_inputs = full_inputs if full_outputs is not None: self.full_outputs = full_outputs + if flyte_urls is not None: + self.flyte_urls = flyte_urls @property def inputs(self): @@ -157,6 +163,27 @@ def full_outputs(self, full_outputs): self._full_outputs = full_outputs + @property + def flyte_urls(self): + """Gets the flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 + + + :return: The flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :rtype: AdminFlyteURLs + """ + return self._flyte_urls + + @flyte_urls.setter + def flyte_urls(self, flyte_urls): + """Sets the flyte_urls of this AdminTaskExecutionGetDataResponse. + + + :param flyte_urls: The flyte_urls of this AdminTaskExecutionGetDataResponse. # noqa: E501 + :type: AdminFlyteURLs + """ + + self._flyte_urls = flyte_urls + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py index 45ff1156b..b8b89d426 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_config.py @@ -17,6 +17,7 @@ import six from flyteadmin.models.admin_annotations import AdminAnnotations # noqa: F401,E501 +from flyteadmin.models.admin_envs import AdminEnvs # noqa: F401,E501 from flyteadmin.models.admin_labels import AdminLabels # noqa: F401,E501 from flyteadmin.models.admin_raw_output_data_config import AdminRawOutputDataConfig # noqa: F401,E501 from flyteadmin.models.core_security_context import CoreSecurityContext # noqa: F401,E501 @@ -42,7 +43,8 @@ class AdminWorkflowExecutionConfig(object): 'labels': 'AdminLabels', 'annotations': 'AdminAnnotations', 'interruptible': 'bool', - 'overwrite_cache': 'bool' + 'overwrite_cache': 'bool', + 'envs': 'AdminEnvs' } attribute_map = { @@ -52,10 +54,11 @@ class AdminWorkflowExecutionConfig(object): 'labels': 'labels', 'annotations': 'annotations', 'interruptible': 'interruptible', - 'overwrite_cache': 'overwrite_cache' + 'overwrite_cache': 'overwrite_cache', + 'envs': 'envs' } - def __init__(self, max_parallelism=None, security_context=None, raw_output_data_config=None, labels=None, annotations=None, interruptible=None, overwrite_cache=None): # noqa: E501 + def __init__(self, max_parallelism=None, security_context=None, raw_output_data_config=None, labels=None, annotations=None, interruptible=None, overwrite_cache=None, envs=None): # noqa: E501 """AdminWorkflowExecutionConfig - a model defined in Swagger""" # noqa: E501 self._max_parallelism = None @@ -65,6 +68,7 @@ def __init__(self, max_parallelism=None, security_context=None, raw_output_data_ self._annotations = None self._interruptible = None self._overwrite_cache = None + self._envs = None self.discriminator = None if max_parallelism is not None: @@ -81,6 +85,8 @@ def __init__(self, max_parallelism=None, security_context=None, raw_output_data_ self.interruptible = interruptible if overwrite_cache is not None: self.overwrite_cache = overwrite_cache + if envs is not None: + self.envs = envs @property def max_parallelism(self): @@ -243,6 +249,29 @@ def overwrite_cache(self, overwrite_cache): self._overwrite_cache = overwrite_cache + @property + def envs(self): + """Gets the envs of this AdminWorkflowExecutionConfig. # noqa: E501 + + Environment variables to be set for the execution. # noqa: E501 + + :return: The envs of this AdminWorkflowExecutionConfig. # noqa: E501 + :rtype: AdminEnvs + """ + return self._envs + + @envs.setter + def envs(self, envs): + """Sets the envs of this AdminWorkflowExecutionConfig. + + Environment variables to be set for the execution. # noqa: E501 + + :param envs: The envs of this AdminWorkflowExecutionConfig. # noqa: E501 + :type: AdminEnvs + """ + + self._envs = envs + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py new file mode 100644 index 000000000..64d71f5cd --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_execution_get_metrics_response.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_span import CoreSpan # noqa: F401,E501 + + +class AdminWorkflowExecutionGetMetricsResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'span': 'CoreSpan' + } + + attribute_map = { + 'span': 'span' + } + + def __init__(self, span=None): # noqa: E501 + """AdminWorkflowExecutionGetMetricsResponse - a model defined in Swagger""" # noqa: E501 + + self._span = None + self.discriminator = None + + if span is not None: + self.span = span + + @property + def span(self): + """Gets the span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 + + Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. # noqa: E501 + + :return: The span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 + :rtype: CoreSpan + """ + return self._span + + @span.setter + def span(self, span): + """Sets the span of this AdminWorkflowExecutionGetMetricsResponse. + + Span defines the top-level breakdown of the workflows execution. More precise information is nested in a hierarchical structure using Flyte entity references. # noqa: E501 + + :param span: The span of this AdminWorkflowExecutionGetMetricsResponse. # noqa: E501 + :type: CoreSpan + """ + + self._span = span + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowExecutionGetMetricsResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowExecutionGetMetricsResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py index d3a43ecc2..8ca7ce92b 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_identity.py @@ -35,21 +35,24 @@ class CoreIdentity(object): swagger_types = { 'iam_role': 'str', 'k8s_service_account': 'str', - 'oauth2_client': 'CoreOAuth2Client' + 'oauth2_client': 'CoreOAuth2Client', + 'execution_identity': 'str' } attribute_map = { 'iam_role': 'iam_role', 'k8s_service_account': 'k8s_service_account', - 'oauth2_client': 'oauth2_client' + 'oauth2_client': 'oauth2_client', + 'execution_identity': 'execution_identity' } - def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None): # noqa: E501 + def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None, execution_identity=None): # noqa: E501 """CoreIdentity - a model defined in Swagger""" # noqa: E501 self._iam_role = None self._k8s_service_account = None self._oauth2_client = None + self._execution_identity = None self.discriminator = None if iam_role is not None: @@ -58,6 +61,8 @@ def __init__(self, iam_role=None, k8s_service_account=None, oauth2_client=None): self.k8s_service_account = k8s_service_account if oauth2_client is not None: self.oauth2_client = oauth2_client + if execution_identity is not None: + self.execution_identity = execution_identity @property def iam_role(self): @@ -128,6 +133,27 @@ def oauth2_client(self, oauth2_client): self._oauth2_client = oauth2_client + @property + def execution_identity(self): + """Gets the execution_identity of this CoreIdentity. # noqa: E501 + + + :return: The execution_identity of this CoreIdentity. # noqa: E501 + :rtype: str + """ + return self._execution_identity + + @execution_identity.setter + def execution_identity(self, execution_identity): + """Sets the execution_identity of this CoreIdentity. + + + :param execution_identity: The execution_identity of this CoreIdentity. # noqa: E501 + :type: str + """ + + self._execution_identity = execution_identity + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py index 16eb2cf51..5333af8df 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_k8s_pod.py @@ -16,6 +16,7 @@ import six +from flyteadmin.models.core_data_loading_config import CoreDataLoadingConfig # noqa: F401,E501 from flyteadmin.models.core_k8s_object_metadata import CoreK8sObjectMetadata # noqa: F401,E501 from flyteadmin.models.protobuf_struct import ProtobufStruct # noqa: F401,E501 @@ -35,25 +36,30 @@ class CoreK8sPod(object): """ swagger_types = { 'metadata': 'CoreK8sObjectMetadata', - 'pod_spec': 'ProtobufStruct' + 'pod_spec': 'ProtobufStruct', + 'data_config': 'CoreDataLoadingConfig' } attribute_map = { 'metadata': 'metadata', - 'pod_spec': 'pod_spec' + 'pod_spec': 'pod_spec', + 'data_config': 'data_config' } - def __init__(self, metadata=None, pod_spec=None): # noqa: E501 + def __init__(self, metadata=None, pod_spec=None, data_config=None): # noqa: E501 """CoreK8sPod - a model defined in Swagger""" # noqa: E501 self._metadata = None self._pod_spec = None + self._data_config = None self.discriminator = None if metadata is not None: self.metadata = metadata if pod_spec is not None: self.pod_spec = pod_spec + if data_config is not None: + self.data_config = data_config @property def metadata(self): @@ -99,6 +105,27 @@ def pod_spec(self, pod_spec): self._pod_spec = pod_spec + @property + def data_config(self): + """Gets the data_config of this CoreK8sPod. # noqa: E501 + + + :return: The data_config of this CoreK8sPod. # noqa: E501 + :rtype: CoreDataLoadingConfig + """ + return self._data_config + + @data_config.setter + def data_config(self, data_config): + """Sets the data_config of this CoreK8sPod. + + + :param data_config: The data_config of this CoreK8sPod. # noqa: E501 + :type: CoreDataLoadingConfig + """ + + self._data_config = data_config + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py new file mode 100644 index 000000000..c9d36d9bb --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_span.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.core_node_execution_identifier import CoreNodeExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_span import CoreSpan # noqa: F401,E501 +from flyteadmin.models.core_task_execution_identifier import CoreTaskExecutionIdentifier # noqa: F401,E501 +from flyteadmin.models.core_workflow_execution_identifier import CoreWorkflowExecutionIdentifier # noqa: F401,E501 + + +class CoreSpan(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'start_time': 'datetime', + 'end_time': 'datetime', + 'workflow_id': 'CoreWorkflowExecutionIdentifier', + 'node_id': 'CoreNodeExecutionIdentifier', + 'task_id': 'CoreTaskExecutionIdentifier', + 'operation_id': 'str', + 'spans': 'list[CoreSpan]' + } + + attribute_map = { + 'start_time': 'start_time', + 'end_time': 'end_time', + 'workflow_id': 'workflow_id', + 'node_id': 'node_id', + 'task_id': 'task_id', + 'operation_id': 'operation_id', + 'spans': 'spans' + } + + def __init__(self, start_time=None, end_time=None, workflow_id=None, node_id=None, task_id=None, operation_id=None, spans=None): # noqa: E501 + """CoreSpan - a model defined in Swagger""" # noqa: E501 + + self._start_time = None + self._end_time = None + self._workflow_id = None + self._node_id = None + self._task_id = None + self._operation_id = None + self._spans = None + self.discriminator = None + + if start_time is not None: + self.start_time = start_time + if end_time is not None: + self.end_time = end_time + if workflow_id is not None: + self.workflow_id = workflow_id + if node_id is not None: + self.node_id = node_id + if task_id is not None: + self.task_id = task_id + if operation_id is not None: + self.operation_id = operation_id + if spans is not None: + self.spans = spans + + @property + def start_time(self): + """Gets the start_time of this CoreSpan. # noqa: E501 + + start_time defines the instance this span began. # noqa: E501 + + :return: The start_time of this CoreSpan. # noqa: E501 + :rtype: datetime + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """Sets the start_time of this CoreSpan. + + start_time defines the instance this span began. # noqa: E501 + + :param start_time: The start_time of this CoreSpan. # noqa: E501 + :type: datetime + """ + + self._start_time = start_time + + @property + def end_time(self): + """Gets the end_time of this CoreSpan. # noqa: E501 + + end_time defines the instance this span completed. # noqa: E501 + + :return: The end_time of this CoreSpan. # noqa: E501 + :rtype: datetime + """ + return self._end_time + + @end_time.setter + def end_time(self, end_time): + """Sets the end_time of this CoreSpan. + + end_time defines the instance this span completed. # noqa: E501 + + :param end_time: The end_time of this CoreSpan. # noqa: E501 + :type: datetime + """ + + self._end_time = end_time + + @property + def workflow_id(self): + """Gets the workflow_id of this CoreSpan. # noqa: E501 + + workflow_id is the id of the workflow execution this Span represents. # noqa: E501 + + :return: The workflow_id of this CoreSpan. # noqa: E501 + :rtype: CoreWorkflowExecutionIdentifier + """ + return self._workflow_id + + @workflow_id.setter + def workflow_id(self, workflow_id): + """Sets the workflow_id of this CoreSpan. + + workflow_id is the id of the workflow execution this Span represents. # noqa: E501 + + :param workflow_id: The workflow_id of this CoreSpan. # noqa: E501 + :type: CoreWorkflowExecutionIdentifier + """ + + self._workflow_id = workflow_id + + @property + def node_id(self): + """Gets the node_id of this CoreSpan. # noqa: E501 + + node_id is the id of the node execution this Span represents. # noqa: E501 + + :return: The node_id of this CoreSpan. # noqa: E501 + :rtype: CoreNodeExecutionIdentifier + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this CoreSpan. + + node_id is the id of the node execution this Span represents. # noqa: E501 + + :param node_id: The node_id of this CoreSpan. # noqa: E501 + :type: CoreNodeExecutionIdentifier + """ + + self._node_id = node_id + + @property + def task_id(self): + """Gets the task_id of this CoreSpan. # noqa: E501 + + task_id is the id of the task execution this Span represents. # noqa: E501 + + :return: The task_id of this CoreSpan. # noqa: E501 + :rtype: CoreTaskExecutionIdentifier + """ + return self._task_id + + @task_id.setter + def task_id(self, task_id): + """Sets the task_id of this CoreSpan. + + task_id is the id of the task execution this Span represents. # noqa: E501 + + :param task_id: The task_id of this CoreSpan. # noqa: E501 + :type: CoreTaskExecutionIdentifier + """ + + self._task_id = task_id + + @property + def operation_id(self): + """Gets the operation_id of this CoreSpan. # noqa: E501 + + operation_id is the id of a unique operation that this Span represents. # noqa: E501 + + :return: The operation_id of this CoreSpan. # noqa: E501 + :rtype: str + """ + return self._operation_id + + @operation_id.setter + def operation_id(self, operation_id): + """Sets the operation_id of this CoreSpan. + + operation_id is the id of a unique operation that this Span represents. # noqa: E501 + + :param operation_id: The operation_id of this CoreSpan. # noqa: E501 + :type: str + """ + + self._operation_id = operation_id + + @property + def spans(self): + """Gets the spans of this CoreSpan. # noqa: E501 + + spans defines a collection of Spans that breakdown this execution. # noqa: E501 + + :return: The spans of this CoreSpan. # noqa: E501 + :rtype: list[CoreSpan] + """ + return self._spans + + @spans.setter + def spans(self, spans): + """Sets the spans of this CoreSpan. + + spans defines a collection of Spans that breakdown this execution. # noqa: E501 + + :param spans: The spans of this CoreSpan. # noqa: E501 + :type: list[CoreSpan] + """ + + self._spans = spans + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(CoreSpan, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CoreSpan): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py index db7558171..c62cabff7 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_node_execution_event.py @@ -59,7 +59,8 @@ class EventNodeExecutionEvent(object): 'event_version': 'int', 'is_parent': 'bool', 'is_dynamic': 'bool', - 'deck_uri': 'str' + 'deck_uri': 'str', + 'reported_at': 'datetime' } attribute_map = { @@ -82,10 +83,11 @@ class EventNodeExecutionEvent(object): 'event_version': 'event_version', 'is_parent': 'is_parent', 'is_dynamic': 'is_dynamic', - 'deck_uri': 'deck_uri' + 'deck_uri': 'deck_uri', + 'reported_at': 'reported_at' } - def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, workflow_node_metadata=None, task_node_metadata=None, parent_task_metadata=None, parent_node_metadata=None, retry_group=None, spec_node_id=None, node_name=None, event_version=None, is_parent=None, is_dynamic=None, deck_uri=None): # noqa: E501 + def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, workflow_node_metadata=None, task_node_metadata=None, parent_task_metadata=None, parent_node_metadata=None, retry_group=None, spec_node_id=None, node_name=None, event_version=None, is_parent=None, is_dynamic=None, deck_uri=None, reported_at=None): # noqa: E501 """EventNodeExecutionEvent - a model defined in Swagger""" # noqa: E501 self._id = None @@ -108,6 +110,7 @@ def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, inpu self._is_parent = None self._is_dynamic = None self._deck_uri = None + self._reported_at = None self.discriminator = None if id is not None: @@ -150,6 +153,8 @@ def __init__(self, id=None, producer_id=None, phase=None, occurred_at=None, inpu self.is_dynamic = is_dynamic if deck_uri is not None: self.deck_uri = deck_uri + if reported_at is not None: + self.reported_at = reported_at @property def id(self): @@ -587,6 +592,29 @@ def deck_uri(self, deck_uri): self._deck_uri = deck_uri + @property + def reported_at(self): + """Gets the reported_at of this EventNodeExecutionEvent. # noqa: E501 + + This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 + + :return: The reported_at of this EventNodeExecutionEvent. # noqa: E501 + :rtype: datetime + """ + return self._reported_at + + @reported_at.setter + def reported_at(self, reported_at): + """Sets the reported_at of this EventNodeExecutionEvent. + + This timestamp represents the instant when the event was reported by the executing framework. For example, when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when literal inputs are initially copied. The event however will not be sent until after the copy completes. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 + + :param reported_at: The reported_at of this EventNodeExecutionEvent. # noqa: E501 + :type: datetime + """ + + self._reported_at = reported_at + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py index f54805865..fefad55a6 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/event_task_execution_event.py @@ -57,7 +57,8 @@ class EventTaskExecutionEvent(object): 'reason': 'str', 'task_type': 'str', 'metadata': 'EventTaskExecutionMetadata', - 'event_version': 'int' + 'event_version': 'int', + 'reported_at': 'datetime' } attribute_map = { @@ -78,10 +79,11 @@ class EventTaskExecutionEvent(object): 'reason': 'reason', 'task_type': 'task_type', 'metadata': 'metadata', - 'event_version': 'event_version' + 'event_version': 'event_version', + 'reported_at': 'reported_at' } - def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=None, phase=None, producer_id=None, logs=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, custom_info=None, phase_version=None, reason=None, task_type=None, metadata=None, event_version=None): # noqa: E501 + def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=None, phase=None, producer_id=None, logs=None, occurred_at=None, input_uri=None, input_data=None, output_uri=None, error=None, output_data=None, custom_info=None, phase_version=None, reason=None, task_type=None, metadata=None, event_version=None, reported_at=None): # noqa: E501 """EventTaskExecutionEvent - a model defined in Swagger""" # noqa: E501 self._task_id = None @@ -102,6 +104,7 @@ def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=No self._task_type = None self._metadata = None self._event_version = None + self._reported_at = None self.discriminator = None if task_id is not None: @@ -140,6 +143,8 @@ def __init__(self, task_id=None, parent_node_execution_id=None, retry_attempt=No self.metadata = metadata if event_version is not None: self.event_version = event_version + if reported_at is not None: + self.reported_at = reported_at @property def task_id(self): @@ -543,6 +548,29 @@ def event_version(self, event_version): self._event_version = event_version + @property + def reported_at(self): + """Gets the reported_at of this EventTaskExecutionEvent. # noqa: E501 + + This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 + + :return: The reported_at of this EventTaskExecutionEvent. # noqa: E501 + :rtype: datetime + """ + return self._reported_at + + @reported_at.setter + def reported_at(self, reported_at): + """Sets the reported_at of this EventTaskExecutionEvent. + + This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. # noqa: E501 + + :param reported_at: The reported_at of this EventTaskExecutionEvent. # noqa: E501 + :type: datetime + """ + + self._reported_at = reported_at + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py index 1f818ec38..44dfceb5f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_dynamic_workflow_node_metadata.py @@ -35,25 +35,30 @@ class FlyteidladminDynamicWorkflowNodeMetadata(object): """ swagger_types = { 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure' + 'compiled_workflow': 'CoreCompiledWorkflowClosure', + 'dynamic_job_spec_uri': 'str' } attribute_map = { 'id': 'id', - 'compiled_workflow': 'compiled_workflow' + 'compiled_workflow': 'compiled_workflow', + 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' } - def __init__(self, id=None, compiled_workflow=None): # noqa: E501 + def __init__(self, id=None, compiled_workflow=None, dynamic_job_spec_uri=None): # noqa: E501 """FlyteidladminDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 self._id = None self._compiled_workflow = None + self._dynamic_job_spec_uri = None self.discriminator = None if id is not None: self.id = id if compiled_workflow is not None: self.compiled_workflow = compiled_workflow + if dynamic_job_spec_uri is not None: + self.dynamic_job_spec_uri = dynamic_job_spec_uri @property def id(self): @@ -101,6 +106,29 @@ def compiled_workflow(self, compiled_workflow): self._compiled_workflow = compiled_workflow + @property + def dynamic_job_spec_uri(self): + """Gets the dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 + + :return: The dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: str + """ + return self._dynamic_job_spec_uri + + @dynamic_job_spec_uri.setter + def dynamic_job_spec_uri(self, dynamic_job_spec_uri): + """Sets the dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the subworkflow has already been compiled. # noqa: E501 + + :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this FlyteidladminDynamicWorkflowNodeMetadata. # noqa: E501 + :type: str + """ + + self._dynamic_job_spec_uri = dynamic_job_spec_uri + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py similarity index 78% rename from gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py rename to gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py index 8eddeb420..4fa700a48 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_request.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_request.py @@ -20,7 +20,7 @@ from flyteadmin.models.core_identifier import CoreIdentifier # noqa: F401,E501 -class AdminTaskCreateRequest(object): +class FlyteidladminTaskCreateRequest(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -44,7 +44,7 @@ class AdminTaskCreateRequest(object): } def __init__(self, id=None, spec=None): # noqa: E501 - """AdminTaskCreateRequest - a model defined in Swagger""" # noqa: E501 + """FlyteidladminTaskCreateRequest - a model defined in Swagger""" # noqa: E501 self._id = None self._spec = None @@ -57,20 +57,20 @@ def __init__(self, id=None, spec=None): # noqa: E501 @property def id(self): - """Gets the id of this AdminTaskCreateRequest. # noqa: E501 + """Gets the id of this FlyteidladminTaskCreateRequest. # noqa: E501 - :return: The id of this AdminTaskCreateRequest. # noqa: E501 + :return: The id of this FlyteidladminTaskCreateRequest. # noqa: E501 :rtype: CoreIdentifier """ return self._id @id.setter def id(self, id): - """Sets the id of this AdminTaskCreateRequest. + """Sets the id of this FlyteidladminTaskCreateRequest. - :param id: The id of this AdminTaskCreateRequest. # noqa: E501 + :param id: The id of this FlyteidladminTaskCreateRequest. # noqa: E501 :type: CoreIdentifier """ @@ -78,20 +78,20 @@ def id(self, id): @property def spec(self): - """Gets the spec of this AdminTaskCreateRequest. # noqa: E501 + """Gets the spec of this FlyteidladminTaskCreateRequest. # noqa: E501 - :return: The spec of this AdminTaskCreateRequest. # noqa: E501 + :return: The spec of this FlyteidladminTaskCreateRequest. # noqa: E501 :rtype: AdminTaskSpec """ return self._spec @spec.setter def spec(self, spec): - """Sets the spec of this AdminTaskCreateRequest. + """Sets the spec of this FlyteidladminTaskCreateRequest. - :param spec: The spec of this AdminTaskCreateRequest. # noqa: E501 + :param spec: The spec of this FlyteidladminTaskCreateRequest. # noqa: E501 :type: AdminTaskSpec """ @@ -118,7 +118,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(AdminTaskCreateRequest, dict): + if issubclass(FlyteidladminTaskCreateRequest, dict): for key, value in self.items(): result[key] = value @@ -134,7 +134,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskCreateRequest): + if not isinstance(other, FlyteidladminTaskCreateRequest): return False return self.__dict__ == other.__dict__ diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py similarity index 89% rename from gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py rename to gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py index de1ecdf4d..00389aca0 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_create_response.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidladmin_task_create_response.py @@ -17,7 +17,7 @@ import six -class AdminTaskCreateResponse(object): +class FlyteidladminTaskCreateResponse(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -37,7 +37,7 @@ class AdminTaskCreateResponse(object): } def __init__(self): # noqa: E501 - """AdminTaskCreateResponse - a model defined in Swagger""" # noqa: E501 + """FlyteidladminTaskCreateResponse - a model defined in Swagger""" # noqa: E501 self.discriminator = None def to_dict(self): @@ -61,7 +61,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(AdminTaskCreateResponse, dict): + if issubclass(FlyteidladminTaskCreateResponse, dict): for key, value in self.items(): result[key] = value @@ -77,7 +77,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, AdminTaskCreateResponse): + if not isinstance(other, FlyteidladminTaskCreateResponse): return False return self.__dict__ == other.__dict__ diff --git a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py index 01ecc587d..fbba35e3f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/flyteidlevent_dynamic_workflow_node_metadata.py @@ -35,25 +35,30 @@ class FlyteidleventDynamicWorkflowNodeMetadata(object): """ swagger_types = { 'id': 'CoreIdentifier', - 'compiled_workflow': 'CoreCompiledWorkflowClosure' + 'compiled_workflow': 'CoreCompiledWorkflowClosure', + 'dynamic_job_spec_uri': 'str' } attribute_map = { 'id': 'id', - 'compiled_workflow': 'compiled_workflow' + 'compiled_workflow': 'compiled_workflow', + 'dynamic_job_spec_uri': 'dynamic_job_spec_uri' } - def __init__(self, id=None, compiled_workflow=None): # noqa: E501 + def __init__(self, id=None, compiled_workflow=None, dynamic_job_spec_uri=None): # noqa: E501 """FlyteidleventDynamicWorkflowNodeMetadata - a model defined in Swagger""" # noqa: E501 self._id = None self._compiled_workflow = None + self._dynamic_job_spec_uri = None self.discriminator = None if id is not None: self.id = id if compiled_workflow is not None: self.compiled_workflow = compiled_workflow + if dynamic_job_spec_uri is not None: + self.dynamic_job_spec_uri = dynamic_job_spec_uri @property def id(self): @@ -101,6 +106,29 @@ def compiled_workflow(self, compiled_workflow): self._compiled_workflow = compiled_workflow + @property + def dynamic_job_spec_uri(self): + """Gets the dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. # noqa: E501 + + :return: The dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :rtype: str + """ + return self._dynamic_job_spec_uri + + @dynamic_job_spec_uri.setter + def dynamic_job_spec_uri(self, dynamic_job_spec_uri): + """Sets the dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. + + dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is required to correctly recover partially completed executions where the workflow has already been compiled. # noqa: E501 + + :param dynamic_job_spec_uri: The dynamic_job_spec_uri of this FlyteidleventDynamicWorkflowNodeMetadata. # noqa: E501 + :type: str + """ + + self._dynamic_job_spec_uri = dynamic_job_spec_uri + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py similarity index 62% rename from gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py rename to gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py index e951b0247..b3d472b8b 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_request.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_envs.py @@ -16,12 +16,12 @@ import unittest import flyteadmin -from flyteadmin.models.admin_task_create_request import AdminTaskCreateRequest # noqa: E501 +from flyteadmin.models.admin_envs import AdminEnvs # noqa: E501 from flyteadmin.rest import ApiException -class TestAdminTaskCreateRequest(unittest.TestCase): - """AdminTaskCreateRequest unit test stubs""" +class TestAdminEnvs(unittest.TestCase): + """AdminEnvs unit test stubs""" def setUp(self): pass @@ -29,10 +29,10 @@ def setUp(self): def tearDown(self): pass - def testAdminTaskCreateRequest(self): - """Test AdminTaskCreateRequest""" + def testAdminEnvs(self): + """Test AdminEnvs""" # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_create_request.AdminTaskCreateRequest() # noqa: E501 + # model = flyteadmin.models.admin_envs.AdminEnvs() # noqa: E501 pass diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py similarity index 61% rename from gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py rename to gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py index 63330c529..581bc3833 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_create_response.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_flyte_ur_ls.py @@ -16,12 +16,12 @@ import unittest import flyteadmin -from flyteadmin.models.admin_task_create_response import AdminTaskCreateResponse # noqa: E501 +from flyteadmin.models.admin_flyte_ur_ls import AdminFlyteURLs # noqa: E501 from flyteadmin.rest import ApiException -class TestAdminTaskCreateResponse(unittest.TestCase): - """AdminTaskCreateResponse unit test stubs""" +class TestAdminFlyteURLs(unittest.TestCase): + """AdminFlyteURLs unit test stubs""" def setUp(self): pass @@ -29,10 +29,10 @@ def setUp(self): def tearDown(self): pass - def testAdminTaskCreateResponse(self): - """Test AdminTaskCreateResponse""" + def testAdminFlyteURLs(self): + """Test AdminFlyteURLs""" # FIXME: construct object with mandatory attributes with example values - # model = flyteadmin.models.admin_task_create_response.AdminTaskCreateResponse() # noqa: E501 + # model = flyteadmin.models.admin_flyte_ur_ls.AdminFlyteURLs() # noqa: E501 pass diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py new file mode 100644 index 000000000..9c8dff422 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_reason.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_reason import AdminReason # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminReason(unittest.TestCase): + """AdminReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminReason(self): + """Test AdminReason""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_reason.AdminReason() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py index 4e4bee3a2..680b2cd5f 100644 --- a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py @@ -127,6 +127,13 @@ def test_get_execution_data(self): """ pass + def test_get_execution_metrics(self): + """Test case for get_execution_metrics + + Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. # noqa: E501 + """ + pass + def test_get_launch_plan(self): """Test case for get_launch_plan diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py new file mode 100644 index 000000000..58eeaa0ba --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_execution_get_metrics_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_execution_get_metrics_response import AdminWorkflowExecutionGetMetricsResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowExecutionGetMetricsResponse(unittest.TestCase): + """AdminWorkflowExecutionGetMetricsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowExecutionGetMetricsResponse(self): + """Test AdminWorkflowExecutionGetMetricsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_execution_get_metrics_response.AdminWorkflowExecutionGetMetricsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py new file mode 100644 index 000000000..0e445a969 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_span.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.core_span import CoreSpan # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestCoreSpan(unittest.TestCase): + """CoreSpan unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCoreSpan(self): + """Test CoreSpan""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.core_span.CoreSpan() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py new file mode 100644 index 000000000..f48dc0d86 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_task_create_request import FlyteidladminTaskCreateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminTaskCreateRequest(unittest.TestCase): + """FlyteidladminTaskCreateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminTaskCreateRequest(self): + """Test FlyteidladminTaskCreateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_task_create_request.FlyteidladminTaskCreateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py new file mode 100644 index 000000000..3dbeb80b8 --- /dev/null +++ b/gen/pb_python/flyteidl/service/flyteadmin/test/test_flyteidladmin_task_create_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.flyteidladmin_task_create_response import FlyteidladminTaskCreateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestFlyteidladminTaskCreateResponse(unittest.TestCase): + """FlyteidladminTaskCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFlyteidladminTaskCreateResponse(self): + """Test FlyteidladminTaskCreateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.flyteidladmin_task_create_response.FlyteidladminTaskCreateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/go.mod b/go.mod index 6858232a9..33f85552c 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/antihax/optional v1.0.0 github.com/flyteorg/flytestdlib v1.0.0 github.com/go-test/deep v1.0.7 + github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/protobuf v1.4.3 github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 @@ -18,6 +19,7 @@ require ( github.com/stretchr/testify v1.7.0 golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013 + google.golang.org/api v0.38.0 google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506 google.golang.org/grpc v1.35.0 k8s.io/apimachinery v0.20.2 @@ -74,7 +76,6 @@ require ( golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect golang.org/x/tools v0.1.10 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect - google.golang.org/api v0.38.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.25.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect @@ -82,3 +83,9 @@ require ( k8s.io/client-go v0.0.0-20210217172142-7279fc64d847 // indirect k8s.io/klog/v2 v2.5.0 // indirect ) + +// These 2 versions were wrongly published. +retract ( + v1.4.0 + v1.4.2 +) diff --git a/go.sum b/go.sum index 484761370..b2eab61f1 100644 --- a/go.sum +++ b/go.sum @@ -205,6 +205,7 @@ github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7a github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= diff --git a/protos/flyteidl/admin/common.proto b/protos/flyteidl/admin/common.proto index 69e02e710..dbfb41285 100644 --- a/protos/flyteidl/admin/common.proto +++ b/protos/flyteidl/admin/common.proto @@ -5,6 +5,8 @@ option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"; import "flyteidl/core/execution.proto"; import "flyteidl/core/identifier.proto"; +import "flyteidl/core/literals.proto"; +import "google/protobuf/timestamp.proto"; // Encapsulation of fields that identifies a Flyte resource. // A Flyte resource can be a task, workflow or launch plan. @@ -279,6 +281,14 @@ message Annotations { map values = 1; } +// Environment variable values to be applied to an execution resource. +// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +// to specify how to merge environment variables defined at registration and execution time. +message Envs { + // Map of custom environment variables to be applied to the execution resource. + repeated flyteidl.core.KeyValuePair values = 1; +} + // Defines permissions associated with executions created by this launch plan spec. // Use either of these roles when they have permissions required by your workflow execution. // Deprecated. @@ -300,3 +310,10 @@ message RawOutputDataConfig { // e.g. s3://bucket/key or s3://bucket/ string output_location_prefix = 1; } + +// These URLs are returned as part of node and task execution data requests. +message FlyteURLs { + string inputs = 1; + string outputs = 2; + string deck = 3; +} diff --git a/protos/flyteidl/admin/execution.proto b/protos/flyteidl/admin/execution.proto index 6a7c16422..c82793c6e 100644 --- a/protos/flyteidl/admin/execution.proto +++ b/protos/flyteidl/admin/execution.proto @@ -8,6 +8,7 @@ import "flyteidl/admin/common.proto"; import "flyteidl/core/literals.proto"; import "flyteidl/core/execution.proto"; import "flyteidl/core/identifier.proto"; +import "flyteidl/core/metrics.proto"; import "flyteidl/core/security.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -309,6 +310,9 @@ message ExecutionSpec { // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. bool overwrite_cache = 22; + + // Environment variables to be set for the execution. + Envs envs = 23; } // Request to terminate an in-progress execution. This action is irreversible. @@ -381,3 +385,19 @@ message ExecutionStateChangeDetails { } message ExecutionUpdateResponse {} + +// WorkflowExecutionGetMetricsRequest represents a request to retrieve metrics for the specified workflow execution. +message WorkflowExecutionGetMetricsRequest { + // id defines the workflow execution to query for. + core.WorkflowExecutionIdentifier id = 1; + + // depth defines the number of Flyte entity levels to traverse when breaking down execution details. + int32 depth = 2; +} + +// WorkflowExecutionGetMetricsResponse represents the response containing metrics for the specified workflow execution. +message WorkflowExecutionGetMetricsResponse { + // Span defines the top-level breakdown of the workflows execution. More precise information is nested in a + // hierarchical structure using Flyte entity references. + core.Span span = 1; +} diff --git a/protos/flyteidl/admin/launch_plan.proto b/protos/flyteidl/admin/launch_plan.proto index 057461ed3..2164be31f 100644 --- a/protos/flyteidl/admin/launch_plan.proto +++ b/protos/flyteidl/admin/launch_plan.proto @@ -130,6 +130,9 @@ message LaunchPlanSpec { // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. bool overwrite_cache = 20; + + // Environment variables to be set for the execution. + Envs envs = 21; } // Values computed by the flyte platform after launch plan registration. diff --git a/protos/flyteidl/admin/matchable_resource.proto b/protos/flyteidl/admin/matchable_resource.proto index f003c4eb3..4ab6be6aa 100644 --- a/protos/flyteidl/admin/matchable_resource.proto +++ b/protos/flyteidl/admin/matchable_resource.proto @@ -128,6 +128,9 @@ message WorkflowExecutionConfig { // If enabled, all calculations are performed even if cached results would be available, overwriting the stored // data once execution finishes successfully. bool overwrite_cache = 7; + + // Environment variables to be set for the execution. + Envs envs = 8; } // Generic container for encapsulating all types of the above attributes messages. diff --git a/protos/flyteidl/admin/node_execution.proto b/protos/flyteidl/admin/node_execution.proto index e09553cbb..fe71699a8 100644 --- a/protos/flyteidl/admin/node_execution.proto +++ b/protos/flyteidl/admin/node_execution.proto @@ -167,6 +167,10 @@ message NodeExecutionClosure { // String location uniquely identifying where the deck HTML file is. // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) string deck_uri = 11; + + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for a DynamicWorkflow. This is required + // to correctly recover partially completed executions where the subworkflow has already been compiled. + string dynamic_job_spec_uri = 12; } // Metadata for a WorkflowNode @@ -192,6 +196,10 @@ message DynamicWorkflowNodeMetadata { // Represents the compiled representation of the embedded dynamic workflow. core.CompiledWorkflowClosure compiled_workflow = 2; + + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + // required to correctly recover partially completed executions where the subworkflow has already been compiled. + string dynamic_job_spec_uri = 3; } // Request structure to fetch inputs and output for a node execution. @@ -219,5 +227,7 @@ message NodeExecutionGetDataResponse { // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here. DynamicWorkflowNodeMetadata dynamic_workflow = 16; -} + FlyteURLs flyte_urls = 17; + +} diff --git a/protos/flyteidl/admin/task_execution.proto b/protos/flyteidl/admin/task_execution.proto index 36d9b77e1..6706a1283 100644 --- a/protos/flyteidl/admin/task_execution.proto +++ b/protos/flyteidl/admin/task_execution.proto @@ -123,6 +123,19 @@ message TaskExecutionClosure { // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog // in this message. int32 event_version = 17; + + // A time-series of the phase transition or update explanations. This, when compared to storing a singular reason + // as previously done, is much more valuable in visualizing and understanding historical evaluations. + repeated Reason reasons = 18; +} + +// Reason is a single message annotated with a timestamp to indicate the instant the reason occurred. +message Reason { + // occurred_at is the timestamp indicating the instant that this reason happened. + google.protobuf.Timestamp occurred_at = 1; + + // message is the explanation for the most recent phase transition or status update. + string message = 2; } // Request structure to fetch inputs and output for a task execution. @@ -148,4 +161,8 @@ message TaskExecutionGetDataResponse { // Full_outputs will only be populated if they are under a configured size threshold. core.LiteralMap full_outputs = 4; + + // flyte tiny url to fetch a core.LiteralMap of task execution's IO + // Deck will be empty for task + FlyteURLs flyte_urls = 5; } diff --git a/protos/flyteidl/core/metrics.proto b/protos/flyteidl/core/metrics.proto new file mode 100644 index 000000000..c96a59988 --- /dev/null +++ b/protos/flyteidl/core/metrics.proto @@ -0,0 +1,36 @@ +syntax = "proto3"; + +package flyteidl.core; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"; + +import "flyteidl/core/identifier.proto"; +import "google/protobuf/timestamp.proto"; + +// Span represents a duration trace of Flyte execution. The id field denotes a Flyte execution entity or an operation +// which uniquely identifies the Span. The spans attribute allows this Span to be further broken down into more +// precise definitions. +message Span { + // start_time defines the instance this span began. + google.protobuf.Timestamp start_time = 1; + + // end_time defines the instance this span completed. + google.protobuf.Timestamp end_time = 2; + + oneof id { + // workflow_id is the id of the workflow execution this Span represents. + flyteidl.core.WorkflowExecutionIdentifier workflow_id = 3; + + // node_id is the id of the node execution this Span represents. + flyteidl.core.NodeExecutionIdentifier node_id = 4; + + // task_id is the id of the task execution this Span represents. + flyteidl.core.TaskExecutionIdentifier task_id = 5; + + // operation_id is the id of a unique operation that this Span represents. + string operation_id = 6; + } + + // spans defines a collection of Spans that breakdown this execution. + repeated Span spans = 7; +} diff --git a/protos/flyteidl/core/security.proto b/protos/flyteidl/core/security.proto index eb0c1413a..f9830bf6b 100644 --- a/protos/flyteidl/core/security.proto +++ b/protos/flyteidl/core/security.proto @@ -69,6 +69,9 @@ message Identity { // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when // making external calls. OAuth2Client oauth2_client = 3; + + // execution_identity references the subject who makes the execution + string execution_identity = 4; } // OAuth2TokenRequest encapsulates information needed to request an OAuth2 token. diff --git a/protos/flyteidl/core/tasks.proto b/protos/flyteidl/core/tasks.proto index 8206614ac..808c196d1 100644 --- a/protos/flyteidl/core/tasks.proto +++ b/protos/flyteidl/core/tasks.proto @@ -268,24 +268,32 @@ message DataLoadingConfig { // Defines a pod spec and additional pod metadata that is created when a task is executed. message K8sPod { - // Contains additional metadata for building a kubernetes pod. - K8sObjectMetadata metadata = 1; - - // Defines the primary pod spec created when a task is executed. - // This should be a JSON-marshalled pod spec, which can be defined in - // - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 - // - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py - google.protobuf.Struct pod_spec = 2; + // Contains additional metadata for building a kubernetes pod. + K8sObjectMetadata metadata = 1; + + // Defines the primary pod spec created when a task is executed. + // This should be a JSON-marshalled pod spec, which can be defined in + // - go, using: https://github.com/kubernetes/api/blob/release-1.21/core/v1/types.go#L2936 + // - python: using https://github.com/kubernetes-client/python/blob/release-19.0/kubernetes/client/models/v1_pod_spec.py + google.protobuf.Struct pod_spec = 2; + + // BETA: Optional configuration for DataLoading. If not specified, then default values are used. + // This makes it possible to to run a completely portable container, that uses inputs and outputs + // only from the local file-system and without having any reference to flytekit. This is supported only on K8s at the moment. + // If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories + // are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation + // to understand the default paths. + // Only K8s + DataLoadingConfig data_config = 3; } // Metadata for building a kubernetes object when a task is executed. message K8sObjectMetadata { + // Optional labels to add to the pod definition. + map labels = 1; - // Optional labels to add to the pod definition. - map labels = 1; - - // Optional annotations to add to the pod definition. - map annotations = 2; + // Optional annotations to add to the pod definition. + map annotations = 2; } // Sql represents a generic sql workload with a statement and dialect. diff --git a/protos/flyteidl/event/event.proto b/protos/flyteidl/event/event.proto index b582e734a..71fa0799e 100644 --- a/protos/flyteidl/event/event.proto +++ b/protos/flyteidl/event/event.proto @@ -104,6 +104,12 @@ message NodeExecutionEvent { // String location uniquely identifying where the deck HTML file is // NativeUrl specifies the url in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar) string deck_uri = 19; + + // This timestamp represents the instant when the event was reported by the executing framework. For example, + // when first processing a node the `occurred_at` timestamp should be the instant propeller makes progress, so when + // literal inputs are initially copied. The event however will not be sent until after the copy completes. + // Extracting both of these timestamps facilitates a more accurate portrayal of the evaluation time-series. + google.protobuf.Timestamp reported_at = 21; } // For Workflow Nodes we need to send information about the workflow that's launched @@ -132,6 +138,10 @@ message DynamicWorkflowNodeMetadata { // Represents the compiled representation of the embedded dynamic workflow. core.CompiledWorkflowClosure compiled_workflow = 2; + + // dynamic_job_spec_uri is the location of the DynamicJobSpec proto message for this DynamicWorkflow. This is + // required to correctly recover partially completed executions where the workflow has already been compiled. + string dynamic_job_spec_uri = 3; } message ParentTaskExecutionMetadata { @@ -217,6 +227,12 @@ message TaskExecutionEvent { // TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog // in this message. int32 event_version = 18; + + // This timestamp represents the instant when the event was reported by the executing framework. For example, a k8s + // pod task may be marked completed at (ie. `occurred_at`) the instant the container running user code completes, + // but this event will not be reported until the pod is marked as completed. Extracting both of these timestamps + // facilitates a more accurate portrayal of the evaluation time-series. + google.protobuf.Timestamp reported_at = 20; } // This message contains metadata about external resources produced or used by a specific task execution. diff --git a/protos/flyteidl/plugins/kubeflow/common.proto b/protos/flyteidl/plugins/kubeflow/common.proto new file mode 100644 index 000000000..99a3a8e8c --- /dev/null +++ b/protos/flyteidl/plugins/kubeflow/common.proto @@ -0,0 +1,33 @@ +syntax = "proto3"; + +package flyteidl.plugins.kubeflow; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins"; + + +enum RestartPolicy { + RESTART_POLICY_NEVER = 0; + RESTART_POLICY_ON_FAILURE = 1; + RESTART_POLICY_ALWAYS = 2; +} + +enum CleanPodPolicy { + CLEANPOD_POLICY_NONE = 0; + CLEANPOD_POLICY_RUNNING = 1; + CLEANPOD_POLICY_ALL = 2; +} + +message RunPolicy { + // Defines the policy to kill pods after the job completes. Default to None. + CleanPodPolicy clean_pod_policy = 1; + + // TTL to clean up jobs. Default to infinite. + int32 ttl_seconds_after_finished = 2; + + // Specifies the duration in seconds relative to the startTime that the job may be active + // before the system tries to terminate it; value must be positive integer. + int32 active_deadline_seconds = 3; + + // Number of retries before marking this job failed. + int32 backoff_limit = 4; +} \ No newline at end of file diff --git a/protos/flyteidl/plugins/kubeflow/mpi.proto b/protos/flyteidl/plugins/kubeflow/mpi.proto new file mode 100644 index 000000000..0013ceeb0 --- /dev/null +++ b/protos/flyteidl/plugins/kubeflow/mpi.proto @@ -0,0 +1,43 @@ +syntax = "proto3"; + +package flyteidl.plugins.kubeflow; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins"; + +import "flyteidl/core/tasks.proto"; +import "flyteidl/plugins/kubeflow/common.proto"; + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator +message DistributedMPITrainingTask { + // Worker replicas spec + DistributedMPITrainingReplicaSpec worker_replicas = 1; + + // Master replicas spec + DistributedMPITrainingReplicaSpec launcher_replicas = 2; + + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy run_policy = 3; + + // Number of slots per worker + int32 slots = 4; +} + +// Replica specification for distributed MPI training +message DistributedMPITrainingReplicaSpec { + // Number of replicas + int32 replicas = 1; + + // Image used for the replica group + string image = 2; + + // Resources required for the replica group + core.Resources resources = 3; + + // Restart policy determines whether pods will be restarted when they exit + RestartPolicy restart_policy = 4; + + // MPI sometimes requires different command set for different replica groups + repeated string command = 5; +} \ No newline at end of file diff --git a/protos/flyteidl/plugins/kubeflow/pytorch.proto b/protos/flyteidl/plugins/kubeflow/pytorch.proto new file mode 100644 index 000000000..0e69d890b --- /dev/null +++ b/protos/flyteidl/plugins/kubeflow/pytorch.proto @@ -0,0 +1,49 @@ +syntax = "proto3"; + +package flyteidl.plugins.kubeflow; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins"; + +import "flyteidl/core/tasks.proto"; +import "flyteidl/plugins/kubeflow/common.proto"; + +// Custom proto for torch elastic config for distributed training using +// https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go +message ElasticConfig { + string rdzv_backend = 1; + int32 min_replicas = 2; + int32 max_replicas = 3; + int32 nproc_per_node = 4; + int32 max_restarts = 5; +} + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator +message DistributedPyTorchTrainingTask { + // Worker replicas spec + DistributedPyTorchTrainingReplicaSpec worker_replicas = 1; + + // Master replicas spec, master replicas can only have 1 replica + DistributedPyTorchTrainingReplicaSpec master_replicas = 2; + + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy run_policy = 3; + + // config for an elastic pytorch job + ElasticConfig elastic_config = 4; +} + +message DistributedPyTorchTrainingReplicaSpec { + // Number of replicas + int32 replicas = 1; + + // Image used for the replica group + string image = 2; + + // Resources required for the replica group + core.Resources resources = 3; + + // RestartPolicy determines whether pods will be restarted when they exit + RestartPolicy restart_policy = 4; +} diff --git a/protos/flyteidl/plugins/kubeflow/tensorflow.proto b/protos/flyteidl/plugins/kubeflow/tensorflow.proto new file mode 100644 index 000000000..ae44ac6a2 --- /dev/null +++ b/protos/flyteidl/plugins/kubeflow/tensorflow.proto @@ -0,0 +1,39 @@ +syntax = "proto3"; + +package flyteidl.plugins.kubeflow; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins"; + +import "flyteidl/core/tasks.proto"; +import "flyteidl/plugins/kubeflow/common.proto"; + +// Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator +message DistributedTensorflowTrainingTask { + // Worker replicas spec + DistributedTensorflowTrainingReplicaSpec worker_replicas = 1; + + // Parameter server replicas spec + DistributedTensorflowTrainingReplicaSpec ps_replicas = 2; + + // Chief replicas spec + DistributedTensorflowTrainingReplicaSpec chief_replicas = 3; + + // RunPolicy encapsulates various runtime policies of the distributed training + // job, for example how to clean up resources and how long the job can stay + // active. + RunPolicy run_policy = 4; +} + +message DistributedTensorflowTrainingReplicaSpec { + // Number of replicas + int32 replicas = 1; + + // Image used for the replica group + string image = 2; + + // Resources required for the replica group + core.Resources resources = 3; + + // RestartPolicy Determines whether pods will be restarted when they exit + RestartPolicy restart_policy = 4; +} diff --git a/protos/flyteidl/plugins/pytorch.proto b/protos/flyteidl/plugins/pytorch.proto index 603de00c3..2e219d82b 100644 --- a/protos/flyteidl/plugins/pytorch.proto +++ b/protos/flyteidl/plugins/pytorch.proto @@ -4,8 +4,22 @@ package flyteidl.plugins; option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/plugins"; +// Custom proto for torch elastic config for distributed training using +// https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go +message ElasticConfig { + string rdzv_backend = 1; + int32 min_replicas = 2; + int32 max_replicas = 3; + int32 nproc_per_node = 4; + int32 max_restarts = 5; +} + // Custom proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator message DistributedPyTorchTrainingTask { // number of worker replicas spawned in the cluster for this job int32 workers = 1; + + // config for an elastic pytorch job + // + ElasticConfig elastic_config = 2; } diff --git a/protos/flyteidl/service/admin.proto b/protos/flyteidl/service/admin.proto index 6905006bb..a99a9818b 100644 --- a/protos/flyteidl/service/admin.proto +++ b/protos/flyteidl/service/admin.proto @@ -19,7 +19,6 @@ import "flyteidl/admin/task_execution.proto"; import "flyteidl/admin/version.proto"; import "flyteidl/admin/common.proto"; import "flyteidl/admin/description_entity.proto"; -import "flyteidl/core/identifier.proto"; // import "protoc-gen-swagger/options/annotations.proto"; // The following defines an RPC service that is also served over HTTP via grpc-gateway. @@ -627,4 +626,14 @@ service AdminService { // description: "Fetch existing description entity definitions matching input filters." // }; } + + // Fetches runtime metrics for a :ref:`ref_flyteidl.admin.Execution`. + rpc GetExecutionMetrics (flyteidl.admin.WorkflowExecutionGetMetricsRequest) returns (flyteidl.admin.WorkflowExecutionGetMetricsResponse) { + option (google.api.http) = { + get: "/api/v1/metrics/executions/{id.project}/{id.domain}/{id.name}" + }; + // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // description: "Retrieve metrics from an existing workflow execution." + // }; + }; } diff --git a/protos/flyteidl/service/dataproxy.proto b/protos/flyteidl/service/dataproxy.proto index 3b6bab473..1c9dc27bb 100644 --- a/protos/flyteidl/service/dataproxy.proto +++ b/protos/flyteidl/service/dataproxy.proto @@ -8,6 +8,8 @@ import "google/api/annotations.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "flyteidl/core/identifier.proto"; +import "flyteidl/core/literals.proto"; + message CreateUploadLocationResponse { // SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) @@ -95,6 +97,18 @@ message CreateDownloadLinkRequest { // CreateDownloadLinkResponse defines the response for the generated links message CreateDownloadLinkResponse { + // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) + repeated string signed_url = 1 [deprecated = true]; + + // ExpiresAt defines when will the signed URL expire. + google.protobuf.Timestamp expires_at = 2 [deprecated = true]; + + // New wrapper object containing the signed urls and expiration time + PreSignedURLs pre_signed_urls = 3; +} + +// Wrapper object since the message is shared across this and the GetDataResponse +message PreSignedURLs { // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...) repeated string signed_url = 1; @@ -102,6 +116,25 @@ message CreateDownloadLinkResponse { google.protobuf.Timestamp expires_at = 2; } +// General request artifact to retrieve data from a Flyte artifact url. +message GetDataRequest { + // A unique identifier in the form of flyte:// that uniquely, for a given Flyte + // backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.). + // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input) + // flyte://v1/proj/development/execid/n2/i (for node execution input) + string flyte_url = 1; +} + +message GetDataResponse { + oneof data { + // literal map data will be returned + core.LiteralMap literal_map = 1; + + // Flyte deck html will be returned as a signed url users can download + PreSignedURLs pre_signed_urls = 2; + } +} + // DataProxyService defines an RPC Service that allows access to user-data in a controlled manner. service DataProxyService { // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain. @@ -136,4 +169,11 @@ service DataProxyService { // description: "Creates a read-only http location that is accessible for tasks at runtime." // }; } + + rpc GetData (GetDataRequest) returns (GetDataResponse) { + // Takes an address like flyte://v1/proj/development/execid/n2/0/i and return the actual data + option (google.api.http) = { + get: "/api/v1/data" + }; + } } diff --git a/protos/flyteidl/service/external_plugin_service.proto b/protos/flyteidl/service/external_plugin_service.proto new file mode 100644 index 000000000..a5458a07c --- /dev/null +++ b/protos/flyteidl/service/external_plugin_service.proto @@ -0,0 +1,74 @@ +syntax = "proto3"; +package flyteidl.service; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service"; +import "flyteidl/core/literals.proto"; +import "flyteidl/core/tasks.proto"; +import "flyteidl/core/interface.proto"; + +// ExternalPluginService defines an RPC Service that allows propeller to send the request to the backend plugin server. +service ExternalPluginService { + // Send a task create request to the backend plugin server. + rpc CreateTask (TaskCreateRequest) returns (TaskCreateResponse){}; + // Get job status. + rpc GetTask (TaskGetRequest) returns (TaskGetResponse){}; + // Delete the task resource. + rpc DeleteTask (TaskDeleteRequest) returns (TaskDeleteResponse){}; +} + +// The state of the execution is used to control its visibility in the UI/CLI. +enum State { + RETRYABLE_FAILURE = 0; + PERMANENT_FAILURE = 1; + PENDING = 2; + RUNNING = 3; + SUCCEEDED = 4; +} + +// Represents a request structure to create task. +message TaskCreateRequest { + // The inputs required to start the execution. All required inputs must be + // included in this map. If not required and not provided, defaults apply. + // +optional + core.LiteralMap inputs = 1; + // Template of the task that encapsulates all the metadata of the task. + core.TaskTemplate template = 2; + // Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + string output_prefix = 3; +} + +// Represents a create response structure. +message TaskCreateResponse { + string job_id = 1; +} + +// A message used to fetch a job state from backend plugin server. +message TaskGetRequest { + // A predefined yet extensible Task type identifier. + string task_type = 1; + // The unique id identifying the job. + string job_id = 2; +} + +// Response to get an individual task state. +message TaskGetResponse { + // The state of the execution is used to control its visibility in the UI/CLI. + State state = 1; + // The outputs of the execution. It's typically used by sql task. Flyteplugins service will create a + // Structured dataset pointing to the query result table. + // +optional + core.LiteralMap outputs = 2; +} + +// A message used to delete a task. +message TaskDeleteRequest { + // A predefined yet extensible Task type identifier. + string task_type = 1; + // The unique id identifying the job. + string job_id = 2; +} + +// Response to delete a task. +message TaskDeleteResponse { +} +